oops! then how do we create a chat window where.. user constantly sends the messages..with smilies? do we have to use <mx:HTML><mx:htmlText/></mx:HTML> ???
On 10/3/07, Daniel Freiman <[EMAIL PROTECTED]> wrote: > > From the livedocs ( > http://livedocs.adobe.com/flex/201/langref/flash/text/TextField.html): > > "In general, an image embedded in a text field appears on the line > following the <img> tag. However, when the <img> tag is the first > character in the text field, the image appears on the first line of the text > field." > > I'm pretty sure there's no way to change this. > > - Dan Freiman > > > On 10/3/07, learner <[EMAIL PROTECTED]> wrote: > > > > Hi All, > > I am trying to assign html Text to the textArea > > Wheneve I try to do some thing like > > > > [Bindable]myText = "This is <img > > src='images/default/emoticons/2.gif'/>" > > > > <mx:TextArea htmlText="{myText}" /> > > > > It inserts one \n before it displays the images that is image is > > displayed in the next line .. can somebody suggest me the work around for > > it ? > > > > Regards > > PS > > > > > >