DAMN, I knew this!
I did set wordwrap to true, but forgot about the multiline. 

THANKS BENNY !!!
You're a lifesaver.

Happy New Year!

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Benny
Sent: zaterdag 2 januari 2010 17:06
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Som HTML tags do not work in Flash?

Did you set tf.multiline = true; 

Groet, Benny

-----Oorspronkelijk bericht-----
Van: [email protected]
[mailto:[email protected]] 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
[email protected]
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
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.725 / Virus Database: 270.14.124/2596 - Release Date: 01/01/10
10:20:00

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to