set vairables in another loaded movieclip
Posted on 2004-08-22
How can i set varabiles which are in a movie clip i loaded from the main clip ?
What i am looking for is something like the following :
loader.childClip.txtTest = "abcde";
loader.childClip.btnTest.label = "test";
But these are not working. T_T
Acutally i have trid this :
loader.loadMovie ("template.swf"); txtTest = _root.loadTxtTest;
_root.loadTxtTest = "abcde"; btnTest.label = _root.loadBtnTest;
_root.loadBtnTest = "test";
Even if these codes work fine, but i want to code in template.swf as less as possible, and also these codes look so stupid for me T_T. So please help me out.
Thank in advance.