Did you set tf.multiline = true; 

Groet, Benny

-----Oorspronkelijk bericht-----
Van: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] Namens Cor
Verzonden: zaterdag 2 januari 2010 16:05
Aan: 'Flash Coders List'
Onderwerp: [Flashcoders] Som HTML tags do not work in Flash?

Hi List,

I load my text from a mySQL database using AMFPHP.
In Flash I have a:
 var tf:TextField = new TextField();
 tf.htmlText = data[0][0]; 
 trace("typeof = "+typeof(aData[0][0])); //returns string
 addChild(tf);

Everything shows.
But when I use HTML in my text in the database, these show correctly:

<I>Italic</I>
<B>Bold</B>
<U>Underline</U>

But the below do not work:

<BR>
<BR />
<P>Paragraaf</P>

Any ideas??

Kind regards
Cor van Dooren

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

__________ Informatie van ESET NOD32 Antivirus, versie van database
viruskenmerken 4737 (20100102) __________

Het bericht is gecontroleerd door  ESET NOD32 Antivirus.

http://www.eset.com



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

Reply via email to