Syntax: | the frame of sprite whichFlashSprite |
Type: | Sprite property |
Description: | This property controls which frame of the current Flash movie is displayed. The frame of sprite property can be tested and set. The default setting is 1. |
Example: | This frame script checks to see if a Flash movie has finished playing (by checking to see if the current frame is equal to the total number of frames in the movie). If the movie has not finished, the playback head continues to loop in the current frame; when the movie finishes, the playback head can continue to the next frame. (This script assumes that the movie was designed to stop on its final frame and that it has not been set for looped playback.) |
on exitFrame if the frame of sprite 5 < the frameCount of sprite 5 then go to the frame end if end |
|
![]() |