MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR Uživatelský manuál Strana 15

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 24
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 14
Animation behaviors 15
Avoid Sprite moves the current sprite away from another sprite. You define which sprite the
current sprite should avoid, how far away it should stay, and how fast the sprite moves. You can
make the behavior start automatically in the first frame of the sprite, or when it receives a
message. The default setting for the behavior keeps the sprite from moving off of the Stage.
Constrain to Line creates a slider constrained to a straight line. Use the behavior parameters to
determine the direction in which the slider may be dragged. You can select a direction and a
distance the slider can move, or choose a point and a coordinate for the sprite to move toward.
The behavior broadcasts its current setting to other handlers.
Constrain to Sprite confines a smaller sprite to the boundaries of a larger sprite. You can make
the constrained sprite draggable within the confines of the other sprite.
Drag and Toss makes a sprite continue moving in the direction it is being dragged after the
mouse button is released. You must attach the Vector Motion behavior to a sprite before attaching
Drag and Toss.
Drag Quad Points changes a sprite so that it can be stretched and bent out of shape. With Drag
Quad Points attached to a sprite, you can click anywhere on the sprite and drag to make the
corner of the sprite nearest the pointer follow the movement of the mouse pointer. You can also
restore the sprites original shape and position.
Drag to Rotate makes a sprite draggable and rotatable around its registration point.
Drag to Scale allows the user to drag a sprite with the mouse to scale it while the movie plays.
Drag to Stretch and Flip lets the user stretch a sprite vertically or horizontally and flip it at the
horizontal and vertical axes to create the appearance of a simple 3D rotation. You can also specify
a key combination to restore the sprite to its original size.
Draggable makes a sprite draggable on the Stage while the movie plays.
Follow Sprite moves a sprite toward another sprite’s position. You define which sprite the current
sprite follows, how fast the sprite moves, and whether the behavior starts working as soon as the
sprite appears or when the behavior receives a message. The default setting for the behavior keeps
the sprite from moving off of the Stage.
Move, Rotate, and Scale assigns rotation and scaling control to selected keys. You can attach the
behavior to any sprite that can be scaled or rotated. If no modifier keys are pressed, clicking the
sprite and dragging moves the sprite.
Multiple Sprite Drag makes a group of sprites draggable as a single object. To create a group of
sprites, attach this behavior to each, and then assign the same name to the Drag Group parameter
in the Parameters dialog box. You can assign a single sprite to two or more groups to make it move
when any one of the sprites in any of the groups is moved.
Rollover Cursor Change replaces the pointer with a specified cast member when the pointer rolls
over the current sprite. You can specify a built-in pointer, a single cast member, or an animated
pointer.
Rollover Member Change
replaces the sprites cast member when the pointer rolls over the sprite.
Snap to Grid defines an invisible grid to which the current sprite is aligned. When the behavior is
active, clicking the sprite aligns it to the specified point on the grid. Each sprite with this behavior
attached may have a different grid and a different point to which it snaps. You can also apply the
behavior to a group of sprites so that each of them uses the same parameters. You can use
messages to reset parameters or enable or disable the behavior while the movie plays.
Zobrazit stránku 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 23 24

Komentáře k této Příručce

Žádné komentáře