Skip to main content
Participant
February 2, 2018
Answered

I need a timed pause in an animate project

  • February 2, 2018
  • 1 reply
  • 2700 views

Working in Animate CC version 18 on PC. How can I create a timed (say 2 seconds) pause.

    This topic has been closed for replies.
    Correct answer ClayUUID

    If this is AS3:

    stop();

    setTimeout(play, 2000);

    If this is HTML5 Canvas:

    this.stop();

    setTimeout(this.play.bind(this), 2000);

    1 reply

    Legend
    February 2, 2018

    Insert two seconds of nothing happening in your timeline?

    You don't say what you want to happen after the pause so we're kind of limited in how specific a response to give. If this is in code you use setTimeout().

    Participant
    February 2, 2018

    I would like for the movie to continue with the next frame.

    ClayUUIDCorrect answer
    Legend
    February 2, 2018

    If this is AS3:

    stop();

    setTimeout(play, 2000);

    If this is HTML5 Canvas:

    this.stop();

    setTimeout(this.play.bind(this), 2000);