I'm hoping someone can clarify this situation:
 
AS3 - Flash IDE
 
I have created a SimpleButton. I'm just trying to do simple Next/Back 
navigation where you disable Back on the first page and Next on the last page.
 
at button creation I disable the button with:
 
myButton.enabled = false;
myButton.alpha = .5;
myButton.addEventListener(MouseEvent.CLICK, btnClicked);
 
My button is dim, the cursor doesn't change, BUT, you can still click on it and 
the event handler still executes.
 
 
If I change it to:
myButton.mouseEnabled = false;
myButton.alpha = .5;
 
All is well.
 
Why is there an enabled property for SimpleButton if it doesn't really work as 
advertised? Can anyone clarify this? Is there some situation where one 
can/should use the enabled property?  
 
Thanks for your sage advice,
 
Mary

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to