View comments | RSS feed

MovieClip._currentframe

Availability

Flash Player 4.

Usage

my_mc._currentframe:Number

Description

Read-only property; returns the number of the frame in which the playhead is located in the Timeline specified by my_mc.

Example

The following example uses the _currentframe property to direct the playhead of the movie clip actionClip_mc to advance five frames ahead of its current location:

actionClip_mc.gotoAndStop(actionClip_mc._currentframe + 5);

Comments


LeahSmart said on Apr 29, 2005 at 3:45 AM :
Is there anyway to get the name of the current frame?
Nij.angelfires.Wij said on Aug 26, 2005 at 1:36 PM :
What am I doing wrong?:

_root.p1hpbar._currentframe - 1;

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/mx2004/main_7_2/00001493.html