In my library I've got a movie clip. Completely empty, just containing this code:
Then from the main timeline I add this library movie clip which places it on the main stage and the text appearsCode:var myText:TextField = new TextField; addChild(myText); myText.text="old text"
But now I want to change the text of that textfield. Which is inside the just placed library movie clip. But this gives an error:Code:var Clippy:textfieldpadding = new textfieldpadding(); addChild(Clippy);
Cause it has no clue what 'myText' is from the main timeline.Code:var Clippy:textfieldpadding = new textfieldpadding(); addChild(Clippy); Clippy.myText.text="new text"
How can I target a textfield, or any other object when it is all dynamically generated and as a movieclip inside the library?