0
votes

How to address a text field created within a symbol from main timeline in Flash using actionscript?

For example, if I have a text field named textfield inside a symbol named symbol1, which is input inside a movie clip called movieclip1, which is, of course, on the main timeline, what could I use to make the textfield half size of the movieclip?

1

1 Answers

0
votes

You need to assign a linkage name to the textField in the library first. Let's say you give it a linkage name of title. Now you can do

title.width = title.parent.parent.width/2;