Avinash kumar Posted August 27, 2016 Share Posted August 27, 2016 frame = animations[animations.selected]; At runtime i'm fetching currentFrame in ticker. And checking if currentFrame === frameEnd then performing gotoAndStop(37). Now problem is when 1st sequence is stopped I want to play another sequence in loop eg. worm_move. Both sequence belong to same movieclip. First sequence is working fine But we are facing issue in second sequence /** In ticker add both sequence are calling, when selected changed to second sequence(worm_move), it is not getting played **/ this.ticker.add(() => { if (mc.currentFrame === frame[1]) { mc.gotoAndStop(frame[1]); } }); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.