Recipe 6.5. Animating BitmapsProblemYou want to animate a bitmap graphic. SolutionUse frame-by-frame animation; or encapsulate the bitmap in a symbol, and apply a motion tween or use ActionScript to animate the symbol. DiscussionIf you want to animate a bitmap, you can use frame-by-frame animation, motion tweens, or scripted animation. The only type of animation you cannot use with bitmaps is the shape tween (though you can shape-tween the rectangular box bounding the bitmap). Each of these types of animation works as described in Chapter 4. The only difference is that to apply a motion tween to a bitmap or animate it using ActionScript, you must first enclose it within a symbol, such as a graphic symbol (motion tweens only) or a movie clip symbol. To improve the quality of bitmap animations, you might experiment with the following:
See AlsoRecipe 4.1, Recipe 6.2, Recipe 6.4, Recipe 6.6 |
Tripod >> 3pod Tips & Learning and manuals for educations