_currentframe
Top  Previous  Next


SWiSH Player Support
SWF4 or later - Supported Internally

Syntax

instanceName._currentframe

Arguments
None.

Returns
The current Frame number of the named Instance / Sprite.

Description
Read-only property returns the current Frame number of the named Instance / Sprite.

Sample
if (_root._currentframe > 10
{
    trace("passed frame 10");
}