Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loop in movie clip! 1

Status
Not open for further replies.

killbuzz

Technical User
Mar 21, 2001
103
US
in a flash movie i have a movie clip, in the movie clip frames i want it to loop but need to know how never looped before so <<<<<NEWBIE>>>>> here at looping. need anymore info just reply i'll come back and check THANKS FOR THE TIME..
 
unless you have a stop action in the last frame it should loop..if you do have a stop action take it out..
e.gif


carlsatterwhite@endangeredgraphics.com
 
but i'm not sure how to loop it anyone know?
 

Go to the end of your movieclip timeline, then make an action here. Choose goto and write the frame where it starts. Then it loops..

I don't know is it's the help you' where looking for.. Just trying to help out..

Zit
 
unless you have a stop action in the last frame of your movie it will loop automatically...
e.gif


carlsatterwhite@endangeredgraphics.com
 
Virt is absolutely correct! You cannot stop it from looping unless you put a stop() action on the last frame of the MC. Leave off the stop() action and you have your loop by default!
 
ok so i dont have to go like LOOP and the frame i want it to loop to, just put the code loop?
 
dude just test the movie and see what happens..if it don't loop take out the stop action in the last frame..if it does loop(which it will)then your set..

have you tried testing your movie yet at all to see what it does when you play it?
e.gif


carlsatterwhite@endangeredgraphics.com
 


&quot;ok so i dont have to go like LOOP and the frame i want it to loop to, just put the code loop?&quot;


...Well you would if you wanted it to loop to another frame than frame 1, which it will do, if you follow virt's advice!

;-)ldnewbie
 
BTW, there's no loop command or action as such, in this case! If you don't put a stop action, the mc should loop on it's own.
But you could force it to loop by simply adding on your last frame:
gotoAndPlay(1);

... Or whatever frame you want it to loop to!

;-)ldnewbie
 
This is probably wayyyy off what you want, and the other guys have solved your problem, but something that may confuse you about just letting your movie clip loop on its own may be that you have blank frames after it....

If you do, these will play through before your mc starts again.... so delete them and it'll loop fine...

Anyway, this just confused me when I started...

see you,
Kitten ^_-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top