Here’s an example of what i’ve been developing for my current employer:
TextChat With Emoticons View in Firefox (as IE seems to break with the JS i’m using).
It’s not yet completely finished but is progressing nicely… so i have discussed with the relevant parties and we’ve decided to make it public to see if anyone wants to either try to break it or offer some suggestions to make it better.
If you can please spare 5 mins to have a play and of course tell me what you think. Cheers!
GREAT WORK!
i’m developing a similar chat in Flex but i have some problems with gif files alignment in htmlText.
For example, replacing three strings typed in a line with proper gif emoticons, the images are displayed out of line… in the bottom of text, one under the other.
What textfield class or component are you using?
I’m using TextArea and it seems there are several bugs in it…
Using swf files instead of gif will solve some alignment problems?
Thankyou Doug!
By: rand on February 2, 2009
at 1:58 am
@rand – Have a look at my EmoticonFormatter class which is found here:
EmoticonFormatter source
It might give you some ideas. I can’t share all the code so it may be hard to fully understand how my app works with only this snippet but there’s plenty to here to think about.
cheers
Doug
By: Doug on February 2, 2009
at 11:00 am
Doug,
We are having some issues with a Video Chat we are writing for one of our sites. We are finding when we go in (debug version flash) it works great but when we have people without debug versions they cant type in the chat box. Im pretty sure its an AS3 thing. Do you have any examples of the chatbox and submit box with AS3?
our app is here http://purcommunity/flash/
user/user if you dont have a cam it will error (took out cam test code trying to find our problem)
Thx for any pointers
Eric
By: Eric on March 26, 2009
at 4:42 pm
@eric I went to the site using a normal (non debug) flash player version 10.
I can activate the login text field but it takes 2-3 clicks to do this. It should normally be a 1 or 2 click process but it seems to need more… weird!
In a normal swf you usually have to click once to activate it within your browser and then again to get at the text field.
You should think about using SWFObject http://code.google.com/p/swfobject/ as this will activate you’re swf file on html load (giving it focus within your browser) and should then only require a single click to give the text field focus.
You can also assign focus to the text field within your actionscript code… so with swfobject and actionscript to set the correct focus it could be possible to fix your current problem so a user can simply type their credentials without clicking anything.
If you want some help i’m happy to look at the code if you want otherwise just ask.
Hope this helps!
By: Doug on March 26, 2009
at 5:04 pm
Yeah login is not an issue and we will have it up in with swfobject. I just moved it here for some testing.
Our main problem is once they login we are getting told all NonDebug versions cant access the text chat boxes. Their Cams work fine. Either they cant type in it or when they type in the box the dont see text just the cursor moves.
I would hate to have to do alot of this in AS2.
I dont have the source code on this Desktop (Linux) but I will send it for you to look at
Thx for your time
Eric
By: Eric on March 26, 2009
at 6:36 pm
By Debug version do you mean your version (the swf on the development machine)? It sounds to me like it could be an issue with embedded fonts (or not embedded fonts) maybe on the development pc you have a certain font that’s non standard that’s being used but isn’t embedded. If a user doesn’t have the same font installed on their pc and it’s not embedded in the swf that could explain why a user can’t see or interact normally with text fields.
By: Doug on March 26, 2009
at 10:29 pm
@eric – i tried your site again and it all works fine no issues at all with text…
By: Doug on March 26, 2009
at 10:35 pm
we rewrote the handlers and it fixed it
Thx,
Doug
By: Eric on March 27, 2009
at 2:45 pm
Were you planning on still releasing your emoticon text field source.
i saw that you had said that in the previous post about this same topic…
By: kyle jeske on April 6, 2009
at 11:50 pm
Hi Kyle,
Unfortunately I will not be releasing this version but would be happy to work on something new if that’s any good to you.
By: Doug on April 7, 2009
at 9:16 am