开发者

How to wait for a movieclip to stop the animation in order to do other actions in AS3

开发者 https://www.devze.com 2023-02-01 17:25 出处:网络
the thin开发者_开发百科k is; in the main timeline im on the frame 1 (animation stoped here), i want to pass to frame 2 but first i play a MC, who is an animation of a black square who covers all the m

the thin开发者_开发百科k is; in the main timeline im on the frame 1 (animation stoped here), i want to pass to frame 2 but first i play a MC, who is an animation of a black square who covers all the movie that goes from transparent on his own frame 1 going to full opacity in frame 5 and then transparent again in frame 9. Well i want to pass from main frame 1 to frame 2 when the MC animation is exactly on his own frame 5. Im developing in AS3, any ideas? Thanks!


In the frame 5 of your Movie clip, place a AS to tell root timeline goto nextframe.

this['root'].gotoAndPlay(2);
0

精彩评论

暂无评论...
验证码 换一张
取 消