Table of Contents

MovieClip._totalframes Property Flash 4

the total number of frames in a clip or movie timeline read-only
mc._totalframes

Description

The integer _totalframes property represents the number of frames in mc's timeline, where mc is a movie clip or main movie. The _totalframes property is most often used along with _framesloaded to create preloaders, as shown in the entry for MovieClip._framesloaded.

The loadMovie( ) and unloadMovie( ) functions are executed asynchronously. Hence, the value of _framesloaded varies according to when it is called and the value of mc, as follows:

See Also

MovieClip._framesloaded


Table of Contents