[FMX] Disabling a button while loading

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:

HI, a quick thought:

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

Cheers

SHO

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.

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!!