PDA

View Full Version : BUttons under Alpha


dominick100
06-12-2002, 03:43 PM
OK, here's what I have:

A movie with some animations, and 4 buttons.
I have a loadMovie command on the buttons, which loads another swf on top of it, containing some scrollable text and a couple pics.

On the movie that loads on top, I have set an alpha of 40, because I think it looks pretty cool when you can see the animation playing in the background.

The problem is that this makes the buttons on the movie underneath active. I don't want people to accidentally click on one of those buttons, and load another movie before they're through reading everything.

Does anyone know a good trick to making the buttons on the bottom level inactive? My first instinct is just to put an invisable button under everything on the loaded movie and assign no actions to it. I'm just wondering if there's another trick I should know.

pixelwit
06-12-2002, 06:29 PM
If you're using FlashMX you can name your button then tell it to stop working with something like "myButton.enabled=false".

If you're pre-MX try placing your button inside a movieClip, place a blank frame on frame2, name the clip instance, then deactivate your button with code something like this "myButtonClip.gotoAndStop(2)".

Hope it helps,

-PiXELWiT
http://www.pixelwit.com