Skip to main content
Quattro Corp Pty Ltd
Participant
July 24, 2014
Question

How do I stop a movie clip from looping

  • July 24, 2014
  • 2 replies
  • 416 views

I am using Action Script 3 and the 'stop()' function is not working to stop my movie clips from looping continuously.

I have added the 'stop()' function to the last frame on the timeline of each movie clip.

I originally built the .fla file in Flash CS6 using Action Script 2 where it was working with no problems (I have since upgraded and don't have access to CS6 anymore).

I have all the separate movie clips positioned on Frame 1 of my main stage with the following script to start them playing:

Cigarette_Reveal.play();

KickTheHabit.play();

BallMove.play();

BallFlip.play();

Offer.play();


I want each of these movie clips to stop playing after one animation sequence is complete.


Please help!

This topic has been closed for replies.

2 replies

Amy Blankenship
Legend
July 24, 2014

Turn on strict mode in your publish settings. This will allow you to see the compiler errors that are preventing the actionscript in your fla from compiling correctly.

kglad
Community Expert
Community Expert
July 24, 2014

what's changed that's allowing your movieclips to loop?