what is the syntax of targeting a scene from one swf to another?
lets say i have a 2 swf file and i want to target a scene frm the second swf file named “games”. tnx
There isn’t :-\ You’d havta use if statements on the new swf to determine the scene. This all depends on what you want to do…
ic. tnx for the reply.
If you’re still stuck i can help you on it 
ok. tnx coz i really need to link this swf to a scene in another swf file. is there another way aside from using if statement?
ok well why do you need it to go to another scene firstly??
Frame labels are better than scenes…
yourClipInWhichYouLoadTheSwf.gotoAndPlay("theLabel") ;
coz i have a main page for my games that is located on a scene in the first swf and the games itself that is residing on another swf. i need to link the games to the main game page, that’s why i need to know the syntax. coz that is what i wrote in my flowchart.
Oh this is school work i’m assuming :-\
Yea frame labels are better, but if you want to do that, on the first frame of the first scene in the new SWF, put:
_root.gotoAndPlay (“sceneName”, 1)
I’m still confused about why you want to do this but it is your thing…
yah, school work. hehe. tnx for the help dude. appreciate it so much,
elo! it’s me again. what i did is put this action on the first frame of the first swf which has a name of “index.swf”.
loadMovieNum (“games.swf”, 1)
and then put this code
_visible = false;
on the first frame of the games.swf
then on the movie index.swf i put a button that will make the loaded movie visible. it worked on the first time you click the button but on the second time the movie doesnt load anymore, by the way the code on the button is
on (release) {
unloadMovieNum(0);
_level1._visible = true;
}
is there a problem in my code??? tnx
try:
[AS]
on (release) {
_root.createEmptyMovieClip (“newMC”, 1)
newMC.loadMovie (“games.swf”)
}
[/AS]
because you want it to load on the click of a button right??
yes i want to load it using a button, and i also want the current movie loaded on level 0 to be unloaded that’s whay i am loading games.swf on level 0 also. is it possible to load a new movie on a level that already contain a movie? tnx
Does the code i gave you work?? i never tried it, but anyways if you want to unload it…try:
newMC.unloadMovie (“games.swf”)
that should work i think…
i’ll try it when i get home. tnx dude