Hi there,

When I use a TextArea and import HTML, I see the flash of the scroll
bars come up, just prior to the text displaying.  Is there anyway to
avoid that flash? If the text string is not html, this does not happen.

Thanks!
Susan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

import fl.controls.TextArea;
import fl.events.ComponentEvent;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.TextEvent;
import flash.text.TextField;

ta1.editable=false;
ta1.setStyle("textPadding",15);

var testStringHTML:String     = ' <b><font face="Arial, Helvetica,
sans-serif"color="#364981" size = "16px">xxxxx</font><br><img
src="line.gif" /><p></p><font face="Arial, Helvetica,
sans-serif"color="#666666" size =
"12px">yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy</f
ont></b>';

ta1.htmlText = testStringHTML;



_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to