fsplayer.api.IAnimationSteps Interface
The IAnimationSteps Interface provides the information about animation steps on the slide.
| Methods |
|
Method |
Description |
|
getStepsCount():Number |
Returns number of animation steps on the slide |
|
getDuration():Number |
Returns the total duration of animation steps in seconds. The duration of animation steps is equal to the duration of the slide |
|
getStep(index:Number):IAnimationStep |
Returns the IAnimationStep Interface providing the information about animation step timings |
Remarks
Slide animation timeline consists of one or more animation steps. Animation step is a sequence of animation effects playing without mouse click requirement.
Slide background, static shapes, and shapes animated before the first mouse driven animation are playing at the animation step 0. So there is at least 1 animation step in each slide.
Each mouse-driven animation along with the subsequent non mouse-driven animations are playing at the separate animation step. In other words, the number of animation steps is equal to number of on-click animations plus 1.
Example
There are 4 animation effects in the following slide. They are represented by 3 animation steps in the generated Flash presentation (click to start animations).
- Effect 1 starts "With previous" animation effect. It is played at animation step 0
- Effects 2 and 3 start "On Click". They are played at animation steps 1 and 2
- Effect 4 starts "After previous" animation effect. It is played at animation step 2 after Effect 3.
See also
IAnimationStep Interface
ISlideInfo Interface
Flash Presentation ActionScript API Reference
Download PDF