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
Copy link to clipboard
Copied
What does noteText look like?
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>
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
Are you using supported tags?