• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

test field does not support html text

Guest
Jul 05, 2012 Jul 05, 2012

Copy link to clipboard

Copied

hi my  code is

               txtArea = new TextField();

            //txtArea.embedFonts = true;

            txtArea.antiAliasType = AntiAliasType.ADVANCED;

            //txtArea.defaultTextFormat = noteFormat;

            txtArea.autoSize = TextFieldAutoSize.LEFT;

            txtArea.width =900-50;

            txtArea.selectable = false;

            txtArea.wordWrap = true;

            txtArea.multiline = true;

            txtArea.x = 10;

            txtArea.y = 30;

            trace("noteText>>>>",noteText)

            txtArea.htmlText = noteText;

            trace("txtArea.htmlText>>",txtArea.htmlText)

            mc.addChild(txtArea);          

please suggest ,thanks in advance

TOPICS
ActionScript

Views

1.3K

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
community guidelines
LEGEND ,
Jul 05, 2012 Jul 05, 2012

Copy link to clipboard

Copied

What does noteText look like?

Votes

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
community guidelines
Guest
Jul 05, 2012 Jul 05, 2012

Copy link to clipboard

Copied

<font size=3 face=garamond-light><font size=3 face=garamond-light>

<p align=left>Man’s conception of the Earth has changed from the Earth being flat to being a sphere,or ball. The extent or size of the Earth has been estimated and calculated many times throughout the centuries. In approximately 200 BC, Eratosthenes, a Greek living in</p></font></font>

Votes

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
community guidelines
LEGEND ,
Jul 05, 2012 Jul 05, 2012

Copy link to clipboard

Copied

LATEST

You should be placing quotation marks around the parameter values... either use single quotes font size='3'  or slashed doublequotes  font size=\"3\"

Why are you duplicating the same font tag?

Votes

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
community guidelines
Enthusiast ,
Jul 05, 2012 Jul 05, 2012

Copy link to clipboard

Copied

Are you using supported tags?

http://forums.adobe.com/thread/478839

Votes

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
community guidelines