Groups | Blog | Home
all groups > flash actionscript > july 2004 >

flash actionscript : Img's and Textfield problem



Brian Tyndall
7/1/2004 7:20:21 PM
Hi,

I am having trouble with the alignment of images within a text field.

I am using a dynamic textfield, which is multilined and scrollable, and Im
using smiliyes which I have converted to movie-clips as some of them are
animated gifs.

The problem is the alignment of the image.

Im using
output_txt.htmlText = "text <img src='mc_biggrin' hspace=\"0\" vspace=\"0\">
here";

which shows the text and image, but the image isnt shown in line with the
text.

The the text "text" + "here" is show on the first line, and the image is
broken onto a new line.

Anyway of fixing this?

hemendras NO[at]SPAM mindfiresolutions.com
7/1/2004 9:43:54 PM
Hi,

Well as for now the problem seems to be with the size of your movieclip(smily)
This might have invisible area around the smily and that is causing the
trouble, set boundry box to your movieclip so it takes area only which is
visible.

Good Luck

Hemendra Singh Shaktawat

Mindfire Solutions
Brian Tyndall
7/4/2004 6:00:32 PM
bump...
[quoted text, click to view]

AddThis Social Bookmark Button