Buttons to new movies

Posted on 2002-03-14
Medium Priority
Last Modified: 2010-04-03
I am new to Flash.

I have created several movies.  I want to add a button to one of them so that when I click it another movie will appear.  I have now created the button but don't know how to proceed from there.

I would really appreciate help on how to solve the problem.
Question by:MnrSchot
LVL 18

Expert Comment

ID: 6868989
right click on the button and select Actions

in the object actions, use loadmovie (if you are in normal mode for action script editting, it'll tell you what parameters you need)

good luck

Expert Comment

ID: 6879090
MnrSchot, this is similar to the previous question you asked and can be done in the same way.

Would you like one button to load a different movie each time, or have you got a buttun for each movie.

If you have a button for each movie, the use the action as stated above which is the same answer as your previous question.

If you would like one button to load a different movie each time then I would proberbly use a javascript.

Otherwise when the button loads a movie it changes it's action at the same time so when it is clicked again it loads a differnet movie and so on. Each time you load a new movie make sure it is replacing the same level otherwise you will end up with all your movies open at once.
LVL 23

Accepted Solution

Zeffer earned 200 total points
ID: 6935784
If your movies are small what about putting
the movie with the button on frame 1 of the
main timeline with a stop action.
In frame two put the next movie with a stop action.
Frame 3, 4 etc.

The same button is placed in each movie and all
except the last of them have the action:

nextFrame ();

The last button could have:

gotoAndPlay (1);

to make it go back to the start..


Expert Comment

ID: 10311267
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept Zeffer's comment as answer.

Please leave any comments here within the next four days.


EE Cleanup Volunteer

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to record live broadcast.

586 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question