Flash Player 5.
my_mc.nextFrame(): Void
None.
Nothing.
Method; sends the playhead to the next frame and stops it.
You can extend the methods and event handlers of the MovieClip class by creating a subclass. For more information, see "Assigning a class to a movie clip symbol" in Using ActionScript in Flash.
The following example loads content into a SWF file using _framesloaded and nextFrame(). Do not add any code to Frame 1, but add the following ActionScript to Frame 2 of the Timeline:
if (this._framesloaded >= 3) {
this.nextFrame();
} else {
this.gotoAndPlay(1);
}
Then, add the following code (and the content you want to load) on Frame 3:
stop();
nextFrame(), MovieClip.prevFrame(), prevFrame()
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/00001526.html