Be a Supporter!

preloader question

  • 244 Views
  • 1 Reply
New Topic Respond to this Topic
theamoeba
theamoeba
  • Member since: Jul. 30, 2008
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
preloader question 2008-07-30 15:11:53 Reply

Hey, i'm sorry if this has been asked already like 28669840680945 times, but I'm new here and I just made my first flash movie, and it's a loop. but now I put the preloader in it, it plays only once and then the play button is there again. How can I make it to loop, after I push the play button?

Insanimation
Insanimation
  • Member since: Feb. 27, 2008
  • Offline.
Forum Stats
Member
Level 21
Blank Slate
Response to preloader question 2008-07-30 15:21:31 Reply

On the last frame of your movie, put the following code:

gotoAndPlay(whatever frame your movie begins at, probably 1)

This code will not work if your movie begins in a different scene to the one that the code is in. If that is the case, then put this in:

gotoandPlay("whatever scene the first frame of your movie is on", whatever frame in that scene the movie begins, probably 1)

Make sure you have the " " around the scene name, and note that the scene names are case sensitive, so "title" won't work if your scene is called Title.

Hope that helped....


GOTPENMUSTFLASH!

BBS Signature