Yes, that's a very clever solution, Simon. I couldn't log into the chat component, but the smileys preview look quite good. On thing though - I suspect that if somebody tries to copy and paste the text into notepad or similar, the results might be a bit unexpected. Also, is it possible to use embedded fonts in the text area?
I'm also considering Joe's idea of overlaying the emoticons over the text, if I can't manage to just move the images around using their ids. Thanks for the pointers and gotcha's, Joe. Neil's idea of using html/flash combo wouldn't really work for this project, I'm afraid, as I'm extending an existing chat app, and the solution needs to be confined to flash. Thanks, Karina > -----Original Message----- > From: Jobe Makar [mailto:[EMAIL PROTECTED] > Sent: 20 November 2005 22:05 > To: Flashcoders mailing list > Subject: Re: [Flashcoders] emoticons in a chat component > > Hi Simon, > > That's pretty slick! > > Jobe Makar > http://www.electrotank.com > http://www.electro-server.com > phone: 919-609-0408 > mobile: 919-610-5754 > fax: 919-341-8104 > ----- Original Message ----- > From: "Simon Lord" <[EMAIL PROTECTED]> > To: "Flashcoders mailing list" <[email protected]> > Sent: Sunday, November 20, 2005 1:46 PM > Subject: Re: [Flashcoders] emoticons in a chat component > > > >I have a font based solution that is easy to use. The idea > is to use > > the kerning in fonts to simulate layering of letters, > however, in my > > font there are no letters, just smilie *parts*. > > > > You can see the breakdown here as well as test it out: > > > > http://www.karbonized.com/smilies/ > > > > ... download the sample here (it's old, you may need to > play with it > > a little to suit your needs). > > > > http://www.karbonized.com/smilies/Archive.zip > > > > > > On Nov 20, 2005, at 12:24 PM, Karina Steffens wrote: > > > >> Hi List, > >> > >> I have a working FlashComm chat programme, dedicated to online > >> counselling. > >> It's been up and running for over half a year now, but now the > >> client wants > >> me to add some new features, one of which is emoticons. > >> > >> I'm using the TextArea for the history component and > formatting the > >> text > >> with html, so I thought adding the emoticons would be a simple > >> matter of > >> using the <img> tag in the TextArea. But it doesn't want to work > >> that way - > >> the emoticons are not displayed inline, but at the > beginning of the > >> next > >> line, wrapping the following text around them. > >> I need to find a way to to make them display in the same way as a > >> user would > >> expect from a chat application. I've done some research, but > >> haven't found > >> anything suitable yet. I also don't want to use an emoticon font, > >> because > >> the results are not what I'm looking for. > >> > >> Any ideas? Is it possible to use a style sheet to position them > >> correctly? > >> Or give all images ids to move them around? Would I need > to overlay > >> them on > >> top of the text? Nothing too complicated I hope, I've only > estimated a > >> couple of days for the job... > >> > >> Thanks, > >> Karina > >> > >> > >> Karina Steffens | Neo-Archaic > >> creative & technical new media design > >> <http://www.neo-archaic.net/> www.neo-archaic.net > >> > >> _______________________________________________ > >> Flashcoders mailing list > >> [email protected] > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > _______________________________________________ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

