I have the files main.fla, stuff.fla and Script.as in the same folder. Can I get the movieclip myButton from stuff.fla's library to main.swf at compile time? Like if I put

var btn:MovieClip = new myButton();
stage.addChild(btn);

to Script.as and myButton is in main.fla's library it works, but if it's in stuff.fla the code doesn't find it.



I use CS5.