Saeven
July 24th, 2003, 01:09 AM
Hello,
Thanks in advance for the help.
I've completed the Hover Caption tutorial at http://www.kirupa.com/developer/mx/captions.htm successfully. What I'd like to do in addition, is to resize the caption box to match the caption text's length.
I've tried giving the background box a name (box) and turning it into a button and then doing:
_root.caption.box._width = _root.caption.help.length * 8;
But the box never aligns with the text properly after that. I'm totally new to flash and don't know what methods to call in order to get the bottom corner of the text and bottom corner of the box and align them properly. Any help appreciated greatly.
Kind regards.
Alex
Thanks in advance for the help.
I've completed the Hover Caption tutorial at http://www.kirupa.com/developer/mx/captions.htm successfully. What I'd like to do in addition, is to resize the caption box to match the caption text's length.
I've tried giving the background box a name (box) and turning it into a button and then doing:
_root.caption.box._width = _root.caption.help.length * 8;
But the box never aligns with the text properly after that. I'm totally new to flash and don't know what methods to call in order to get the bottom corner of the text and bottom corner of the box and align them properly. Any help appreciated greatly.
Kind regards.
Alex