Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • 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.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint