You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Newly created MovieClip (defined by AnimateCC script) is unstoppable #779
Since AnimateCC publish everything as MovieClip the newly created MovieClips is unstoppable right after the creation, could stop only some time later. (FlashCC published the same objects as Container, and there was no problem to stop them) for example:
We are aware of this bug, and are hoping to have a solution for it in a future release. In the mean time, I believe forcing an update on the parent timeline can resolve this:
this.BG_holder=newlib.abui_BackGround();this.BG_holder.gotoAndStop(0);// Force updatethis.BG_holder.title.gotoAndStop(0);
This is based on your code. Basically, you have to force this.BG_holder (the parent timeline of the "title" instance) to update first, and then you can call title.gotoAndStop(0).
Activity
ggVGc commentedon Jun 25, 2016
Yeah, I am pretty sure this is a bug. I sent a PR regarding it a few days ago, #778
lannymcnie commentedon Jan 1, 2017
We are aware of this bug, and are hoping to have a solution for it in a future release. In the mean time, I believe forcing an update on the parent timeline can resolve this:
tjutasi commentedon Feb 9, 2017
I don't see what this.BG_holder.title should be here, and there is no 'parent timeline'.
lannymcnie commentedon Feb 9, 2017
This is based on your code. Basically, you have to force
this.BG_holder(the parent timeline of the "title" instance) to update first, and then you can calltitle.gotoAndStop(0).Trost123 commentedon May 6, 2017
+1 to this.
Is there a chance to bring Container class back to Animate CC, so we can get rid of this bug?
lannymcnie commentedon May 7, 2017
That is the hope. This was a change by Adobe, so we are working with them to resolve. Cheers.