I'm having a text box on my stage and I want to change the text dynamically from the actions.
What I did was:
1. Create a text box a put it on stage
2. convert it to symbol. It is an instance of volPercent and the name is volPercent_
3. I put this code on the actions for that frame
volPercent_.text = "[100%]";
The error I get is
1120: Access of undefined property volPercent.
there's no need to convert it to a symbol. you can give it an instance name and that would have a text property.
otherwise, you need to go to volPercent_'s timeline and assign it an instance name there (say tf) and use:
How can I give it a name?
I looked in the the same place it appears for symbols but I can only see a drop down to choose dynamic/static/input text.
Where should I look?
Thanks for your answer, anyway!
when you choose dynamic or input for the textfield type, a box in the properties panel will appear that lets you assign an instance name.