_framesloaded
Top  Previous  Next


SWiSH Player Support
SWF4 or later - Supported Internally

Syntax
a = spritename._framesloaded

Arguments
spritename is the name of a Sprite or Movie Clip.

Returns
The number of Frames that have currently been loaded.

Description
Property (read-only); the number of Frames currently loaded from a streaming Movie.

This can be used to check if the contents of a specific Frame has been loaded or for checking the download progress of large Movies.

This property could be used to create a temperature bar that shows the % complete of download.

The following example uses the _totalframes property to calculate the % loaded

Sample
a = _framesloaded / _totalframes * 100
;   // a contains % complete of download.

See Also
_totalframes