![]() ![]()
This.removeEventListener(Event.ENTER_FRAME, handleEnterFrame) Īt frame 5 I created a key frame and added the code: this.gotoAndPlay(10) Īt frame 14 I created a key frame and added the code: this.gotoAndPlay(16) Īfter running I got the following trace output: * ENTER_FRAME last frame, stop updating the playhead Trace('before: ' + before + ', current: ' + this.currentFrame) If (this.currentFrame < this.totalFrames) ![]() advance to next frame, show playheads position This.addEventListener(Event.ENTER_FRAME, handleEnterFrame) įunction handleEnterFrame(anEvent: Event): void I created a new MovieClip and expanded the timeline to 23 frames.Īt the first frame I added the following code: import Flash optimizer 1.25 pro#
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |