This content has been marked as final. Show 3 replies
there is a property for button in flash.
If you want to deactivate the buttons without hiding, you can use this property.
your_btn.enabled =false; //(or true)
Instead of switching the visible , you try to use this one...
oh yes, thats it. I need to study a lot :( thank you, Arun.
>> there is a property for button in flash.
>> If you want to deactivate the buttons without hiding,
>> you can use this property.
>> your_btn.enabled =false; //(or true)
> oh yes, thats it. I need to study a lot :( thank you, Arun.
Studying is good, for sure. But it's hardly *studying* to take a quick
look at the Button class (or any class) in the ActionScript 2.0 Language
Reference. ;) More like "looking something up in the dictionary," which
thankfully isn't hard or time consuming. Remember, everything in
ActionScript is an object, and objects are defined by classes. Classes
feature properties (characteristics), methods (things the object can do),
and events (things the object can react to), and may not feature something
in all three categories.
Adobe Community Expert
Dev blog, http://www.quip.net/blog/
"Luck is the residue of good design."