Hi Johann,

I tried this thing, but it gives weird results.
Thanks for reply.

Regards,
Amandeep Singh,

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of johann
martinache
Sent: Friday, February 23, 2007 6:46 PM
To: [email protected]
Subject: Re: [Flashcoders] Flash chat and Smiley

Hi

You could replace the smiley text by an image by using  the img tag (only
working with htmltext)

Example:
var sTxt:String = 'HelloWorld :-) !!!';
    sTxt = sTxt.split(':-)').join('<img src="yoursmileyimagepath.jpg"/>')
    trace('sTxt > '+sTxt)


shoe[box]


On 2/23/07, Amandeep Singh <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> Can anyone help me in adding the Smiley feature in a Flash Chat
> application?
> Or give me a link where I can find the same.
>
>
> Thanks in advance.
>
> Regards,
> Amandeep Singh
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to