Skip to main content
Inspiring
December 19, 2013
Question

Android, backspace doesn't work in a flash.text.TextField

  • December 19, 2013
  • 2 replies
  • 988 views

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.

This topic has been closed for replies.

2 replies

Participating Frequently
December 20, 2013

Hi,

Thanks for reporting the issue.

We are able to reproduce the problem and now investigating it.

Thanks,

Pranali

pol2095Author
Inspiring
December 23, 2013
chris.campbell
Legend
December 19, 2013

Could you please open a new bug report on this over at https://bugbase.adobe.com?  When adding the bug, please include your sample code or a sample application so we can quickly test this out internally.

Once added, please post back with the URL so that others effected can add their comments and votes.  I'll also give the mobile team a heads up.  Do you know if this is a recent breakage with AIR 3.9?