Getting at a text fields properties in a button
Hi All
I'm having problems with dynamic text fields. I have set them to single line auto expand (hollow circular handle at bottom right), and when I assign text to the variable it doesn't fit the field.
Firstly, I don't understand wh they're not autosizing, but ignoring that, I can't seem to get at the autosize property in the script.
I have button called "btnHome" on the main timeline. I tis a library item, that contains text fields for the Up and Over states. The dynamic text field for the up state is called btnHomeUp. In the movie explorer and the target path selecter, I cannot see the text field.
I tried "_root.btnHome.btnHomeUp.autosize=true;" but nothing happens.
Any ideas?
TIA
Mark
|