Be a Supporter!

Flash 8 Help.

  • 269 Views
  • 2 Replies
New Topic Respond to this Topic
sirspamalot
sirspamalot
  • Member since: Apr. 26, 2005
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Flash 8 Help. 2007-02-18 05:26:57 Reply

I have a menu in scene 1 that lasts 30 seconds. When it gets to the last frame, it goes straight to scene two and plays. I don't want it to do that. I want it to loop back to frame 2, scene one.


BBS Signature
Blue-Devil23
Blue-Devil23
  • Member since: Sep. 4, 2005
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to Flash 8 Help. 2007-02-18 05:30:12 Reply

in the last frame of scene 1 put:
gotoAndPlay(2);

Jindo
Jindo
  • Member since: Aug. 30, 2005
  • Offline.
Forum Stats
Member
Level 23
Game Developer
Response to Flash 8 Help. 2007-02-18 05:30:44 Reply

Scenes are a pain, delete everything in scene 2, or just move it to after the last frame of scene 1 and copy this code into the last frame of scene 1:

gotoAndPlay(2);

Assuming you want it to loop ^

Hope this helps.


BBS Signature