Android, backspace doesn't work in a flash.text.TextField
Hello,
I have a strange bug on my Nexus 5 Android 4.4 Air 3.9.
If the first caracter is "<", ">", "?",... in a flash.text.TextField, when I select the textField (a long press -> the cursor appear at the first position), the backspace doesn't work.
package{
import flash.text.TextField;
import flash.display.Sprite;
import flash.events.Event;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
public class Main extends Sprite{
private var myTextField:TextField = new TextField();
public function Main(){
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
addEventListener(Event.ADDED_TO_STAGE, init);
}
public function init(event:Event):void{
myTextField.type="input";
myTextField.border=true;
myTextField.width=myTextField.height=300;
addChild(myTextField);
}
}
}
Thanks.
