I have the main page with buttons on it, and when I press each of this buttons
an appropriate animation (external swf movie) for this button loads and plays.
Now what I whant to do is that when user has loaded movie by pressing specific
button (About Us for instance), then when he clicks on some other button
(Contact Us for example) an outro animation for About Us section (which is in
the About Us swf) should play before Contact movie starts and plays his own
movie animation (another swf).
Any ideas on how to achive that?
zcan - 31 Jan 2005 03:41 GMT
Try setting a variable i.e. nextPage="contact", when the button is clicked.
At the same time have the current page play the 'outro' sequence. At the end
of the outro have a line of code that loads the next page
on (release) {
currentPage.gotoAndPlay("outro");
nextPage = "contact";
}
currentPage.loadMovie([nextPage]+".swf");
Good luck.
> I have the main page with buttons on it, and when I press each of this buttons
> an appropriate animation (external swf movie) for this button loads and plays.
[quoted text clipped - 6 lines]
>
> Any ideas on how to achive that?