(Loader.content as Object).変数で外部swfの変数を取得 ActionScript3で外部swfをLoaderクラスを使って読み込んだ時、外部swf内の変数やメソッドを取得したい時用のメモ 読み込み側swf // Loaderオブジェクト var ldr:Loader = new Loader(); // 外部swf読み込み ldr.load(new URLRequest("外部swfパス")); ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, function(e:Event):void{ // 外部swfのメインタイムライン(DisplayObject型) ldr.content; // 変数取得 出力:あいうえお(DisplayObject型であるldr.contentをObject型やMovie