Section 1
//MainTimeline (HTBYD_fla.MainTimeline)
package HTBYD_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class MainTimeline extends MovieClip {
public var child_loader:Loader;
public var url:URLRequest;
public function MainTimeline(){
addFrameScript(0, frame1);
}
public function load_completed(_arg1:Event):void{
child_loader.x = 0;
child_loader.y = 0;
}
public function on_progress(_arg1:ProgressEvent):void{
trace(((_arg1.bytesLoaded + " out of ") + _arg1.bytesTotal));
}
function frame1(){
child_loader = new Loader();
addChild(child_loader);
url = new URLRequest("http://www.shagbase.com/comic_folder/2014-09-13-how-to-breed-your-dragon.swf");
child_loader.load(url);
child_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, load_completed);
child_loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, on_progress);
}
}
}//package HTBYD_fla