• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 16. Time- and Frame-Based Dynamis... > Tracking Playback and Downloading Pr...

Tracking Playback and Downloading Progression

The number of frames in a movie and the file size of their contents determine the movie's overall length and size—a fact made evident by looking at the main timeline where these factors represent the length and size of the entire SWF. The total number of frames in a movie is a represented by the_totalframes property. If the main timeline has 400 frames that span several scenes, the following script sets the value of myVariable to 400:

var myVariable:Number = _root._totalframes;


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint