incendius
asked on
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..
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..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Let's use 66.
Your button actions would look like this:
on (release) {
loadMovieNum("content01.sw
}
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) {
unloadMovieNum(66);
}
-Sam