PDA

View Full Version : Dynamic text field and variables


nutty
08-17-2007, 09:19 AM
Hi,

I have a mc with a text field in it. The text field is dynamic and the "var:" is subBtn

If i gave the mc an instance name of "text_1", is it possible to say that "IN movie clip text_1 the dynamic text var subBtn should be a specified value.

Example:
movie clip 1:
- instance name: text_1
- subBtn="text for btn 1"

movie clip 2:
- instance name: text_2
- subBtn="text for btn 2"

this way, i dont have to make multiple movie clips for all my buttons

thanks :)

nutty
08-17-2007, 10:09 AM
if you don't understand what i'm talking about, just tell...i'll try to make it clear(er)

nutty
08-17-2007, 10:57 AM
NVM! Got it :)

text_1.subBtn.text="blablabl";