Basically, you're going to need to place an image over the textfield where
the smiley face should go.  It's been discussed before.  Search the mailing
list archives for "smiley".

On 10/4/07, learner <[EMAIL PROTECTED]> wrote:
>
>   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
> > >
> > >
> >
>  
>

Reply via email to