actionscript 3 - Action Script 3. After clicking button set It to "selected" state -


i have created button different up, over, down , hit images. up, on , down states working correctly, "hit" states don't work. mean after button clicked, return "up" state, not holing in "hit" state. what's problem?

i've tried:

my_btn.selected = true; - doesn't helped.

my_btn.downstate; - doesn't helped too.

my_btn.enabled = false; - disable button, still show button's "up" state.

could me, please? thank you.

hit 'state' used hitting area, means whatever draw there, used mask button clickable.

the standard flash button not have 'selected' state. maybe need skin button component or create own.


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -