PDA

View Full Version : Disable buttons


ashleyt
09-11-2008, 05:31 PM
I am building a website and the intro is on the main timeline. I have six buttons that when you click on them an external .swf file is loaded ontop into an empty movie clip. But the buttons below the .swf can still be clicked eventhough you don't see them. How do I fix this?

atomic
09-11-2008, 08:51 PM
Using AS2.0?

If so, check this thread, for my answer in post #2...

http://www.actionscript.org/forums/showthread.php3?t=167452

In your case you'll have to add the invisible button within each loaded in external .swf.

Alternately, if your buttons are numbered named, you can use a for loop to disable them when loading the external .swf and re-enabled them, when you unload it...