trial Posted May 12, 2019 Share Posted May 12, 2019 Hello, I'm using Animate CC. I'm trying to get a movieclip placed in the beginning of the timeline to load to a frame label. I used this code but it doesn't seem to work: this.movieClip_mc.gotoAndStop("start"); I was thinking maybe the code loads first before the movieclip, that's why it's not being fired? Quote Link to comment Share on other sites More sharing options...
trial Posted May 16, 2019 Author Share Posted May 16, 2019 This code worked for me to change the movieclip to the frame label that I wanted: stage.on("goToFrameLabel", initAllFrameMCs, this, true); function initAllFrameMCs() { this.movieClip_mc.gotoAndStop("start"); } 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.