De-I > _framesloaded
_framesloadedSyntax
instancename
._framesloaded
Arguments
instancename
The name of the movie clip instance to be evaluated.
Description
Property (read-only); the number of frames that have been loaded from a streaming movie. This property is useful for determining whether the contents of a specific frame, and all the frames before it, have loaded and are available locally in a user's browser. This property is useful for monitoring the download process of large movies. For example, you might want to display a message to users indicating that the movie is loading until a specified frame in the movie has finished loading.
Player
Flash 4 or later.
Example
The following is an example of using the _framesloaded
property to coordinate the start of the movie to the number of frames loaded:
if (_framesloaded >= _totalframes) {
gotoAndPlay ("Scene 1", "start");
} else {
setProperty ("_root.loader", _xscale, (_framesloaded/_totalframes)*100);
}