Skip to content

Newly created MovieClip (defined by AnimateCC script) is unstoppable #779

Open

Description

@tjutasi

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:

this.BG_holder=new lib.abui_BackGround();
this.BG_holder.title.gotoAndStop(0);

and this.BG_holder.title still loops it's timeline. When I click a button which call

this.BG_holder.title.gotoAndStop(0)
  • it's stopped at frame 0.

We can't use AnimateCC because of this bug.

Activity

  1. ggVGc commented on Jun 25, 2016

    @ggVGc

    Yeah, I am pretty sure this is a bug. I sent a PR regarding it a few days ago, #778

  2. lannymcnie commented on Jan 1, 2017

    @lannymcnie
    Member

    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=new lib.abui_BackGround();
    this.BG_holder.gotoAndStop(0); // Force update
    this.BG_holder.title.gotoAndStop(0);
  3. tjutasi commented on Feb 9, 2017

    @tjutasi
    Author

    I don't see what this.BG_holder.title should be here, and there is no 'parent timeline'.

  4. lannymcnie commented on Feb 9, 2017

    @lannymcnie
    Member

    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).

  5. Trost123 commented on May 6, 2017

    @Trost123

    +1 to this.
    Is there a chance to bring Container class back to Animate CC, so we can get rid of this bug?

  6. lannymcnie commented on May 7, 2017

    @lannymcnie
    Member

    That is the hope. This was a change by Adobe, so we are working with them to resolve. Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions