Highlighted

Unicode Text with ios10

Explorer ,
Sep 19, 2016

Copy link to clipboard

Copied

Since ios10 Unicode in Text doesn't work...

e.g.

mytext.text= "\u2692";

why?

Hi Thomas,

We tried with a sample application and figured that problem could be resolved if we use stageText. Please refer to the below code snippet:

package {

  import flash.display.Sprite;

  import flash.geom.Rectangle;

  import flash.text.StageText;

  public class StageTextMulti extends Sprite {

  private var label1:StageText;

  public function StageTextMulti() {

configurationLabel();

}

  private function configureLabel():void {

  label1 = new StageText();

  label1.text = "\u2692";

  label1.color = 0xFF0000

  label1.fontSize = 30;

  label1.stage = stage;

  label1.viewPort = new Rectangle(20, 20, 90, 90);

    }

  }

}

However, We are investigating it further for TextField on iOS 10.

Thanks,

Adobe AIR Team

TOPICS
Development

Views

346

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Unicode Text with ios10

Explorer ,
Sep 19, 2016

Copy link to clipboard

Copied

Since ios10 Unicode in Text doesn't work...

e.g.

mytext.text= "\u2692";

why?

Hi Thomas,

We tried with a sample application and figured that problem could be resolved if we use stageText. Please refer to the below code snippet:

package {

  import flash.display.Sprite;

  import flash.geom.Rectangle;

  import flash.text.StageText;

  public class StageTextMulti extends Sprite {

  private var label1:StageText;

  public function StageTextMulti() {

configurationLabel();

}

  private function configureLabel():void {

  label1 = new StageText();

  label1.text = "\u2692";

  label1.color = 0xFF0000

  label1.fontSize = 30;

  label1.stage = stage;

  label1.viewPort = new Rectangle(20, 20, 90, 90);

    }

  }

}

However, We are investigating it further for TextField on iOS 10.

Thanks,

Adobe AIR Team

TOPICS
Development

Views

347

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 19, 2016 0
Adobe Employee ,
Sep 20, 2016

Copy link to clipboard

Copied

Hi Thomas,

We tried with a sample application and figured that problem could be resolved if we use stageText. Please refer to the below code snippet:

package {

  import flash.display.Sprite;

  import flash.geom.Rectangle;

  import flash.text.StageText;

  public class StageTextMulti extends Sprite {

  private var label1:StageText;

  public function StageTextMulti() {

configurationLabel();

}

  private function configureLabel():void {

  label1 = new StageText();

  label1.text = "\u2692";

  label1.color = 0xFF0000

  label1.fontSize = 30;

  label1.stage = stage;

  label1.viewPort = new Rectangle(20, 20, 90, 90);

    }

  }

}

However, We are investigating it further for TextField on iOS 10.

Thanks,

Adobe AIR Team

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 20, 2016 0
Explorer ,
Sep 20, 2016

Copy link to clipboard

Copied

is it possible to write it in 1 row ?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 20, 2016 0
Explorer ,
Sep 20, 2016

Copy link to clipboard

Copied

and how I could deactivate the input (text) ?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 20, 2016 0
Adobe Employee ,
Sep 20, 2016

Copy link to clipboard

Copied

Hi Thomas,

You can set the editable property of stageText as false if you want to deactivate the input text in your application.

Please refer to below link to have the detailed information about stageText:

StageText - Adobe ActionScript® 3 (AS3 ) API Reference

However, We are investigating it further on Unicode Character issue using TextField.

Thanks,

Adobe AIR Team

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 20, 2016 0
itsatom LATEST
Explorer ,
Sep 21, 2016

Copy link to clipboard

Copied

Thank you!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 21, 2016 0