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

Chapter 16. Using Preloading Sequences > Using _framesloaded and _totalframes

Using _framesloaded and _totalframes

Beginning with Flash 3, you could use an action called ifFrameLoaded to check whether a particular labeled frame or frame number had loaded. That action carried over to Flash 4, and you still can use it in Flash 5. It is now considered a deprecated action, so it most likely will not be supported in future versions of Flash. A better choice is to use the _framesloaded and _totalframes properties that were introduced in Flash 4 and that have not been deprecated:

  • _framesloaded. Reads the number of frames that have loaded from a streaming movie.

  • _totalframes. The total number of frames in the movie.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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