02-22-2012 06:29 PM
In my app previous to the 2.0 update I was using:
this.addEventListener(SoftKeyboardEvent.SOFT_KEYBOARD_ACTIVATE, resize); ... public function resize(e:SoftKeyboardEvent):void{ trace("activating"); if(currentState == "landscape"){ mainTextField.setActualSize(1024, 350); } if(currentState == "portrait"){ mainTextField.needsSoftKeyboard = false; } }
The trace isn't even firing.
Solved! Go to Solution.
02-22-2012 08:02 PM
Ok I discovered the problem. The 2.0 keyboard behavior is different in that you need to select the textarea THEN manually activate the keyboard. If you click the textarea THEN bring up the keyboard the event won't fire. This is both good and bad as now the keyboard doesn't popup while scrolling the textarea, you have more control over it