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
Post a Comment