i have a page of image thumbnails in my Flash movie which have been created dynamically from an XML file. Each image has a small line of related text, a caption, to go with the image. When the user rolls over the image, the mouse cursor is hidden and replaced with the image caption for that image using this code:
attachMovie(“follow”, “follow”, this.getNextHighestDepth());
startDrag("/follow", true);
Mouse.hide();
_root.follow.followcaption.text = myXML.childNodes[imgGal].childNodes[this.var2].attributes.desc;
the caption text changes dynamically depending on which thumbnail the cursor is over. my problem is this: how do i make the dynamic text box size resize in length automatically depending upon how long my line of dynamic text is? it needs to change because the text box has a white background to it, so needs to become shorter or longer with the text length.
thanks in advance
joe smalley