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 | |
---|---|---|---|---|
Can access textfield object in a movieclip | 0 | 126 | November 3, 2011 | |
Help - simple question! | 0 | 97 | July 18, 2009 | |
How can i reach my dynamic created mc's?
|
0 | 144 | October 3, 2011 | |
Adding easing: how to path to an instance | 0 | 121 | February 11, 2005 | |
Text boxes and Conditional Statements | 0 | 79 | January 9, 2007 |