creo_sol
02-03-2006, 01:42 AM
Hello. I am somewhat new to flash. Please help.
I have a main movie... within this file I have several buttons. Each of these buttons loads an external SWF movie onto the main movie. My problem is that when I click each button the movie loads ontop of the previous movie. How do I code the movies to close when any other movie is qued to open.
The script that is on the 1st button is (S1,S2 being sound):
on (rollOver) {
gotoAndPlay("S1");
}
on (releaseOutside, rollOut) {
gotoAndPlay("S2");
}
on (release) {
loadMovieNum("pageONE.swf",2);
}
Second button would be:
on (rollOver) {
gotoAndPlay("S1");
}
on (releaseOutside, rollOut) {
gotoAndPlay("S2");
}
on (release) {
loadMovieNum("pageTWO.swf",3);
}
.... and so on.
Please help my newbish problem.
Thanks
I have a main movie... within this file I have several buttons. Each of these buttons loads an external SWF movie onto the main movie. My problem is that when I click each button the movie loads ontop of the previous movie. How do I code the movies to close when any other movie is qued to open.
The script that is on the 1st button is (S1,S2 being sound):
on (rollOver) {
gotoAndPlay("S1");
}
on (releaseOutside, rollOut) {
gotoAndPlay("S2");
}
on (release) {
loadMovieNum("pageONE.swf",2);
}
Second button would be:
on (rollOver) {
gotoAndPlay("S1");
}
on (releaseOutside, rollOut) {
gotoAndPlay("S2");
}
on (release) {
loadMovieNum("pageTWO.swf",3);
}
.... and so on.
Please help my newbish problem.
Thanks