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:
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.
Hi, I’ve tried that route through different methods. Here is the result:
The first image shows the object and how the text field (called help) and the background orange box (called box) are positioned.
Adding your code to the tutorial button actionscript items that are placed in the mouseovers for the four buttons shown, the results are properly sized boxes in incorrect locations. I would like for the text to be inside the box, not overlapping as shown.