PDA

View Full Version : place smileys in the right position in a text


tulo69
10-01-2002, 10:08 AM
hope this could be of your use. i'ts a rough way to attach some smileys dinamically in a text (really in a container above the text). you can place the well in a scrollpane. images tag have the format : [:nameOfTheMovieClipInTheLibrary,width,height:] .

Basically it parses the text, split in lines with <br>, find the tag, attach the clip from the library in the right position in a container, make place adding spaces instead of the tag. The script uses a temp textArea, i didn't find a way although.

Hope this will help, i'll use it in a chat.

Jesse
10-01-2002, 02:30 PM
Pretty groovy, thanks. Please also add it to the Movies section. For those of you who are interested, another FLA which does this (in an entirely different manner) can be found at http://www.actionscripts.org/showMovie.php?id=492

Bungholio
11-23-2003, 11:19 PM
can AnyOne explain this a little better plz, i dont quite follow that code ...