PDA

View Full Version : [FMX] Disabling a button while loading...



rasarasan
November 6th, 2002, 05:00 AM
Hi folks.. :nerd:
Can anyone tell me how to disable a button while loading
the movie. Later i want to enable it on some other mouse event.
Thanks
:cowboy: :cowboy:

eki
November 6th, 2002, 05:48 AM
HI, a quick thought:

U could use a dummy graphic and replace it with the button when the movie is loaded.

Cheers

SHO

richie
November 6th, 2002, 06:15 AM
you can disable this button:
use this - buttonName.enabled = false; - in the preload, then in the movie just change the value to true; ( buttonName.enabled = true; )

if you have some doubt , just ask.

srinivas
November 6th, 2002, 10:06 AM
You can have a mc witha sqaure/rectangle and make its alpha=0. Than whenever u want to disable to button have this mc over your button. If you want to enable the button move this mc away from the stage. Remember that the mc should be on a layer above the one you have your button on.

Hope this helps!!