Seperate swf files for button clicks?

I have made up one 'template' style swf file and have left a space in the middle for content based upon which button is clicked. My theory was to have a seperate .swf file populate this area once a user clicked the appropraite button. For example:

User enters the URL and the main intro/template loads up fine. There are 6 buttons.

if user clicks button1, then content01.swf fills the center blank region...

if user clicks button2, then content02.swf fills the center blank region...

etc etc.

I figured it would be easier than having one gigantic swf file to load, etc.

I know this can be done... BUT HOW?

MANY thanks in advance..
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You need to pick a level.  Doesn't matter what it is, as long as it's not zero.

Let's use 66.

Your button actions would look like this:

on (release) {
     loadMovieNum("content01.swf", 66);

Same with all your other buttons.

For your Home button, if it's the main movie with no other movies loaded, you would use this action:

on (release) {

A few extra notes.

Your framerate and stage size and background color are all set in the MAIN movie.  Any adjustments you make in the others won't take.

Since the stage size in your other movies is the same size as the main, you need to place your content accordingly so it's in the right place.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.