Flash Actionscript 3 SimpleButton doesn't have focusEnabled property? -
this driving me insane. working in flash (not flex) actionscript 3. have instance of class simplebutton. have textfield don't want lose focus when user clicks simplebutton. understanding both actionscript 2 flex class 'button' both have settable/gettable property called "focusenabled". can't seem find equivalent flash actionscript 3's simplebutton. did find link ifocusmanager , ifocusmanagercomponent, neither seem available me. cheers.
how using click event set focus textfield? don't have worry whether or not simplebutton has focusenabled property.
code should be
stage.focus = mytextfield;
Comments
Post a Comment