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 | |
---|---|---|---|---|
Help - simple question! | 0 | 94 | July 18, 2009 | |
Accessing dynamic text from inside an addChild object | 0 | 83 | August 27, 2008 | |
Simple ; referring to another MC... HELP! | 0 | 93 | August 19, 2005 | |
Refering to a MC | 0 | 39 | December 14, 2006 | |
Variables of duplicated textbox/MC's | 5 | 96 | June 28, 2003 |