EasyManua.ls Logo

MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH - Page 484

MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH
830 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
484 Animation, Filters, and Drawings
This code calls the TransitionManager class and then applies the Zoom transition with the
specified
mx.transitions.easing.Bounce.easeOut easing method. In this case, the
transition applies to the selected slide. To apply this effect to a movie clip, you can modify
the ActionScript to use in your Flash animations. Modifying the code to work with a
movie clip symbol is easy: change the first parameter from
eventObj.target to the
desired movie clips instance name.
Flash comes with ten transitions, which you can customize by using the easing methods and
several optional parameters. Remember, easing refers to gradual acceleration or deceleration
during an animation, which helps your animations appear more realistic. For example, a ball
might gradually increase its speed near the beginning of an animation, but slow down before
it arrives at a full stop at the end of the animation. There are many equations for this
acceleration and deceleration, which change the easing animation accordingly.
The following table describes the transitions included in Flash Basic 8 (using code) and Flash
Professional 8 (using code or behaviors):
Transition Description
Iris Reveals the screen or movie clip by using an animated mask of a shape
that zooms in.
Wipe Reveals the screen or movie clip by using an animated mask of a shape
that moves horizontally.
Pixel Dissolve Masks the screen or movie clip by using disappearing or appearing
rectangles.
Blinds Reveals the next screen or movie clip by using disappearing or
appearing rectangles.
Fade Fades the screen or movie clip in or out.
Fly Slides in the screen or movie clip from a particular direction.
Zoom Zooms the screen or movie clip in or out.
Squeeze Scales the current screen or movie clip horizontally or vertically.
Rotate Rotates the current screen or movie clip.
Photo Has the screen or movie clip appear like a photographic flash.

Table of Contents

Related product manuals