actionscript 3 - AS3 softkeyboard auto slide up -
i having trouble have softkeyboard auto slide on ipad.
here code trigger softkeyboard, doesn't work somehow...
this.dispatchevent(new softkeyboardevent(softkeyboardevent.soft_keyboard_activating, true, true, null, softkeyboardtrigger.content_triggered));
anyone have suggestion?
try this:
tf.type = textfieldtype.input; tf.needssoftkeyboard = true; tf.addeventlistener( focusevent.focus_in, onfocus ); private function onfocus( e:focusevent ):void { tf.requestsoftkeyboard(); }
Comments
Post a Comment