-
Resize MC based on loaded dynamic text?
Hey All,
I am looking to resize a tab movieclip that I have behind a dynamic text field. I would like to rezize the tab movieclip based on the character amount or width. Can someone please help me out or point me in the right direction.
Thanks in advance!
/zach
-
I'm not sure if you're trying to resize the tab movieclip based on the text in the tab, or the text it's behind, but either way, with the text you want to measure, set autoSize to true, then you can check its _width and _height, do whatever calculations you need to do, and apply it to the tab.
-
I am trying to resize the tab based on the dynamic text size... How would I do this???
Thanks so much in advance!
/zach
-
Tuesday morning coffee break bump... Any ideas?
Thanks in advance!
-
I can't be any more specific than that unless you're more specific.
-
I figured it out. Thanks for your help.
This is what I did...
myMC.myTabBG._width = myMC.myDynamicTxt._width
Thanks,
Zach
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|