View Full Version : Chat application problems
feery
01-16-2006, 10:52 AM
Dear all
I did my own chat application and it seems good but I have some problems inside flash
any body can help
the main problem is how to insert smilies to my application i know but there are such problem if any body want to help please reply me...:o
Hi ,
Declare the text field or the text input to have html as true..
Have the smiley as a jpeg image
Then use the image tag to embed it in the text field..
//can use the following code..
this.createTextField("my_txt", 10, 10, 10, 450, 450);
my_txt.html = true;
my_txt.htmlText = "<p>text goes here:<img src='smiley.jpg'>";
You can also have the smiley as movie clip and embed it..
Hope this helps..
regards
Jaci
barta
02-16-2006, 03:57 PM
I have also a problem to have inline emoticons in my text
The code that jaci putted here is good except it will not work when you put text after the image, the image will be shown after or before the text but not between.
Vache
02-27-2006, 07:25 AM
The image tag needs to be closed perhaps?
Blindeye
04-25-2006, 09:23 PM
Jaci, how does one embed a movie clip in the way you are suggesting?
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.