I was having trouble with some buttons that I was un-enabling as soon as
onRelease was called. The trouble was that when the buttons where later
re-enabled, they were displaying their "Over" skin.
I have fixed this by calling onRollOut() immediately after re-enabling:
button.enabled = 1;
button.onRollOut();
Andrew Sinning wrote:
I have configured a group of button components so that only one can be
selected at a time and so that each button becomes not enabled after
it is selected. The problem is that since the button.enabled = false
happens before the on(rollOut) event, later on when it is re-enabled
it displays its overSkin state.
If I could send it an on(rollOut) event then I think this problem
would be resolved, but I don't know the correct syntax. Thanks!
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com