Skip to main content
Participant
July 16, 2007
Question

Buttons showing up from other levels that should not be

  • July 16, 2007
  • 2 replies
  • 320 views
Hi,
I am very new to actionscript and have a question about the loading and unloading of levels. Currently I am trying to build a site with a main navigation area called "main.swf." When you click on a button within the middle of the movie, it launches another external movie called "photos.swf." I do this using the following script:

on (release) {
loadMovieNum("photos.swf", 1);
}

The problem is that when the "photos.swf" movie shows up, my mouse icon still changes from a pointer to a hand when it moves over the now invisible buttons from the previous level (IE the buttons from in the middle of the previous movie titled "main.swf.")

Would any of you know what I am doing wrong and how I might rectify the situation?

Any help is MUCH appreciated,

Jake
This topic has been closed for replies.

2 replies

Participating Frequently
July 18, 2007
*button_name*._visible = true;
kglad
Community Expert
Community Expert
July 16, 2007
set the buttons _visible property to false or set their enabled property to false.
Participant
July 17, 2007
kglad,
Thanks for the infomration. Now I will show my lack of knowledge about ActionScript:
How do I set the button property?
Sorry man,
Jake