I have post this question in other article that talks about soft keyboard.
So to my goal I have a Label tag and I want it to open soft keyboard.
what I do? create a Label tag and set neesSoftKey.. = true
> insert it to BoedreContainer and set the click="onClick(event)"> in the onClick I tell the Label.needsSoft..= true (again just to be safe) and Label.addEvent...(foucsevent.focuseIn , inFocus) --> in inFocus I want to check that the Label got focus to I do Label.text = "in" and add this.addeve..(keyboard.keyDown , func);
the thing is that my Label at this point have focus and needSoft= true and still my soft keyboard is not shown why?
Label is not editable, so that's probably why you don't get the soft keyboard. I'm not sure why the soft keyboard properties are available, though; it's probably a vestige of inheriting from InteractiveObject.
Senior Content and Community Manager
Adobe Systems Incorporated
So in the article it says that any interactiveObject can open soft keyboard if it stands in one of the three ways to open one, so that needs fixing if what you say is correct ,and its not completly so.
button is one example that was given there ,and it is not editable but still open soft keyboard.
so how can tell which interactiveObject can open the soft keyboard?
I have a mobile app, which is not detecting the enter on a soft keyboard:
<s:TextInput id="txtEmailAddress" width="100%" softKeyboardType="email" text="" returnKeyLabel="done" enter="handleEmailEntered()"/>
Any ideas, why the above code wouldn't work?
I think you need to say handleEmailEntered(event) to pass the event object to your handler.
Let me know how it goes,
back to my original post the answer that I got was that not all interactiveObject that have the property of needSoftKey.. are actually supported with softKeyBoard only textInput, textArea and button. so the artical is not 100% correct.