Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Jan 06, 2015 Jan 06, 2015

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

TOPICS
ActionScript
238
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jan 06, 2015 Jan 06, 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"

Translate
LEGEND ,
Jan 06, 2015 Jan 06, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 06, 2015 Jan 06, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 06, 2015 Jan 06, 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"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 06, 2015 Jan 06, 2015
LATEST

Okay

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines