• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

7. Effects and beyond > 7.3. Actionscript Effects

Actionscript Effects

Throughout the remainder of the book, we’ll use ActionScript more and more to add interactivity and logic to our Flash content. For now, though, let’s start small and use it to loop an animation.

Many of the same effects we create using motion tweens, such as the bouncing ball, can also be created using ActionScript, and scripting the effects often results in a more efficient movie. Keyframes add to file size, and in complicated projects, those keyframes add up fast. Also, when animating an object on the Stage, ActionScript is smoother. For example, a motion tween used to rotate a hand on a clock will come to an end and must start over. If the hand rotates exactly 360 degrees, there will appear to be a split-second pause at 12 o’clock because the hand appears in that position at both the end and beginning of the looped animation. Although it can be fixed by changing the position of the hand at the last keyframe, there is often a sl....


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint