Skip to main content
Participant
July 16, 2014
Question

how do i stop my flash animation from constantly looping even though i added stop code?

  • July 16, 2014
  • 1 reply
  • 160 views

how do i stop my flash animation from constantly looping? I can't seem to find the answer. I put the stop(); code on it's own layer and at the end of the timeline. it still doesn't work when i test it or publish. I'm new to Flash.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
July 16, 2014

if you're publishing for html5, use:

this.stop();

to stop the timeline that contains the code.  if you want to stop other timelines, you must reference them.  eg,

mc1.stop();

mc2.stop();

mc2.mc3.stop();