i have a really strange problem here:
When I add a TextInput to the stage I can access it with instanceName.text. this works.
Now I have one Movieclip with one TextInput inside (the textinput's instance name is testetxt). This MovieClip has a corresponding class and its code is the following:
class com.sck.testeT extends MovieClip
public var testetxt:MovieClip;
public function testeT()
The textinput gets transparent but the text isn't changed... I realized it was because the textinput wasn't initialized yet. so I have to wait a while, but how can I know that it was initialized and I can set the initial text by code?
thanks a lot!
the usual work-around is to start an onEnterFrame loop that you terminate after one loop and after that one loop everything created in that first frame is initialized.