EasyManua.ls Logo

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

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...
488 Animation, Filters, and Drawings
About easing classes and methods
Adding tweens and transitions to a file in Flash Professional 8 (Flash Professional 8 only)”
on page 483 describes how to use the Bounce easing class to add a bouncing effect to the
movie clip. In addition to Bounce, Flash 8 offers five additional easing classes, which are
described in the following table:
These six easing classes each have three easing methods, which are described in the following
table:
To open these classes in Flash or your ActionScript editor, browse to Hard Disk\Program
Files\Macromedia\Flash 8\language\First Run\Classes\mx\transitions\easing\ folder on
Windows (assumes a default installation), or
Macintosh HD:Applications:Macromedia Flash
8:First Run:Classes:mx:transitions:easing.
The procedure on zooming images under Animating with the TransitionManager and
Tween classes” on page 485 used the mx.transitions.easing.Bounce.easeOut easing class and
method. In the folder on your hard disk, the ActionScript refers to the
easeOut() method
within the Bounce.as class. This ActionScript file is in the easing folder.
Transition Description
Back Extends the animation beyond the transition range at one or both ends
once to resemble an overflow effect.
Bounce Adds a bouncing effect within the transition range at one or both ends.
The number of bounces relates to the duration—longer durations
produce more bounces.
Elastic Adds an elastic effect that falls outside the transition range at one or
both ends. The amount of elasticity is unaffected by the duration.
Regular Adds slower movement at one or both ends. This feature lets you add a
speeding up effect, a slowing down effect, or both.
Strong Adds slower movement at one or both ends. This effect is similar to
Regular easing, but it’s more pronounced.
None Adds an equal movement from start to end without effects, slowing
down, or speeding up. This transition is also called a linear transition.
Method Description
easeIn
Provides the easing effect at the beginning of the transition.
easeOut
Provides the easing effect at the end of the transition.
easeInOut
Provides the easing effect at the beginning and end of the transition.

Table of Contents

Related product manuals