flash外部swf読み込み完了時に initを実行させる

flash 外部swf読み込み完了時に initを実行させる
[sourcecode language=”java”]

//コンストラクタ
public function Main() {

//init();
addEventListener(Event.ADDED_TO_STAGE, init);
}
private function init(e:Event):void {

stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = "TL";

//_intoro_mc
var _intt_mc:Intt_mc = new Intt_mc();
_intt_mc.name = "_intt_mc";
addChild(_intt_mc);

_intt_mc.init();

}
[/sourcecode]

さらに、完了後に読み込んだswfを再生させる
function onLoadedSWF(e:Event):void{
e.target.content.stop();
}