i have created 2 swf files… (eg; a.swf and b.swf)
if i 1 2 link from a.swf to b.swf, i use this AS : ( this As works)
on (release) {
tellTarget ("_root") {
gotoAndStop(1);
loadMovieNum(“b.swf”, 1);
}
}
lets say if a.swf have 3 scenes in it, (scene1, scene2, scene3), and i 1 2 link b.swf back to the ‘scene3, frame1’ of a.swf, what will the AS be?
i tried using this:
on (release) {
tellTarget ("_root") {
gotoAndStop(1);
loadMovieNum(“a.swf”, “scene3”,1);
}
}
but it has and error…
can u tell me the correct AS to link it back?
system
March 13, 2004, 10:21am
2
can some pls reply me… at least tell me issiz possible to do tat… pls… desparate…
system
March 13, 2004, 10:06pm
3
First stop writing “1 2” instead of “want to”. Thats horrible and confusing.
*Originally posted by whitetulips *
**on (release) {
tellTarget (“_root”) {
gotoAndStop(1);
loadMovieNum(“a.swf”, “scene3”,1);
}
}
but it has and error…**
Why are you using loadMovieNum if a.swf is already loaded? And besides, the sintax is wrong, the scene parameter doesnt even exist:
loadMovieNum("url",level);
If you want to reference movie a from movie b, you’d use _parent.
ie: If you have a button on movie b and you want to tell movie a to go to a certain frame:
on(press){
_parent.gotoAndPlay(frame);
}
I dont recommend using scenes though, as it can be hard to navigate through them sometimes.
http://www.macromedia.com/support/flash/ts/documents/scene_frame.htm