When using the TextArea with htmlText, flex converts the htmlText when
setting the property to it's own specific flavor of HTML for rendering.
To see what goes on here, set the htmlText property, then do a trace to
see what it is converted into -- each run of text appears to get broken
up into its own <p>. Example (not exactly what flex does, but you get
the picture hopefully):
 
<p>Text <b>bold text</b> <i>italic text</i> some more text</p>
 
converts to something like this
 
<p>Text </p><p><b>bold text</b></p><p> </p><p><i>italic text</i></p><p>
some more text</p>
 
This is explained pretty well in the docs.
 
With htmlText, try some of the spacing properties to affect the way that
internal HTML representation is built:
 
textArea.condenseWhite = true;
 
HTH,
Ryan

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Sajid Hussain
Sent: Thursday, September 25, 2008 12:51 PM
To: Code
Subject: [flexcoders] TextArea with support of emoticans



Hi Guys , 

for web messenger's emoticons ,I need to put images into textarea I have
used htmltext and loading up <img /> tag ,one image(emoticon ) work fine
but with more then one img tag it comes as vertically where image at the
bottom of image where it seems some html thing , any suggestion I could
have two html img tags in one line ?



Sajid




 


This message is private and confidential. If you have received it in error, 
please notify the sender and remove it from your system.

Reply via email to