-
Code
I have a tool bar and the buttons on the toolbar load the movies dedicated for the button and unload all other movies. But, when each movie loads through a button a small intro effect happens. The effect is that the movie sort of flashes onto the screen. So, I hit the 'home' button and the home texts flash onto the screen. The problem is when I am already on the home page and hit the home button it flashes again. Please help with the button code:
on (press) {
if(level2 is loaded - do nothing)
else(
unloadMovieNum(3)
loadMovieNum('home2.swf', 2))
}
Thanks for any help!
-
set a flag for each section that is opened.
so when the movie starts, set
then when you click on say "about"
so then for each button check if its already on that flag, eg.
for the home button
Code:
if(section = "home"){
//do nothing
}else{
//do sumpthin'!
}
hope that helped
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|