PDA

View Full Version : Pleas help b4 I shoot myself, simple problem


Roadkill
11-26-2002, 05:52 AM
I am trying to set the width of a rectangle dynamically based on the length of the text entered in a clip parameter. I am having trouble finding the target path of the rectangle and the clip parameter.

top level is this
'email_mc' (clip parameters 'daText' attached here)
a button entitled 'link_btn' exists
in the hit frame of link_btn is a rectangle titled 'rectangle'. I want the width of this to change based off of the length of the text 'daText'.

Please help me!?!11 :confused:

Billy T
11-26-2002, 07:29 AM
you can't target an mc on the timeline of a button

are you using a movieclip button? (MX)

Billy T
11-26-2002, 07:41 AM
see attached

Roadkill
11-26-2002, 05:57 PM
No I don't have MX I have 5.0.
I was just trying to build a mc that I can plug into other Flash files so I don't have to keep defining links to other sites with buttons.

Billy T
11-26-2002, 09:07 PM
huh?