Section 1
//c (c)
package {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.system.*;
public class c extends MovieClip {
public var loader:Loader;
private var request:URLRequest;
private var context:LoaderContext;
public static const URL:String = "http://lads.myspacecdn.com/videos/Main.swf";
public static const VERSION:String = "1.0.2.15";
public static const ALLOWED_DOMAINS:Array = ["*"];
public function c(){
loader = new Loader();
request = new URLRequest(_slot1.URL);
context = new LoaderContext(true);
super();
var _local1:Array = new Array();
_local1.push.apply(null, _slot1.ALLOWED_DOMAINS);
Security.allowDomain.apply(null, _local1);
var _local2:URLVariables = new URLVariables();
_local2.v = _slot1.VERSION;
this.request.data = _local2;
this.request.method = URLRequestMethod.GET;
this.loader.contentLoaderInfo.addEventListener(Event.COMPLETE, this.onComplete);
this.loader.addEventListener(IOErrorEvent.IO_ERROR, this.onError);
this.loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this.onError);
this.loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, this.onError);
this.loader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this.onError);
this.addChild(this.loader);
this.load();
}
private function onComplete(_arg1:Event):void{
if (!_arg1.bubbles){
this.dispatchEvent(_arg1);
};
}
private function onError(_arg1:Event):void{
if (!_arg1.bubbles){
this.dispatchEvent(_arg1);
};
}
public function load():void{
this.loader.load(this.request, context);
}
}
}//package