Be a Supporter!

AS help (previous & next scene)

  • 366 Views
  • 3 Replies
New Topic Respond to this Topic
AlmightyHans
AlmightyHans
  • Member since: Aug. 6, 2004
  • Offline.
Forum Stats
Moderator
Level 11
Filmmaker
AS help (previous & next scene) 2007-01-23 17:18:19 Reply

i need AS for 2 buttons one to make a button that takes you to the next scene and another that takes you to the previous. your help will recieve credit and i'll place your name in the credits if i ends up working of course :P

thanks,


BBS Signature
backflipair
backflipair
  • Member since: Jul. 14, 2006
  • Offline.
Forum Stats
Member
Level 25
Blank Slate
Response to AS help (previous & next scene) 2007-01-23 17:26:09 Reply

Don't use scenes. But if you HAVE to, use this code:

on(release){
gotoAndPlay("Scene 2", 1);
}

That takes you to frame 1 of Scene 2 .

on(release){
gotoAndPlay("Scene 12", 74);
}

...would take you to the 74th frame of Scene 12. This code can be used anywhere in your Flash.

deltatsunami
deltatsunami
  • Member since: Dec. 31, 2005
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to AS help (previous & next scene) 2007-01-23 19:24:54 Reply

Don't use scenes. But if you HAVE to, use this code:

Scenes are much easier to manage your movie. Also, creating a new scene can make you go over 16000 frames per scene.