RE: [flexcoders] Flex emoticon

2007-05-17 Thread Kenneth Sutherland
You could try

 



 





 

I did this just to see what would happen, and there may be some
positional issues with the text, but I'm sure that can be sorted out
with the appropriate html text. 

Worth a shot and somewhere to start for more info on htmlText see below
link.

 

http://livedocs.adobe.com/flex/2/langref/flash/text/TextField.html#htmlT
ext 

 

Kenneth.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Oleg Filipchuk
Sent: 16 May 2007 14:37
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex emoticon

 

Hello,
I'm developing Flex chat and face the problems to display emoticons in
TextArea. After some googling I've found this one
http://labs.flexcoders.nl/?p=52  
Do you have any idea how did they handle to display inline images in
that TextArea? 
Thanks

-- 
Best regards,
Oleg Filipchuk 

 



Re: [flexcoders] Flex emoticon

2007-05-17 Thread Oleg Filipchuk

Thanks Kenneth,
but this code will result in the positioning of the image to next line after
text. It is the thing that I'm trying to solve...

On 17/05/07, Kenneth Sutherland <[EMAIL PROTECTED]> wrote:


   You could try





 







I did this just to see what would happen, and there may be some positional
issues with the text, but I'm sure that can be sorted out with the
appropriate html text.

Worth a shot and somewhere to start for more info on htmlText see below
link.




http://livedocs.adobe.com/flex/2/langref/flash/text/TextField.html#htmlText



Kenneth.


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Oleg Filipchuk
*Sent:* 16 May 2007 14:37
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Flex emoticon



Hello,
I'm developing Flex chat and face the problems to display emoticons in
TextArea. After some googling I've found this one
http://labs.flexcoders.nl/?p=52
Do you have any idea how did they handle to display inline images in that
TextArea?
Thanks

--
Best regards,
Oleg Filipchuk

 





--
Best regards,
Oleg Filipchuk


Re: [flexcoders] Flex emoticon

2007-05-17 Thread Oleg Filipchuk

Ok, I've solved it getCharBoundaries method and overlaying container with
images.


--
Best regards,
Oleg Filipchuk