Here's the URL:
http://www.thekavagroup.com/test.swf

It's a simple little movie that lets you dynamically add text to the canvas in different fonts, sizes, and colors.

I am accomplishing this by using DuplicateMovieClip() on a movie that contains a dynamic text field. The problem comes in when adding a small line of text (for example, add the word "test" using the smallest font size) -- the size of the text box remains the same, so when you go to drag it around the canvas, you can actually click to the right and below the word and still drag it.

I am looking for a way to make the text box the same size, horizontally and vertically, as the actual text it contains. I have thought of making the text box the height of the smallest font and using _xscale and _yscale, but this will not fix the extra space to the right of the text.

Any ideas on how I might accomplish this would be greatly appreciated!!