To create animation that is more complex than is possible with simple tweening, you can use a series of cast members in frame-by-frame animation. Sprites usually refer to only one cast member, but they can refer to different cast members at different times during the life of the sprite.
For example, an animation of a man walking may display several cast members showing the man in different positions. By placing all the images in a sequence within a single sprite, you can work with the animation as if it were a single object.
A single sprite can display several cast members.
Sprite animating
Use this approach sparingly for movies that are downloaded from the Internet, because all cast members must be downloaded before the animation can run. As an alternative to this type of animation, consider using vector shapes, rotation and skewing on bitmap cast members, or Flash content. For more information, see Using Flash, Flash Components, and Other Interactive Media Types).
You can create multiple-cast-member animations in a variety of ways in Director. The following procedure explains a basic approach. The Cast to Time command provides an effective shortcut. For more information, see Shortcuts for animating with multiple cast members.
Note: The best way to prepare cast members for use in multiple-cast-member animation is with onion skinning in the Paint window. For more information, see Using onion skinning.
Drag the start or end frame in the Score, or enter a new start or end frame number in the Sprite Inspector.
This setting displays the name of the cast member on each sprite. For more information, see Displaying sprite labels in the Score.
This setting changes the view of the Score to show the name of each sprite's cast member when it changes. This makes it easy to identify frames where the cast member changes. For more information, see Displaying sprite labels in the Score. You may also want to zoom the score to 800% so the frames are wide enough to display the cast member information.
Edit Sprite Frames makes it easier to select frames within a sprite. For more information, see Editing sprite frames.
Director replaces the cast member in the selected frame with the cast member selected in the Cast window.
Sometimes a series of cast members placed in the Score jumps unexpectedly when you play the movie. This occurs because the cast members' registration points are not aligned properly. When you exchange cast members, Director places the new cast member's registration point precisely where the previous cast member's registration point was. By default, Director places registration points in the center of a bitmap cast member's bounding rectangle.
For information about aligning registration points, see Changing registration points. You can also align sprites relative to their bounding rectangles. For more information, see Positioning sprites using guides, the grid, or the Align window.
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/director/mx2004/release_update_en/06_ani10.htm
Comments
th3bword43 said on Oct 9, 2005 at 11:23 AM :