I have an mc “mc” that I made in flash. It has a text box in it with instance name “txt1”. I dimmed a variable var mc:MovieClip = new mc() and used the add child method to add it to stage. Now I want to refer to the text box in the mc. I tried mc.getChildByName(txt1).text=“abc” but it gives me errors. How do I refer to that text box. Please tell if there is even a way to do so or not.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Adding easing: how to path to an instance | 0 | 123 | February 11, 2005 | |
| Help - simple question! | 0 | 99 | July 18, 2009 | |
| Text boxes and Conditional Statements | 0 | 80 | January 9, 2007 | |
| Can access textfield object in a movieclip | 0 | 127 | November 3, 2011 | |
|
Adding easing: how to path to an instance
|
0 | 106 | February 11, 2005 |