Ok, Here’s the situation:
In my Library there is a movieclip(temp_mc) that I’ve linked to an AS class(Temp) that extends MovieClip. On the STAGE of that library asset is a TextField I’ve named dynamTxt.
On the MAIN timeline, I have code to attach the library asset through code only:
import Temp;
var g:Temp = new Temp();
addChild(g);
g.dynamTxt.text = “Display Me”;
However, I cant target the textfield within ‘g’. I’ve tried naming a variable in the class definition the same, but it stil doesnt work. How can you target a stage instance within a library asset that’s linked to an external class?