iSpring.as2player.IAnimationSteps Interface
The IAnimationSteps Interface provides the information about animation steps on the slide.
| Properties |
|
Property |
Type |
Description |
|
duration |
Number |
The total duration of animation steps in seconds. The duration of animation steps is equal to the duration of the slide |
|
stepsCount |
Number |
Number of slide animation steps |
| Methods |
|
Method |
Description |
|
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 and 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
SlideInfo Interface
ActionScript 3 and Flex support in iSpring