godonholiday
04-02-2003, 08:02 AM
ok before i ask the questions i need to give you an idea of what i am trying to do,
on my main stage i have a number of rectangles, which are actually MC that i want to load swf files into.
i have my buttons on the main stage, i want to click on the button and load a swf file into a MC called content.
ok i can do this fine!!!!!!
but i am using the following script:
button1.onRelease function(){
loadMovie ("content.swf","_root.content");
}
this works fine.
however i am trying to take that a step further:
i want the button to load the swf into the MC, but the swf file is differnt to the one i used above it has a transition, intro and outro. which i got from following the tut at tablau.com.au
i can do this:
button1.onRelease=function(){
if(nextMovie="content.swf"){
mextMovie="content.swf";
_level1.gotoAndPlay("outro");}}
this just loads it onto the main stage not into the MC i want it to?
so when button 1 is pressed it plays the intro (first 15frames) of the MC in the contentMC on my main stage.
then when the next button is pressed it makes sure the movie is not itself and plays the outro of the movie in contentMC and then the intro of the new movie.
any ideas
thanks in advance
on my main stage i have a number of rectangles, which are actually MC that i want to load swf files into.
i have my buttons on the main stage, i want to click on the button and load a swf file into a MC called content.
ok i can do this fine!!!!!!
but i am using the following script:
button1.onRelease function(){
loadMovie ("content.swf","_root.content");
}
this works fine.
however i am trying to take that a step further:
i want the button to load the swf into the MC, but the swf file is differnt to the one i used above it has a transition, intro and outro. which i got from following the tut at tablau.com.au
i can do this:
button1.onRelease=function(){
if(nextMovie="content.swf"){
mextMovie="content.swf";
_level1.gotoAndPlay("outro");}}
this just loads it onto the main stage not into the MC i want it to?
so when button 1 is pressed it plays the intro (first 15frames) of the MC in the contentMC on my main stage.
then when the next button is pressed it makes sure the movie is not itself and plays the outro of the movie in contentMC and then the intro of the new movie.
any ideas
thanks in advance