[Nexus 4] Setting focus and showing soft keyboard


within app have code this:

 

// in item class constructor inputtext.needssoftkeyboard = true;  // in itemcontainer class var item:item = new item(); addchild(item);  stage.focus = item.inputtext; requestsoftkeyboard(); 

 

however, when test on nexus 4 find while textfield appears receive focus (there's blinking text cursor in it) soft keyboard not show up. if manually tap textfield soft keyboard appears.

 

so, how soft keyboard show when create item?

 

-aaron

i got work calling:

 

item.inputtext.requestsoftkeyboard()  

 

-a



More discussions in AIR Development


adobe

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?