stopping on the last frame (flash)
问题 I want my movieclip to play once and stop on the last frame. I use the following code in the loop of my movieclip class. (this is as3) if(currentFrame == 120) stop(); 120 is the last frame. It plays once. but the problem is it goes back to frame 1 again. is there a better method of stopping a movieclip on a particular frame. 回答1: If you want to do it with actionscript and not add a stop() to the last frame on the timeline manually, then you can use the undocumented addFrameScript() method. mc