Skip to main content
JCBq
Participant
January 6, 2015
Answered

How to make a flash starter (to other flash animations)

  • January 6, 2015
  • 1 reply
  • 279 views

What is the code I must use when I click on a button (goto1_btn), it loads another flash animation (1.swf) which has a back button (back_btn) to return at the starter? (gallery)

(Note: I'll use more than 30 btn on the starter → at the end: more than 30 swf in the folder)

Thanks

This topic has been closed for replies.
Correct answer Ned Murphy

I won't be writing out all the code you will need for this since it can get fairly involved for what you describe wanting.  As part of your learning you should also learn how to find coding solutions.  Google and the Flash Help documentation are two of the best tools available for this.  Search Google using "AS3 Loader tutorial"  You might even want to try searching for "AS3 gallery tutorial"

1 reply

Ned Murphy
Legend
January 6, 2015

It sounds like you can use the Loader class for this.  What code do you have so far?  For the back button you could assign a listener to the loaded swf from the main file as soon as it finishes loading so that the main file can unload the loaded swf.

JCBq
JCBqAuthor
Participant
January 6, 2015

In fact I'm a begginer in ActionScript, I don't have a code ready and don't know how to use the loader class

Ned Murphy
Ned MurphyCorrect answer
Legend
January 6, 2015

I won't be writing out all the code you will need for this since it can get fairly involved for what you describe wanting.  As part of your learning you should also learn how to find coding solutions.  Google and the Flash Help documentation are two of the best tools available for this.  Search Google using "AS3 Loader tutorial"  You might even want to try searching for "AS3 gallery tutorial"