/*****************************************************/
/*                                 www.layabox.com   */
/*****************************************************/
//(function(window,document){
	/************************************************/
	Function.prototype.BIND$ = function(o) {
		var f=(o.__closures_laya__ ||
				DEFUNENUMPTY$(o,'__closures_laya__',{}))[this.__$BiD___ || (this.__$BiD___ = LAYABOX.bindid++)];
		if(f) return f;
		var method=this;
		f = function(){ return method.apply(o,arguments); }; 
		o.__closures_laya__[this.__$BiD___] = f; 
		return f;
	};

	window.Laya || (window.Laya={});
	var LAYABOX=window.LAYABOX={
		initClass:function(_classs){for(var i=0,sz=_classs.length,o;i<sz;i++) {o=_classs[i];o.__init$__ && o.__init$__();}},
		bindid:1,
		substr:String.prototype.substr,
		runOnlyPlayer:false,
		regstaticattr:function(_class,def){for(var i=0,sz=def.length;i<sz;i+=2){if(def[i]=='length') _class.length=def[i+1].call(_class);else{function tmp(){var name=def[i];var getfn=def[i+1];Object.defineProperty(_class,name,{get:function(){delete this[name];return this[name]=getfn.call(this);},set:function(v){delete this[name];this[name]=v;},enumerable: true,configurable: true});}tmp();}}},
		bind:function(obj,fn){return obj==null || fn==null?null:fn.BIND$(obj);},
		_sortonNameArray2_:function(array,name,options){(options===void 0)&& (options=0);var name0=name[0],name1=name[1],type=1;if (options==(16 | 2))type=-1;return array.sort(function(a,b){if (b[name0]==a[name0]){return type *(a[name1]-b[name1]);}else return type *(a[name0]-b[name0]);});},
		_sortonNameArray_:function(array,name,options){(options===void 0)&& (options=0);var name0=name[0],type=1;if (options==(16 | 2))type=-1;return array.sort(function(a,b){if (b[name0]==a[name0]){for (var i=1,sz=name.length;i < sz;i++){var tmp=name[i];if (b[tmp]!=a[tmp])return type *(a[tmp]-b[tmp]);}return 0;}else return type *(a[name0]-b[name0]);});},
		newVector:function(sz,value){var d=[];d.length=sz;for(var i=0;i<sz;i++) d[i]=value;return d;},
		sortOn:function(name,options){
			if(name instanceof Function) return this.sort(name);
			if((name instanceof Array)){
				if(name.length==0)return this;
				if(name.length==2)return LAYABOX._sortonNameArray2_(this,name,options);
				if(name.length>2)return LAYABOX._sortonNameArray_(this,name,options);name=name[0];
			}
			if (options==16)return this.sort(function(a,b){return a[name]-b[name];});
			if (options==2)return this.sort(function(a,b){return b[name]-a[name];});
			if (options==(16 | 2))return this.sort(function(a,b){return b[name]-a[name];});
			if (options==1) return this.sort();
			return this.sort(function(a,b){return a[name]-b[name];});
		},
		defSomeUnEnumPty:function(obj,names){for(var i=0;i<names.length;i++) LAYABOX.defUnEnumPty(obj,names[i]);		},
		_propertyVar_:{writable: true,enumerable: false,configurable: true},
		defUnEnumPty:function(obj,name,value){if(arguments.length<3) value=obj[name];LAYABOX._propertyVar_.value=value;Object.defineProperty(obj, name, LAYABOX._propertyVar_);return value;},
		parseInt:function(value){return !value?0:parseInt(value);},
		ENABLE3D:false,
		classmap:[],
		internals:[],
		arraypresort:Array.prototype.sort,
		arraysort:function(value){if(value==16) return LAYABOX.arraypresort.call(this,function (a, b) {return a - b;});if(value==(16|2)) return LAYABOX.arraypresort.call(this,function (a, b) {return b - a;});if(value==1) return LAYABOX.arraypresort.call(this);return LAYABOX.arraypresort.call(this,value);},
		systemClass:{'object':'Object','array':'Array','string':'String','dictionary':'Dictionary'},
		extend:function(d,b){
			for (var p in b){
				if (!b.hasOwnProperty(p)) continue;
				var g = b.__lookupGetter__(p), s = b.__lookupSetter__(p); 
				if ( g || s ) {
					if ( g )
						d.__defineGetter__(p, g);
					if ( s )
						d.__defineSetter__(p, s);
				} else
					d[p] = b[p];
				}
			function __() { DEFUNENUMPTY$(this,'constructor',d); }__.prototype=b.prototype;d.prototype=new __();DEFUNENUMPTY$(d.prototype,'__implements__',LAYABOX._copy_({},b.prototype.__implements__));
		},
		DICKEY:0,
		DICKEYS:[],
		typeof:function(o,value){if(!o || !value) return false;if(value==String) return (typeof o=='string');if(value==Number) return (typeof o=='number');if(value.__interface__) value=value.__interface__;else if(typeof value!='string')  return (o instanceof value);return (o.__implements__ && o.__implements__[value]) || (o.__class__==value);},
		typeAs:function(value,type){return (this.typeof(value,type))?value:null;},
		isClass:function(o){return o && (o.__isclass__ || o==Object || o==String || o==Array);},
		_copy_:function(dec,src){if(!src) return null;dec=dec||{};for(var i in src) dec[i]=src[i];return dec;},
		toStringForDic:function(){(!this.__DICKEY__) && (DEFUNENUMPTY$(this,'__DICKEY__',--LAYABOX.DICKEY),LAYABOX.DICKEYS['&layadic_'+this.__DICKEY__]=this);return '&layadic_'+this.__DICKEY__;},
		implements:function(dec,src){if(!src) return null;var d=dec.__implements__|| DEFUNENUMPTY$(dec,'__implements__',{});for(var i in src){d[i]=src[i];var c=i;while((c=this.internals[c]) && (c=c.extend) ){c=c.self;d[c]=true;}}},
		classHasOwnProperty:function(name,o){if(Object.hasOwnProperty.call(o.prototype,name)) return true;return o.prototype.__super__==null?null:LAYABOX.classHasOwnProperty(name,o.prototype.__super__);},
		hasOwnProperty:function(name,o){o=o ||this;return (Object.hasOwnProperty.call(o,name)) || LAYABOX.classHasOwnProperty(name,o.__class__);},
		createOnePackage:function(name,o){
			var p=window;
			var words=name.split('.');
			if(words.length>1){
				for(var i=0,sz=words.length-1;i<sz;i++){
					var c=p[words[i]];
					p=c?c:(p[words[i]]={});
				}
			}
			p[words[words.length-1]] || (p[words[words.length-1]]=o);
		},
		regClass:function(o,fullName,chgHasOwnProperty,toStringFun,_super,miniName){fullName && LAYABOX.createOnePackage(fullName,o);DEFUNENUMPTY$(o,'__$INIT__',function(){});toStringFun && (DEFUNENUMPTY$(o.prototype,'toString',LAYABOX.toStringForDic));_super && LAYABOX.extend(o,_super);fullName && (LAYABOX.classmap[fullName]=o);_super && DEFUNENUMPTY$(o.prototype,'__super__',_super);chgHasOwnProperty && DEFUNENUMPTY$(o.prototype,'hasOwnProperty',LAYABOX.hasOwnProperty);DEFUNENUMPTY$(o.prototype,'__class__',o);DEFUNENUMPTY$(o.prototype,'__className__',fullName);DEFUNENUMPTY$(o,'_SUPERC_',_super);DEFUNENUMPTY$(o,'__className__',fullName);DEFUNENUMPTY$(o,'__isclass__',true);if(fullName){var paths=fullName.split('.');miniName=miniName || paths[paths.length-1];window[miniName]=o;};},
		interface:function(name,_super){var a=this.internals[name]=this.internals[name] || {};a.self=name;if(_super)a.extend=this.internals[_super]=this.internals[_super] || {};var words=name.split('.');var o=window;for(var i=0;i<words.length-1;i++) o=o[words[i]];o[words[words.length-1]]={__interface__:name};},
		createPackage:function(classs,module){for(var s=0;s<classs.length;s++){var strs=classs[s].split('.');p=module;n=strs[0];$modulethis[n]=$modulethis[n]||{};module[n]=$modulethis[n];for(var i=0,sz=strs.length;i<sz;i++) {n=strs[i];p=p[n]?p[n]:(p[n]={});}}},
		regGetSet:function(isStatic,o,name,getfn,setfn){
			if(!isStatic){
				getfn && LAYABOX.defUnEnumPty(o,'_$get_'+name,getfn);
				setfn && LAYABOX.defUnEnumPty(o,'_$set_'+name,setfn);
			}
			else{
				getfn && (o['_$GET_'+name]=getfn);
				setfn && (o['_$SET_'+name]=setfn);
			}
			if(getfn && setfn) Object.defineProperty(o,name,{get:getfn,set:setfn,enumerable:false});
			else{
				getfn && Object.defineProperty(o,name,{get:getfn,enumerable:false});
				setfn && Object.defineProperty(o,name,{set:setfn,enumerable:false});
			}
		}
	}

    LAYABOX.self=this;
	var $modulethis=this;
		var iflash=window.iflash={utils:{}};
	var Dictionary=window.Dictionary=iflash.utils.Dictionary=function(){};	window.Dictionary.prototype=Object.prototype;
	var DEFUNENUMPTY$=LAYABOX.defUnEnumPty;
	var UN$=LAYABOX.defUnEnumPty;
	var DEFSOMEUNENUMPTY$=LAYABOX.defSomeUnEnumPty;
	var BIND$=LAYABOX.bind;
	var STATICATTR$=LAYABOX.regstaticattr;
	var CLASS$=LAYABOX.regClass;
	var GETSET$=LAYABOX.regGetSet;
	var LAYAFNVOID=function(){};
	var LAYAFNSTR=function(){return '';}
	var LAYAFNNULL=function(){return null;}
	var LAYAFNTRUE=function(){return true;}
	var LAYAFNFALSE=function(){return false;}
	var LAYAFN0=function(){return 0;}
	var LAYAFNARRAY = function() { return []; }
	var GETEACH = function(a) { return a?a:[]; }
	var NEWVECTOR$=LAYABOX.newVector;
	
	window.console=window.console || ({log:function(){}});
	Error.prototype.throwError=function(){throw arguments;};
	(function(defs){for(var i=0;i<defs.length;i++)Object.defineProperty(Date.prototype,defs[i],{get:Date.prototype['get'+defs[i].charAt(0).toUpperCase()+defs[i].substr(1)]})})(['date','day','fullYear','hours','millseconds','minutes','month','seconds','time','timezoneOffset','dateUTC','dayUTC','fullYearUTC','hoursUTC'])
	Object.defineProperty(Date.prototype,'millisecondsUTC',{get:Date.prototype.getUTCMilliseconds,enumerable: false});
	Object.defineProperty(Date.prototype,'minutesUTC',{get:Date.prototype.getUTCMinutes,enumerable: false});
	Object.defineProperty(Date.prototype,'mouthUTC',{get:Date.prototype.getUTCMonth,enumerable: false});
	
	String.prototype.substr=function(ofs,sz){if(arguments.length==1)return LAYABOX.substr.call(this,ofs);if(sz<0) sz=this.length+sz;return LAYABOX.substr.call(this,ofs,sz);}
	Array.CASEINSENSITIVE = 1;	Array.DESCENDING = 2;	Array.NUMERIC = 16;	Array.RETURNINDEXEDARRAY = 8;	Array.UNIQUESORT = 4;
	Object.defineProperty(Array.prototype,'fixed',{enumerable: false});
	DEFUNENUMPTY$(Array.prototype,'sortOn',LAYABOX.sortOn);
	DEFUNENUMPTY$(Array.prototype,'sort',LAYABOX.arraysort);
	LAYABOX.classmap['Dictionary']=Dictionary;	LAYABOX.classmap['Object']=Object;	LAYABOX.classmap['Function']=Function;	LAYABOX.classmap['Array']=Array;	LAYABOX.classmap['String']=String;
	LAYABOX.createPackage(['Browser','iflash.accessibility','iflash.events','Data','iflash.geom','vo','iflash.laya.utils','iflash.media','mx.events','uint','iflash.display.swf.classs','iflash.sensors','iflash.laya.system','iflash.system','int','ui','Laya','iflash.display.plug','iflash.swf.utils','tdh.adsys','iflash.filters','iflash.xml','iflash.laya.display','mx.utils','iflash.laya.driver','iflash.text.engine','iflash.laya.net','iflash.display3D.shader','iflash.ui','JSONParse','IFlash','iflash.filesystem','iflash.net','Game','iflash.display.utils','game','iflash.swf.animation','sound','mx.core','iflash.text.textformat','iflash.errors','iflash.laya.dom','iflash.external','iflash.laya.runner.defines','interf','IFlashMain','RangeError','ArgumentError','QName','tdh.utils','','iflash.display3D.textures','iflash.display3D.webgl','iflash.method'],window);
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/idynamicpropertywriter.as
	LAYABOX.interface('iflash.net.IDynamicPropertyWriter');
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/igraphicsdata.as
	LAYABOX.interface('iflash.display.IGraphicsData');
	//file:///d:/projects/layadocument/pandarun/src/mx/core/iflexasset.as
	LAYABOX.interface('mx.core.IFlexAsset');
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/ibitmapdrawable.as
	LAYABOX.interface('iflash.display.IBitmapDrawable');
	//file:///d:/projects/layadocument/pandarun/src/mx/core/ilayoutdirectionelement.as
	LAYABOX.interface('mx.core.ILayoutDirectionElement');
	//file:///d:/projects/layadocument/pandarun/src/interf/ictrl.as
	LAYABOX.interface('interf.ICtrl');
	//file:///d:/projects/layadocument/pandarun/src/mx/core/irepeaterclient.as
	LAYABOX.interface('mx.core.IRepeaterClient');
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/xml/ixmlelement.as
	LAYABOX.interface('iflash.xml.IXMLElement');
	//file:///d:/projects/layadocument/pandarun/src/mx/core/iassetlayoutfeatures.as
	LAYABOX.interface('mx.core.IAssetLayoutFeatures');
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/idatainput.as
	LAYABOX.interface('iflash.utils.IDataInput');
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/idataoutput.as
	LAYABOX.interface('iflash.utils.IDataOutput');
	//file:///d:/projects/layadocument/pandarun/src/interf/isteper.as
	LAYABOX.interface('interf.ISteper');
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/igraphicsstroke.as
	LAYABOX.interface('iflash.display.IGraphicsStroke');
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/igraphicspath.as
	LAYABOX.interface('iflash.display.IGraphicsPath');
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/iexternalizable.as
	LAYABOX.interface('iflash.utils.IExternalizable');
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/igraphicsfill.as
	LAYABOX.interface('iflash.display.IGraphicsFill');
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/system/iobject.as
	LAYABOX.interface('iflash.laya.system.IObject');
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/ieventdispatcher.as
	LAYABOX.interface('iflash.events.IEventDispatcher');
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/idynamicpropertyoutput.as
	LAYABOX.interface('iflash.net.IDynamicPropertyOutput');
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/idataoutput.jas
	LAYABOX.interface('iflash.utils.IDataOutput');
	//file:///d:/projects/layadocument/pandarun/src/interf/igameelm.as
	LAYABOX.interface('interf.IGameElm','interf.ISteper');
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/idatainput.jas
	LAYABOX.interface('iflash.utils.IDataInput');
	//file:///d:/projects/layadocument/pandarun/src/mx/core/iflexdisplayobject.as
	LAYABOX.interface('mx.core.IFlexDisplayObject','iflash.display.IBitmapDrawable');
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/browser.as
	var Browser=(function(){
		function Browser(){};
		CLASS$(Browser,'Browser',true,true);
		GETSET$(1,Browser,'frameRate',function(){
			return Browser._driver_.frameRate;
			},function(num){
			Browser._driver_.frameRate=num;
		});

		Browser.__init__=function(sprite){
			/*__JS__ */Browser._driver_=new iflash.laya.driver.Driver(sprite);
		}

		Browser.__start__=function(){
			Browser._driver_.start();
			Browser._driver_.regEvent();
		}

		Browser.eval=function(str,target){
			target=target || Browser.window;
			/*__JS__ */return target.eval(str);
		}

		Browser.err=function(e){
			console.log("err:"+e);
		}

		Browser._createRootCanvas_=function(){
			var canvas=Browser._driver_.getRootCanvas();
			canvas.size(Browser.window.innerWidth,Browser.window.innerHeight);
			if (Laya.HTMLVER){
				Browser.document.body.appendChild(canvas);
				/*__JS__ */if(!Laya.CONCHVER){canvas.style.position='absolute';canvas.style.left=canvas.style.top=0;};
			}
			return canvas;
		}

		Browser.addToBody=function(htmlElement){
			Browser.document.body.appendChild(htmlElement);
		}

		Browser.removeFromBody=function(htmlElement){
			if(htmlElement&&htmlElement.parentNode){
				htmlElement.parentNode.removeChild(htmlElement);
			}
		}

		Browser._createWebGLCanvas_=function(){
			if (Laya.CONCHVER)return Browser._createRootCanvas_();
			var canvas=Browser.document.createElement("canvas");
			canvas.size(Browser.window.innerWidth,Browser.window.innerHeight);
			if (Laya.HTMLVER){
				Browser.document.body.appendChild(canvas);
				/*__JS__ */if(!Laya.CONCHVER){canvas.style.position='absolute';canvas.style.left=canvas.style.top=0;canvas.style.zIndex=-1000;};
			}
			return canvas;
		}

		Browser._debugger_=function(){
			/*__JS__ */debugger;
		}

		Browser.alert=function(e){
			/*__JS__ */alert(e);
		}

		Browser._createModle_=function(type,id,node){
			return Browser._driver_.createModle(type,id,node);
		}

		Browser.createHttpRequest=function(){
			return Browser._driver_.createHttpRequest();
		}

		Browser.setCursor=function(cursor){
			Browser._driver_.cursor(cursor);
			Browser._cursors_.push(cursor);
		}

		Browser.restoreCursor=function(){
			if (Browser._cursors_.length==0)return;
			Browser._cursors_.pop();
			Browser._driver_.cursor(Browser._cursors_.length>0?Browser._cursors_[Browser._cursors_.length-1]:"default");
		}

		Browser.hideSystemLoading=function(){
			if (Laya.CONCHVER){
				Browser.window.conchMarket&&Browser.window.conchMarket.sendMessageToPlatform('{"type":"ge_load_game_end"}',function(){});
				/*__JS__ */conch.showLoadingView(false);
			}
		}

		Browser.refresh=function(){
			Browser.location.reload();
		}

		Browser.window=null;
		Browser.document=null;
		Browser.location=null
		Browser.navigator=null
		Browser.input=null
		Browser._driver_=null
		Browser._cursors_=[];
		Browser.__init$__=function(){
			/*__JS__ */window.Browser=Browser;
		}

		return Browser;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/escapemultibyte.as
	iflash.utils.escapeMultiByte=function(source){
		return /*__JS__ */encodeURIComponent(source).replace('_','%5F').replace('.','%2E');
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/navigatetourl.as
	iflash.net.navigateToURL=function(request,_window){
		/*__JS__ */window.open(request.url || request,_window?_window:'_blank');
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/describetype.as
	iflash.utils.describeType=function(value){
		var name=iflash.utils.getQualifiedClassName(value);
		while(name.indexOf('.')!=-1){
			name=name.replace('.','');
		}

		name='dst'+name.replace('::','_');
		return new XML(iflash.utils.getDefinitionByName('DescribeTypeClass')[name]());
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/registerclassalias.as
	iflash.net.registerClassAlias=function(aliasName,classObject){
		iflash.net.classDic[aliasName]=classObject;
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/classdic.as
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/sendtourl.as
	iflash.net.sendToURL=function(request){}
		
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/cleartimeout.as
	iflash.utils.clearTimeout=function(id){
		SetIntervalTimer.clearInterval(id);
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/clearinterval.as
	iflash.utils.clearInterval=function(id){
		SetIntervalTimer.clearInterval(id);
	}


	//file:///d:/projects/layadocument/pandarun/src/mx/core/mx_internal.as
	this.__namespace_mx_internal="http://www.adobe.com/2006/flex/mx/internal";
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/fns.as
	/*__JS__ */Function.prototype.BIND$=function (o){var f=(o.__closures_laya__ || DEFUNENUMPTY$(o,'__closures_laya__',{}))[this.__$BiD___ || (this.__$BiD___=LAYABOX.bindid++)];if (f){return f;}var method=this;var len=this.length;switch (len){case 1:f=function (a){return method.apply(o,arguments);};break;case 2:f=function (a,b){return method.apply(o,arguments);};break;case 3:f=function (a,b,c){return method.apply(o,arguments);};break;case 4:f=function (a,b,c,d){return method.apply(o,arguments);};break;case 5:f=function (a,b,c,d,e){return method.apply(o,arguments);};break;case 6:f=function (a,b,c,d,e,f){return method.apply(o,arguments);};break;case 7:f=function (a,b,c,d,e,f,g){return method.apply(o,arguments);};break;case 8:f=function (a,b,c,d,e,f,g,h){return method.apply(o,arguments);};break;case 9:f=function (a,b,c,d,e,f,g,h,i){return method.apply(o,arguments);};break;case 10:f=function (a,b,c,d,e,f,g,h,i,j){return method.apply(o,arguments);};break;default:f=function (){return method.apply(o,arguments);};}o.__closures_laya__[this.__$BiD___]=f;return f;};;
	/*__JS__ */LAYABOX.getInterfaceDefinitionByName=function (name){var words=name.split('.');var o=window;for (var i=0;i < words.length;i++){o=o[words[i]];if(!o){return null}}return o;};
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/method/bind.as
	iflash.method.bind=function(context,fun,nothing){
		(nothing===void 0)&& (nothing=true);
		return (fun==null)?null:fun.BIND$(context);
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/method/typeas.as
	iflash.method.typeAs=function(value,type){
		/*__JS__ */return (LAYABOX.typeof(value,type))?value:null;
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/method/importjs.as
	iflash.method.importJS=function(jsFile,callback,evalJs){
		(evalJs===void 0)&& (evalJs=true);
		LAYABOX.importsJS=LAYABOX.importsJS || [];
		if ((jsFile instanceof Array)){
			var s=jsFile.length;
			for (var i=0;i < jsFile.length;i++){
				jsFile[i]=Method.formatUrl(jsFile[i]);
				iflash.method.importJS(jsFile[i],function(){
					s--;
					if (s==0)callback();
				},false);
			}
			return;
		}

		jsFile=Method.formatUrl(jsFile);
		console.log("import JavaScript:"+jsFile);
		if (LAYABOX.importsJS[jsFile]){
			callback();
			return;
		};

		var xhr=/*__JS__ */new XMLHttpRequest();
		xhr.onload=function (e){
			/*__JS__ */window.eval(xhr.responseText);
			LAYABOX.importsJS[jsFile]=true;
			callback();
		}

		xhr.onerror=function (e){
			throw "下载js"+jsFile+"失败";
		}

		xhr.open("GET",jsFile,true);
		xhr.send();
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/getaliasname.as
	iflash.utils.getAliasName=function(param1){return ""}
		
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/method/byteset.as
	iflash.method.byteSet=function(byteArray,index,value){
		byteArray._byteSet_(index,value);
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/setinterval.as
	iflash.utils.setInterval=function(closure,delay,____){
		var __=[];for(var i=2,sz=arguments.length;i<sz;i++)__.push(arguments[i]);arguments=__;
		return new SetIntervalTimer(closure,delay,true,arguments).id;
	}


	//file:///d:/projects/layadocument/pandarun/src/vo/framedelay.as
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/getqualifiedclassname.as
	iflash.utils.getQualifiedClassName=function(value){
		if(!value)return null;
		if((typeof value=='string'))
			return "String";
		else if((value instanceof Array))
		return "Array";
		else {
			if(typeof(value)=="function"){
				if(value.__className__){
					/*__JS__ */var index=value.__className__.lastIndexOf(".");
					return /*__JS__ */index !=-1 ? value.__className__.substr(0,index)+"::"+value.__className__.substr(index+1,value.__className__.length):value.__className__;
					}else{
					return value.name||value.lin;
				}
			}
			if(value.__interface__){
				/*__JS__ */var index=value.__interface__.lastIndexOf(".");
				return /*__JS__ */index !=-1 ? value.__interface__.substr(0,index)+"::"+value.__interface__.substr(index+1,value.__interface__.length):value.__interface__;
			}
			/*__JS__ */var _value=value.__className__?value.__className__:LAYABOX.systemClass[(typeof value)];
			/*__JS__ */var index=_value.lastIndexOf(".");
			return /*__JS__ */index !=-1 ? _value.substr(0,index)+"::"+_value.substr(index+1,_value.length):_value;
		}

	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/settimeout.as
	iflash.utils.setTimeout=function(closure,delay,____){
		var __=[];for(var i=2,sz=arguments.length;i<sz;i++)__.push(arguments[i]);arguments=__;
		return new SetIntervalTimer(closure,delay,false,arguments).id;
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/system/fscommand.as
	iflash.system.fscommand=function(command,args){
		(args===void 0)&& (args="");
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/method/byteat.as
	iflash.method.byteAt=function(byteArray,index){
		return byteArray._byteAt_(index);
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/method/dicclear.as
	iflash.method.DICCLEAR=function(dic,dickey){
		delete dic[dickey];
		delete LAYABOX.DICKEYS[dickey];
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/getclassbyalias.as
	iflash.net.getClassByAlias=function(aliasName){
		return iflash.net.classDic[aliasName];
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/method/dickey.as
	iflash.method.DICKEY=function(o){
		/*__JS__ */if(typeof o!='string' || o.indexOf('&layadic_')!=0)return o;
		/*__JS__ */return LAYABOX.DICKEYS[o.toString()];
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/method/xmllength.as
	iflash.method.xmlLength=function(xml){
		return xml?xml.lengths():0;
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/getqualifiedsuperclassname.as
	iflash.utils.getQualifiedSuperclassName=function(value){
		/*__JS__ */return iflash.utils.getQualifiedClassName(value.__super__);
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/method/dic.as
	iflash.method.DIC=function(o){
		/*__JS__ */if(!o || o.__DICKEY__)return o;
		/*__JS__ */if(typeof o=='string' || typeof o=='number')return o;
		/*__JS__ */o.toString=LAYABOX.toStringForDic;
		/*__JS__ */o.toString();return o;
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/formatstring.as
	iflash.utils.formatString=function(format,__args){
		var args=[];for(var i=1,sz=arguments.length;i<sz;i++)args.push(arguments[i]);
		for (var i=0;i<args.length;++i)
		format=format.replace(new RegExp("\\{"+i+"\\}","g"),args[i]);
		return format;
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/regclass.as
	iflash.utils.regClass=function(name,_class){
		/*__JS__ */LAYABOX.classmap[name]=_class;
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/utils/regxmlattr.as
	iflash.laya.utils.regXmlAttr=function(_class,fndef,set_get,htmlNeed){
		(htmlNeed===void 0)&& (htmlNeed=true);
		DynamicProperties.reg(_class,fndef,set_get,htmlNeed);
		return 1;
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/flash_proxy.as
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/gettimer.as
	iflash.utils.getTimer=function(){
		return (/*__JS__ */Date.now()-Timer.__STARTTIME__)*Timer.__SPEED__;
	}


	//file:///d:/projects/layadocument/pandarun/src/vo/gametime.as
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/getdefinitionbyname.as
	iflash.utils.getDefinitionByName=function(param1){
		param1=param1.replace("::",".");
		return /*__JS__ */LAYABOX.classmap[param1];
	}


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/bytearray.jas
	var ByteArray=/*iflash.utils.ByteArray*/(function(){
		function ByteArray(){
			this._length=0;
			this._objectEncoding_=0;
			this._position_=0;
			this._allocated_=8;
			this._data_=null;
			this._littleEndian_=false;
			this._byteView_=null;
			this._strTable=[];
			this._objTable=[];
			this._traitsTable=[];
			/*__JS__ */this.___resizeBuffer(this._allocated_);
		}

		CLASS$(ByteArray,'iflash.utils.ByteArray',true,false);
		var __proto__=ByteArray.prototype;
		__proto__.clear=function(){
			this._strTable=[];
			this._objTable=[];
			this._traitsTable=[];
			this._position_=0;
			this.length=0;
		}

		__proto__.ensureWrite=function(lengthToEnsure){
			if (this._length < lengthToEnsure)this.length=lengthToEnsure;
		}

		__proto__.readBoolean=function(){
			return (this.readByte ()!=0);
		}

		__proto__.readByte=function(){
			return this._data_.getUint8 (this._position_++);
		}

		__proto__.readBytes=function(bytes,offset,length){
			(offset===void 0)&& (offset=0);
			(length===void 0)&& (length=0);
			if (offset < 0 || length < 0){
				throw "Read error - Out of bounds";
			}
			if (length==0)length=this._length-this._position_;
			bytes.ensureWrite (offset+length);
			bytes._byteView_.set (this._byteView_.subarray(this._position_,this._position_+length),offset);
			bytes.position=offset;
			this._position_+=length;
			if (bytes.position+length > bytes.length)bytes.length=bytes.position+length;
		}

		__proto__.readDouble=function(){
			var double=this._data_.getFloat64 (this._position_,this._littleEndian_);
			this._position_+=8;
			return double;
		}

		__proto__.readFloat=function(){
			var float=this._data_.getFloat32 (this._position_,this._littleEndian_);
			this._position_+=4;
			return float;
		}

		__proto__.readFullBytes=function(bytes,pos,len){
			this.ensureWrite (len);
			for(var i=pos;i < pos+len;i++){
				this._data_.setInt8 (this._position_++,bytes.get(i));
			}
		}

		__proto__.readInt=function(){
			var tInt=this._data_.getInt32 (this._position_,this._littleEndian_);
			this._position_+=4;
			return tInt;
		}

		__proto__.readShort=function(){
			var short=this._data_.getInt16 (this._position_,this._littleEndian_);
			this._position_+=2;
			return short;
		}

		__proto__.readUnsignedByte=function(){
			return this._data_.getUint8 (this._position_++);
		}

		__proto__.readUnsignedInt=function(){
			var uInt=this._data_.getUint32 (this._position_,this._littleEndian_);
			this._position_+=4;
			return int(uInt);
		}

		__proto__.readUnsignedShort=function(){
			var uShort=this._data_.getUint16 (this._position_,this._littleEndian_);
			this._position_+=2;
			return uShort;
		}

		__proto__.readUTF=function(){
			return this.readUTFBytes (this.readUnsignedShort ());
		}

		__proto__.readUnicode=function(length){
			var value="";
			var max=this._position_+length;
			var c1=0,c2=0;
			while (this._position_ < max){
				c2=this._byteView_[this._position_++];
				c1=this._byteView_[this._position_++];
				value+=String.fromCharCode(c1<<8 | c2);
			}
			return value;
		}

		__proto__.readMultiByte=function(length,charSet){
			if(charSet=="UNICODE" || charSet=="unicode"){
				return this.readUnicode(length);
			}
			return this.readUTFBytes (length);
		}

		__proto__.readUTFBytes=function(len){
			var value="";
			var max=this._position_+len;
			var c=0,c2=0,c3=0;
			while (this._position_ < max){
				c=this._data_.getUint8 (this._position_++);
				if (c < 0x80){
					if (c !=0){
						value+=String.fromCharCode (c);
					}
					}else if (c < 0xE0){
					value+=String.fromCharCode (((c & 0x3F)<< 6)| (this._data_.getUint8 (this._position_++)& 0x7F));
					}else if (c < 0xF0){
					c2=this._data_.getUint8 (this._position_++);
					value+=String.fromCharCode (((c & 0x1F)<< 12)| ((c2 & 0x7F)<< 6)| (this._data_.getUint8 (this._position_++)& 0x7F));
					}else {
					c2=this._data_.getUint8 (this._position_++);
					c3=this._data_.getUint8 (this._position_++);
					value+=String.fromCharCode (((c & 0x0F)<< 18)| ((c2 & 0x7F)<< 12)| ((c3 << 6)& 0x7F)| (this._data_.getUint8 (this._position_++)& 0x7F));
				}
			}
			return value;
		}

		__proto__.toString=function(){
			var cachePosition=this._position_;
			this._position_=0;
			var value=this.readUTFBytes (this.length);
			this._position_=cachePosition;
			return value;
		}

		__proto__.writeBoolean=function(value){
			this.writeByte (value ? 1 :0);
		}

		__proto__.writeByte=function(value){
			this.ensureWrite (this._position_+1);
			this._data_.setInt8 (this._position_,value);
			this._position_+=1;
		}

		__proto__.writeBytes=function(bytes,offset,length){
			(offset===void 0)&& (offset=0);
			(length===void 0)&& (length=0);
			if (offset < 0 || length < 0)throw "writeBytes error - Out of bounds";
			if(length==0)length=bytes.length-offset;
			this.ensureWrite (this._position_+length);
			/*__JS__ */this._byteView_.set(bytes._byteView_.subarray (offset,offset+length),this._position_);
			this._position_+=length;
		}

		__proto__.writeArrayBuffer=function(arraybuffer,offset,length){
			(offset===void 0)&& (offset=0);
			(length===void 0)&& (length=0);
			if (offset < 0 || length < 0)throw "writeArrayBuffer error - Out of bounds";
			if(length==0)length=arraybuffer.byteLength-offset;
			this.ensureWrite (this._position_+length);
			var uint8array=/*__JS__ */new Uint8Array(arraybuffer);
			/*__JS__ */this._byteView_.set(uint8array.subarray (offset,offset+length),this._position_);
			this._position_+=length;
		}

		__proto__.writeDouble=function(x){
			this.ensureWrite (this._position_+8);
			this._data_.setFloat64 (this._position_,x,this._littleEndian_);
			this._position_+=8;
		}

		__proto__.writeFloat=function(x){
			this.ensureWrite (this._position_+4);
			this._data_.setFloat32 (this._position_,x,this._littleEndian_);
			this._position_+=4;
		}

		__proto__.writeInt=function(value){
			/*__JS__ */this.ensureWrite (this._position_+4);
			/*__JS__ */this._data_.setInt32 (this._position_,value,this._littleEndian_);
			this._position_+=4;
		}

		__proto__.writeShort=function(value){
			this.ensureWrite (this._position_+2);
			this._data_.setInt16 (this._position_,value,this._littleEndian_);
			this._position_+=2;
		}

		__proto__.writeUnsignedInt=function(value){
			this.ensureWrite (this._position_+4);
			this._data_.setUint32 (this._position_,value,this._littleEndian_);
			this._position_+=4;
		}

		__proto__.writeUnsignedShort=function(value){
			this.ensureWrite (this._position_+2);
			this._data_.setUint16 (this._position_,value,this._littleEndian_);
			this._position_+=2;
		}

		__proto__.writeUTF=function(value){
			value=value+"";
			this.writeUnsignedShort (this._getUTFBytesCount(value));this.writeUTFBytes (value);
		}

		__proto__.writeUnicode=function(value){
			value=value+"";
			this.ensureWrite (this._position_+value.length*2);
			var c=0;
			for(var i=0,sz=value.length;i<sz;i++){
				c=value.charCodeAt(i);
				this._byteView_[this._position_++]=c&0xff;
				this._byteView_[this._position_++]=c>>8;
			}
		}

		__proto__.writeMultiByte=function(value,charSet){
			value=value+"";
			if(charSet=="UNICODE" || charSet=="unicode"){
				return this.writeUnicode(value);
			}
			this.writeUTFBytes(value);
		}

		__proto__.writeUTFBytes=function(value){
			value=value+"";
			this.ensureWrite(this._position_+value.length*4);
			for (var i=0,sz=value.length;i < sz;i++){
				var c=value.charCodeAt(i);
				if (c <=0x7F){
					this.writeByte (c);
					}else if (c <=0x7FF){
					this.writeByte (0xC0 | (c >> 6));
					this.writeByte (0x80 | (c & 63));
					}else if (c <=0xFFFF){
					this.writeByte(0xE0 | (c >> 12));
					this.writeByte(0x80 | ((c >> 6)& 63));
					this.writeByte(0x80 | (c & 63));
					}else {
					this.writeByte(0xF0 | (c >> 18));
					this.writeByte(0x80 | ((c >> 12)& 63));
					this.writeByte(0x80 | ((c >> 6)& 63));
					this.writeByte(0x80 | (c & 63));
				}
			}
			this.length=this._position_;
		}

		__proto__.__fromBytes=function(inBytes){
			this._byteView_=/*__JS__ */new Uint8Array(inBytes.getData ());
			this.length=this._byteView_.length;
			this._allocated_=this.length;
		}

		__proto__.__get=function(pos){
			return this._data_.getUint8(pos);
		}

		__proto__._getUTFBytesCount=function(value){
			var count=0;
			value=value+"";
			for (var i=0,sz=value.length;i < sz;i++){
				var c=value.charCodeAt(i);
				if (c <=0x7F){
					count+=1;
					}else if (c <=0x7FF){
					count+=2;
					}else if (c <=0xFFFF){
					count+=3;
					}else {
					count+=4;
				}
			}
			return count;
		}

		__proto__._byteAt_=function(index){
			return this._byteView_[index];
		}

		__proto__._byteSet_=function(index,value){
			this.ensureWrite (index+1);
			this._byteView_[index]=value;
		}

		__proto__.uncompress=function(algorithm){
			(algorithm===void 0)&& (algorithm="zlib");
			/*__JS__ */var inflate=new Zlib.Inflate(this._byteView_);
			/*__JS__ */this._byteView_=inflate.decompress();
			/*__JS__ */this._data_=new DataView(this._byteView_ .buffer);;
			this._allocated_=this._length=this._byteView_.byteLength;
			this._position_=0;
		}

		__proto__.compress=function(algorithm){
			(algorithm===void 0)&& (algorithm="zlib");
			/*__JS__ */var deflate=new Zlib.Deflate(this._byteView_);
			/*__JS__ */this._byteView_=deflate.compress();
			/*__JS__ */this._data_=new DataView(this._byteView_.buffer);;
			this._position_=this._allocated_=this._length=this._byteView_.byteLength;
		}

		__proto__.___resizeBuffer=function(len){
			try{
				var newByteView=/*__JS__ */new Uint8Array(len);
				if (this._byteView_!=null){
					if (this._byteView_.length <=len)newByteView.set (this._byteView_);
					else newByteView.set (this._byteView_.subarray (0,len));
				}
				this._byteView_=newByteView;
				this._data_=/*__JS__ */new DataView(newByteView.buffer);
			}
			catch (err){
				throw "___resizeBuffer err:"+len;
			}
		}

		__proto__.__getBuffer=function(){
			this._data_.buffer.byteLength=this.length;
			return this._data_.buffer;
		}

		__proto__.__set=function(pos,v){
			this._data_.setUint8 (pos,v);
		}

		__proto__.setUint8Array=function(data){
			this._byteView_=data;
			this._data_=/*__JS__ */new DataView(data.buffer);
			this._length=data.byteLength;
			this._position_=0;
		}

		__proto__.readObject=function(){
			this._strTable=[];
			this._objTable=[];
			this._traitsTable=[];
			return this.readObject2();
		}

		__proto__.readObject2=function(){
			var type=this.readByte();
			return this.readObjectValue(type);
		}

		__proto__.readObjectValue=function(type){
			var value;
			switch (type){
				case 1:
					break ;
				case 6:
					value=this.__readString();
					break ;
				case 4:
					value=this.readInterger();
					break ;
				case 2:
					value=false;
					break ;
				case 3:
					value=true;
					break ;
				case 10:
					value=this.readScriptObject();
					break ;
				case 9:
					value=this.readArray();
					break ;
				case 5:
					value=this.readDouble();
					break ;
				case 12:
					value=this.readByteArray();
					break ;
				default :
					console.log("Unknown object type tag!!!"+type);
				}
			return value;
		}

		__proto__.readByteArray=function(){
			var ref=this.readUInt29();
			if ((ref & 1)==0){
				return this.getObjRef(ref >> 1);
			}
			else{
				var len=(ref >> 1);
				var ba=new ByteArray();
				this._objTable.push(ba);
				this.readBytes(ba,0,len);
				return ba;
			}
		}

		__proto__.readInterger=function(){
			var i=this.readUInt29();
			i=(i << 3)>> 3;
			return int(i);
		}

		__proto__.getStrRef=function(ref){
			return this._strTable[ref];
		}

		__proto__.getObjRef=function(ref){
			return this._objTable[ref];
		}

		__proto__.__readString=function(){
			var ref=this.readUInt29();
			if ((ref & 1)==0){
				return this.getStrRef(ref >> 1);
			};
			var len=(ref >> 1);
			if (0==len){
				return "";
			};
			var str=this.readUTFBytes(len);
			this._strTable.push(str);
			return str;
		}

		__proto__.readTraits=function(ref){
			var ti;
			if ((ref & 3)==1){
				ti=this.getTraitReference(ref >> 2);
				return ti.propoties?ti:{obj:{}};
			}
			else{
				var externalizable=((ref & 4)==4);
				var isDynamic=((ref & 8)==8);
				var count=(ref >> 4);
				var className=this.__readString();
				ti={};
				ti.className=className;
				ti.propoties=[];
				ti.dynamic=isDynamic;
				ti.externalizable=externalizable;
				if(count>0){
					for(var i=0;i<count;i++){
						var propName=this.__readString();
						ti.propoties.push(propName);
					}
				}
				this._traitsTable.push(ti);
				return ti;
			}
		}

		__proto__.readScriptObject=function(){
			var ref=this.readUInt29();
			if ((ref & 1)==0){
				return this.getObjRef(ref >> 1);
			}
			else{
				var objref=this.readTraits(ref);
				var className=objref.className;
				var externalizable=objref.externalizable;
				var obj;
				var propName;
				var pros=objref.propoties;
				if(className&&className!=""){
					var rst=iflash.net.getClassByAlias(className);
					if(rst){
						obj=new rst();
						}else{
						obj={};
					}
					}else{
					obj={};
				}
				this._objTable.push(obj);
				if(pros){
					for(var d=0;d<pros.length;d++){
						obj[pros[d]]=this.readObject2();
					}
				}
				if(objref.dynamic){
					for (;;){
						propName=this.__readString();
						if (propName==null || propName.length==0)break ;
						obj[propName]=this.readObject2();
					}
				}
				return obj;
			}
		}

		__proto__.readArray=function(){
			var ref=this.readUInt29();
			if ((ref & 1)==0){
				return this.getObjRef(ref >> 1);
			};
			var obj=null;
			var count=(ref >> 1);
			var propName;
			for (;;){
				propName=this.__readString();
				if (propName==null || propName.length==0)break ;
				if (obj==null){
					obj={};
					this._objTable.push(obj);
				}
				obj[propName]=this.readObject2();
			}
			if (obj==null){
				obj=[];
				this._objTable.push(obj);
				var i=0;
				for (i=0;i < count;i++){
					obj.push(this.readObject2());
				}
				}else {
				for (i=0;i < count;i++){
					obj[i.toString()]=this.readObject2();
				}
			}
			return obj;
		}

		__proto__.readUInt29=function(){
			var value=0;
			var b=this.readByte()& 0xFF;
			if (b < 128){
				return b;
			}
			value=(b & 0x7F)<< 7;
			b=this.readByte()& 0xFF;
			if (b < 128){
				return (value | b);
			}
			value=(value | (b & 0x7F))<< 7;
			b=this.readByte()& 0xFF;
			if (b < 128){
				return (value | b);
			}
			value=(value | (b & 0x7F))<< 8;
			b=this.readByte()& 0xFF;
			return (value | b);
		}

		__proto__.writeObject=function(o){
			this._strTable=[];
			this._objTable=[];
			this._traitsTable=[];
			this.writeObject2(o);
		}

		__proto__.writeObject2=function(o){
			if(o==null){
				this.writeAMFNull();
				return;
			};
			var type=typeof(o);
			if("string"==type){
				this.writeAMFString(o);
			}
			else if("boolean"==type){
				this.writeAMFBoolean(o);
			}
			else if("number"==type){
				if(String(o).indexOf(".")!=-1){
					this.writeAMFDouble(o);
				}
				else{
					this.writeAMFInt(o);
				}
			}
			else if("object"==type){
				if((o instanceof Array)){
					this.writeArray(o);
				}
				else if((o instanceof iflash.utils.ByteArray )){
					this.writeAMFByteArray(o);
				}
				else{
					this.writeCustomObject(o);
				}
			}
		}

		__proto__.writeAMFNull=function(){
			this.writeByte(1);
		}

		__proto__.writeAMFString=function(s){
			this.writeByte(6);
			this.writeStringWithoutType(s);
		}

		__proto__.writeStringWithoutType=function(s){
			if (s.length==0){
				this.writeUInt29(1);
				return;
			};
			var ref=this._strTable.indexOf(s);
			if(ref>=0){
				this.writeUInt29(ref << 1);
				}else{
				var utflen=this._getUTFBytesCount(s);
				this.writeUInt29((utflen << 1)| 1);
				this.writeUTFBytes(s);
				this._strTable.push(s);
			}
		}

		__proto__.writeAMFInt=function(i){
			if (i >=ByteArray.INT28_MIN_VALUE && i <=0x0FFFFFFF){
				i=i & 0x1FFFFFFF;
				this.writeByte(4);
				this.writeUInt29(i);
				}else {
				this.writeAMFDouble(i);
			}
		}

		__proto__.writeAMFDouble=function(d){
			this.writeByte(5);
			this.writeDouble(d);
		}

		__proto__.writeAMFBoolean=function(b){
			if (b)
				this.writeByte(3);
			else
			this.writeByte(2);
		}

		__proto__.writeCustomObject=function(o){
			this.writeByte(10);
			var refNum=this._objTable.indexOf(o);
			if(refNum!=-1){
				this.writeUInt29(refNum << 1);
			}
			else{
				this._objTable.push(o);
				var traitsInfo=new Object();
				traitsInfo.className=this.getAliasByObj(o);
				traitsInfo.dynamic=false;
				traitsInfo.externalizable=false;
				traitsInfo.properties=[];
				for(var prop in o){
					if((typeof (o[prop])=='function'))continue ;
					traitsInfo.properties.push(prop);
					traitsInfo.properties.sort();
				};
				var tRef=ByteArray.getTraitsInfoRef(this._traitsTable,traitsInfo);
				var count=traitsInfo.properties.length;
				var i=0;
				if(tRef>=0){
					this.writeUInt29((tRef << 2)| 1);
					}else{
					this._traitsTable.push(traitsInfo);
					this.writeUInt29(3 | (traitsInfo.externalizable ? 4 :0)| (traitsInfo.dynamic ? 8 :0)| (count << 4));
					this.writeStringWithoutType(traitsInfo.className);
					for(i=0;i<count;i++){
						this.writeStringWithoutType(traitsInfo.properties[i]);
					}
				}
				for(i=0;i<count;i++){
					this.writeObject2(o[traitsInfo.properties[i]]);
				}
			}
		}

		__proto__.getAliasByObj=function(obj){
			var tClassName=iflash.utils.getQualifiedClassName(obj);
			if(tClassName==null || tClassName=="")return "";
			var tClass=iflash.utils.getDefinitionByName(tClassName);
			if(tClass==null)return "";
			var tkey;
			for(tkey in iflash.net.classDic){
				if(iflash.net.classDic[tkey]==tClass){
					return tkey;
				}
			}
			return "";
		}

		__proto__.writeArray=function(value){
			this.writeByte(9);
			var len=value.length;
			var ref=this._objTable.indexOf(value);
			if(ref>-1){
				this.writeUInt29(len<<1);
			}
			else{
				this.writeUInt29((len << 1)| 1);
				this.writeStringWithoutType("");
				for (var i=0;i < len;i++){
					this.writeObject2(value[i]);
				}
				this._objTable.push(value);
			}
		}

		__proto__.writeAMFByteArray=function(ba){
			this.writeByte(12);
			var ref=this._objTable.indexOf(ba);
			if(ref>=0){
				this.writeUInt29(ref << 1);
				}else{
				var len=ba.length;
				this.writeUInt29((len << 1)| 1);
				this.writeBytes(ba,0,len);
			}
		}

		__proto__.writeMapAsECMAArray=function(o){
			this.writeByte(9);
			this.writeUInt29((0 << 1)| 1);
			var count=0,key;
			for (key in o){
				count++;
				this.writeStringWithoutType(key);
				this.writeObject2(o[key]);
			}
			this.writeStringWithoutType("");
		}

		__proto__.writeUInt29=function(ref){
			if (ref < 0x80){
				this.writeByte(ref);
				}else if (ref < 0x4000){
				this.writeByte(((ref >> 7)& 0x7F)| 0x80);
				this.writeByte(ref & 0x7F);
				}else if (ref < 0x200000){
				this.writeByte(((ref >> 14)& 0x7F)| 0x80);
				this.writeByte(((ref >> 7)& 0x7F)| 0x80);
				this.writeByte(ref & 0x7F);
				}else if (ref < 0x40000000){
				this.writeByte(((ref >> 22)& 0x7F)| 0x80);
				this.writeByte(((ref >> 15)& 0x7F)| 0x80);
				this.writeByte(((ref >> 8)& 0x7F)| 0x80);
				this.writeByte(ref & 0xFF);
				}else {
				console.log("Integer out of range: "+ref);
			}
		}

		__proto__.getTraitReference=function(ref){
			return this._traitsTable[ref];
		}

		GETSET$(0,__proto__,'bytesAvailable',function(){
			return this.length-this._position_;
		});

		GETSET$(0,__proto__,'length',function(){
			return this._length;
			},function(value){
			if (this._allocated_ < value)
				this.___resizeBuffer (this._allocated_=Math.floor (Math.max (value,this._allocated_ *2)));
			else if (this._allocated_ > value)
			this.___resizeBuffer (this._allocated_=value);
			this._length=value;
		});

		GETSET$(0,__proto__,'endian',function(){
			return this._littleEndian_ ? "littleEndian" :"bigEndian";
			},function(endianStr){
			this._littleEndian_=(endianStr=="littleEndian");
		});

		GETSET$(0,__proto__,'position',function(){
			return this._position_;
			},function(pos){
			if (pos < this._length)
				this._position_=pos < 0?0:pos;
			else{
				this._position_=pos;
				this.length=pos;
			}
		});

		ByteArray.__ofBuffer=function(buffer){
			var bytes=/*__JS__ */new ByteArray ();
			bytes.length=bytes.allocated=buffer.byteLength;
			bytes.data=/*__JS__ */new DataView(buffer);
			bytes.byteView=/*__JS__ */new Uint8Array(buffer);
			return bytes;
		}

		ByteArray.getTraitsInfoRef=function(arr,ti){
			var i=0,len=arr.length;
			for(i=0;i<len;i++){
				if (ByteArray.equalsTraitsInfo(ti,arr[i]))return i;
			}
			return-1;
		}

		ByteArray.equalsTraitsInfo=function(ti1,ti2){
			if (ti1==ti2){
				return true;
			}
			if (!ti1.className===ti2.className){
				return false;
			}
			if(ti1.properties.length !=ti2.properties.length){
				return false;
			};
			var len=ti1.properties.length;
			var prop;
			ti1.properties.sort();ti2.properties.sort();
			for(var i=0;i<len;i++){
				if(ti1.properties[i] !=ti2.properties[i]){
					return false;
				}
			}
			return true;
		}

		ByteArray.BIG_ENDIAN="bigEndian";
		ByteArray.LITTLE_ENDIAN="littleEndian";
		ByteArray.UNDEFINED_TYPE=0;
		ByteArray.NULL_TYPE=1;
		ByteArray.FALSE_TYPE=2;
		ByteArray.TRUE_TYPE=3;
		ByteArray.INTEGER_TYPE=4;
		ByteArray.DOUBLE_TYPE=5;
		ByteArray.STRING_TYPE=6;
		ByteArray.XML_TYPE=7;
		ByteArray.DATE_TYPE=8;
		ByteArray.ARRAY_TYPE=9;
		ByteArray.OBJECT_TYPE=10;
		ByteArray.AVMPLUSXML_TYPE=11;
		ByteArray.BYTEARRAY_TYPE=12;
		ByteArray.EMPTY_STRING="";
		ByteArray.UINT29_MASK=0x1FFFFFFF;
		ByteArray.INT28_MAX_VALUE=0x0FFFFFFF;
		ByteArray.INT28_MIN_VALUE=-268435456;
		return ByteArray;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/int.jas
	var int=(function(){
		function int(value){
			(value===void 0)&& (value=0);
			if(value==true)return 1;
			return !value?0:int.safe_int(LAYABOX.parseInt(value));
		}

		CLASS$(int,'int',true,false);
		var __proto__=int.prototype;
		__proto__.toString=function(radix){
			(radix===void 0)&& (radix=10);
			return Number(this).toString(radix);
		}

		__proto__.valueOf=function(){
			return this;
		}

		__proto__.toExponential=function(p){
			(p===void 0)&& (p=0);
			return Number(this).toExponential(p);
		}

		__proto__.toPrecision=function(p){
			(p===void 0)&& (p=0);
			return Number(this).toPrecision(p);
		}

		__proto__.toFixed=function(p){
			(p===void 0)&& (p=0);
			return Number(this).toFixed(p);
		}

		int.safe_int=function(x){
			var lsw=(x & 0xFFFF);
			var msw=(x >> 16)+(lsw >> 16);
			return (msw << 16)| (lsw & 0xFFFF);
		}

		int.MIN_VALUE=-2147483648;
		int.MAX_VALUE=2147483647;
		int.length=1;
		return int;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/eventdispatcher.as
	var EventDispatcher=/*iflash.events.EventDispatcher*/(function(){
		function EventDispatcher(target){
			this._eventListener_=null;
			this._type_=0;
			this.hidden=2;
			this._repaint_=0;
			this._modle_=null;
			this._private_={};
			this._id_=(++EventDispatcher.__LASTID__);
			this._deepIndex=0;
		}

		CLASS$(EventDispatcher,'iflash.events.EventDispatcher',true,true);
		var __proto__=EventDispatcher.prototype;
		LAYABOX.implements(__proto__,{"iflash.events.IEventDispatcher":true,"iflash.laya.system.IObject":true})
		__proto__.checkType=function(type){
			return (this._type_ & type)!=0;
		}

		__proto__.addType=function(type){
			this._type_|=type;
		}

		__proto__.removeType=function(type){
			this._type_&=(~type);
		}

		__proto__.lyAddEventListener=function(type,listener,useCapture,priority,useWeakReference){
			(useCapture===void 0)&& (useCapture=false);
			(priority===void 0)&& (priority=0);
			(useWeakReference===void 0)&& (useWeakReference=false);
			if (listener==null){
				return null;
			}
			if (type==/*iflash.events.Event.ADDED*/"added")
				EventDispatcher._useCountADDED++;
			if (this !=Laya.window && type==/*iflash.events.Event.ENTER_FRAME*/"enterFrame"){
				var l=Laya.window.lyAddEventListener(type,listener,useCapture,priority,useWeakReference);
				l._target_=this;
				return l;
			}
			listener=Method.jsToEventFun(listener);
			if (this._eventListener_==null)
				this._eventListener_=[];
			var thisType=this._eventListener_[type];
			if (!thisType)
				thisType=this._eventListener_[type]=[];
			else{
				if (thisType.length > 0){
					for (var i=0,sz=thisType.length;i < sz;i++){
						if (thisType[i] && thisType[i].listener==listener)
							return thisType[i];
					}
				}
			};
			var e=EventListener.__create__(listener,useCapture,priority,useWeakReference,this);
			thisType.push(e);
			return e;
		}

		__proto__.addEventListener=function(type,listener,useCapture,priority,useWeakReference){
			(useCapture===void 0)&& (useCapture=false);
			(priority===void 0)&& (priority=0);
			(useWeakReference===void 0)&& (useWeakReference=false);
			this.lyAddEventListener(type,listener,useCapture,priority,useWeakReference);
		}

		__proto__.dispatchEvent=function(event){
			if (event.bubbles){
				event._lytarget=this;
				var target=this;
				var ret=false;
				while (target){
					if (target.lyDispatchEvent(event)){
						ret=true;
					}
					target=target.parent;
				}
				return ret;
			}
			else{
				return this.lyDispatchEvent2(event);
			}
		}

		__proto__.addOneEventListener=function(type,listener){
			if (this._eventListener_==null)
				this._eventListener_=[];
			var thisType=this._eventListener_[type];
			if (!thisType)
				thisType=this._eventListener_[type]=[];
			thisType.push(listener);
		}

		__proto__.lyDispatchEvent=function(event){
			if (this._eventListener_==null)
				return false;
			var thisType;
			if ((typeof event=='string')){
				thisType=this._eventListener_[ event];
				if (!thisType)
					return false;
				event=new Event(event);
			}
			else{
				thisType=this._eventListener_[event.type];
				if (!thisType)
					return false;
			}
			(thisType[-1]==null)&& (thisType[-1]=0);
			thisType[-1]++;
			var sz=thisType.length+0,bremove=false;
			event._lytarget=event._lytarget ? event._lytarget :this;
			event._currentTarget_=this;
			for (var i=0;i < sz;i++){
				if (!thisType[i] || thisType[i].run(this,event)==false)
					bremove=true;
			}
			if (bremove && thisType[-1]==1){
				var tsz=0;
				for (i=0,sz=thisType.length;i < sz;i++){
					var oe=thisType[i];
					if (oe==null || oe._deleted_)
						continue ;
					thisType[tsz]=thisType[i];
					tsz++;
				}
				thisType.length=tsz;
				if (thisType.length==0)
					this._eventListener_[event.type]=null;
			}
			thisType[-1]--;
			return true;
		}

		__proto__.lyDispatchEvent2=function(event){
			if (this._eventListener_==null)
				return false;
			var thisType;
			if ((typeof event=='string')){
				thisType=this._eventListener_[ event];
				if (!thisType)
					return false;
				event=new Event(event);
			}
			else{
				thisType=this._eventListener_[event.type];
				if (!thisType)
					return false;
			}
			(thisType[-1]==null)&& (thisType[-1]=0);
			thisType[-1]++;
			var sz=thisType.length+0,bremove=false;
			event._lytarget=this;
			event._currentTarget_=this;
			for (var i=0;i < sz;i++){
				if (event._type_==8){
					event._type_=0;
					break ;
				}
				else{
					if (!thisType[i] || thisType[i].run(this,event)==false)
						bremove=true;
				}
			}
			if (bremove && thisType[-1]==1){
				var tsz=0;
				for (i=0,sz=thisType.length;i < sz;i++){
					var oe=thisType[i];
					if (oe==null || oe._deleted_)
						continue ;
					thisType[tsz]=thisType[i];
					tsz++;
				}
				thisType.length=tsz;
				if (thisType.length==0)
					this._eventListener_[event.type]=null;
			}
			thisType[-1]--;
			return true;
		}

		__proto__.hasEventListener=function(type){
			var b=this._eventListener_ && this._eventListener_[type] !=null && this._eventListener_[type].length > 0;
			if(b){
				var arr=this._eventListener_[type];
				var len=arr.length;
				for(var i=0;i<len;i++){
					b=arr[i] !=null;
					if(b){
						break ;
					}
				}
				if(!b)arr.length=0;
			}
			return b;
		}

		__proto__.removeEventListener=function(type,listener,useCapture){
			(useCapture===void 0)&& (useCapture=false);
			var thisType;
			if (type==/*iflash.events.Event.ENTER_FRAME*/"enterFrame" && this !=Laya.window){
				Laya.window.removeEventListener(type,listener,useCapture);
				return;
			}
			if (!this._eventListener_)
				return;
			thisType=this._eventListener_[type];
			if (thisType){
				for (var i=0,sz=thisType.length;i < sz;i++){
					var oe=thisType[i];
					if (oe && (oe.listener==listener)){
						oe.destroy();
						thisType[i]=null;
					}
				}
			}
			else{
				if (type==/*iflash.events.Event.ADDED*/"added")
					EventDispatcher._useCountADDED--;
			}
		}

		__proto__.willTrigger=function(type){
			return false;
		}

		__proto__.evalEvent=function(event){
			var listeners=this._eventListener_ ? this._eventListener_[event.type] :null;
			var numListeners=listeners==null ? 0 :listeners.length;
			if (numListeners){
				for (var i=0;i < numListeners;++i){
					var listener=listeners[i];
					if (!listener)
						continue ;
					event._currentTarget_=this;
					listener.run(this,event);
					if (event.stopsImmediatePropagation)
						return true;
				}
				return event.stopsPropagation;
			}
			else{
				return false;
			}
		}

		__proto__._removeEvents_=function(){
			(this._eventListener_)&& (this._eventListener_.length=0);
		}

		GETSET$(0,__proto__,'deleted',function(){
			return (this._type_ & 0x1)!=0;
			},function(b){
			if ((this._type_ & 0x1)==0){
				this._type_|=0x1;
				this._eventListener_=null;
			}
		});

		GETSET$(1,EventDispatcher,'_isOpenTypeAdded',function(){
			return EventDispatcher._useCountADDED !=0;
		});

		EventDispatcher._useCountADDED=0;
		EventDispatcher.TYPE_DELETED=0x1;
		EventDispatcher.document=null
		EventDispatcher.window=null
		EventDispatcher.__NULLARRAY__=[];
		EventDispatcher.__LASTID__=0;
		return EventDispatcher;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/event.as
	var Event=/*iflash.events.Event*/(function(){
		function Event(type,bubbles,cancelable,_d){
			this.type=null;
			this._lytarget=null;
			this._currentTarget_=null;
			this._type_=0;
			this._lyData=null;
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			this._type_=0;
			this.bubbles=bubbles;
			this.type=type;
			this.cancelable=cancelable;
			!this._lyData && (this._lyData=_d);
		}

		CLASS$(Event,'iflash.events.Event',true,false);
		var __proto__=Event.prototype;
		__proto__._lysetTarget=function(obj){
			this._lytarget=obj;
		}

		__proto__.clone=function(){
			return new Event(this.type,this.bubbles,this.cancelable,this._lyData);
		}

		__proto__.stopPropagation=function(){
			this.stopsPropagation=this.returnValue=true;
		}

		__proto__.stopImmediatePropagation=function(){
			this.stopsImmediatePropagation=true;
		}

		__proto__.formatToString=function(className,__rest){
			var rest=[];for(var i=1,sz=arguments.length;i<sz;i++)rest.push(arguments[i]);
			return null;
		}

		__proto__.isDefaultPrevented=function(){
			return false;
		}

		__proto__.preventDefault=function(){}
		__proto__.toString=function(){
			return "event:"+this._type_;
		}

		__proto__.destory=function(){
			this._lytarget=null;
			this._currentTarget_=null;
		}

		__proto__.toMouseEvent=function(){
			if (Event.__helpMouseEvt__==null){
				Event.__helpMouseEvt__=new MouseEvent("");
			}
			return Event.__helpMouseEvt__;
		}

		__proto__.dispatch=function(chain){
			if (chain && chain.length){
				this.resetStops();
				var chainLength=this.bubbles ? chain.length :1;
				var endIndex=chain.length-1;
				var chainElement=chain [endIndex];
				var i=0;
				this._lysetTarget(chainElement);
				this.dispatchTargetsEvt(this.toMouseEvent(),chain,chainLength,endIndex);
				if ((this instanceof iflash.events.TouchEvent )){
					if(Multitouch.inputMode !=/*iflash.ui.MultitouchInputMode.GESTURE*/"gesture"){
						this.dispatchTargetsEvt(this,chain,chainLength,endIndex);
					}
					else{
						var gestureEvt=TouchInfo.dealGestrueHandler(this);
						if(gestureEvt){
							this.dispatchTargetsEvt(gestureEvt,chain,chainLength,endIndex);
						}
					}
				}
			}
		}

		__proto__.dispatchTargetsEvt=function(evt,chain,chainLength,endIndex){
			for (var i=0;i < chainLength;i++){
				if (evt.stopsImmediatePropagation)
					break ;
				chain[endIndex-i].evalEvent(evt);
				if (evt.stopsPropagation)
					break ;
			}
		}

		__proto__.resetStops=function(){
			this.stopsImmediatePropagation=false;
			this.stopsPropagation=false;
		}

		__proto__.checkType=function(type){
			return (this._type_ & type)!=0;
		}

		__proto__.addType=function(type){
			this._type_|=type;
		}

		__proto__.removeType=function(type){
			(this._type_&=~type);
		}

		GETSET$(0,__proto__,'eventPhase',function(){
			return 0;
		});

		GETSET$(0,__proto__,'stopsPropagation',function(){
			return (this._type_ & 0x10)!=0;
			},function(value){
			if (value)
				this._type_|=0x10;
			else
			this._type_&=~0x10;
		});

		GETSET$(0,__proto__,'returnValue',function(){
			return this.checkType(0x4);
			},function(b){
			if (b)
				this.addType(0x4);
			else
			this.removeType(0x4);
		});

		GETSET$(0,__proto__,'stopsImmediatePropagation',function(){
			return (this._type_ & 0x8)!=0;
			},function(value){
			if (value)
				this._type_|=0x8;
			else
			this._type_&=~0x8;
		});

		GETSET$(0,__proto__,'currentTarget',function(){
			return this._currentTarget_;
		});

		GETSET$(0,__proto__,'target',function(){
			return this._lytarget;
		});

		GETSET$(0,__proto__,'bubbles',function(){
			return this.checkType(0x1);
			},function(b){
			if (b)
				this.addType(0x1);
			else
			this.removeType(0x1);
		});

		GETSET$(0,__proto__,'cancelable',function(){
			return this.checkType(0x2);
			},function(b){
			if (b)
				this.addType(0x2);
			else
			this.removeType(0x2);
		});

		GETSET$(0,__proto__,'lyData',function(){
			return this._lyData;
			},function(value){
			this._lyData=value;
		});

		Event.copyFromByObj=function(dstO,srcO,namesO){
			if (!namesO)
				return;
			var tKey;
			for (tKey in namesO){
				dstO[tKey]=srcO[namesO[tKey]];
			}
		}

		Event.ACTIVATE="activate";
		Event.ADDED="added";
		Event.ADDED_TO_STAGE="addedToStage";
		Event.CANCEL="cancel";
		Event.CHANGE="change";
		Event.DESTROY="destroy";
		Event.CLEAR="clear";
		Event.CLOSE="close";
		Event.COMPLETE="complete";
		Event.CONNECT="connect";
		Event.CONTEXT3D_CREATE="context3DCreate";
		Event.COPY="copy";
		Event.CUT="cut";
		Event.DEACTIVATE="deactivate";
		Event.ENTER_FRAME="enterFrame";
		Event.EXIT_FRAME="exitFrame";
		Event.FRAME_CONSTRUCTED="frameConstructed";
		Event.FULLSCREEN="fullScreen";
		Event.ID3="id3";
		Event.INIT="init";
		Event.MOUSE_LEAVE="mouseLeave";
		Event.OPEN="open";
		Event.LOADED="loaded";
		Event.PASTE="paste";
		Event.ONRESHOW="onreshow";
		Event.REMOVED="removed";
		Event.REMOVED_FROM_STAGE="removedFromStage";
		Event.RENDER="render";
		Event.RESIZE="resize";
		Event.REPOS="repos";
		Event.SCROLL="scroll";
		Event.SCROLLSIZE="scrollsize";
		Event.SELECT="select";
		Event.SELECT_ALL="selectAll";
		Event.SOUND_COMPLETE="soundComplete";
		Event.TAB_CHILDREN_CHANGE="tabChildrenChange";
		Event.TAB_ENABLED_CHANGE="tabEnabledChange";
		Event.TAB_INDEX_CHANGE="tabIndexChange";
		Event.TEXT_INTERACTION_MODE_CHANGE="textInteractionModeChange";
		Event.UNLOAD="unload";
		Event.ONPARENT="onparent";
		Event.TODOCUMENT="todocument";
		Event.ERROR="error";
		Event.MESSAGE="message";
		Event.TYPE_BUBBLES=0x1;
		Event.TYPE_CANCELABLE=0x2;
		Event.TYPE_RETURNVALUE=0x4;
		Event.TYPE_STOPSIMMEDIATEPROPAGATION=0x8;
		Event.TYPE_STOPSPROPAGATION=0x10;
		Event.__helpMouseEvt__=null
		STATICATTR$(Event,
		['INPUT_EVENT_TYPE_MAP',function(){return this.INPUT_EVENT_TYPE_MAP={"mousedown":"touchstart","mouseup":"touchend","mousemove":"touchmove"};}
		]);
		return Event;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/eventlistener.as
	var EventListener=/*iflash.events.EventListener*/(function(){
		function EventListener(listener,useCapture,priority,useWeakReference,ower){
			this.listener=null;
			this.useCapture=false;
			this.priority=0;
			this.useWeakReference=false;
			this._ower_=null;
			this._deleted_=false;
			this.data=null;
			this._target_=null;
			this.reset(listener,useCapture,priority,useWeakReference ,ower);
		}

		CLASS$(EventListener,'iflash.events.EventListener',true,true);
		var __proto__=EventListener.prototype;
		__proto__.setOwer=function(o){
			this._ower_=o;
		}

		__proto__.run=function(o,event){
			if ((this._ower_ && this._ower_.deleted)|| this.listener==null){
				this.destroy();
				return false;
			};
			var isfalse=true;
			if (this._target_){
				event._lytarget=this._target_;
				event._currentTarget_=this._target_;
				isfalse=this.callListener(event);
				event._lytarget=o;
			}
			else{
				isfalse=this.callListener(event);
			}
			if(isfalse)this.destroy();
			return !isfalse;
		}

		__proto__.callListener=function(event){
			var isfalse=true;
			isfalse=this.listener.call(this._ower_,event)==false;
			return isfalse;
		}

		__proto__.reset=function(listener,useCapture,priority,useWeakReference,ower){
			this.listener=listener;
			this.useCapture=useCapture;
			this.priority=priority;
			this.useWeakReference=useWeakReference;
			this._ower_=ower;
			this._deleted_=false;
			this.data=null;
		}

		__proto__.destroy=function(){
			if (!this._deleted_){
				this._ower_=null;
				this.listener=null;
				this._target_=null;
				this._deleted_=true;
				this.data=null;
				EventListener.__DisabledEventListener__.push(this);
			}
		}

		EventListener.__create__=function(listener,useCapture,priority,useWeakReference,ower){
			return new EventListener(listener,useCapture,priority,useWeakReference ,ower);
		}

		EventListener.__DisabledEventListener__=[];
		return EventListener;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/eventmanager.as
	var EventManager=/*iflash.events.EventManager*/(function(){
		function EventManager(){
			this._curid_=0;
			this._mouseOverNodes_=[];
			this._currentSysEvent=null;
			this._keyEvents_=[];
			this._delayTime_=100;
			this.DT_RD=50;
			this._chainTop=null;
			this._clientX=0;
			this._clientY=0;
			this._mouseDownTarget=null;
			this._curChainTop=null;
			this.enableTouch=false;
			this._isMoveUpdated=false;
			this.dealAccepInput=this.dealAcceptSysMouseInput;
			this._bubbleChain=[];
		}

		CLASS$(EventManager,'iflash.events.EventManager',true,true);
		var __proto__=EventManager.prototype;
		__proto__.acceptSystemKeyEvent=function(event){
			this._keyEvents_.push(event);
		}

		__proto__._dispatchKeyEvent_=function(event){
			switch(event.type){
				case /*iflash.events.KeyboardEvent.KEY_DOWN*/"keyDown":
					Laya.document.onkeydown && Laya.document.onkeydown(event);
					break ;
				case /*iflash.events.KeyboardEvent.KEY_UP*/"keyUp":
					Laya.document.onkeyup&&Laya.document.onkeyup(event);
				}
			event.currentTarget && event.currentTarget.lyDispatchEvent(event);
			event._currentTarget_=Laya.document.activeElement;
			Laya.document.lyDispatchEvent(event);
		}

		__proto__.dispatchSystemEvent=function(delay){
			(delay===void 0)&& (delay=0);
			var i=0;
			if(this._currentSysEvent){
				this.dealAccepInput();
			}
			if(!this._keyEvents_.length)return;
			var ks=this._keyEvents_,sz=ks.length;this._keyEvents_=[];
			for (i=0;i < sz;i++){
				var keyevent=new iflash.events.KeyboardEvent(ks[i].type);
				keyevent.changeEvent(ks[i])
				EventManager.stage.lyDispatchEvent(keyevent);
			}
		}

		__proto__.dealAcceptSysMouseInput=function(){
			EventManager.clientToStage(this._currentSysEvent.clientX,this._currentSysEvent.clientY);
			if(this._currentSysEvent.type !="mousemove")return;
			EventManager._mouseEvent=MouseEvent.copyFromSysEvent(this._currentSysEvent);
			if(EventManager._mouseEvent.button!=0)return;
			this._curChainTop=EventManager.stage._hitTest_(EventManager._stageX,EventManager._stageY);
			var curBubbleChain=[];
			if(this._chainTop !=this._curChainTop){
				curBubbleChain=this.getTargetBubbleChain(this._curChainTop);
				var common=-1;
				var len=curBubbleChain.length;
				for(var i=0;i<len;i++){
					if(this._bubbleChain.length <=i || curBubbleChain[i] !=this._bubbleChain[i])break ;
					common=i;
				};
				var mouseOutEvt=EventManager._mouseEvent;
				mouseOutEvt.type=/*iflash.events.MouseEvent.MOUSE_OUT*/"mouseOut";
				mouseOutEvt.bubbles=true;
				mouseOutEvt.relatedObject=this._curChainTop;
				mouseOutEvt.dispatch(this._bubbleChain);
				var tempChain=[];
				for(i=this._bubbleChain.length-1;i>common;i--){
					var rolloutEvt=EventManager._mouseEvent;
					rolloutEvt.type=/*iflash.events.MouseEvent.ROLL_OUT*/"rollOut";
					rolloutEvt.bubbles=false;
					rolloutEvt.relatedObject=this._curChainTop;
					tempChain.length=0;
					tempChain.push(this._bubbleChain[i]);
					rolloutEvt.dispatch(tempChain);
				}
				for(i=curBubbleChain.length-1;i>common;i--){
					var rolloverEvt=EventManager._mouseEvent;
					rolloverEvt.type=/*iflash.events.MouseEvent.ROLL_OVER*/"rollOver";
					rolloverEvt.bubbles=false;
					rolloverEvt.relatedObject=this._chainTop;
					tempChain.length=0;
					tempChain.push(curBubbleChain[i]);
					rolloverEvt.dispatch(tempChain);
				};
				var mouseoverEvt=EventManager._mouseEvent;
				mouseoverEvt.type=/*iflash.events.MouseEvent.MOUSE_OVER*/"mouseOver";
				mouseoverEvt.bubbles=true;
				mouseoverEvt.relatedObject=this._chainTop;
				mouseoverEvt.dispatch(curBubbleChain);
				this._chainTop=this._curChainTop;
				this._bubbleChain=curBubbleChain;
			}
			if(EventManager._stageX !=this._clientX || EventManager._stageY!=this._clientY){
				this._clientX=EventManager._stageX;this._clientY=EventManager._stageY;
				var mousemoveEvt=EventManager._mouseEvent;
				mousemoveEvt.bubbles=true;
				mousemoveEvt.relatedObject=this._chainTop;
				mousemoveEvt.type=/*iflash.events.MouseEvent.MOUSE_MOVE*/"mouseMove";
				if(this._bubbleChain){
					mousemoveEvt.dispatch(this._bubbleChain);
				}
			}
			if(EventManager._mouseEvent)EventManager._mouseEvent.destory();
			this._currentSysEvent=null;
		}

		__proto__.dealAcceptTouchInput=function(){
			if(this._currentSysEvent.touches.length !=0){
				if(this._currentSysEvent.type !="touchmove" || !this._isMoveUpdated)return;
				this._isMoveUpdated=false;
				TouchEvent.touchSysEvent(this._currentSysEvent,BIND$(this,this.touchMoveInterval));
			}
			else{
				this._currentSysEvent=null;
			}
		}

		__proto__.touchMoveInterval=function(event){
			var touchInfo=TouchInfo.getTouchInfo(event);
			touchInfo.curChainTop=EventManager.stage._hitTest_(event.stageX,event.stageY);
			if(touchInfo.chainTop !=touchInfo.curChainTop){
				var curBubbleChain=this.getTargetBubbleChain(touchInfo.curChainTop);
				var common=-1;
				var len=curBubbleChain.length;
				for(var i=0;i<len;i++){
					if(touchInfo.bubbleChain.length <=i || curBubbleChain[i] !=touchInfo.bubbleChain[i])break ;
					common=i;
				}
				event.type=/*iflash.events.TouchEvent.TOUCH_OUT*/"touchOut";
				event.bubbles=true;
				event.relatedObject=touchInfo.curChainTop;
				event.dispatch(touchInfo.bubbleChain);
				var tempChain=[];
				for(i=touchInfo.bubbleChain.length-1;i>common;i--){
					event.type=/*iflash.events.TouchEvent.TOUCH_ROLL_OUT*/"touchRollOut";
					event.bubbles=false;
					event.relatedObject=touchInfo.curChainTop;
					tempChain.length=0;
					tempChain.push(touchInfo.bubbleChain[i]);
					event.dispatch(tempChain);
				}
				for(i=curBubbleChain.length-1;i>common;i--){
					event.type=/*iflash.events.TouchEvent.TOUCH_ROLL_OVER*/"touchRollOver";
					event.bubbles=false;
					event.relatedObject=touchInfo.chainTop;
					tempChain.length=0;
					tempChain.push(curBubbleChain[i]);
					event.dispatch(tempChain);
				}
				event.type=/*iflash.events.TouchEvent.TOUCH_OVER*/"touchOver";
				event.bubbles=true;
				event.relatedObject=touchInfo.chainTop;
				event.dispatch(curBubbleChain);
				touchInfo.chainTop=touchInfo.curChainTop;
				touchInfo.bubbleChain=curBubbleChain;
			}
			if(event.stageX!=touchInfo.stageX || event.stageY !=touchInfo.stageY){
				event.bubbles=true;
				event.type=/*iflash.events.TouchEvent.TOUCH_MOVE*/"touchMove";
				event.relatedObject=touchInfo.chainTop;
				if(touchInfo.bubbleChain){
					event.dispatch(touchInfo.bubbleChain);
				}
				touchInfo.touchMove(event);
			}
			if(event)event.destory();
		}

		__proto__.getTargetBubbleChain=function(target){
			var bubbleChain=[];
			var p=target;
			while(p){
				bubbleChain.unshift(p);
				p=p.parent;
			}
			return bubbleChain;
		}

		__proto__.dispatchTargetEvent=function(target,event){
			event.dispatch(this.getTargetBubbleChain(target));
		}

		__proto__.acceptSystemMouseEvent=function(event){
			this._currentSysEvent=event;
			if(TouchEvent.isTypeMove(this._currentSysEvent.type)){
				this._isMoveUpdated=true;
				return;
			}
			if(!this.enableTouch){
				EventManager._mouseEvent=MouseEvent.copyFromSysEvent(this._currentSysEvent);
				if(EventManager._mouseEvent.button!=0)return;
				this._curChainTop=EventManager.stage._hitTest_(EventManager._stageX,EventManager._stageY);
				this.dispatchTargetEvent(this._curChainTop,EventManager._mouseEvent);
				if(this._currentSysEvent.type=="mousedown"){
					this._mouseDownTarget=this._curChainTop;
				}
				else if(this._currentSysEvent.type=="mouseup"){
					if(this._curChainTop==this._mouseDownTarget){
						EventManager._mouseEvent.bubbles=true;
						EventManager._mouseEvent.type=/*iflash.events.MouseEvent.CLICK*/"click";
						this.dispatchTargetEvent(this._curChainTop,EventManager._mouseEvent);
					}
					this._mouseDownTarget=null;
				}
				if(EventManager._mouseEvent)EventManager._mouseEvent.destory();
			}
			else{
				if(event.preventDefault){
					event.preventDefault();
				}
				TouchEvent.touchSysEvent(event,BIND$(this,this.touchMomentHandler));
			}
		}

		__proto__.touchMomentHandler=function(event){
			var touchInfo=TouchInfo.getTouchInfo(event);
			touchInfo.curChainTop=EventManager.stage._hitTest_(EventManager._stageX,EventManager._stageY);
			touchInfo.stageX=EventManager._stageX;touchInfo.stageY=EventManager._stageY;
			if(event.type==/*iflash.events.TouchEvent.TOUCH_BEGIN*/"touchBegin"){
				touchInfo.touchBegin(event);
				this.dispatchTargetEvent(touchInfo.curChainTop,event);
			}
			else if(event.type==/*iflash.events.TouchEvent.TOUCH_END*/"touchEnd"){
				touchInfo.touchEnd(event);
				this.dispatchTargetEvent(touchInfo.curChainTop,event);
				if(touchInfo.curChainTop==touchInfo.touchDownTarget){
					event.type=/*iflash.events.TouchEvent.TOUCH_TAP*/"touchTap";
					this.dispatchTargetEvent(touchInfo.curChainTop,event);
				}
				touchInfo.destory();
			}
			if(event)event.destory();
		}

		EventManager.clientToStage=function(x,y){
			if(Laya.window.mouseX==x && Laya.window.mouseY==y)return;
			var tempX=x;
			if (Laya.document.adapter.screenRotate !=0){
				x=y;
				y=Laya.window.innerHeight-tempX;
			}
			EventManager._stageX=(x-Laya.document.body._left_)/Laya.window.scale.x;
			EventManager._stageY=(y-Laya.document.body._top_)/Laya.window.scale.y;
			Laya.document.mouseX=EventManager._stageX;
			Laya.document.mouseY=EventManager._stageY;
			Laya.window.mouseX=x;
			Laya.window.mouseY=y;
		}

		EventManager.mgr=new EventManager();
		EventManager.stage=null
		EventManager._stageX=0;
		EventManager._stageY=0;
		EventManager._mouseEvent=null
		STATICATTR$(EventManager,
		['HELPER_POINT',function(){return this.HELPER_POINT=new Point();}
		]);
		return EventManager;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/eventphase.as
	var EventPhase=/*iflash.events.EventPhase*/(function(){
		function EventPhase(){}
		CLASS$(EventPhase,'iflash.events.EventPhase',true,true);
		EventPhase.AT_TARGET=2;
		EventPhase.BUBBLING_PHASE=3;
		EventPhase.CAPTURING_PHASE=1;
		return EventPhase;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/gesturephase.as
	var GesturePhase=/*iflash.events.GesturePhase*/(function(){
		function GesturePhase(){}
		CLASS$(GesturePhase,'iflash.events.GesturePhase',true,true);
		GesturePhase.ALL="all";
		GesturePhase.BEGIN="begin";
		GesturePhase.END="end";
		GesturePhase.UPDATE="update";
		STATICATTR$(GesturePhase,
		['GESTURE_PHASE_MAP_TOUCH',function(){return this.GESTURE_PHASE_MAP_TOUCH={
				"touchBegin":"begin",
				"touchEnd":"end",
				"touchMove":"update",
				"touchOut":"all",
				"touchOver":"all",
				"touchRollOut":"all",
				"touchRollOver":"all",
				"touchTap":"end"
		};}

		]);
		return GesturePhase;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/throttletype.as
	var ThrottleType=/*iflash.events.ThrottleType*/(function(){
		function ThrottleType(){};
		CLASS$(ThrottleType,'iflash.events.ThrottleType',true,true);
		ThrottleType.PAUSE="pause";
		ThrottleType.RESUME="resume";
		ThrottleType.THROTTLE="throttle";
		return ThrottleType;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/touch.as
	var Touch=/*iflash.events.Touch*/(function(){
		function Touch(id){
			this._id_=0;
			this._globalX_=NaN;
			this._globalY_=NaN;
			this._previousGlobalX_=NaN;
			this._previousGlobalY_=NaN;
			this._tapCount_=0;
			this._phase_=null;
			this._target_=null;
			this._timestamp_=NaN;
			this._pressure_=NaN;
			this._width_=NaN;
			this._height_=NaN;
			this._bubbleChain_=null;
			this.touchType=null;
			this.nativeEvent=null;
			this._id_=id;
			this._tapCount_=0;
			this._phase_=/*iflash.events.TouchPhase.HOVER*/"hover";
			this._pressure_=this._width_=this._height_=1.0;
			this._bubbleChain_=/*new vector.<>*/[];
		}

		CLASS$(Touch,'iflash.events.Touch',true,true);
		var __proto__=Touch.prototype;
		__proto__.getLocation=function(space,resultPoint){
			Touch.SHELPER_POINT.setTo(this._globalX_,this._globalY_);
			space.globalToLocal(Touch.SHELPER_POINT,resultPoint);
			return resultPoint;
		}

		__proto__.getPreviousLocation=function(space,resultPoint){
			Touch.SHELPER_POINT.setTo(this._previousGlobalX_,this._previousGlobalY_);
			return space.globalToLocal(Touch.SHELPER_POINT,resultPoint);
		}

		__proto__.getMovement=function(space,resultPoint){
			if (resultPoint==null)resultPoint=new Point();
			this.getLocation(space,resultPoint);
			var x=resultPoint.x;
			var y=resultPoint.y;
			this.getPreviousLocation(space,resultPoint);
			resultPoint.setTo(x-resultPoint.x,y-resultPoint.y);
			return resultPoint;
		}

		__proto__.isTouching=function(target){
			return this._bubbleChain_.indexOf(target)!=-1;
		}

		__proto__.clone=function(){
			var result=new Touch(this._id_);
			result._globalX_=this._globalX_;
			result._globalY_=this._globalY_;
			result._previousGlobalX_=this._previousGlobalX_;
			result._previousGlobalY_=this._previousGlobalY_;
			result._phase_=this._phase_;
			result._tapCount_=this._tapCount_;
			result._timestamp_=this._timestamp_;
			result._pressure_=this._pressure_;
			result._width_=this._width_;
			result._height_=this._height_;
			result.target=this._target_;
			result.touchType=this.touchType;
			result.nativeEvent=this.nativeEvent;
			return result;
		}

		__proto__.updateBubbleChain=function(){
			if (this._target_){
				var length=1;
				var element=this._target_;
				this._bubbleChain_.length=1;
				this._bubbleChain_[0]=element;
				while ((element=element.parent)!=null)
				this._bubbleChain_[int(length++)]=element;
			}else this._bubbleChain_.length=0;
		}

		__proto__.dispatchEvent=function(event){this._target_&&event.dispatch(this._bubbleChain_);}
		GETSET$(0,__proto__,'id',function(){return this._id_;});
		GETSET$(0,__proto__,'previousGlobalX',function(){return this._previousGlobalX_;});
		GETSET$(0,__proto__,'previousGlobalY',function(){return this._previousGlobalY_;});
		GETSET$(0,__proto__,'globalX',function(){return this._globalX_;},function(value){
			this._previousGlobalX_=this._globalX_ !=this._globalX_ ? value :this._globalX_;
			this._globalX_=value;
		});

		GETSET$(0,__proto__,'globalY',function(){return this._globalY_;},function(value){
			this._previousGlobalY_=this._globalY_ !=this._globalY_ ? value :this._globalY_;
			this._globalY_=value;
		});

		GETSET$(0,__proto__,'target',function(){return this._target_;},function(value){
			if (this._target_ !=value){
				this._target_=value;
				this.updateBubbleChain();
			}
		});

		GETSET$(0,__proto__,'bubbleChain',function(){return this._bubbleChain_.concat();});
		STATICATTR$(Touch,
		['SHELPER_MATRIX',function(){return this.SHELPER_MATRIX=new Matrix();},'SHELPER_POINT',function(){return this.SHELPER_POINT=new Point();}
		]);
		return Touch;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/toucheventintent.as
	var TouchEventIntent=/*iflash.events.TouchEventIntent*/(function(){
		function TouchEventIntent(){}
		CLASS$(TouchEventIntent,'iflash.events.TouchEventIntent',true,true);
		TouchEventIntent.ERASER="eraser";
		TouchEventIntent.PEN="pen";
		TouchEventIntent.UNKNOWN="unknown";
		return TouchEventIntent;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/touchinfo.as
	var TouchInfo=/*iflash.events.TouchInfo*/(function(){
		function TouchInfo(evt){
			this.touchPointID=0;
			this.startTimestamp=0;
			this.endTimestamp=0;
			this.chainTop=null;
			this.stageX=0;
			this.stageY=0;
			this.startX=0;
			this.startY=0;
			this.endX=0;
			this.endY=0;
			this.curChainTop=null;
			this.touchDownTarget=null;
			this.touchEvent=null;
			this.bubbleChain=[];
			this.touchEvent=evt;
			this.touchPointID=evt.touchPointID;
		}

		CLASS$(TouchInfo,'iflash.events.TouchInfo',true,true);
		var __proto__=TouchInfo.prototype;
		__proto__.touchBegin=function(event){
			this.startTimestamp=event.timestamp;
			this.startX=event.stageX;
			this.startY=event.stageY;
			this.stageX=this.startX;
			this.stageY=this.startY;
			this.endX=this.startX;
			this.endY=this.startY;
			this.touchDownTarget=this.curChainTop;
		}

		__proto__.touchEnd=function(event){
			this.endTimestamp=event.timestamp;
			this.endX=event.stageX;
			this.endY=event.stageY;
			this.stageX=this.endX;
			this.stageY=this.endY;
		}

		__proto__.touchMove=function(event){
			this.stageX=event.stageX;
			this.stageY=event.stageY;
		}

		__proto__.destory=function(){
			for (var i=0;i < TouchInfo.touchs.length;i++){
				if (this.touchPointID==TouchInfo.touchs[i].touchPointID){
					TouchInfo.touchs.splice(i,1);
					break ;
				}
			}
			delete TouchInfo.touchInfos[this.touchPointID];
			this.bubbleChain=null;
			this.chainTop=null;
			this.curChainTop=null;
			this.touchDownTarget=null;
			this.touchEvent=null;
		}

		GETSET$(0,__proto__,'localX',function(){
			return this.curChainTop.mouseX;
		});

		GETSET$(0,__proto__,'localY',function(){
			return this.curChainTop.mouseY;
		});

		TouchInfo.getTouchInfo=function(touchEvent){
			var touchInfo=iflash.events.TouchInfo.touchInfos[touchEvent.touchPointID];
			if (touchInfo==null){
				touchInfo=iflash.events.TouchInfo.touchInfos[touchEvent.touchPointID]=new TouchInfo(touchEvent);
				TouchInfo.touchs.push(touchInfo);
			}
			return touchInfo;
		}

		TouchInfo.dealGestrueHandler=function(touchEvent){
			var tLen=TouchInfo.touchs.length;
			if(tLen==2 && touchEvent.type==/*iflash.events.TouchEvent.TOUCH_BEGIN*/"touchBegin"){
				TouchInfo.twoFingerGapTime=Math.abs(TouchInfo.touchs[1].startTimestamp-TouchInfo.touchs[0].startTimestamp);
				TouchInfo.twoFignerDownTime=TouchInfo.touchs[0].startTimestamp;
				TouchInfo.isTwoFingerDown=true;
				TouchInfo.twoFignerDownCount=1;
			}
			else if(tLen!=2 && touchEvent.type==/*iflash.events.TouchEvent.TOUCH_END*/"touchEnd"){
				TouchInfo.isTwoFingerDown=false;
				TouchInfo.twoFignerDownCount=0;
			}
			if(touchEvent.type==/*iflash.events.TouchEvent.TOUCH_TAP*/"touchTap"){
				if(tLen==2 && TouchInfo.twoFingerGapTime<100){
					var twoFingerTapTime=touchEvent.timestamp-TouchInfo.twoFignerDownTime;
					if(twoFingerTapTime-100<50){
						var ge=GestureEvent.getGestureEvent();
						ge._lytarget=touchEvent.target;
						return ge;
					}
				}
			};
			var twoFingerTapTime2=touchEvent.timestamp-TouchInfo.twoFignerDownTime;
			if(tLen==2 && twoFingerTapTime2>120 && (touchEvent.type==/*iflash.events.TouchEvent.TOUCH_MOVE*/"touchMove" || touchEvent.type==/*iflash.events.TouchEvent.TOUCH_END*/"touchEnd")){
				var transformTouchInfo=TouchInfo.touchInfos[touchEvent.touchPointID];
				var t0=TouchInfo.touchInfos[0];
				var t1=TouchInfo.touchInfos[1];
				var transformTouchEvt=new TransformGestureEvent("",true,false,GesturePhase.GESTURE_PHASE_MAP_TOUCH[touchEvent.type]);
				transformTouchEvt.localX=touchEvent.localX;
				transformTouchEvt.localY=touchEvent.localY;
				transformTouchEvt._lytarget=touchEvent._lytarget;
				transformTouchEvt.shiftKey=touchEvent.shiftKey;
				transformTouchEvt.ctrlKey=touchEvent.ctrlKey;
				transformTouchEvt.altKey=touchEvent.altKey;
				transformTouchEvt.offsetX=touchEvent.stageX-transformTouchInfo.stageX;
				transformTouchEvt.offsetY=touchEvent.stageY-transformTouchInfo.stageY;
				if(TouchInfo.twoFignerTouchType==/*iflash.events.TouchEvent.TOUCH_END*/"touchEnd"){
					TouchInfo.twoFignerTouchType="";
					return null;
				}
				TouchInfo.twoFignerTouchType=touchEvent.type;
				if((t0.stageX-t0.startX)*(t1.stageX-t1.startX)>10 && (t0.stageY-t0.startY)*(t1.stageY-t1.startY)>10){
					transformTouchEvt.type=/*iflash.events.TransformGestureEvent.GESTURE_PAN*/"gesturePan";
				}
				else{
					if(TouchInfo.twoFignerDownCount>0){
						transformTouchEvt.phase=/*iflash.events.GesturePhase.BEGIN*/"begin";
						TouchInfo.twoFignerDownCount=0;
					};
					var startVectorX=t1.startX-t0.startX;
					var startVectorY=t1.startY-t0.startY;
					var startDis=Math.sqrt(startVectorX *startVectorX+startVectorY *startVectorY);
					var nowVectorX=t1.stageX-t0.stageX;
					var nowVectorY=t1.stageY-t0.stageY;
					var nowDis=Math.sqrt(nowVectorX *nowVectorX+nowVectorY *nowVectorY);
					var cos=Math.acos((startVectorX *nowVectorX+startVectorY *nowVectorY)/(startDis *nowDis));
					var endVectorX=t1.endX-t0.endX;
					var endVectorY=t1.endY-t0.endY;
					nowVectorX=Math.abs(nowVectorX)<1 ? 1:nowVectorX;
					nowVectorY=Math.abs(nowVectorY)<1 ? 1:nowVectorY;
					endVectorX=Math.abs(endVectorX)<1 ? 1:endVectorX;
					endVectorY=Math.abs(endVectorY)<1 ? 1:endVectorY;
					var nex=nowVectorX/endVectorX;
					var ney=nowVectorY/endVectorY;
					nex=nex>1.1?1.1:nex;nex=nex<0.9?0.9:nex;
					ney=ney>1.1?1.1:ney;ney=ney<0.9?0.9:ney;
					transformTouchEvt.scaleX=nex;
					transformTouchEvt.scaleY=ney;
					transformTouchEvt.type=/*iflash.events.TransformGestureEvent.GESTURE_ZOOM*/"gestureZoom";
					if(cos > 20 *TouchInfo.RAD_UNIT){
						var endDis=Math.sqrt(endVectorX *endVectorX+endVectorY *endVectorY);
						var dir=(endVectorX *nowVectorY-endVectorY *nowVectorX)>=0?1:-1;
						var changeRotation=dir *Math.acos((endVectorX *nowVectorX+endVectorY *nowVectorY)/(endDis *nowDis));
						transformTouchEvt.rotation=changeRotation / TouchInfo.RAD_UNIT;
						transformTouchEvt.type=/*iflash.events.TransformGestureEvent.GESTURE_ROTATE*/"gestureRotate";
					}
					t1.endX=t1.stageX;t0.endX=t0.stageX;
					t1.endY=t1.stageY;t0.endY=t0.stageY;
				}
				return transformTouchEvt;
			}
			if(tLen==1 && touchEvent.type==/*iflash.events.TouchEvent.TOUCH_BEGIN*/"touchBegin"){
				TouchInfo.isSingleFingerDown=true;
				TouchInfo.singleFignerDownTime=touchEvent.timestamp;
			}
			else if(tLen==1 && touchEvent.type==/*iflash.events.TouchEvent.TOUCH_END*/"touchEnd"){
				TouchInfo.isSingleFingerDown=false;
				TouchInfo.singleFignerDownTime=0;
			}
			if(tLen==2 && touchEvent.type==/*iflash.events.TouchEvent.TOUCH_END*/"touchEnd" && TouchInfo.twoFingerGapTime>=100){
				var patge=PressAndTapGestureEvent.getInstance();
				patge._lytarget=touchEvent.target;
				patge.tapLocalX=touchEvent.localX;
				patge.tapLocalY=touchEvent.localY;
				patge.tapStageX=touchEvent.stageX;
				patge.tapStageY=touchEvent.stageY;
				return patge;
			}
			if(tLen==1 && TouchInfo.isSingleFingerDown && touchEvent.type==/*iflash.events.TouchEvent.TOUCH_MOVE*/"touchMove" && TouchInfo.singleFignerDownTime!=0 && (touchEvent.timestamp-TouchInfo.singleFignerDownTime>80)){
				TouchInfo.singleFignerDownTime=0;
				var swipeTouchInfo=TouchInfo.touchs[0];
				var swipeTouchEvt=new TransformGestureEvent(/*iflash.events.TransformGestureEvent.GESTURE_SWIPE*/"gestureSwipe",true,false,GesturePhase.GESTURE_PHASE_MAP_TOUCH[touchEvent.type]);
				swipeTouchEvt.localX=touchEvent.localX;
				swipeTouchEvt.localY=touchEvent.localY;
				swipeTouchEvt._lytarget=touchEvent._lytarget;
				swipeTouchEvt.shiftKey=touchEvent.shiftKey;
				swipeTouchEvt.ctrlKey=touchEvent.ctrlKey;
				swipeTouchEvt.altKey=touchEvent.altKey;
				swipeTouchEvt.offsetX=touchEvent.stageX-swipeTouchInfo.startX>0?1:-1;
				swipeTouchEvt.offsetY=touchEvent.stageY-swipeTouchInfo.startY>0?1:-1;
				return swipeTouchEvt;
			}
			return null;
		}

		TouchInfo.touchInfos={};
		TouchInfo.touchs=[];
		TouchInfo.TWO_FINGER_GAP_MIN_TIME=100;
		TouchInfo.GESTURE_SWIPE_MIN_TIME=80;
		TouchInfo.TRANSFORM_MIN_SIZE=10;
		TouchInfo.MIN_ROTATION_NUM=20;
		TouchInfo.twoFingerGapTime=0;
		TouchInfo.twoFignerDownTime=0;
		TouchInfo.singleFignerDownTime=0;
		TouchInfo.isSingleFingerDown=false;
		TouchInfo.isTwoFingerDown=false;
		TouchInfo.twoFignerDownCount=0;
		TouchInfo.twoFignerTouchType="";
		STATICATTR$(TouchInfo,
		['RAD_UNIT',function(){return this.RAD_UNIT=Math.PI/180;}
		]);
		return TouchInfo;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/touchphase.as
	var TouchPhase=/*iflash.events.TouchPhase*/(function(){
		function TouchPhase(){};
		CLASS$(TouchPhase,'iflash.events.TouchPhase',true,true);
		TouchPhase.HOVER="hover";
		TouchPhase.BEGAN="began";
		TouchPhase.MOVED="moved";
		TouchPhase.STATIONARY="stationary";
		TouchPhase.ENDED="ended";
		return TouchPhase;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/utils/documentadapter.as
	var DocumentAdapter=/*iflash.laya.utils.DocumentAdapter*/(function(){
		function DocumentAdapter(){
			this.autoScaleDifference=0;
			this._screenRotate_=0;
			this._autorotate_="rotator";
			Laya.window.lyAddEventListener(/*iflash.events.Event.RESIZE*/"resize",BIND$(this,this.onResize));
		}

		CLASS$(DocumentAdapter,'iflash.laya.utils.DocumentAdapter',true,true);
		var __proto__=DocumentAdapter.prototype;
		__proto__.onResize=function(__args){
			var args=arguments;
			var body=Laya.document.body;
			if(!body)return;
			var window=Laya.window;
			var sx=window.innerWidth / Stage.stage.width;
			var sy=window.innerHeight / Stage.stage.height;
			body.width=Stage.stage.width;
			body.height=Stage.stage.height;
			if (Math.abs(sx-1)< 0.02)sx=1;
			if (Math.abs(sy-1)< 0.02)sy=1;
			if(Stage.stage.scaleMode==/*iflash.display.StageScaleMode.NO_SCALE*/"noScale"){
				sx=1;
				sy=1;
			}
			else if(Stage.stage.scaleMode==/*iflash.display.StageScaleMode.NO_BORDER*/"noBorder"){
				if (sx < sy){
					sx=sy;
				}
				else{
					sy=sx;
				}
			}
			else if(Stage.stage.scaleMode==/*iflash.display.StageScaleMode.SHOW_ALL*/"showAll"){
				if (sx > sy){
					sx=sy;
				}
				else{
					sy=sx;
				}
			}
			window.scale.x=sx;
			window.scale.y=sy;
			body.scaleX=sx;
			body.scaleY=sy;
			var bodyPosX=Math.floor((window.innerWidth-Stage.stage.width *sx)/ 2);
			var bodyPosY=Math.floor((window.innerHeight-Stage.stage.height *sy)/ 2);
			if(Stage.stage.align !=""){
				if(StageAlign.isTop(Stage.stage.align)){
					bodyPosY=0;
				}
				if(StageAlign.isBottom(Stage.stage.align)){
					bodyPosY=Math.floor(window.innerHeight-Stage.stage.height *sy);
				}
				if(StageAlign.isLeft(Stage.stage.align)){
					bodyPosX=0;
				}
				if(StageAlign.isRight(Stage.stage.align)){
					bodyPosX=Math.floor(window.innerWidth-Stage.stage.width *sx);
				}
			}
			body.x=bodyPosX;
			body.y=bodyPosY;
			if(!Laya.CONCHVER && TextField.onAndroid && TextField.onUCBrowser){
				var w=Laya.document.body.width;
				var h=Laya.document.body.height;
				Browser.input.setSize(this._autorotate_?h:w,this._autorotate_?w:h);
				Browser.input.setOpacity(0);
			}
		}

		GETSET$(0,__proto__,'autorotate',function(){
			return this._autorotate_;
			},function(type){
			this._autorotate_=type.toLowerCase();
			Laya.window.lyDispatchEvent(/*iflash.events.Event.RESIZE*/"resize");
		});

		GETSET$(0,__proto__,'screenRotate',function(){
			return this._screenRotate_;
		});

		return DocumentAdapter;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/utils/dynamicproperties.as
	var DynamicProperties=/*iflash.laya.utils.DynamicProperties*/(function(){
		function DynamicProperties(_class,fndef,set_get,htmlNeed){
			this.nameWith=null;
			this.valueTo=null;
			this.htmlNeed=false;
			(htmlNeed===void 0)&& (htmlNeed=true);
			this.htmlNeed=htmlNeed;
			if (_class==null)return;
			var strs=DynamicProperties._regProperties.exec(fndef);
			var name=strs[2];
			this.valueTo=strs[4]?DynamicProperties.__CALCULATORTYPE__[strs[4]]:StringMethod.strToStr;
			this.nameWith=set_get==null?name:(set_get);
			_class.prototype["??"+name]=this;
		}

		CLASS$(DynamicProperties,'iflash.laya.utils.DynamicProperties',true,true);
		var __proto__=DynamicProperties.prototype;
		__proto__.setValue=function(obj,data){
			obj[this.nameWith]=this.valueTo(data);
		}

		__proto__.getValue=function(obj){
			if(!((obj instanceof iflash.media.AudioElement ))&&this.nameWith=="autoplay")
				return null;
			return obj[this.nameWith];
		}

		__proto__.toHTML=function(){
			return this.htmlNeed;
		}

		DynamicProperties.reg=function(_class,fndef,set_get,htmlNeed){
			(htmlNeed===void 0)&& (htmlNeed=true);
			if (fndef.indexOf('(')<0)return new DynamicProperties(_class,fndef,set_get,htmlNeed);
			else return new DynamicMethods(_class,fndef,set_get,htmlNeed);
		}

		DynamicProperties._regProperties=new RegExp("(\\s*)([\\w-]+)\\s*(=\\s*(\\w))?");
		STATICATTR$(DynamicProperties,
		['__CALCULATORTYPE__',function(){return this.__CALCULATORTYPE__={'s':StringMethod.strToStr,'i':StringMethod.toInt,'I':StringMethod.strToBigInt,'d':StringMethod.toFloat,'b':StringMethod.toBool,'t':StringMethod.strToTime};}
		]);
		return DynamicProperties;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/utils/matrixutil.as
	var MatrixUtil=/*iflash.laya.utils.MatrixUtil*/(function(){
		function MatrixUtil(){throw new Error("can not new MatrixUtil");}
		CLASS$(MatrixUtil,'iflash.laya.utils.MatrixUtil',true,true);
		MatrixUtil.transformPoint=function(matrix,point,resultPoint){
			return MatrixUtil.transformCoords(matrix,point.x,point.y,resultPoint);
		}

		MatrixUtil.transformCoords=function(matrix,x,y,resultPoint){
			if (resultPoint==null)resultPoint=new Point();
			resultPoint.x=matrix.a *x+matrix.c *y+matrix.tx;
			resultPoint.y=matrix.d *y+matrix.b *x+matrix.ty;
			return resultPoint;
		}

		MatrixUtil.skew=function(matrix,skewX,skewY){
			var sinX=Math.sin(skewX);
			var cosX=Math.cos(skewX);
			var sinY=Math.sin(skewY);
			var cosY=Math.cos(skewY);
			matrix.setTransform(matrix.a *cosY-matrix.b *sinX,
			matrix.a *sinY+matrix.b *cosX,
			matrix.c *cosY-matrix.d *sinX,
			matrix.c *sinY+matrix.d *cosX,
			matrix.tx *cosY-matrix.ty *sinX,
			matrix.tx *sinY+matrix.ty *cosX);
		}

		MatrixUtil.prependMatrix=function(base,prep){
			base.setTransform(base.a *prep.a+base.c *prep.b,
			base.b *prep.a+base.d *prep.b,
			base.a *prep.c+base.c *prep.d,
			base.b *prep.c+base.d *prep.d,
			base.tx+base.a *prep.tx+base.c *prep.ty,
			base.ty+base.b *prep.tx+base.d *prep.ty);
		}

		MatrixUtil.prependTranslation=function(matrix,tx,ty){
			matrix.tx+=matrix.a *tx+matrix.c *ty;
			matrix.ty+=matrix.b *tx+matrix.d *ty;
		}

		MatrixUtil.prependScale=function(matrix,sx,sy){
			matrix.setTransform(matrix.a *sx,matrix.b *sx,
			matrix.c *sy,matrix.d *sy,
			matrix.tx,matrix.ty);
		}

		MatrixUtil.prependRotation=function(matrix,angle){
			var sin=Math.sin(angle);
			var cos=Math.cos(angle);
			matrix.setTransform(matrix.a *cos+matrix.c *sin,matrix.b *cos+matrix.d *sin,
			matrix.c *cos-matrix.a *sin,matrix.d *cos-matrix.b *sin,
			matrix.tx,matrix.ty);
		}

		MatrixUtil.prependSkew=function(matrix,skewX,skewY){
			var sinX=Math.sin(skewX);
			var cosX=Math.cos(skewX);
			var sinY=Math.sin(skewY);
			var cosY=Math.cos(skewY);
			matrix.setTransform(matrix.a *cosY+matrix.c *sinY,
			matrix.b *cosY+matrix.d *sinY,
			matrix.c *cosX-matrix.a *sinX,
			matrix.d *cosX-matrix.b *sinX,
			matrix.tx,matrix.ty);
		}

		STATICATTR$(MatrixUtil,
		['sRawData',function(){return this.sRawData=
			/*new vector.<>*/[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];},'sRawData2',function(){return this.sRawData2=NEWVECTOR$(16,0);}
		]);
		return MatrixUtil;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/utils/method.as
	var Method=/*iflash.laya.utils.Method*/(function(){
		function Method(){}
		CLASS$(Method,'iflash.laya.utils.Method',true,true);
		Method.getPath=function(url){
			if(url==null || url=="")return "";
			var index=url.indexOf("?");
			if(index<0)index=url.indexOf("#");
			index=url.lastIndexOf("/");
			if (index >=0)url=url.substring(0,index+1);
			else url="/";
			if (url.charAt(0)=='/')url="file://"+url;
			return url;
		}

		Method.formatUrl=function(fileName,basePath){
			if (Laya.config.urlToLower)fileName=fileName.toLowerCase();
			var urlcache=Method.__urlCache__[fileName];
			if (urlcache !=null)return urlcache;
			if (fileName==null){
				return "";
			}
			if ((fileName.charAt(1)==':' && fileName.charAt(2)=='/'))
				fileName="file://"+fileName;
			if (fileName.charAt(0)=="/"){
				return Laya.window.location.fullPath+fileName.substring(1,fileName.length);
			}
			if (basePath==null)basePath=Laya.window.location.fullPath;
			var urlfull=basePath+"/"+fileName;
			urlcache=Method.__urlCache__[urlfull];
			if (urlcache !=null)return urlcache;
			if (fileName.indexOf("://")< 0)
				fileName=basePath+"/"+fileName;
			var urls=fileName.split("/");
			urls[1]="";
			var str,i=2,size=urls.length;
			while (i < size){
				str=urls[i];
				if (str==null)break ;
				if (str=='' || str=='.'){
					urls.splice(i,1);
					continue ;
				}
				if (str==".."){
					urls.splice(i-1,2);
					i-=1;
					continue ;
				}
				i+=1;
			}
			fileName=urls.join("/");
			Method.__urlCache__[fileName]=fileName;
			Method.__urlCache__[urlfull]=fileName;
			return fileName;
		}

		Method.isNullOrEmpty=function(txt){
			return txt==null || txt=='';
		}

		Method.removeFromeArray=function(array,o){
			var index=array.indexOf(o);
			if (index >=0)array.splice(index);
		}

		Method.InitAttributesToHTML=function(initTxt,_class){
			var i=0,sz=0,def,strs,onestrs,out=[],j=0,str;
			strs=initTxt.split(';');
			for (i=0,sz=strs.length;i < sz;i++){
				onestrs=strs[i].split(':');
				if (onestrs[0].length < 1)continue ;
				def={name:onestrs[0],defaultv:onestrs[1],namenew:onestrs[2] };
				if (def.namenew==null)def.namenew=def.name;
				out.push(def);
				if (_class!=null && def.namenew !=def.name)
					iflash.laya.utils.regXmlAttr(_class,def.namenew,def.name);
			}
			return out;
		}

		Method.jsonParse=function(txt,reviver){
			try{
				return JSON.parse(txt,reviver);
			}
			catch(e){
			}
			return null;
		}

		Method.JsFunctionErr=LAYAFNVOID/*function(){}*/
		Method.jsToEventFun=function(s){
			return (((typeof s=='string'))?Browser.eval("(function(event){"+s+";})"):s);
		}

		Method.insert=function(arr,index,c){
			if (index < 0)throw "insert less than 0";
			if (index>=arr.length){
				arr.push(c);
				return;
			}
			else if (index==0){
				arr.unshift(c);
				return;
			};
			var len=arr.length;
			for (var i=len;i > index;i--){
				arr[i]=arr[i-1];
			}
			arr[index]=c;
		}

		Method.forseInsert=function(arr,index,c){
			if (index < 0)throw "insert less than 0";
			if (index >=arr.length){
				arr.length=index+1;
			}
			arr[index]=c;
		}

		Method.execScript=function(str,url){
			if (Laya.CONCHVER){
				Browser.eval(str,null);
				return;
			}
			try {
				Log.log("execScript:"+url);
				var a=Browser.document.createElement ("script");
				a.type="text/javascript";
				a.text=str;
				var o=Browser.document.getElementsByTagName("head");
				o[0].appendChild(a);
			}
			catch (err){
				/*__JS__ */debugger;
			}
		}

		Method._JpgToPng=function(img){
			var src=Canvas.create();
			var w=img.width,h=int((img.height-1)/2);
			src.size(w,h);
			src.context.drawImage(img,0,0,w,h,0,0,w,h);
			var imageDataSrc=src.context.getImageData(0,0,w,h);
			var pixelsSrc=imageDataSrc.data;
			if (pixelsSrc==null)Browser.alert("JpgToPng err:"+img.src);
			if (Method.__tmpCanvas__==null)Method.__tmpCanvas__=Canvas.create();
			Method.__tmpCanvas__.active();
			var alpha=Method.__tmpCanvas__;
			alpha.size(w,h);
			alpha.context.drawImage(img,0,h+2,w,h,0,0,w,h);
			var imageDataAlpha=alpha.context.getImageData(0,0,w,h);
			var pixelsAlpha=imageDataAlpha.data;
			var i=0,x=0;
			for (var y=0;y < h;y++){
				i=(y *w)<< 2;
				x=0;
				while (x < w){
					i+=4;
					x++;
					pixelsSrc[i+3]=pixelsAlpha[i];
				}
			}
			src.context.putImageData(imageDataSrc,0,0);
			return src;
		}

		Method.formatUrlType=function(url){
			var question=url.split ("?").length <=1;
			if(!question){
				url=url.slice(0,url.indexOf("?"));
			};
			var _formatUrlType_="";
			var extension="";
			var arr=url.split("/");
			url=arr[arr.length-1];
			var parts=url.split (".");
			if (parts.length > 1){
				extension=parts[parts.length-1].toLowerCase ();
			}else extension=".";
			return extension;
		}

		Method.__tmpCanvas__=null;
		Method._TEMP_FUN_=null
		Method.__urlCache__=[];
		return Method;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/utils/stringmethod.as
	var StringMethod=/*iflash.laya.utils.StringMethod*/(function(){
		function StringMethod(){}
		CLASS$(StringMethod,'iflash.laya.utils.StringMethod',true,true);
		StringMethod.nChar=function(chr,n){
			if (n < 1)return "";
			var str="";
			for (var i=0;i < n;i++)str+=chr;
			return str;
		}

		StringMethod.strToStr=function(value){
			return value;
		}

		StringMethod.toInt=function(d){
			return ((typeof d=='string'))?LAYABOX.parseInt(d):(d);
		}

		StringMethod.toFloat=function(d){
			return ((typeof d=='string'))?d:(d);
		}

		StringMethod.toBool=function(str){
			return (str==true || str=='true');
		}

		StringMethod.strToBigInt=function(value){
			if (value=="infinite")return /*int.MAX_VALUE*/2147483647;
			else return LAYABOX.parseInt(value);
		}

		StringMethod.strToTime=function(tm){
			if (tm==null)return 0;
			var n=1,sz=tm.length;
			if (tm.charAt(sz-1)=='s'){
				if (tm.substring(0,sz-2)=='ms')
					sz-=2;
				else{
					sz--;
					n=1000;
				}
			}
			return Math.floor(parseFloat(tm.substring(0,sz))*n);
		}

		StringMethod.strTrim=function(str){
			return str.replace(StringMethod._string_Trim_,"");
		}

		StringMethod.replaceBlankChar=function(str,dec){
			return str.replace(StringMethod._string_Trim_,'').replace(StringMethod._removeBlankChar_,dec?dec:' ');
		}

		StringMethod.subString=function(str,headstr,endstr,nullrtn,pos){
			if(str==null)return nullrtn;
			var b=str.indexOf(headstr),e=0;
			if(b<0)return nullrtn;
			b+=headstr.length;
			if (endstr==null)return str.substring(b,str.length);
			((e=str.indexOf(endstr,b))< 0)&& (e=str.length);
			if (pos !=null){
				pos.x=b;
				pos.y=e;
			}
			return str.substring(b,e);
		}

		StringMethod.getColorString=function(value){
			if(!value && value !=0)
				return null;
			var s;
			s=value.toString(16).toUpperCase();
			s=s.replace(/0x|0X/,'');
			var len=6-s.length,str="";
			if(s.length<6){
				for(var i=0;i<len;i++){
					str+=0;
				}
			}
			s="#"+str+s;
			return s;
		}

		StringMethod._string_Trim_=new RegExp("(^\\s*)|(\\s*$)","g");
		StringMethod._string_LTrim_=new RegExp("(^\\s*)","g");
		StringMethod._string_RTrim_=new RegExp("(\\s*$)","g");
		StringMethod._removeBlankChar_=new RegExp("\\s+","g");
		StringMethod._WORDSIZEMAP_=[];
		return StringMethod;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/utils/timerobject.as
	var TimerObject=/*iflash.laya.utils.TimerObject*/(function(){
		function TimerObject(time,listener,owner,delay,repeatCount){
			this._listener_=null;
			this.owner=null;
			this.isdel=false;
			this.startTime=NaN;
			this.nextTime=NaN;
			this.delay=NaN;
			this.repeatCount=NaN;
			this.runCount=NaN;
			this.data=null;
			this.name="";
			(delay===void 0)&& (delay=0);
			(repeatCount===void 0)&& (repeatCount=0);
			this.isdel=false;
			this.delay=delay;
			this.repeatCount=repeatCount;
			this._reset_(time,listener,owner);
			this.name=""+TimerObject.NameConut++;
		}

		CLASS$(TimerObject,'iflash.laya.utils.TimerObject',true,true);
		var __proto__=TimerObject.prototype;
		LAYABOX.implements(__proto__,{"iflash.laya.system.IObject":true})
		__proto__._reset_=function(time,listener,owner){
			this.deleted=false;
			this.data=null;
			this._listener_=listener;
			this.owner=owner;
			this.startTime=time;
			this.isdel=false;
			this.runCount=0;
			this.nextTime=this.startTime+this.delay;
			return this;
		}

		__proto__.run=function(time){
			if (this.isdel)return false;
			if (this.delay==0){
				return (this.owner && this.owner.deleted)|| (this._listener_&&this._listener_.call(this.owner,time,time-this.startTime,this));
			}
			if (this.nextTime==time)return true;
			while (this.nextTime <=time){
				if (this.owner && this.owner.deleted){
					return !(this.deleted=true);
				}
				if (this._listener_ !=null && (this._listener_.call(this.owner,time,time-this.startTime,this)==false)){
					return !(this.deleted=true);
				}
				this.nextTime+=this.delay;
				this.runCount++;
				if(this.repeatCount>0 && this.runCount>=this.repeatCount){
					return !(this.deleted=true);
				}
			}
			return true;
		}

		GETSET$(0,__proto__,'listener',function(){
			return this._listener_;
		});

		GETSET$(0,__proto__,'deleted',function(){
			return this.isdel;
			},function(b){
			this.isdel=b;
			if (b){
				this._listener_=null;
				this.owner=null;
				this.data=null;
			}
		});

		TimerObject.NameConut=0;
		return TimerObject;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/utils/uri.as
	var URI=/*iflash.laya.utils.URI*/(function(){
		function URI(_url){
			this.url=null;
			this.path=null;
			this.url=_url;
			this.path=Method.getPath(_url);
		}

		CLASS$(URI,'iflash.laya.utils.URI',true,false);
		var __proto__=URI.prototype;
		__proto__.toString=function(){
			return this.url;
		}

		return URI;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/bytearraycontextcmd.as
	var byteArrayContextCMD=/*iflash.utils.byteArrayContextCMD*/(function(){
		function byteArrayContextCMD(){
			this.result=null;
			this.result=new ByteArray();
		}

		CLASS$(byteArrayContextCMD,'iflash.utils.byteArrayContextCMD',true,true);
		var __proto__=byteArrayContextCMD.prototype;
		__proto__.clear=function(){
			this.result.clear();
		}

		__proto__.getBuffer=function(){
			return this.result;
		}

		__proto__.save=function(){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_SAVE*/0);
		}

		__proto__.restore=function(){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_RESTORE*/1);
		}

		__proto__.beginPath=function(){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_BEGINPATH*/2);
		}

		__proto__.drawImage=function(__args){
			var args=[];for(var i=0,sz=arguments.length;i<sz;i++)args.push(arguments[i]);
			if (args.length==3){
				this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_DRAWIMAGE3*/3);
				this.result.writeFloat(args[1]);
				this.result.writeFloat(args[2]);
			}
			else if (args.length==5){
				this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_DRAWIMAGE5*/4);
				this.result.writeDouble(args[0].id);
				this.result.writeFloat(args[1]);
				this.result.writeFloat(args[2]);
				this.result.writeFloat(args[3]);
				this.result.writeFloat(args[4]);
			}
			else{
				this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_DRAWIMAGE9*/5);
				this.result.writeDouble(args[0].id);
				this.result.writeFloat(args[1]);
				this.result.writeFloat(args[2]);
				this.result.writeFloat(args[3]);
				this.result.writeFloat(args[4]);
				this.result.writeFloat(args[5]);
				this.result.writeFloat(args[6]);
				this.result.writeFloat(args[7]);
				this.result.writeFloat(args[8]);
			}
		}

		__proto__.rect=function(x,y,w,h){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_RECT*/6);
			this.result.writeInt(x);
			this.result.writeInt(y);
			this.result.writeInt(w);
			this.result.writeInt(h);
		}

		__proto__.clip=function(){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_CLIP*/7);
			return true;
		}

		__proto__.scale=function(x,y){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_SCALE*/8);
			this.result.writeFloat(x);
			this.result.writeFloat(y);
		}

		__proto__.translate=function(x,y){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_TRANSLATE*/9);
			this.result.writeFloat(x);
			this.result.writeFloat(y);
		}

		__proto__.transform=function(a,b,c,d,tx,ty){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_TRANSFORM*/10);
			this.result.writeFloat(a);
			this.result.writeFloat(b);
			this.result.writeFloat(c);
			this.result.writeFloat(d);
			this.result.writeFloat(tx);
			this.result.writeFloat(ty);
		}

		__proto__.clearRect=function(x,y,w,h){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_CLEARRECT*/12);
			this.result.writeInt(x);
			this.result.writeInt(y);
			this.result.writeInt(w);
			this.result.writeInt(h);
		}

		__proto__.closePath=function(){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_CLOSEPATH*/13);
		}

		__proto__.fillRect=function(x,y,w,h){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_FILLRECT*/15);
			this.result.writeInt(x);
			this.result.writeInt(y);
			this.result.writeInt(w);
			this.result.writeInt(h);
		}

		__proto__.stroke=function(){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_STROKE*/17);
		}

		__proto__.strokeRect=function(x,y,w,h){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_STROKERECT*/18);
			this.result.writeInt(x);
			this.result.writeInt(y);
			this.result.writeInt(w);
			this.result.writeInt(h);
		}

		__proto__.fillText=function(word,x,y){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_FILLTEXT*/19);
			this.result.writeUTF(word);
			this.result.writeFloat(x);
			this.result.writeFloat(y);
		}

		__proto__.fill=function(){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_FILL*/20);
		}

		__proto__.moveTo=function(x,y){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_MOVETO*/24);
			this.result.writeFloat(x);
			this.result.writeFloat(y);
		}

		__proto__.lineTo=function(x,y){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_LINETO*/25);
			this.result.writeFloat(x);
			this.result.writeFloat(y);
		}

		__proto__.arc=function(x,y,r,sAngle,eAngle,bCounterclockwise){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_ARC*/26);
			this.result.writeInt(x);
			this.result.writeInt(y);
		}

		__proto__.arcTo=LAYAFNVOID/*function(x1,y1,x2,y2,radium){}*/
		__proto__.bezierCurveTo=LAYAFNVOID/*function(nCPX,nCPY,nCPX2,nCPY2,nEndX,nEndY){}*/
		__proto__.quadraticCurveTo=LAYAFNVOID/*function(left,top,width,height){}*/
		GETSET$(0,__proto__,'globalAlpha',null,function(n){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_GLOBALALPHA*/11);
			this.result.writeFloat(n);
		});

		GETSET$(0,__proto__,'fillStyle',null,function(style){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_FILLSTYLE*/14);
			this.result.writeUTF(style);
		});

		GETSET$(0,__proto__,'lineJoin',null,function(s){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_LINEJOIN*/23);
			this.result.writeUTF(s);
		});

		GETSET$(0,__proto__,'strokeStyle',null,function(color){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_STROKESTYLE*/16);
			this.result.writeUTF(color);
		});

		GETSET$(0,__proto__,'lineCap',null,function(s){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_LINECAP*/21);
			this.result.writeUTF(s);
		});

		GETSET$(0,__proto__,'lineWidth',null,function(n){
			this.result.writeShort(/*iflash.utils.ConchRenderVCanvas.CMD_LINEWIDTH*/22);
			this.result.writeInt(n);
		});

		STATICATTR$(byteArrayContextCMD,
		['INSTANCE',function(){return this.INSTANCE=new byteArrayContextCMD();}
		]);
		return byteArrayContextCMD;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/conchrendervcanvas.as
	var ConchRenderVCanvas=/*iflash.utils.ConchRenderVCanvas*/(function(){
		function ConchRenderVCanvas(){}
		CLASS$(ConchRenderVCanvas,'iflash.utils.ConchRenderVCanvas',true,true);
		var __proto__=ConchRenderVCanvas.prototype;
		__proto__.uploadConch=function(){
			var instance=stringContextCMD.INSTANCE;
			ConchRenderVCanvas.cmdArray.length=0;
			var temp;
			for (var i=0,sz=ConchRenderVCanvas.maps.length;i < sz;i++){
				var canvas=ConchRenderVCanvas.maps[i];
				var d=VirtualCanvas.getConchSring(canvas._cmds_);
				ConchRenderVCanvas.cmdArray.push(canvas.conchVirtualBitmap.id+"\6"+d||"");
				temp=canvas.conchVirtualBitmap;
				ConchRenderVCanvas.maps.splice(i,1);
				canvas.inMap=false;
				i--;
				sz--;
			};
			var buffer=ConchRenderVCanvas.cmdArray.join("\3");
			temp && temp.setAllBuffer(buffer);
		}

		ConchRenderVCanvas.CMD_SAVE=0;
		ConchRenderVCanvas.CMD_RESTORE=1;
		ConchRenderVCanvas.CMD_BEGINPATH=2;
		ConchRenderVCanvas.CMD_DRAWIMAGE3=3;
		ConchRenderVCanvas.CMD_DRAWIMAGE5=4;
		ConchRenderVCanvas.CMD_DRAWIMAGE9=5;
		ConchRenderVCanvas.CMD_RECT=6;
		ConchRenderVCanvas.CMD_CLIP=7;
		ConchRenderVCanvas.CMD_SCALE=8;
		ConchRenderVCanvas.CMD_TRANSLATE=9;
		ConchRenderVCanvas.CMD_TRANSFORM=10;
		ConchRenderVCanvas.CMD_GLOBALALPHA=11;
		ConchRenderVCanvas.CMD_CLEARRECT=12;
		ConchRenderVCanvas.CMD_CLOSEPATH=13;
		ConchRenderVCanvas.CMD_FILLSTYLE=14;
		ConchRenderVCanvas.CMD_FILLRECT=15;
		ConchRenderVCanvas.CMD_STROKESTYLE=16;
		ConchRenderVCanvas.CMD_STROKE=17;
		ConchRenderVCanvas.CMD_STROKERECT=18;
		ConchRenderVCanvas.CMD_FILLTEXT=19;
		ConchRenderVCanvas.CMD_FILL=20;
		ConchRenderVCanvas.CMD_LINECAP=21;
		ConchRenderVCanvas.CMD_LINEWIDTH=22;
		ConchRenderVCanvas.CMD_LINEJOIN=23;
		ConchRenderVCanvas.CMD_MOVETO=24;
		ConchRenderVCanvas.CMD_LINETO=25;
		ConchRenderVCanvas.CMD_ARC=26;
		ConchRenderVCanvas.CMD_ARCTO=27;
		ConchRenderVCanvas.CMD_BEZIERCURVETO=28;
		ConchRenderVCanvas.CMD_QUADRATICCURVETO=29;
		ConchRenderVCanvas.CMD_DRAWCANVAS3=30;
		ConchRenderVCanvas.CMD_DRAWCANCAS5=31;
		ConchRenderVCanvas.CMD_DRAWCANCAS9=32;
		ConchRenderVCanvas.CMD_FONT=33;
		ConchRenderVCanvas.CMD_DRAWREPEAT=34;
		ConchRenderVCanvas.CMD_GLOBALCOMPOSITEOPERATION=35;
		ConchRenderVCanvas.CMD_TEXTBASELINE=36;
		ConchRenderVCanvas.maps=[];
		ConchRenderVCanvas.INSTANCE=new ConchRenderVCanvas();
		ConchRenderVCanvas.cmdArray=[];
		STATICATTR$(ConchRenderVCanvas,
		['CMDMAP',function(){return this.CMDMAP={
				"_drawVCanvas_":-1,
				"_save_":0,
				"_restore_":1,
				"_beginPath_":2,
				"_drawImage3_":3,
				"_drawImage5_":4,
				"_drawImage9_":5,
				"_rect_":6,
				"_clip_":7,
				"_scale_":8,
				"_translate_":9,
				"_transform_":10,
				"_globalAlpha_":11,
				"_clearRect_":12,
				"_closePath_":13,
				"_fillStyle_":14,
				"_fillRect_":15,
				"_strokeStyle_":16,
				"_stroke_":17,
				"_strokeRect_":18,
				"_fillText_":19,
				"_fill_":20,
				"_lineCap_":21,
				"_lineWidth_":22,
				"_lineJoin_":23,
				"_moveTo_":24,
				"_lineTo_":25,
				"_arc_":26,
				"_arcTo_":27,
				"_bezierCurveTo_":28,
				"_quadraticCurveTo_":29,
				"_drawCanvas3_":30,
				"_drawCanvas5_":31,
				"_drawCanvas9_":32,
				"_font_":33,
				"_drawRepeat_":34,
				"_textBaseline_":36
		};}

		]);
		return ConchRenderVCanvas;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/datas.as
	var Datas=/*iflash.utils.Datas*/(function(){
		function Datas(){}
		CLASS$(Datas,'iflash.utils.Datas',true,true);
		Datas.DICKEY=0;
		Datas.DICKEYS=[];
		return Datas;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/debugtools.as
	var DebugTools=/*iflash.utils.DebugTools*/(function(){
		function DebugTools(){}
		CLASS$(DebugTools,'iflash.utils.DebugTools',true,true);
		DebugTools.getTTime=function(){
			return (new Date()).time;
		}

		DebugTools.startTime=function(sign){
			DebugTools.timeSignPreTimeDic[sign]=DebugTools.getTTime();
		}

		DebugTools.endTime=function(sign){
			var dtime=0;
			dtime=DebugTools.getTTime()-DebugTools.timeSignPreTimeDic[sign];
			DebugTools.timeSignDic[sign]=int(DebugTools.timeSignDic[sign])+dtime;
		}

		DebugTools.resetTime=function(sign){
			DebugTools.timeSignDic[sign]=0;
		}

		DebugTools.getTime=function(sign){
			return DebugTools.timeSignDic[sign];
		}

		DebugTools.timeSignDic={};
		DebugTools.timeSignPreTimeDic={};
		return DebugTools;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/distools.as
	var DisTools=/*iflash.utils.DisTools*/(function(){
		function DisTools(){}
		CLASS$(DisTools,'iflash.utils.DisTools',true,true);
		return DisTools;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/endian.as
	var Endian=/*iflash.utils.Endian*/(function(){
		function Endian(){};
		CLASS$(Endian,'iflash.utils.Endian',true,true);
		Endian.BIG_ENDIAN="bigEndian";
		Endian.LITTLE_ENDIAN="littleEndian";
		return Endian;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/fileparse.as
	var FileParse=/*iflash.utils.FileParse*/(function(){
		function FileParse(){}
		CLASS$(FileParse,'iflash.utils.FileParse',true,true);
		FileParse.getFile=function(url){
			return FileParse.fileContentObj[url];
		}

		FileParse.parse=function(bytes){
			var len=0;
			for(var i=0;;i++){
				if(bytes[i]==0){
					len=i;
					break ;
				}
			};
			var header=bytes.readUTFBytes(len);
			var fileArr=header.split('\n');
			var dataOfs=len+1;
			var bytesTmp;
			var filename;
			var filesize=0;
			var fileBody;
			bytes.position=len+1;
			for(var ii=0;ii<fileArr.length;ii+=2){
				filename=fileArr[ii];
				filesize=LAYABOX.parseInt(fileArr[ii+1]);
				bytesTmp=new ByteArray();
				bytes.readBytes(bytesTmp,0,filesize);
				FileParse.fileContentObj[filename]=bytesTmp;
				dataOfs+=filesize;
				bytesTmp=null;
			}
		}

		FileParse.fileContentObj={};
		return FileParse;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/log.as
	var Log=/*iflash.utils.Log*/(function(){
		function Log(){}
		CLASS$(Log,'iflash.utils.Log',true,true);
		Log.log=function(str){
			if(Log.isLog)console.log("[layaLog]:"+str);
		}

		Log.error=function(str){
			if(!Log.isError)console.log("[error]:"+str);
		}

		Log.warming=function(str){
			if(!Log.isWarMing)console.log("[warming]:"+str);
		}

		Log.unfinished=function(className,functionName){
			if(Log.isOpen)console.log("[unfinished]:"+className+"--"+functionName);
		}

		Log.isOpen=false;
		Log.isLog=false;
		Log.isWarMing=false;
		Log.isError=false;
		return Log;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/proxy.as
	var Proxy=/*iflash.utils.Proxy*/(function(){
		function Proxy(){}
		CLASS$(Proxy,'iflash.utils.Proxy',true,true);
		var __proto__=Proxy.prototype;
		__proto__.getProperty=function(name){
			Error.throwError(IllegalOperationError,2088);
			return null;
		}

		__proto__.setProperty=function(name,value){
			Error.throwError(IllegalOperationError,2089);
		}

		__proto__.callProperty=function(name,__rest){
			var rest=[];for(var i=1,sz=arguments.length;i<sz;i++)rest.push(arguments[i]);
			Error.throwError(IllegalOperationError,2090);
			return null;
		}

		__proto__.hasProperty=function(name){
			Error.throwError(IllegalOperationError,2091);
			return false;
		}

		__proto__.deleteProperty=function(name){
			Error.throwError(IllegalOperationError,2092);
			return false;
		}

		__proto__.getDescendants=function(name){
			Error.throwError(IllegalOperationError,2093);
			return false;
		}

		__proto__.nextNameIndex=function(index){
			Error.throwError(IllegalOperationError,2105);
			return 0;
		}

		__proto__.nextName=function(index){
			Error.throwError(IllegalOperationError,2106);
			return null;
		}

		__proto__.nextValue=function(index){
			Error.throwError(IllegalOperationError,2107);
			return null;
		}

		__proto__.isAttribute=LAYAFNFALSE/*function(param1){return false}*/
		return Proxy;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/stringcontextcmd.as
	var stringContextCMD=/*iflash.utils.stringContextCMD*/(function(){
		function stringContextCMD(){
			this.result=null;
			this._cmds_=null;
			this.result="";
			this._cmds_=[];
		}

		CLASS$(stringContextCMD,'iflash.utils.stringContextCMD',true,true);
		var __proto__=stringContextCMD.prototype;
		__proto__.clear=function(){
			this.result="";
			this._cmds_=[];
		}

		__proto__.getBuffer=function(){
			this.result=this._cmds_.join('\5');
			return this.result;
		}

		__proto__.save=function(){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_SAVE*/0);
		}

		__proto__.restore=function(){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_RESTORE*/1);
		}

		__proto__.beginPath=function(){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_BEGINPATH*/2);
		}

		__proto__.drawImage=function(__args){
			var args=[];for(var i=0,sz=arguments.length;i<sz;i++)args.push(arguments[i]);
			if (args.length==3){
				this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_DRAWIMAGE3*/3+'\4'+args[0].imgId+'\4'+args[1]+'\4'+args[2]);
			}
			else if (args.length==5){
				this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_DRAWIMAGE5*/4+'\4'+args[0].imgId+'\4'+args[1]+'\4'+args[2]+'\4'+args[3]+'\4'+args[4]);
			}
			else{
				this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_DRAWIMAGE9*/5+'\4'+args[0].imgId+'\4'+args[1]+'\4'+args[2]+'\4'+args[3]+'\4'+args[4]+'\4'+args[5]+'\4'+args[6]+'\4'+args[7]+'\4'+args[8]);
			}
		}

		__proto__.rect=function(x,y,w,h){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_RECT*/6+'\4'+x+'\4'+y+'\4'+w+'\4'+h);
		}

		__proto__.clip=function(){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_CLIP*/7);
			return true;
		}

		__proto__.scale=function(x,y){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_SCALE*/8+'\4'+x+'\4'+y);
		}

		__proto__.translate=function(x,y){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_TRANSLATE*/9+'\4'+x+'\4'+y);
		}

		__proto__.transform=function(a,b,c,d,tx,ty){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_TRANSFORM*/10+'\4'+a+'\4'+b+'\4'+c+'\4'+d+'\4'+tx+'\4'+ty);
		}

		__proto__.clearRect=function(x,y,w,h){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_CLEARRECT*/12+'\4'+x+'\4'+y+'\4'+w+'\4'+h);
		}

		__proto__.closePath=function(){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_CLOSEPATH*/13);
		}

		__proto__.fillRect=function(x,y,w,h){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_FILLRECT*/15+'\4'+x+'\4'+y+'\4'+w+'\4'+h);
		}

		__proto__.stroke=function(){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_STROKE*/17);
		}

		__proto__.strokeRect=function(x,y,w,h){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_STROKERECT*/18+'\4'+x+'\4'+y+'\4'+w+'\4'+h);
		}

		__proto__.fillText=function(word,x,y){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_FILLTEXT*/19+'\4'+word+'\4'+x+'\4'+y);
		}

		__proto__.fill=function(){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_FILL*/20);
		}

		__proto__.moveTo=function(x,y){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_MOVETO*/24+'\4'+x+'\4'+y);
		}

		__proto__.lineTo=function(x,y){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_LINETO*/25+'\4'+x+'\4'+y);
		}

		__proto__.arc=function(x,y,r,sAngle,eAngle,bCounterclockwise){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_ARC*/26+'\4'+x+'\4'+y+'\4'+r+'\4'+sAngle+'\4'+eAngle+'\4'+(bCounterclockwise?1:0));
		}

		__proto__.arcTo=function(x1,y1,x2,y2,radium){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_ARCTO*/27+'\4'+x1+'\4'+y1+'\4'+x2+'\4'+y2+'\4'+radium);
		}

		__proto__.bezierCurveTo=function(nCPX,nCPY,nCPX2,nCPY2,nEndX,nEndY){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_BEZIERCURVETO*/28+'\4'+nCPX+'\4'+nCPY+'\4'+nCPX2+'\4'+nCPY2+'\4'+nEndX+'\4'+nEndY);
		}

		__proto__.quadraticCurveTo=function(left,top,width,height){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_QUADRATICCURVETO*/29+'\4'+left+'\4'+top+'\4'+width+'\4'+height);
		}

		GETSET$(0,__proto__,'globalAlpha',null,function(n){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_GLOBALALPHA*/11+'\4'+n);
		});

		GETSET$(0,__proto__,'fillStyle',null,function(style){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_FILLSTYLE*/14+'\4'+style);
		});

		GETSET$(0,__proto__,'font',null,function(f){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_FONT*/33+'\4'+f);
		});

		GETSET$(0,__proto__,'lineJoin',null,function(s){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_LINEJOIN*/23+'\4'+s);
		});

		GETSET$(0,__proto__,'strokeStyle',null,function(color){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_STROKESTYLE*/16+'\4'+color);
		});

		GETSET$(0,__proto__,'lineCap',null,function(s){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_LINECAP*/21+'\4'+s);
		});

		GETSET$(0,__proto__,'lineWidth',null,function(n){
			this._cmds_.push(/*iflash.utils.ConchRenderVCanvas.CMD_LINEWIDTH*/22+'\4'+n);
		});

		stringContextCMD.COMMA='\4';
		stringContextCMD.SEMICOLON='\5';
		stringContextCMD.INSTANCE=new stringContextCMD();
		return stringContextCMD;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/texturemanager.as
	var TextureManager=/*iflash.utils.TextureManager*/(function(){
		function TextureManager(){
			this._textureDic={};
		}

		CLASS$(TextureManager,'iflash.utils.TextureManager',true,true);
		var __proto__=TextureManager.prototype;
		__proto__.getTexture=function(textureUrl){
			return this._textureDic[textureUrl];
		}

		__proto__.addTexture=function(textureUrl,data){
			this._textureDic[textureUrl]=data;
		}

		TextureManager.getInstance=function(){
			if(!TextureManager._instance)TextureManager._instance=new TextureManager();
			return TextureManager._instance;
		}

		TextureManager._instance=null
		return TextureManager;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/toolutils.as
	var ToolUtils=/*iflash.utils.ToolUtils*/(function(){
		function ToolUtils(){}
		CLASS$(ToolUtils,'iflash.utils.ToolUtils',true,true);
		ToolUtils.formatUrlType=function(url){
			var question=url.split ("?").length <=1;
			if(!question){
				url=((url.split ("?"))[0]).toString();
			};
			var _formatUrlType_="";
			var extension="";
			var parts=url.split (".");
			if (parts.length > 0){
				extension=parts[parts.length-1].toLowerCase ();
			}
			return extension;
		}

		ToolUtils.getColor=function(value){
			var s=value.toString(16).toUpperCase();
			var len=6-s.length,str="";
			if(s.length<6){
				for(var i=0;i<len;i++){
					str+=0;
				}
			}
			s="#"+str+s;
			return s;
		}

		return ToolUtils;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/laya.as
	var ___Laya=(function(){
		function Laya(sprite){}
		for(var i in window.Laya)Laya[i]=window.Laya[i];window.Laya=Laya;
		Laya.Main=function(sprite){
			if ((typeof sprite=='function')){
				Laya._startCallBack_=sprite;
				sprite=null;
			}
			if (Laya.config)return;
			/*__JS__ */window.Laya=Laya;
			Laya.config=new iflash.laya.system.Config();
			Laya.root=sprite;
			Browser.__init__(sprite);
			if(Laya.CONCHVER){
				Laya.RENDERBYCANVAS=false;
			}
			else{
				Laya.RENDERBYCANVAS=/*__JS__ */!LAYABOX.runOnlyPlayer;
			}
			DisplayObject.TYPE2DEFAULT=Laya.RENDERBYCANVAS?0:/*iflash.display.DisplayObject.TYPE2_DRAW_CHILDS*/0x800;
			(Laya.process==null)&& Laya.onConchReady();
		}

		Laya.onConchReady=function(){
			Laya.process && Laya.process.active();
			Laya.window=new Window3();
			Browser.__start__();
			if (Boolean(Laya._startCallBack_))Laya._startCallBack_();
			Laya.ilaya.onStart();
		}

		Laya.setIf=function(name,value){
			Laya.ifdef[name]=value;
		}

		Laya.getIfdef=function(name){
			return Laya.ifdef[name] !=null;
		}

		Laya.window=null
		Laya.document=null
		Laya.root=null
		Laya.config=null
		Laya.ifdef={};
		Laya.NULLFLOAT=NaN
		Laya.SHOW_FPS=true;
		Laya.conch=null
		Laya.process=null
		Laya.ilaya=null;
		Laya._startCallBack_=null
		Laya.RENDERBYCANVAS=false;
		Laya.FLASHVER=0;
		STATICATTR$(Laya,
		['ENABLE3D',function(){return this.ENABLE3D=/*__JS__ */LAYABOX.ENABLE3D;},'CONCHVER',function(){return this.CONCHVER=/*__JS__ */window.conch?1:0;},'HTMLVER',function(){return this.HTMLVER=/*__JS__ */1;}
		]);
		return Laya;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/uncaughterrorevents.as
	var UncaughtErrorEvents=/*iflash.events.UncaughtErrorEvents*/(function(_super){
		function UncaughtErrorEvents(target){
			UncaughtErrorEvents._SUPERC_.call(this,target);
		}

		CLASS$(UncaughtErrorEvents,'iflash.events.UncaughtErrorEvents',true,false,_super);
		return UncaughtErrorEvents;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/accelerometerevent.as
	var AccelerometerEvent=/*iflash.events.AccelerometerEvent*/(function(_super){
		function AccelerometerEvent(type,bubbles,cancelable,_d){
			this.accelerationX=0;
			this.accelerationY=0;
			this.accelerationZ=0;
			this.timestamp=0;
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			AccelerometerEvent._SUPERC_.call(this,type,bubbles,cancelable,_d);
		}

		CLASS$(AccelerometerEvent,'iflash.events.AccelerometerEvent',true,false,_super);
		var __proto__=AccelerometerEvent.prototype;
		__proto__.clone=function(){
			var ae=new AccelerometerEvent(this.type,this.bubbles,this.cancelable,this._lyData);
			ae.accelerationX=this.accelerationX;
			ae.accelerationY=this.accelerationY;
			ae.accelerationZ=this.accelerationZ;
			return ae;
		}

		AccelerometerEvent.copySysEvent=function(e){
			var ae=new AccelerometerEvent(/*CLASS CONST:iflash.events.AccelerometerEvent.UPDATE*/"update",e.bubbles,e.cancelable,null);
			ae.accelerationX=-e.accelerationIncludingGravity.y;
			ae.accelerationY=e.accelerationIncludingGravity.x;
			ae.accelerationZ=e.accelerationIncludingGravity.z;
			ae.timestamp=e.timeStamp;
			return ae;
		}

		AccelerometerEvent.UPDATE="update";
		return AccelerometerEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/activityevent.as
	var ActivityEvent=/*iflash.events.ActivityEvent*/(function(_super){
		function ActivityEvent(type,bubbles,cancelable,_d){
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			ActivityEvent._SUPERC_.call(this,type,bubbles,cancelable,_d);
		}

		CLASS$(ActivityEvent,'iflash.events.ActivityEvent',true,false,_super);
		var __proto__=ActivityEvent.prototype;
		GETSET$(0,__proto__,'activating',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(value){}*/);
		ActivityEvent.ACTIVITY="activity";
		return ActivityEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/textevent.as
	var TextEvent=/*iflash.events.TextEvent*/(function(_super){
		function TextEvent(type,bubbles,cancelable,text){
			this.m_text=null;
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			(text===void 0)&& (text="");
			TextEvent._SUPERC_.call(this,type,bubbles,cancelable);
			this.m_text=text;
		}

		CLASS$(TextEvent,'iflash.events.TextEvent',true,false,_super);
		var __proto__=TextEvent.prototype;
		__proto__.clone=function(){
			var te=new TextEvent(this.type,this.bubbles,this.cancelable,this.m_text);
			te.copyNativeData(this);
			return te;
		}

		__proto__.copyNativeData=LAYAFNVOID/*function(param1){}*/
		GETSET$(0,__proto__,'text',function(){
			return this.m_text;
			},function(value){
			this.m_text=value;
		});

		TextEvent.LINK="link";
		TextEvent.TEXT_INPUT="textInput";
		return TextEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/contextmenuevent.as
	var ContextMenuEvent=/*iflash.events.ContextMenuEvent*/(function(_super){
		function ContextMenuEvent(type,bubbles,cancelable,_d){
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			ContextMenuEvent._SUPERC_.call(this,type,bubbles,cancelable,_d);
		}

		CLASS$(ContextMenuEvent,'iflash.events.ContextMenuEvent',true,false,_super);
		var __proto__=ContextMenuEvent.prototype;
		GETSET$(0,__proto__,'contextMenuOwner',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'isMouseTargetInaccessible',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'mouseTarget',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		ContextMenuEvent.MENU_ITEM_SELECT="menuItemSelect";
		ContextMenuEvent.MENU_SELECT="menuSelect";
		return ContextMenuEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/focusevent.as
	var FocusEvent=/*iflash.events.FocusEvent*/(function(_super){
		function FocusEvent(type,bubbles,cancelable,relatedObject,shiftKey,keyCode){
			this._keyCode=0;
			this._shiftKey=false;
			(bubbles===void 0)&& (bubbles=true);
			(cancelable===void 0)&& (cancelable=false);
			(shiftKey===void 0)&& (shiftKey=false);
			(keyCode===void 0)&& (keyCode=0);
			FocusEvent._SUPERC_.call(this,type,bubbles,cancelable,relatedObject);
			this._shiftKey=shiftKey;
			this._keyCode=keyCode;
		}

		CLASS$(FocusEvent,'iflash.events.FocusEvent',true,false,_super);
		var __proto__=FocusEvent.prototype;
		__proto__.clone=function(){
			return this;
		}

		GETSET$(0,__proto__,'isRelatedObjectInaccessible',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'keyCode',function(){
			return this._keyCode;
			},function(value){
			this._keyCode=value;
		});

		GETSET$(0,__proto__,'relatedObject',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'shiftKey',function(){
			return this._shiftKey;
			},function(value){
			this._shiftKey=value;
		});

		FocusEvent.FOCUS_IN="focusIn";
		FocusEvent.FOCUS_OUT="focusOut";
		FocusEvent.KEY_FOCUS_CHANGE="keyFocusChange";
		FocusEvent.MOUSE_FOCUS_CHANGE="mouseFocusChange";
		return FocusEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/geolocationevent.as
	var GeolocationEvent=/*iflash.events.GeolocationEvent*/(function(_super){
		function GeolocationEvent(type,bubbles,cancelable,latitude,longitude,altitude,hAccuracy,vAccuracy,speed,heading,timestamp){
			this._altitude=NaN;
			this._heading=NaN;
			this._horizontalAccuracy=NaN;
			this._latitude=NaN;
			this._longitude=NaN;
			this._speed=NaN;
			this._timestamp=NaN;
			this._verticalAccuracy=NaN;
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			(latitude===void 0)&& (latitude=0);
			(longitude===void 0)&& (longitude=0);
			(altitude===void 0)&& (altitude=0);
			(hAccuracy===void 0)&& (hAccuracy=0);
			(vAccuracy===void 0)&& (vAccuracy=0);
			(speed===void 0)&& (speed=0);
			(heading===void 0)&& (heading=0);
			(timestamp===void 0)&& (timestamp=0);
			GeolocationEvent._SUPERC_.call(this,type,bubbles,cancelable,null);
			this.latitude=latitude;
			this.longitude=longitude;
			this.altitude=altitude;
			this.horizontalAccuracy=hAccuracy;
			this.verticalAccuracy=vAccuracy;
			this.speed=speed;
			this.heading=heading;
			this.timestamp=timestamp;
		}

		CLASS$(GeolocationEvent,'iflash.events.GeolocationEvent',true,false,_super);
		var __proto__=GeolocationEvent.prototype;
		GETSET$(0,__proto__,'altitude',function(){
			return this._altitude;
			},function(value){
			this._altitude=value;
		});

		GETSET$(0,__proto__,'speed',function(){
			return this._speed;
			},function(value){
			this._speed=value;
		});

		GETSET$(0,__proto__,'heading',function(){
			return this._heading;
			},function(value){
			this._heading=value;
		});

		GETSET$(0,__proto__,'horizontalAccuracy',function(){
			return this._horizontalAccuracy;
			},function(value){
			this._horizontalAccuracy=value;
		});

		GETSET$(0,__proto__,'latitude',function(){
			return this._latitude;
			},function(value){
			this._latitude=value;
		});

		GETSET$(0,__proto__,'timestamp',function(){
			return this._timestamp;
			},function(value){
			this._timestamp=value;
		});

		GETSET$(0,__proto__,'longitude',function(){
			return this._longitude;
			},function(value){
			this._longitude=value;
		});

		GETSET$(0,__proto__,'verticalAccuracy',function(){
			return this._timestamp;
			},function(value){
			this._verticalAccuracy=value;
		});

		GeolocationEvent.getFromH5Event=function(evt){
			var rst=new GeolocationEvent("update");
			Event.copyFromByObj(rst,evt,GeolocationEvent.NAME_MAP);
			return rst;
		}

		GeolocationEvent.UPDATE="update";
		STATICATTR$(GeolocationEvent,
		['NAME_MAP',function(){return this.NAME_MAP={
				"latitude":"latitude",
				"longitude":"longitude",
				"altitude":"altitude",
				"speed":"speed",
				"horizontalAccuracy":"accuracy",
				"verticalAccuracy":"altitudeAccuracy",
				"heading":"heading"
		};}

		]);
		return GeolocationEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/gestureevent.as
	var GestureEvent=/*iflash.events.GestureEvent*/(function(_super){
		function GestureEvent(type,bubbles,cancelable,phase,localX,localY,ctrlKey,altKey,shiftKey,commandKey,controlKey,_d){
			this.altKey=false;
			this.controlKey=false;
			this.ctrlKey=false;
			this.commandKey=false;
			this.shiftKey=false;
			this.localX=0;
			this.localY=0;
			this.phase=null;
			this.__stageX__=0;
			this.__stageY__=0;
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			(localX===void 0)&& (localX=0);
			(localY===void 0)&& (localY=0);
			(ctrlKey===void 0)&& (ctrlKey=false);
			(altKey===void 0)&& (altKey=false);
			(shiftKey===void 0)&& (shiftKey=false);
			(commandKey===void 0)&& (commandKey=false);
			(controlKey===void 0)&& (controlKey=false);
			GestureEvent._SUPERC_.call(this,type,bubbles,cancelable,_d);
			this.altKey=altKey;
			this.controlKey=controlKey;
			this.ctrlKey=ctrlKey;
			this.commandKey=commandKey;
			this.shiftKey=shiftKey;
			this.localX=localX;
			this.localY=localY;
			this.phase=phase;
		}

		CLASS$(GestureEvent,'iflash.events.GestureEvent',true,false,_super);
		var __proto__=GestureEvent.prototype;
		__proto__.toMouseEvent=function(){
			_super.prototype.toMouseEvent.call(this);
			Event.__helpMouseEvt__.type=/*iflash.events.MouseEvent.CLICK*/"click";
			Event.__helpMouseEvt__.bubbles=this.bubbles;
			Event.__helpMouseEvt__.cancelable=this.cancelable;
			Event.__helpMouseEvt__.relatedObject=null;
			Event.__helpMouseEvt__.mCtrlKey=this.ctrlKey;
			Event.__helpMouseEvt__.mAltKey=this.altKey;
			Event.__helpMouseEvt__.mShiftKey=this.shiftKey;
			Event.__helpMouseEvt__.buttonDown=false;
			Event.__helpMouseEvt__._lytarget=this._lytarget;
			Event.__helpMouseEvt__.lyData=this.lyData;
			Event.__helpMouseEvt__._type_=this._type_;
			return Event.__helpMouseEvt__;
		}

		__proto__.updateAfterEvent=function(){}
		GETSET$(0,__proto__,'stageX',function(){
			return this.__stageX__;
		});

		GETSET$(0,__proto__,'stageY',function(){
			return this.__stageY__;
		});

		GestureEvent.getGestureEvent=function(){
			if(GestureEvent._gestrueEvt==null)
				GestureEvent._gestrueEvt=new GestureEvent("gestureTwoFingerTap",true,false,/*iflash.events.GesturePhase.END*/"end");
			return GestureEvent._gestrueEvt;
		}

		GestureEvent.GESTURE_TWO_FINGER_TAP="gestureTwoFingerTap";
		GestureEvent._gestrueEvt=null
		return GestureEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/httpstatusevent.as
	var HTTPStatusEvent=/*iflash.events.HTTPStatusEvent*/(function(_super){
		function HTTPStatusEvent(type,bubbles,cancelable,_d){
			this.m_responseHeaders=null;
			this.m_responseURL=null;
			this.m_status=0;
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			HTTPStatusEvent._SUPERC_.call(this,type,bubbles,cancelable,_d);
		}

		CLASS$(HTTPStatusEvent,'iflash.events.HTTPStatusEvent',true,false,_super);
		var __proto__=HTTPStatusEvent.prototype;
		GETSET$(0,__proto__,'responseHeaders',function(){
			return this.m_responseHeaders;
			},function(value){
			this.m_responseHeaders=value;
		});

		GETSET$(0,__proto__,'responseURL',function(){
			return this.m_responseURL;
			},function(value){
			this.m_responseURL=value;
		});

		GETSET$(0,__proto__,'status',function(){
			return this.m_status;
		});

		HTTPStatusEvent.HTTP_RESPONSE_STATUS="httpResponseStatus";
		HTTPStatusEvent.HTTP_STATUS="httpStatus";
		return HTTPStatusEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/keyboardevent.as
	var KeyboardEvent=/*iflash.events.KeyboardEvent*/(function(_super){
		function KeyboardEvent(type,bubbles,cancelable,charCodeValue,keyCodeValue,keyLocationValue,ctrlKeyValue,altKeyValue,shiftKeyValue){
			this._altKey=false;
			this._charCode=0;
			this._ctrlKey=false;
			this._keyCode=0;
			this._keyLocation=0;
			this._shiftKey=false;
			(bubbles===void 0)&& (bubbles=true);
			(cancelable===void 0)&& (cancelable=false);
			(charCodeValue===void 0)&& (charCodeValue=0);
			(keyCodeValue===void 0)&& (keyCodeValue=0);
			(keyLocationValue===void 0)&& (keyLocationValue=0);
			(ctrlKeyValue===void 0)&& (ctrlKeyValue=false);
			(altKeyValue===void 0)&& (altKeyValue=false);
			(shiftKeyValue===void 0)&& (shiftKeyValue=false);
			KeyboardEvent._SUPERC_.call(this,type,bubbles,cancelable);
		}

		CLASS$(KeyboardEvent,'iflash.events.KeyboardEvent',true,false,_super);
		var __proto__=KeyboardEvent.prototype;
		__proto__.clone=LAYAFNNULL/*function(){return null}*/
		__proto__.updateAfterEvent=LAYAFNVOID/*function(){}*/
		__proto__.changeEvent=function(e){
			this._currentTarget_=e._currentTarget_;
			this.keyCode=e.keyCode;
			this._type_=e._type_;
			this._lytarget=e._lytarget;
			this.cancelable=e.cancelable;
			this.charCode=e.charCode;
			this.ctrlKey=e.ctrlKey;
			this.altKey=e.altKey;
			this.shiftKey=e.shiftKey;
		}

		GETSET$(0,__proto__,'altKey',function(){
			return this._altKey;
			},function(value){
			this._altKey=value;
		});

		GETSET$(0,__proto__,'charCode',function(){
			return this._charCode;
			},function(value){
			this._charCode=value;
		});

		GETSET$(0,__proto__,'ctrlKey',function(){
			return this._ctrlKey;
			},function(value){
			this._ctrlKey=value;
		});

		GETSET$(0,__proto__,'keyLocation',function(){
			return this._keyLocation;
			},function(value){
			this._keyLocation=value;
		});

		GETSET$(0,__proto__,'keyCode',function(){
			return this._keyCode;
			},function(value){
			this._keyCode=value;
		});

		GETSET$(0,__proto__,'shiftKey',function(){
			return this._shiftKey;
			},function(value){
			this._shiftKey=value;
		});

		KeyboardEvent.KEY_DOWN="keyDown";
		KeyboardEvent.KEY_UP="keyUp";
		return KeyboardEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/mouseevent.as
	var MouseEvent=/*iflash.events.MouseEvent*/(function(_super){
		function MouseEvent(type,bubbles,cancelable,localX,localY,relatedObject,ctrlKey,altKey,shiftKey,buttonDown,delta){
			this.mShiftKey=false;
			this.mCtrlKey=false;
			this._buttonDown=false;
			this._timestamp_=NaN;
			this.mAltKey=false;
			this.relatedObject=null;
			this._localX=0;
			this._localY=0;
			this._delta=0;
			this.nativeEvent=null;
			this.touchEvent=null;
			this.clientX=NaN;
			this.clientY=NaN;
			this.offsetX=NaN;
			this.offsetY=NaN;
			this.button=0;
			(bubbles===void 0)&& (bubbles=true);
			(cancelable===void 0)&& (cancelable=false);
			(localX===void 0)&& (localX=NaN);
			(localY===void 0)&& (localY=NaN);
			(ctrlKey===void 0)&& (ctrlKey=false);
			(altKey===void 0)&& (altKey=false);
			(shiftKey===void 0)&& (shiftKey=false);
			(buttonDown===void 0)&& (buttonDown=false);
			(delta===void 0)&& (delta=0);
			MouseEvent._SUPERC_.call(this,type,bubbles);
			this._timestamp_=-1.0;
			this.mShiftKey=shiftKey;
			this.mCtrlKey=ctrlKey;
			this.mAltKey=altKey;
			this._buttonDown=buttonDown;
			this.relatedObject=relatedObject;
			this._localX=localX;
			this._localY=localY;
			this.delta=delta;
		}

		CLASS$(MouseEvent,'iflash.events.MouseEvent',true,false,_super);
		var __proto__=MouseEvent.prototype;
		__proto__.getTouches=function(target,phase,result){
			if (result==null)result=/*new vector.<>*/[];
			var allTouches=this.lyData;
			var numTouches=allTouches.length;
			for (var i=0;i<numTouches;++i){
				var touch=allTouches [i];
				var correctTarget=touch.isTouching(target);
				var correctPhase=(phase==null || phase==touch._phase_);
				if (correctTarget && correctPhase)result[result.length]=touch;
			}
			return result;
		}

		__proto__.getTouch=function(target,phase,id){
			(id===void 0)&& (id=-1);
			this.getTouches(target,phase,MouseEvent.sTouches);
			var numTouches=MouseEvent.sTouches.length;
			if (numTouches > 0){
				var touch=null;
				if (id < 0)touch=MouseEvent.sTouches[0];
				else{
					for (var i=0;i<numTouches;++i)
					if (MouseEvent.sTouches[i].id==id){touch=MouseEvent.sTouches[i];break ;}
						}
				MouseEvent.sTouches.length=0;
				return touch;
			}
			else return null;
		}

		__proto__.interactsWith=function(target){
			var result=false;
			this.getTouches(target,null,MouseEvent.sTouches);
			for (var i=MouseEvent.sTouches.length-1;i>=0;--i)
			{if (MouseEvent.sTouches[i]._phase_ !=/*iflash.events.TouchPhase.ENDED*/"ended"){result=true;break ;}}
			MouseEvent.sTouches.length=0;
			return result;
		}

		__proto__.updateAfterEvent=LAYAFNVOID/*function(){}*/
		__proto__.toMouseEvent=function(){
			return this;
		}

		__proto__.clone=function(){
			var e=new MouseEvent(this.type,this.bubbles,this.cancelable,this.localX,this.localY,null,this.ctrlKey,this.altKey,this.shiftKey,this.buttonDown,this.delta);
			e.clientX=this.clientX;
			e.clientY=this.clientY;
			e.offsetX=this.offsetX;
			e.offsetY=this.offsetY;
			e._localX=this._localX;
			e._localY=this._localY;
			e.nativeEvent=this.nativeEvent;
			e.touchEvent=this.touchEvent;
			return e;
		}

		__proto__.destory=function(){
			this.nativeEvent=null;
			this._lyData=null;
			this._lytarget=null;
			this.touchEvent=null;
			_super.prototype.destory.call(this);
		}

		GETSET$(0,__proto__,'stageX',function(){
			return EventManager._stageX;
		});

		GETSET$(0,__proto__,'stageY',function(){
			return EventManager._stageY;
		});

		GETSET$(0,__proto__,'localY',function(){
			if(this._lytarget==null){
				return this._localY;
			}
			return this._lytarget.mouseY;
		});

		GETSET$(0,__proto__,'localX',function(){
			if(this._lytarget==null){
				return this._localX;
			}
			return this._lytarget.mouseX;
		});

		GETSET$(0,__proto__,'buttonDown',function(){
			return this._buttonDown;
			},function(value){
			this._buttonDown=value;
		});

		GETSET$(0,__proto__,'delta',function(){
			return this._delta;
			},function(value){
			this._delta=value;
		});

		GETSET$(0,__proto__,'lyData',_super.prototype._$get_lyData,function(value){
			_super.prototype._$set_lyData.call(this,value);
			if(!value)return;
			var numTouches=this._lyData.length;
			for (var i=0;i<numTouches;++i)
			if (this._lyData[i]._timestamp_ > this._timestamp_)
				this._timestamp_=this._lyData[i]._timestamp_;
		});

		GETSET$(0,__proto__,'shiftKey',function(){return this.mShiftKey;});
		GETSET$(0,__proto__,'touches',function(){return (this.lyData).concat();});
		GETSET$(0,__proto__,'timestamp',function(){return this._timestamp_;});
		GETSET$(0,__proto__,'altKey',function(){return this.mAltKey;});
		GETSET$(0,__proto__,'ctrlKey',function(){return this.mCtrlKey;});
		MouseEvent.getSignType=function(type){
			type=type.toLowerCase();
			if(type=="mouseOver" || type===/*iflash.events.TouchEvent.TOUCH_OVER*/"touchOver"){
				return "mouseOver";
			}
			else if(type=="mouseOut" || type===/*iflash.events.TouchEvent.TOUCH_OUT*/"touchOut"){
				return "mouseOut";
			}
			else if(type=="mouseDown" || type===/*iflash.events.TouchEvent.TOUCH_BEGIN*/"touchBegin"){
				return "mouseDown";
			}
			else if(type=="mouseUp" || type===/*iflash.events.TouchEvent.TOUCH_END*/"touchEnd"){
				return "mouseUp";
			}
			else if(type=="click" || type===/*iflash.events.TouchEvent.TOUCH_TAP*/"touchTap"){
				return "click";
			}
			else if(type=="mouseMove" || type===/*iflash.events.TouchEvent.TOUCH_MOVE*/"touchMove"){
				return "mouseMove";
			}
			else if(type=="rollOut" || type===/*iflash.events.TouchEvent.TOUCH_ROLL_OUT*/"touchRollOut"){
				return "rollOut";
			}
			else if(type=="rollOver" || type===/*iflash.events.TouchEvent.TOUCH_ROLL_OVER*/"touchRollOver"){
				return "rollOver";
			}
			return type;
		}

		MouseEvent.copyFromSysEvent=function(e){
			var event=new MouseEvent(iflash.events.MouseEvent.SYS_MOUSE_INPUT_MAP[e.type],e.bubbles,e.cancelable,NaN,NaN,null,e.ctrlKey,e.altKey,e.shiftKey,e.buttons!=0,0);
			event.button=e.button||0;
			if(e["delta"] !=undefined){
				event.delta=e.delta;
			}
			else{
				event.delta=e.wheelDeltaY?e.wheelDeltaY/40:0;
			}
			event.nativeEvent=e;
			return event;
		}

		MouseEvent.CLICK="click";
		MouseEvent.DOUBLE_CLICK="doubleClick";
		MouseEvent.MOUSE_DOWN="mouseDown";
		MouseEvent.MOUSE_MOVE="mouseMove";
		MouseEvent.MOUSE_OUT="mouseOut";
		MouseEvent.MOUSE_OVER="mouseOver";
		MouseEvent.MOUSE_UP="mouseUp";
		MouseEvent.MOUSE_WHEEL="mouseWheel";
		MouseEvent.ROLL_OUT="rollOut";
		MouseEvent.ROLL_OVER="rollOver";
		MouseEvent.MIDDLE_CLICK="middleClick";
		MouseEvent.MIDDLE_MOUSE_DOWN="middleMouseDown";
		MouseEvent.MIDDLE_MOUSE_UP="middleMouseUp";
		MouseEvent.RIGHT_CLICK="rightClick";
		MouseEvent.RIGHT_MOUSE_DOWN="rightMouseDown";
		MouseEvent.RIGHT_MOUSE_UP="rightMouseUp";
		MouseEvent.FOCUS="focus";
		MouseEvent.BLUR="blur";
		MouseEvent.MOUSE_DRAG="drag";
		MouseEvent.MOUSE_DRAG_START="dragstart";
		MouseEvent.MOUSE_DRAG_END="dragend";
		STATICATTR$(MouseEvent,
		['SYS_MOUSE_INPUT_MAP',function(){return this.SYS_MOUSE_INPUT_MAP={
				"mousedown":"mouseDown",
				"mouseup":"mouseUp",
				"mousemove":"mouseMove",
				"mousewheel":"mouseWheel"
		};},'sTouches',function(){return this.sTouches=/*new vector.<>*/[];}

		]);
		return MouseEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/netstatusevent.as
	var NetStatusEvent=/*iflash.events.NetStatusEvent*/(function(_super){
		function NetStatusEvent(type,bubbles,cancelable,info){
			this.info=null;
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			this.info=info;
			NetStatusEvent._SUPERC_.call(this,type,bubbles,cancelable);
		}

		CLASS$(NetStatusEvent,'iflash.events.NetStatusEvent',true,false,_super);
		NetStatusEvent.NET_STATUS="netStatus";
		return NetStatusEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/progressevent.as
	var ProgressEvent=/*iflash.events.ProgressEvent*/(function(_super){
		function ProgressEvent(type,bubbles,cancelable,bytesLoaded,bytesTotal){
			this._bytesLoaded=NaN;
			this._bytesTotal=NaN;
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			(bytesLoaded===void 0)&& (bytesLoaded=0);
			(bytesTotal===void 0)&& (bytesTotal=0);
			ProgressEvent._SUPERC_.call(this,type,bubbles,cancelable);
			this._bytesLoaded=bytesLoaded;
			this._bytesTotal=bytesTotal;
		}

		CLASS$(ProgressEvent,'iflash.events.ProgressEvent',true,false,_super);
		var __proto__=ProgressEvent.prototype;
		GETSET$(0,__proto__,'bytesLoaded',function(){
			return this._bytesLoaded;
			},function(value){
			this._bytesLoaded=value;
		});

		GETSET$(0,__proto__,'bytesTotal',function(){
			return this._bytesTotal;
			},function(value){
			this._bytesTotal=value;
		});

		ProgressEvent.PROGRESS="progress";
		ProgressEvent.SOCKET_DATA="socketData";
		return ProgressEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/sampledataevent.as
	var SampleDataEvent=/*iflash.events.SampleDataEvent*/(function(_super){
		function SampleDataEvent(type,bubbles,cancelable,theposition,thedata){
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			(theposition===void 0)&& (theposition=0);
			SampleDataEvent._SUPERC_.call(this,type,bubbles);
		}

		CLASS$(SampleDataEvent,'iflash.events.SampleDataEvent',true,false,_super);
		var __proto__=SampleDataEvent.prototype;
		GETSET$(0,__proto__,'data',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(thedata){}*/);
		GETSET$(0,__proto__,'position',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(theposition){}*/);
		SampleDataEvent.SAMPLE_DATA="sampleData";
		return SampleDataEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/shaderevent.as
	var ShaderEvent=/*iflash.events.ShaderEvent*/(function(_super){
		function ShaderEvent(type,bubbles,cancelable,bitmap,array,vector){
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			ShaderEvent._SUPERC_.call(this,type);
		}

		CLASS$(ShaderEvent,'iflash.events.ShaderEvent',true,false,_super);
		var __proto__=ShaderEvent.prototype;
		__proto__.clone=LAYAFNNULL/*function(){return null}*/
		GETSET$(0,__proto__,'bitmapData',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(bmpData){}*/);
		GETSET$(0,__proto__,'byteArray',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(bArray){}*/);
		GETSET$(0,__proto__,'vector',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(v){}*/);
		ShaderEvent.COMPLETE="complete";
		return ShaderEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/stageorientationevent.as
	var StageOrientationEvent=/*iflash.events.StageOrientationEvent*/(function(_super){
		function StageOrientationEvent(type,bubbles,cancelable,beforeOrientation,afterOrientation){
			this.beforeOrientation=null;
			this.afterOrientation=null;
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			this.beforeOrientation=beforeOrientation;
			this.afterOrientation=afterOrientation;
			StageOrientationEvent._SUPERC_.call(this,type,bubbles,cancelable,null);
		}

		CLASS$(StageOrientationEvent,'iflash.events.StageOrientationEvent',true,false,_super);
		StageOrientationEvent.ORIENTATION_CHANGE="orientationChange";
		StageOrientationEvent.ORIENTATION_CHANGING="orientationChanging";
		return StageOrientationEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/statusevent.as
	var StatusEvent=/*iflash.events.StatusEvent*/(function(_super){
		function StatusEvent(type,bubbles,cancelable,code,level){
			this._code=null;
			this._level=null;
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			(level===void 0)&& (level="");
			StatusEvent._SUPERC_.call(this,type,bubbles,cancelable);
			this._code=code;
			this._level=level;
		}

		CLASS$(StatusEvent,'iflash.events.StatusEvent',true,false,_super);
		var __proto__=StatusEvent.prototype;
		GETSET$(0,__proto__,'code',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'level',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		StatusEvent.STATUS="status";
		return StatusEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/syncevent.as
	var SyncEvent=/*iflash.events.SyncEvent*/(function(_super){
		function SyncEvent(type,bubbles,cancelable,_d){
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			SyncEvent._SUPERC_.call(this,type,bubbles,cancelable,_d);
		}

		CLASS$(SyncEvent,'iflash.events.SyncEvent',true,false,_super);
		var __proto__=SyncEvent.prototype;
		__proto__.clone=LAYAFNNULL/*function(){return null}*/
		GETSET$(0,__proto__,'changeList',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		SyncEvent.SYNC="sync";
		return SyncEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/throttleevent.as
	var ThrottleEvent=/*iflash.events.ThrottleEvent*/(function(_super){
		function ThrottleEvent(type,bubbles,cancelable,state,targetFrameRate){
			this._targetFrameRate=0.0
			this._state=/*iflash.events.ThrottleType.RESUME*/"resume";
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			(targetFrameRate===void 0)&& (targetFrameRate=0);
			ThrottleEvent._SUPERC_.call(this,type,bubbles,cancelable);
			this._state=state;
			this._targetFrameRate=targetFrameRate;
		}

		CLASS$(ThrottleEvent,'iflash.events.ThrottleEvent',true,false,_super);
		var __proto__=ThrottleEvent.prototype;
		__proto__.clone=function(){
			return new ThrottleEvent(/*iflash.events.ThrottleType.THROTTLE*/"throttle")
		}

		GETSET$(0,__proto__,'state',function(){
			return this._state;
		});

		GETSET$(0,__proto__,'targetFrameRate',function(){
			if (this._state==/*iflash.events.ThrottleType.PAUSE*/"pause")
				return 0.0
			else if (this._state==/*iflash.events.ThrottleType.THROTTLE*/"throttle")
			return 2.0;
			else
			return this._targetFrameRate
		});

		ThrottleEvent.THROTTLE="throttle";
		return ThrottleEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/timerevent.as
	var TimerEvent=/*iflash.events.TimerEvent*/(function(_super){
		function TimerEvent(type,bubbles,cancelable){
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			TimerEvent._SUPERC_.call(this,type,bubbles,cancelable);
		}

		CLASS$(TimerEvent,'iflash.events.TimerEvent',true,false,_super);
		var __proto__=TimerEvent.prototype;
		__proto__.clone=LAYAFNNULL/*function(){return null;}*/
		__proto__.updateAfterEvent=LAYAFNVOID/*function(){}*/
		TimerEvent.TIMER="timer";
		TimerEvent.TIMER_COMPLETE="timerComplete";
		return TimerEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/touchevent.as
	var TouchEvent=/*iflash.events.TouchEvent*/(function(_super){
		function TouchEvent(type,bubbles,cancelable,touchPointID,isPrimaryTouchPoint,localX,localY,sizeX,sizeY,pressure,relatedObject,ctrlKey,altKey,shiftKey,commandKey,controlKey,timestamp,touchIntent,samples,isTouchPointCanceled,_d){
			this.altKey=false;
			this.commandKey=false;
			this.controlKey=false;
			this.ctrlKey=false;
			this.shiftKey=false;
			this.isPrimaryTouchPoint=false;
			this.timestamp=0;
			this.touchIntent=null;
			this.samples=null;
			this.isTouchPointCanceled=false;
			this._localX=0.0;
			this._localY=0.0;
			this.sizeX=0.0;
			this.sizeY=0.0;
			this.pressure=0.0;
			this.touchPointID=0;
			this.relatedObject=null;
			(bubbles===void 0)&& (bubbles=true);
			(cancelable===void 0)&& (cancelable=false);
			(touchPointID===void 0)&& (touchPointID=0);
			(isPrimaryTouchPoint===void 0)&& (isPrimaryTouchPoint=false);
			(localX===void 0)&& (localX=NaN);
			(localY===void 0)&& (localY=NaN);
			(sizeX===void 0)&& (sizeX=NaN);
			(sizeY===void 0)&& (sizeY=NaN);
			(pressure===void 0)&& (pressure=NaN);
			(ctrlKey===void 0)&& (ctrlKey=false);
			(altKey===void 0)&& (altKey=false);
			(shiftKey===void 0)&& (shiftKey=false);
			(commandKey===void 0)&& (commandKey=false);
			(controlKey===void 0)&& (controlKey=false);
			(timestamp===void 0)&& (timestamp=NaN);
			(touchIntent===void 0)&& (touchIntent="unknown");
			(isTouchPointCanceled===void 0)&& (isTouchPointCanceled=false);
			TouchEvent._SUPERC_.call(this,type,bubbles,cancelable,_d);
			this.touchPointID=touchPointID;
			this.isPrimaryTouchPoint=isPrimaryTouchPoint;
			this._localX=localX;
			this._localY=localY;
			this.sizeX=sizeX;
			this.sizeY=sizeY;
			this.pressure=pressure;
			this.relatedObject=relatedObject;
			this.ctrlKey=ctrlKey;
			this.altKey=altKey;
			this.shiftKey=shiftKey;
			this.commandKey=commandKey;
			this.controlKey=controlKey;
			this.timestamp=timestamp;
			this.touchIntent=touchIntent;
			this.samples=samples;
			this.isTouchPointCanceled=isTouchPointCanceled;
		}

		CLASS$(TouchEvent,'iflash.events.TouchEvent',true,false,_super);
		var __proto__=TouchEvent.prototype;
		__proto__.updateAfterEvent=function(){}
		__proto__.toMouseEvent=function(){
			_super.prototype.toMouseEvent.call(this);
			Event.__helpMouseEvt__.type=TouchEvent.MOUSE_INPUT_TO_TOUCH_MAP[this.type];
			Event.__helpMouseEvt__.bubbles=this.bubbles;
			Event.__helpMouseEvt__.cancelable=this.cancelable;
			Event.__helpMouseEvt__.relatedObject=this.relatedObject;
			Event.__helpMouseEvt__.mCtrlKey=this.ctrlKey;
			Event.__helpMouseEvt__.mAltKey=this.altKey;
			Event.__helpMouseEvt__.mShiftKey=this.shiftKey;
			Event.__helpMouseEvt__.buttonDown=true;
			Event.__helpMouseEvt__._lytarget=this._lytarget;
			Event.__helpMouseEvt__.lyData=this.lyData;
			Event.__helpMouseEvt__._type_=this._type_;
			Event.__helpMouseEvt__.touchEvent=this;
			return Event.__helpMouseEvt__;
		}

		__proto__.clone=function(){
			var tEvt=new TouchEvent(this.type,this.bubbles,this.cancelable,this.touchPointID,this.isPrimaryTouchPoint,this._localX,this._localY
			,this.sizeX,this.sizeY,this.pressure,this.relatedObject,this.ctrlKey,this.altKey,this.shiftKey,this.commandKey
			,this.controlKey,this.timestamp,this.touchIntent,this.samples,this.isTouchPointCanceled,this.lyData);
			return tEvt;
		}

		__proto__.destory=function(){
			this.samples=null;
			this.relatedObject=null;
			_super.prototype.destory.call(this);
		}

		GETSET$(0,__proto__,'localY',function(){
			if(this._lytarget){
				this._localY=this._lytarget.mouseY;
			}
			return this._localY;
		});

		GETSET$(0,__proto__,'localX',function(){
			if(this._lytarget){
				this._localX=this._lytarget.mouseX;
			}
			return this._localX;
		});

		GETSET$(0,__proto__,'stageX',function(){
			return EventManager._stageX;
		});

		GETSET$(0,__proto__,'stageY',function(){
			return EventManager._stageY;
		});

		TouchEvent.isTypeMove=function(type){
			return type=="touchmove" || type=="mousemove";
		}

		TouchEvent.isTouchType=function(type){
			return type.indexOf("touch")!=-1;
		}

		TouchEvent.touchSysEvent=function(touchEvent,callbackFunc){
			var len=touchEvent.changedTouches.length;
			var evt,changedTouch=null,touch;
			for(var i=0;i<len;i++){
				changedTouch=touchEvent.changedTouches[i];
				evt=new TouchEvent(iflash.events.TouchEvent.SYS_TOUCH_INPUT_MAP[touchEvent.type],touchEvent.bubbles,touchEvent.cancelable,
				changedTouch.identifier,i==0,0.0,0.0,changedTouch.radiusX,changedTouch.radiusY,changedTouch.force,null,touchEvent.ctrlKey,touchEvent.altKey
				,touchEvent.shiftKey,false,false,touchEvent.timeStamp,"unknown",null,false,null);
				EventManager.clientToStage(changedTouch.clientX,changedTouch.clientY);
				if(callbackFunc!=null)callbackFunc(evt);
			}
		}

		TouchEvent.TOUCH_BEGIN="touchBegin";
		TouchEvent.TOUCH_END="touchEnd";
		TouchEvent.TOUCH_MOVE="touchMove";
		TouchEvent.TOUCH_OUT="touchOut";
		TouchEvent.TOUCH_OVER="touchOver";
		TouchEvent.TOUCH_ROLL_OUT="touchRollOut";
		TouchEvent.TOUCH_ROLL_OVER="touchRollOver";
		TouchEvent.TOUCH_TAP="touchTap";
		STATICATTR$(TouchEvent,
		['MOUSE_INPUT_TO_TOUCH_MAP',function(){return this.MOUSE_INPUT_TO_TOUCH_MAP={
				"mouseDown":"touchBegin",
				"mouseUp":"touchEnd",
				"mouseMove":"touchMove",
				"mouseOut":"touchOut",
				"mouseOver":"touchOver",
				"rollOut":"touchRollOut",
				"rollOver":"touchRollOver",
				"click":"touchTap",
				"touchBegin":"mouseDown",
				"touchEnd":"mouseUp",
				"touchMove":"mouseMove",
				"touchOut":"mouseOut",
				"touchOver":"mouseOver",
				"touchRollOut":"rollOut",
				"touchRollOver":"rollOver",
				"touchTap":"click"
				};},'SYS_TOUCH_INPUT_MAP',function(){return this.SYS_TOUCH_INPUT_MAP={
				"touchstart":"touchBegin",
				"touchmove":"touchMove",
				"touchend":"touchEnd",
				"touchcancel":"touchEnd"
		};}

		]);
		return TouchEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/timer.as
	var Timer=/*iflash.utils.Timer*/(function(_super){
		function Timer(delay,repeatCount){
			this._timeobj=null;
			this._delay=NaN;
			this._repeatCount=0;
			this._running=false;
			Timer._SUPERC_.call(this);
			(repeatCount===void 0)&& (repeatCount=0);
			this.delay=delay;
			this.repeatCount=repeatCount;
			this._running=false;
		}

		CLASS$(Timer,'iflash.utils.Timer',true,false,_super);
		var __proto__=Timer.prototype;
		__proto__._ontimer_=function(tm,m,obj){
			this.lyDispatchEvent(new TimerEvent(/*iflash.events.TimerEvent.TIMER*/"timer"));
			if (this.currentCount >=this.repeatCount && this._running==true){
				if (this.repeatCount !=0){
					this._running=false;
					this.lyDispatchEvent(new TimerEvent(/*iflash.events.TimerEvent.TIMER_COMPLETE*/"timerComplete"));
				}
			}
		}

		__proto__.reset=function(){
			if (this._timeobj !=null){
				if(this._timeobj.runCount<(this.repeatCount-1))
					this._timeobj.runCount=0;
				else{
					this.stop();
				}
			}
		}

		__proto__.start=function(){
			this.stop();
			this._timeobj=this._timeobj || TimerCtrl.__DEFAULT__.addTimer(this,BIND$(this,this._ontimer_),this.delay,this.repeatCount);
			this._running=true;
		}

		__proto__.stop=function(){
			if (this._timeobj !=null){
				this._timeobj.deleted=true;
				this._timeobj=null;
			}
			this._running=false;
		}

		GETSET$(0,__proto__,'currentCount',function(){
			if(this._timeobj!=null)
				return this._timeobj.runCount+1;
			return 0;
		});

		GETSET$(0,__proto__,'delay',function(){
			return this._delay;
			},function(value){
			this._delay=value;
			this._timeobj && (this._timeobj.delay=value);
		});

		GETSET$(0,__proto__,'repeatCount',function(){
			return this._repeatCount;
			},function(value){
			this._repeatCount=value;
		});

		GETSET$(0,__proto__,'running',function(){
			return this._running;
		});

		Timer.__SPEED__=1;
		STATICATTR$(Timer,
		['__STARTTIME__',function(){return this.__STARTTIME__=/*__JS__ */Date.now();}
		]);
		return Timer;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/utils/dynamicmethods.as
	var DynamicMethods=/*iflash.laya.utils.DynamicMethods*/(function(_super){
		function DynamicMethods(_class,fndef,set_get,htmlNeed){
			this.args=null;
			this.setName=null;
			this.getName=null;
			this.argsClipChr=null;
			(htmlNeed===void 0)&& (htmlNeed=true);
			DynamicMethods._SUPERC_.call(this,null,null,set_get,htmlNeed);
			var strs=DynamicMethods._regMethoed.exec(fndef);
			this.setName=this.getName=strs[2];
			if (set_get){
				if ((typeof set_get=='string'))this.setName=this.getName=set_get;
				else {
					this.setName=set_get['set'];
					this.getName=set_get['get'];
				}
			}
			strs[3]=strs[3].replace(DynamicMethods._string_Trim_,'');
			var str=strs[3].split(DynamicMethods._argsClip);
			this.args=[];
			for (var i=0;i < str.length;i++){
				this.args.push(DynamicProperties.__CALCULATORTYPE__[str[i]]);
			}
			_class.prototype["??"+strs[2]]=this;
		}

		CLASS$(DynamicMethods,'iflash.laya.utils.DynamicMethods',true,false,_super);
		var __proto__=DynamicMethods.prototype;
		__proto__.setValue=function(obj,data){
			data=data.replace(DynamicMethods._string_Trim_,'');
			var strs=data.split(DynamicMethods._argsClip);
			var max=this.args.length>strs.length?this.args.length:strs.length;
			var min=this.args.length+strs.length-max;
			for (var i=0,sz=min;i < sz;i++)
			strs[i]=this.args[i](strs[i]);
			strs.splice(i,max-min);
			obj[this.setName].apply(obj,strs);
		}

		__proto__.getValue=function(obj){
			return obj[this.getName].call(obj);
		}

		__proto__.toHTML=LAYAFNFALSE/*function(){return false}*/
		DynamicMethods._regMethoed=new RegExp("(\\s*)([\\w-]+)\\s*[(]\\s*((\\w\\s*)+)[)]");
		DynamicMethods._argsClip=new RegExp("\\s+");
		DynamicMethods._string_Trim_=new RegExp("(^\\s*)|(\\s*$)","g");
		return DynamicMethods;
	})(DynamicProperties)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/errorevent.as
	var ErrorEvent=/*iflash.events.ErrorEvent*/(function(_super){
		function ErrorEvent(type,bubbles,cancelable,text,id){
			this.m_errorID=0;
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			(text===void 0)&& (text="");
			(id===void 0)&& (id=0);
			ErrorEvent._SUPERC_.call(this,type,bubbles,cancelable,text);
			this.m_errorID=id;
		}

		CLASS$(ErrorEvent,'iflash.events.ErrorEvent',true,false,_super);
		var __proto__=ErrorEvent.prototype;
		__proto__.clone=function(){
			return new ErrorEvent(this.type,this.bubbles,this.cancelable,this.text,this.m_errorID);
		}

		__proto__.toString=function(){
			return this.formatToString("ErrorEvent","type","bubbles","cancelable","eventPhase","text","errorID");
		}

		GETSET$(0,__proto__,'errorID',function(){
			return this.m_errorID;
		});

		ErrorEvent.ERROR="error";
		return ErrorEvent;
	})(TextEvent)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/dataevent.as
	var DataEvent=/*iflash.events.DataEvent*/(function(_super){
		function DataEvent(type,bubbles,cancelable,data){
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			(data===void 0)&& (data="");
			DataEvent._SUPERC_.call(this,type,bubbles,cancelable);
		}

		CLASS$(DataEvent,'iflash.events.DataEvent',true,false,_super);
		var __proto__=DataEvent.prototype;
		GETSET$(0,__proto__,'data',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		DataEvent.DATA="data";
		DataEvent.UPLOAD_COMPLETE_DATA="uploadCompleteData";
		return DataEvent;
	})(TextEvent)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/fullscreenevent.as
	var FullScreenEvent=/*iflash.events.FullScreenEvent*/(function(_super){
		function FullScreenEvent(type,bubbles,cancelable,activating){
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			(activating===void 0)&& (activating=false);
			FullScreenEvent._SUPERC_.call(this,type,bubbles,cancelable,activating);
		}

		CLASS$(FullScreenEvent,'iflash.events.FullScreenEvent',true,false,_super);
		var __proto__=FullScreenEvent.prototype;
		GETSET$(0,__proto__,'fullScreen',LAYAFNFALSE/*function(){return false}*/);
		FullScreenEvent.FULL_SCREEN="fullScreen";
		return FullScreenEvent;
	})(ActivityEvent)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/imeevent.as
	var IMEEvent=/*iflash.events.IMEEvent*/(function(_super){
		function IMEEvent(type,bubbles,cancelable,text){
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			(text===void 0)&& (text="");
			IMEEvent._SUPERC_.call(this,type,bubbles,cancelable,text);
		}

		CLASS$(IMEEvent,'iflash.events.IMEEvent',true,false,_super);
		var __proto__=IMEEvent.prototype;
		__proto__.clone=function(){
			return null;
		}

		GETSET$(0,__proto__,'imeClient',function(){
			return null;
			},function(value){;
		});

		IMEEvent.IME_COMPOSITION="imeComposition";
		IMEEvent.IME_START_COMPOSITION="imeStartComposition";
		return IMEEvent;
	})(TextEvent)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/pressandtapgestureevent.as
	var PressAndTapGestureEvent=/*iflash.events.PressAndTapGestureEvent*/(function(_super){
		function PressAndTapGestureEvent(type,bubbles,cancelable,phase,localX,localY,ctrlKey,altKey,shiftKey,commandKey,controlKey,_d){
			this.tapLocalX=0;
			this.tapLocalY=0;
			this.tapStageX=0;
			this.tapStageY=0;
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			(localX===void 0)&& (localX=0);
			(localY===void 0)&& (localY=0);
			(ctrlKey===void 0)&& (ctrlKey=false);
			(altKey===void 0)&& (altKey=false);
			(shiftKey===void 0)&& (shiftKey=false);
			(commandKey===void 0)&& (commandKey=false);
			(controlKey===void 0)&& (controlKey=false);
			PressAndTapGestureEvent._SUPERC_.call(this,type,bubbles,cancelable,phase,localX,localY,ctrlKey,altKey,shiftKey,commandKey,controlKey,_d);
		}

		CLASS$(PressAndTapGestureEvent,'iflash.events.PressAndTapGestureEvent',true,false,_super);
		PressAndTapGestureEvent.getInstance=function(){
			if(PressAndTapGestureEvent._instance==null)
				PressAndTapGestureEvent._instance=new PressAndTapGestureEvent(/*CLASS CONST:iflash.events.PressAndTapGestureEvent.GESTURE_PRESS_AND_TAP*/"gesturePressAndTap",true,false,/*iflash.events.GesturePhase.ALL*/"all");
			return PressAndTapGestureEvent._instance;
		}

		PressAndTapGestureEvent.GESTURE_PRESS_AND_TAP="gesturePressAndTap";
		PressAndTapGestureEvent._instance=null
		return PressAndTapGestureEvent;
	})(GestureEvent)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/transformgestureevent.as
	var TransformGestureEvent=/*iflash.events.TransformGestureEvent*/(function(_super){
		function TransformGestureEvent(type,bubbles,cancelable,phase,localX,localY,scaleX,scaleY,rotation,offsetX,offsetY,ctrlKey,altKey,shiftKey,commandKey,controlKey,_d){
			this.offsetX=0;
			this.offsetY=0;
			this.rotation=0;
			this.scaleX=0;
			this.scaleY=0;
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			(localX===void 0)&& (localX=0);
			(localY===void 0)&& (localY=0);
			(scaleX===void 0)&& (scaleX=1);
			(scaleY===void 0)&& (scaleY=1);
			(rotation===void 0)&& (rotation=0);
			(offsetX===void 0)&& (offsetX=0);
			(offsetY===void 0)&& (offsetY=0);
			(ctrlKey===void 0)&& (ctrlKey=false);
			(altKey===void 0)&& (altKey=false);
			(shiftKey===void 0)&& (shiftKey=false);
			(commandKey===void 0)&& (commandKey=false);
			(controlKey===void 0)&& (controlKey=false);
			TransformGestureEvent._SUPERC_.call(this,type,bubbles,cancelable,phase,localX,localY,ctrlKey,altKey,shiftKey,commandKey,controlKey,_d);
			this.offsetX=offsetX;
			this.offsetY=offsetY;
			this.rotation=rotation;
			this.scaleX=scaleX;
			this.scaleY=scaleY;
		}

		CLASS$(TransformGestureEvent,'iflash.events.TransformGestureEvent',true,false,_super);
		var __proto__=TransformGestureEvent.prototype;
		__proto__.toMouseEvent=function(){
			_super.prototype.toMouseEvent.call(this);
			Event.__helpMouseEvt__.type=/*iflash.events.MouseEvent.MOUSE_MOVE*/"mouseMove";
			Event.__helpMouseEvt__.buttonDown=true;
			return Event.__helpMouseEvt__;
		}

		TransformGestureEvent.GESTURE_PAN="gesturePan";
		TransformGestureEvent.GESTURE_ROTATE="gestureRotate";
		TransformGestureEvent.GESTURE_SWIPE="gestureSwipe";
		TransformGestureEvent.GESTURE_ZOOM="gestureZoom";
		return TransformGestureEvent;
	})(GestureEvent)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/utils/setintervaltimer.as
	var SetIntervalTimer=/*iflash.utils.SetIntervalTimer*/(function(_super){
		function SetIntervalTimer(closure,delay,repeats,rest){
			this.id=0;
			this.closure=null;
			this.rest=null;
			SetIntervalTimer._SUPERC_.call(this,delay,repeats?0:1);
			this.closure=closure;
			this.rest=rest;
			this.addEventListener(repeats? /*iflash.events.TimerEvent.TIMER*/"timer":/*iflash.events.TimerEvent.TIMER_COMPLETE*/"timerComplete",BIND$(this,this.onTimer));
			this.start();
			this.id=SetIntervalTimer.intervals.length+1;
			SetIntervalTimer.intervals.push(this);
		}

		CLASS$(SetIntervalTimer,'iflash.utils.SetIntervalTimer',true,false,_super);
		var __proto__=SetIntervalTimer.prototype;
		__proto__.onTimer=function(event){
			this.closure.apply(null,this.rest);
			if(this.repeatCount==1){
				if(SetIntervalTimer.intervals[this.id-1]==this){
					delete SetIntervalTimer.intervals[this.id-1];
					true;
				}
			}
		}

		SetIntervalTimer.clearInterval=function(id_to_clear){
			id_to_clear--;
			if(((SetIntervalTimer.intervals[id_to_clear])instanceof iflash.utils.SetIntervalTimer )){
				SetIntervalTimer.intervals[id_to_clear].stop();
				delete SetIntervalTimer.intervals[id_to_clear];
				true;
			}
		}

		SetIntervalTimer.intervals=[];
		return SetIntervalTimer;
	})(Timer)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/asyncerrorevent.as
	var AsyncErrorEvent=/*iflash.events.AsyncErrorEvent*/(function(_super){
		function AsyncErrorEvent(type,bubbles,cancelable,text,error){
			this.error=null;
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			(text===void 0)&& (text="");
			AsyncErrorEvent._SUPERC_.call(this,type,bubbles,cancelable,text);
		}

		CLASS$(AsyncErrorEvent,'iflash.events.AsyncErrorEvent',true,false,_super);
		var __proto__=AsyncErrorEvent.prototype;
		__proto__.clone=LAYAFNNULL/*function(){return null}*/
		AsyncErrorEvent.ASYNC_ERROR="asyncError";
		return AsyncErrorEvent;
	})(ErrorEvent)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/ioerrorevent.as
	var IOErrorEvent=/*iflash.events.IOErrorEvent*/(function(_super){
		function IOErrorEvent(type,bubbles,cancelable,text,id){
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			(text===void 0)&& (text="");
			(id===void 0)&& (id=0);
			IOErrorEvent._SUPERC_.call(this,type,bubbles,cancelable,text,id);
		}

		CLASS$(IOErrorEvent,'iflash.events.IOErrorEvent',true,false,_super);
		IOErrorEvent.DISK_ERROR="disk_error";
		IOErrorEvent.IO_ERROR="ioError";
		IOErrorEvent.NETWORK_ERROR="network_error";
		IOErrorEvent.VERIFY_ERROR="verify_error";
		return IOErrorEvent;
	})(ErrorEvent)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/securityerrorevent.as
	var SecurityErrorEvent=/*iflash.events.SecurityErrorEvent*/(function(_super){
		function SecurityErrorEvent(type,bubbles,cancelable,text,id){
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			(text===void 0)&& (text="");
			(id===void 0)&& (id=0);
			SecurityErrorEvent._SUPERC_.call(this,type,bubbles,cancelable,text,id);
		}

		CLASS$(SecurityErrorEvent,'iflash.events.SecurityErrorEvent',true,false,_super);
		SecurityErrorEvent.SECURITY_ERROR="securityError";
		return SecurityErrorEvent;
	})(ErrorEvent)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/events/uncaughterrorevent.as
	var UncaughtErrorEvent=/*iflash.events.UncaughtErrorEvent*/(function(_super){
		function UncaughtErrorEvent(type,bubbles,cancelable,error_in,id){
			(type===void 0)&& (type="uncaughtError");
			(bubbles===void 0)&& (bubbles=true);
			(cancelable===void 0)&& (cancelable=true);
			(id===void 0)&& (id=0);
			UncaughtErrorEvent._SUPERC_.call(this,type,bubbles,cancelable,error_in,id);
		}

		CLASS$(UncaughtErrorEvent,'iflash.events.UncaughtErrorEvent',true,false,_super);
		var __proto__=UncaughtErrorEvent.prototype;
		GETSET$(0,__proto__,'error',LAYAFNSTR/*function(){return ""}*/);
		UncaughtErrorEvent.UNCAUGHT_ERROR="uncaughtError";
		return UncaughtErrorEvent;
	})(ErrorEvent)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/accessibility/accessibilityimplementation.as
	var AccessibilityImplementation=/*iflash.accessibility.AccessibilityImplementation*/(function(){
		function AccessibilityImplementation(){
			this.errno=0;
			this.stub=false;
		}

		CLASS$(AccessibilityImplementation,'iflash.accessibility.AccessibilityImplementation',true,true);
		var __proto__=AccessibilityImplementation.prototype;
		__proto__.accDoDefaultAction=LAYAFNVOID/*function(childID){}*/
		__proto__.accLocation=LAYAFNNULL/*function(childID){return null}*/
		__proto__.accSelect=LAYAFNVOID/*function(operation,childID){}*/
		__proto__.get_accDefaultAction=LAYAFNSTR/*function(childID){return ""}*/
		__proto__.get_accFocus=LAYAFN0/*function(){return 0}*/
		__proto__.get_accName=LAYAFNSTR/*function(childID){return ""}*/
		__proto__.get_accRole=LAYAFN0/*function(childID){return 0}*/
		__proto__.get_accSelection=LAYAFNARRAY/*function(){return []}*/
		__proto__.get_accState=LAYAFN0/*function(childID){return 0}*/
		__proto__.get_accValue=LAYAFNSTR/*function(childID){return ""}*/
		__proto__.getChildIDArray=LAYAFNARRAY/*function(){return []}*/
		__proto__.isLabeledBy=LAYAFNFALSE/*function(labelBounds){return false}*/
		return AccessibilityImplementation;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/bitmapdata.as
	var BitmapData=/*iflash.display.BitmapData*/(function(){
		function BitmapData(w,h,transparent,color){
			this.paint=null;
			this._canvas_=null;
			this._type_=0;
			this._context_=null;
			this._width_=NaN;
			this._height_=NaN;
			this.transparent=false;
			this._url=null;
			this._rect_=new Rectangle();
			(w===void 0)&& (w=0);
			(h===void 0)&& (h=0);
			(transparent===void 0)&& (transparent=true);
			(color===void 0)&& (color=0xFFFFFF);
			this.transparent=transparent;
			this._rect_.x=this._rect_.y=0;
			this._rect_.width=this._width_=w;
			this._rect_.height=this._height_=h;
			this.setType(2);
			if (!this.transparent){
				this._createCMD_();
				this._fillRect_(new Rectangle(0,0,w,h),color);
			}
		}

		CLASS$(BitmapData,'iflash.display.BitmapData',true,true);
		var __proto__=BitmapData.prototype;
		__proto__.paintCanvas=function(ctx,x,y,w,h){
			if(ctx.width !=0 && ctx.height !=0 && this._canvas_ && this._canvas_.width !=0 && this._canvas_.height !=0){
				this._canvas_&&ctx.drawImage(this._canvas_,0,0,this._canvas_.width,this._canvas_.height,x,y,w,h);
			}
		}

		__proto__.paintCmd=function(ctx,x,y,w,h){
			this._canvas_ && this._canvas_.paint(ctx,x,y,w,h);
		}

		__proto__.setType=function(value){
			this._type_=value;
			this.paint=this._type_==1 ? this.paintCanvas:this.paintCmd;
		}

		__proto__.clone=function(){
			return this.copyTo(new BitmapData());
		}

		__proto__.size=function(w,h){
			this._width_=w;
			this._height_=h;
		}

		__proto__.copyTo=function(dec){
			dec._height_=this._height_;
			dec._width_=this._width_;
			dec._rect_=this._rect_.clone();
			this._canvas_&&(dec._canvas_=this._canvas_.clone());
			dec._context_=dec.type==1?dec._canvas_.getContext("2d"):dec._canvas_;
			return dec;
		}

		__proto__.initBitmapdata=function(src){
			var __image=Browser.document.createElement("image");
			__image.onload=function (){
				this.setImage(__image);
			};
			__image.src=src;
			if(Laya.RENDERBYCANVAS)DisplayUnit._insertUnit_(this,DrawBitmapData._DEFAULT_);
			return false;
		}

		__proto__.destroy=function(){
			this._canvas_=null;
			this._context_=null;
		}

		__proto__.setCanvas=function(data){
			this._canvas_=data;
			this._context_=this._canvas_.getContext('2d');
			if(this._width_==0||this._height_==0){
				this._width_=data.width;
				this._height_=data.height;
			}
		}

		__proto__.setImage=function(data){
			if(this._width_==0||this._height_==0){
				this._width_=data.width;
				this._height_=data.height;
			}
			if (!this._canvas_){
				if (this._type_==2){
					this._canvas_=new VirtualCanvas();
					this._canvas_.size(this._width_,this._height_);
					this._canvas_.setImage(data);
					this._context_=this._canvas_.getContext("2d");
				}
				else{
					this._canvas_=this._canvas_||Canvas.create();
					this._canvas_.size(this._width_,this._height_);
					this._context_=this._canvas_.getContext("2d");
					this._context_.drawImage(data,0,0);
				}
			}
			else{
				if (this._type_==2)
					this._canvas_.changeImage(data);
				else
				this._context_.drawImage(data,0,0);
			}
		}

		__proto__.fillRect=function(rect,color){
			this._createCMD_();
			if(color==0){
				this._context_.clearRect(rect.left,rect.top,rect.width,rect.height);
			}
			else{
				this._fillRect_(rect,color);
			}
		}

		__proto__._fillRect_=function(rect,color){
			this._context_.save();
			var s,len=0,str="";
			if(color<=0xffffff){
				s=color.toString(16).toUpperCase();
				len=6-s.length;
				}else {
				var newColor=color % 0x1000000;
				var alpha=LAYABOX.parseInt(color / 0x1000000+"");
				this._context_.globalAlpha=alpha / 255;
				s=newColor.toString(16);
			}
			if(s.length<6){
				for(var i=0;i<len;i++){
					str+=0;
				}
			}
			s="#"+str+s;
			this._context_.fillStyle=s;
			this._context_.fillRect(rect.left,rect.top,rect.width,rect.height);
			this._context_.restore();
		}

		__proto__._createCMD_=function(){
			if (this._canvas_)return this._canvas_;
			this._canvas_=this._type_==2? Browser.document.createElement("virtualBitmap"):Canvas.create();
			this._context_=this.type==1? this._canvas_.getContext("2d"):this._canvas_;
			this._canvas_.size(this.width,this.height);
			return this._canvas_;
		}

		__proto__.isOk=function(){
			if (this._canvas_ && this._canvas_.isReady())
				return true;
			return false;
		}

		__proto__.setComplete=function(callback){
			this._canvas_.onComplete=callback;
		}

		__proto__.draw=function(source,matrix,colorTransform,blendMode,clipRect,smoothing){
			(smoothing===void 0)&& (smoothing=false);
			var tempCanvas;
			if (clipRect==null)clipRect=new Rectangle(0,0,this.width,this.height);
			if(clipRect.right > this.width)
				clipRect.width=this.width-clipRect.x;
			if(clipRect.bottom>this.height)
				clipRect.height=this.height-clipRect.y;
			this._createCMD_();
			if ((source instanceof iflash.display.BitmapData )){
				tempCanvas=source._canvas_;
			}
			else{
				tempCanvas=new VirtualCanvas();
				tempCanvas.size(source.width,source.height);
				source._lyToBody_();
				source.conchPaint(tempCanvas,0,0,true);
			}
			if(this._context_){
				if (matrix){
					this._context_.drawMartixImage(tempCanvas,matrix,clipRect);
				}
				else{
					this._context_.drawImage(tempCanvas,clipRect.x,clipRect.y,clipRect.width,clipRect.height,clipRect.x,clipRect.y,clipRect.width,clipRect.height);
				}
			}
		}

		__proto__.scroll=LAYAFNVOID/*function(x,y){}*/
		__proto__.dispose=function(){
			this._canvas_=null;
			this._context_=null;
		}

		__proto__.isReady=function(){
			return this._canvas_!=null;
		}

		__proto__.setPixels=function(rect,inputData,url){
			this._width_=rect.width;
			this._height_=rect.height;
			var imgdata={};
			imgdata.data=inputData;
			imgdata.width=rect.width;
			imgdata.height=rect.height;
			if (Laya.CONCHVER || Laya.FLASHVER){
				var img=Browser.document.createElement('img');
				this.setImage(img);
				img.putImageData(url,imgdata,0,0,null);
			}
			this._url=url;
			return;
		}

		__proto__.getPixel=LAYAFN0/*function(x,y){return 0}*/
		__proto__.clear=function(){
			this._context_ && this._context_.clearRect(0,0,this._width_,this._height_);
		}

		__proto__.copyPixels=function(sourceBitmapData,sourceRect,destPoint,alphaBitmapData,alphaPoint,mergeAlpha){
			(mergeAlpha===void 0)&& (mergeAlpha=false);
			var w=this._width_;
			var h=this._height_;
			destPoint=destPoint || Point.__DEFAULT__;
			if(sourceRect.width+destPoint.x > this.width)
				sourceRect.width=this.width-destPoint.x;
			if(sourceRect.height+destPoint.y>this.height)
				sourceRect.height=this.height-destPoint.y;
			if (sourceBitmapData.width < sourceRect.width)
				sourceRect.width=sourceBitmapData.width;
			else if(sourceBitmapData.height < sourceRect.height)
			sourceRect.height=sourceBitmapData.height;
			if (this._canvas_==null){this.size(w||sourceRect.width,h||sourceRect.height);this._createCMD_();}
				!mergeAlpha&& this._canvas_.clearRect(destPoint.x,destPoint.y,sourceRect.width,sourceRect.height);
			sourceBitmapData._canvas_&&this._canvas_.drawImage(sourceBitmapData._canvas_,sourceRect.left,sourceRect.top,Math.min(sourceRect.width,this._width_),Math.min(this._height_,sourceRect.height),destPoint.x,destPoint.y,Math.min(sourceRect.width,this._width_),Math.min(this._height_,sourceRect.height));
		}

		__proto__.getPixel32=function(x,y){
			return 0xff9900;;
		}

		__proto__.lock=LAYAFNVOID/*function(){}*/
		__proto__.unlock=LAYAFNVOID/*function(){}*/
		__proto__.setPixel=LAYAFNVOID/*function(x,y,color){}*/
		__proto__.getCanvas=function(){
			if (this._type_==1)return this._canvas_;
			else{
				if (this._canvas_.isNormal())
					return this._canvas_.getImage();
				var canvas=Canvas.create();
				canvas.size(this._width_,this._height_);
				var context=canvas.getContext("2d");
				canvas.context=context;
				this.paintCmd(context,0,0,this._width_,this._height_);
				return canvas;
			}
		}

		__proto__.getCanvasII=function(){
			if (this._canvas_.isNormal())
				return this._canvas_.getImage();
			else{
				return null;
			}
		}

		__proto__.getColorBoundsRect=function(mask,color,findColor){
			(findColor===void 0)&& (findColor=true);
			return this.rect;
		}

		__proto__.copyChannel=LAYAFNVOID/*function(sourceBitmapData,sourceRect,destPoint,sourceChannel,destChannel){}*/
		__proto__.colorTransform=LAYAFNVOID/*function(rect,colorTransform){}*/
		__proto__.applyFilter=LAYAFNVOID/*function(sourceBitmapData,sourceRect,destPoint,filter){}*/
		__proto__.setPixel32=LAYAFNVOID/*function(x,y,color){}*/
		__proto__.threshold=function(sourceBitmapData,sourceRect,destPoint,operation,threshold,color,mask,copySource){
			(color===void 0)&& (color=0);
			(mask===void 0)&& (mask=0xFFFFFFFF);
			(copySource===void 0)&& (copySource=false);
			return 0}
		__proto__.getPixels=LAYAFNNULL/*function(rect){return null}*/
		__proto__.histogram=function(hRect){
			return new Array
		}

		__proto__.hitTest=function(firstPoint,firstAlphaThreshold,secondObject,secondBitmapDataPoint,secondAlphaThreshold){
			(secondAlphaThreshold===void 0)&& (secondAlphaThreshold=1);
			return false}
		__proto__.compare=LAYAFNNULL/*function(otherBitmapData){return null}*/
		__proto__.generateFilterRect=LAYAFNNULL/*function(sourceRect,filter){return null}*/
		GETSET$(0,__proto__,'type',function(){
			return this._type_;
		});

		GETSET$(0,__proto__,'width',function(){
			return this._width_;
			},function(w){
			this.size(w,this._height_);
		});

		GETSET$(0,__proto__,'rect',function(){
			this._rect_.width=this._width_;
			this._rect_.height=this._height_;
			return this._rect_;
		});

		GETSET$(0,__proto__,'height',function(){
			return this._height_;
			},function(h){
			this.size(this._width_,h);
		});

		GETSET$(0,__proto__,'url',function(){
			return this._url;
		});

		BitmapData.CANVAS=1;
		BitmapData.CMD=2;
		return BitmapData;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/bitmapdatachannel.as
	var BitmapDataChannel=/*iflash.display.BitmapDataChannel*/(function(){
		function BitmapDataChannel(){}
		CLASS$(BitmapDataChannel,'iflash.display.BitmapDataChannel',true,true);
		BitmapDataChannel.ALPHA=8;
		BitmapDataChannel.BLUE=4;
		BitmapDataChannel.GREEN=2;
		BitmapDataChannel.RED=1;
		return BitmapDataChannel;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/blendmode.as
	var BlendMode=/*iflash.display.BlendMode*/(function(){
		function BlendMode(){
			;
		}

		CLASS$(BlendMode,'iflash.display.BlendMode',true,true);
		BlendMode.NORMAL="normal";
		BlendMode.LAYER="layer";
		BlendMode.MULTIPLY="multiply";
		BlendMode.SCREEN="screen";
		BlendMode.LIGHTEN="lighten";
		BlendMode.DARKEN="darken";
		BlendMode.ADD="add";
		BlendMode.SUBTRACT="subtract";
		BlendMode.DIFFERENCE="difference";
		BlendMode.INVERT="invert";
		BlendMode.OVERLAY="overlay";
		BlendMode.HARDLIGHT="hardlight";
		BlendMode.ALPHA="alpha";
		BlendMode.ERASE="erase";
		BlendMode.SHADER="shader";
		return BlendMode;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/capsstyle.as
	var CapsStyle=/*iflash.display.CapsStyle*/(function(){
		function CapsStyle(){}
		CLASS$(CapsStyle,'iflash.display.CapsStyle',true,true);
		CapsStyle.ROUND="round";
		CapsStyle.NONE="none";
		CapsStyle.SQUARE="square";
		return CapsStyle;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/framelabel.as
	var FrameLabel=/*iflash.display.FrameLabel*/(function(){
		function FrameLabel(){
			this.frame=0;
			this.name=null;
		}

		CLASS$(FrameLabel,'iflash.display.FrameLabel',true,true);
		return FrameLabel;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/gradienttype.as
	var GradientType=/*iflash.display.GradientType*/(function(){
		function GradientType(){}
		CLASS$(GradientType,'iflash.display.GradientType',true,true);
		GradientType.LINEAR="linear";
		GradientType.RADIAL="radial";
		return GradientType;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/graphics.as
	var Graphics=/*iflash.display.Graphics*/(function(){
		function Graphics(ower){
			this.ower=null;
			this._canvas_=null;
			this._context_=null;
			this._rendercomds_=[];
			this._rendercomdsOffset_=0;
			this.width=0;
			this.height=0;
			this.bitmapFlag=false;
			this.x=0;
			this.y=0;
			this._rectArea=null;
			this.isFill=false;
			this._beginPos=null;
			this.prefill=null;
			this.isDrawGraphic=false;
			this.lythickness=0;
			this.lystorkeStyle=false;
			this.lystroke=false;
			this.isMoveto=false;
			this._minX=0;
			this._minY=0;
			this._maxX=0;
			this._maxY=0;
			this._lastX=0;
			this._lastY=0;
			this._helprec=new Rectangle();
			this._pointMove=new Point();
			this.ower=ower;
			this._createCanvas_();
		}

		CLASS$(Graphics,'iflash.display.Graphics',true,true);
		var __proto__=Graphics.prototype;
		__proto__._createCanvas_=function(){
			if(!this._canvas_){
				this._canvas_=new VirtualCanvas();
				this._context_=this._canvas_.getContext("2d");
				this._rectArea=new Rectangle();
			}
		}

		__proto__.hasUse=function(){
			return this._rendercomds_.length > 0;
		}

		__proto__._expandSize_=function(rect){
			if(!this._rectArea){
				this._rectArea=rect.clone();
			}
			else{
				this._rectArea=this._rectArea.union(rect);
			}
			this.width=Math.max(this.width,this._rectArea.width+this.lythickness);
			this.height=Math.max(this.height,this._rectArea.height+this.lythickness);
			this.ower._height_=this.height;
			this.ower._width_=this.width;
			this.x=this._rectArea.x;
			this.y=this._rectArea.y;
			this._canvas_.size(this.width,this.height);
		}

		__proto__.isReady=function(){
			return this._canvas_&&((this.width>0&&this.height>0)||this.lystroke);
		}

		__proto__.beginBitmapFill=function(bitmap,matrix,repeat,smooth){
			(repeat===void 0)&& (repeat=true);
			(smooth===void 0)&& (smooth=false);
			this._rendercomds_.push([null,3,[bitmap,matrix,repeat,smooth]]);
			this.bitmapFlag=true;
		}

		__proto__.beginFill=function(color,alpha){
			(alpha===void 0)&& (alpha=1);
			this.isFill=true;
			var s=color.toString(16).toUpperCase();
			var len=6-s.length,str="";
			if(s.length<6){
				for(var i=0;i<len;i++){
					str+=0;
				}
			};
			var al
			al=(LAYABOX.parseInt(alpha*0xff+"")).toString(16);
			if(al.length<2){
				al="0"+al;
			}
			s=str+s;
			var r=color>>16;
			var g=(color&0x00ff00)>>8;
			var b=color&0x0000ff;
			var fillStyle='rgba('+r+','+g+','+b+','+alpha+')';
			if (Laya.CONCHVER)fillStyle="#"+al+s;
			this._context_.fillStyle=fillStyle;
			this.bitmapFlag=false;
		}

		__proto__.beginGradientFill=function(type,colors,alphas,ratios,matrix,spreadMethod,interpolationMethod,focalPointRatio){
			(spreadMethod===void 0)&& (spreadMethod="pad");
			(interpolationMethod===void 0)&& (interpolationMethod="rgb");
			(focalPointRatio===void 0)&& (focalPointRatio=0);
		}

		__proto__.beginShaderFill=LAYAFNVOID/*function(shader,matrix){}*/
		__proto__.clear=function(){
			this.width=this.height=this.x=this.y=0;
			this.lystroke=this.isFill=false;
			this.lystorkeStyle=false;
			this._rectArea=null;
			this.lythickness=0;
			this._minX=0;
			this._minY=0;
			this._maxX=0;
			this._maxY=0;
			this.isMoveto=false;
			this._rendercomds_.length=0;
			this._rendercomdsOffset_=0;
			this._canvas_&&this._canvas_.clearRect(0,0,this._canvas_.width,this._canvas_.height);
		}

		__proto__.copyFrom=LAYAFNVOID/*function(sourceGraphics){}*/
		__proto__.cubicCurveTo=function(controlX1,controlY1,controlX2,controlY2,anchorX,anchorY){
			this.setxy(controlX1,controlY1);
			this._addplug_();
			this._context_.bezierCurveTo(controlX1,controlY1,controlX2,controlY2,anchorX,anchorY);
			if (this.lystorkeStyle)this._context_.stroke();
			if (this.isFill)this._context_.fill();
		}

		__proto__.curveTo=function(controlX,controlY,anchorX,anchorY){
			this._addplug_()
			this.setxy(controlX,controlY);
			this._context_.quadraticCurveTo(controlX,controlY,anchorX,anchorY);
			if (this.isFill)this._context_.fill();
			this._context_.stroke();
		}

		__proto__.drawCircle=function(x,y,r){
			var w=x+r;
			var h=y+r;
			this._addplug_();
			this.setxy(x-r,y-r);
			this._helprec.x=x-r;
			this._helprec.y=y-r;
			this._helprec.width=this._helprec.height=r*2;
			this._expandSize_(this._helprec);
			this._context_.beginPath();
			this._context_.arc(x,y,r,0,Math.PI *2,true);
			this._context_.closePath();
			if (this.isFill)this._context_.fill();
			if (this.lystorkeStyle)this._context_.stroke();
		}

		__proto__.drawEllipse=function(x,y,a,b){
			this._addplug_();
			this.setxy(x,y);
			this._helprec.x=x-a;
			this._helprec.y=y-b;
			this._helprec.width=a;this._helprec.height=b;
			this._expandSize_(this._helprec);
			this._context_.save();
			var r=(a > b)? a :b;
			var ratioX=a / r*0.5;
			var ratioY=b / r*0.5;
			this._context_.scale(ratioX,ratioY);
			this._context_.beginPath();
			this._context_.arc((x+a*0.5)/ ratioX,(y+b*0.5)/ ratioY,r,0,2 *Math.PI,true);
			this._context_.closePath();
			if (this.isFill)this._context_.fill();
			if (this.lystorkeStyle)this._context_.stroke();
			this._context_.restore();
		}

		__proto__.drawGraphicsData=LAYAFNVOID/*function(graphicsData){}*/
		__proto__.drawPath=function(commands,data,winding){
			(winding===void 0)&& (winding="evenOdd");
		}

		__proto__._addplug_=function(){
			if (!this.isDrawGraphic){
				if(Laya.RENDERBYCANVAS)
					DisplayUnit._insertUnit_(this.ower,DrawGraphics._DEFAULT_);
				else{
					this.ower._modle_.vcanvas(this._canvas_);
				}
				this.isDrawGraphic=true;
			}
		}

		__proto__.drawRect=function(x,y,w,h){
			this._addplug_();
			this.setxy(x,y);
			!this._beginPos && (this._beginPos=new Point());
			this._beginPos.x=x;
			this._beginPos.y=y;
			this._helprec.x=x;this._helprec.y=y;this._helprec.width=w;this._helprec.height=h;
			this._expandSize_(this._helprec);
			if (!this.bitmapFlag){
				if (this.lystorkeStyle){
					if (this.isFill)this._context_.fillRect(x,y,w,h);
					this._context_.strokeRect(x+0.5,y+0.5,w,h);
				}
				else if(this.isFill)
				this._context_.fillRect(x-1,y-1,w+1,h+1);
				else return;
				this._context_.closePath();
			}
			else{
				if(this._rendercomds_[this._rendercomds_.length-1][1]==3){
					var arr=this._rendercomds_.pop();
					var m=arr[2] [1];
					var bitmapdata=arr[2][0];
					var canvas=bitmapdata.getCanvasII();
					var repeat=arr[2][2];
					if(repeat && m && !m.isTransform()&&canvas&&(bitmapdata.width<w||bitmapdata.height<h))
						this._context_.fillImage(canvas,x,y,w,h);
					else{
						if(m){
							this._context_.drawMartixImage(bitmapdata._canvas_,m,new Rectangle(x,y,w,h));
							}else{
							this._context_.drawImage(bitmapdata._canvas_,x,y,w,h,x,y,w,h);
						}
					}
					this.prefill=[this._context_.drawImage,canvas];
				}
				else if(this.prefill){
					this._context_.drawImage(this.prefill[1],x,y,w,h,x,y,w,h);
				}
			}
		}

		__proto__.drawRoundRect=function(x,y,width,height,ellipseWidth,ellipseHeight){
			(ellipseHeight===void 0)&& (ellipseHeight=0);
			this._addplug_();
			this.setxy(x,y);
			ellipseWidth /=2;
			this._context_.beginPath();
			this._context_.moveTo(x+ellipseWidth,y);
			this._context_.arcTo(x+width,y,x+width,y+height,ellipseWidth);
			this._context_.arcTo(x+width,y+height,x,y+height,ellipseWidth);
			this._context_.arcTo(x,y+height,x,y,ellipseWidth);
			this._context_.arcTo(x,y,x+width,y,ellipseWidth);
			if (this.isFill)this._context_.fill();
			if (this.lystorkeStyle)this._context_.stroke();
			this._context_.closePath();
			this._helprec.x=x;this._helprec.y=y;this._helprec.width=width;this._helprec.height=height;
			this._expandSize_(this._helprec);
		}

		__proto__.drawRoundRectComplex=LAYAFNVOID/*function(x,y,width,height,topLeftRadius,topRightRadius,bottomLeftRadius,bottomRightRadius){}*/
		__proto__.drawTriangles=function(vertices,indices,uvtData,culling){
			(culling===void 0)&& (culling="none");
		}

		__proto__.endFill=function(){
			this.lystroke=this.isFill=false;
			this.lystorkeStyle=false;
			this.lythickness=0;
		}

		__proto__.setxy=function(x,y){
			(x===void 0)&& (x=0);
			(y===void 0)&& (y=0);
		}

		__proto__.lineBitmapStyle=function(bitmap,matrix,repeat,smooth){
			(repeat===void 0)&& (repeat=true);
			(smooth===void 0)&& (smooth=false);
		}

		__proto__.lineGradientStyle=function(type,colors,alphas,ratios,matrix,spreadMethod,interpolationMethod,focalPointRatio){
			(spreadMethod===void 0)&& (spreadMethod="pad");
			(interpolationMethod===void 0)&& (interpolationMethod="rgb");
			(focalPointRatio===void 0)&& (focalPointRatio=0);
		}

		__proto__.lineShaderStyle=LAYAFNVOID/*function(shader,matrix){}*/
		__proto__.lineStyle=function(thickness,color,alpha,pixelHinting,scaleMode,caps,joints,miterLimit){
			(thickness===void 0)&& (thickness=0);
			(color===void 0)&& (color=0);
			(alpha===void 0)&& (alpha=1);
			(pixelHinting===void 0)&& (pixelHinting=false);
			(scaleMode===void 0)&& (scaleMode="normal");
			(miterLimit===void 0)&& (miterLimit=3);
			this.bitmapFlag=false;
			this.lystorkeStyle=true;
			this.lystroke=true;
			this.lythickness=thickness;
			color=LAYABOX.parseInt(color+"");
			var s=color.toString(16).toUpperCase();
			var len=6-s.length,str="";
			if(s.length<6){
				for(var i=0;i<len;i++){
					str+=0;
				}
			}
			s=str+s;
			this._context_.lineWidth=thickness||1;
			this._context_.strokeStyle="#"+s;
			this._context_.lineCap="round";
			this._context_.lineJoin="round";
			this._context_.globalAlpha=alpha;
		}

		__proto__.lineTo=function(x,y){
			if(this.isMoveto==false){
				this.moveTo(0,0);
			}
			this._addplug_();
			this._helprec.width=Math.abs(x-this._pointMove.x);
			this._helprec.height=Math.abs(y-this._pointMove.y);
			this._helprec.x=this._pointMove.x;
			this._helprec.y=this._pointMove.y;
			this._expandSize_(this._helprec);
			this._context_.lineTo(x,y);
			this._context_.stroke();
			if (this.isFill)this._context_.fill();
		}

		__proto__.moveTo=function(x,y){
			this._addplug_();
			this.setxy(x,y);
			this.lystroke=true;
			this._pointMove.x=x;
			this._pointMove.y=y;
			this._context_.beginPath();
			this._context_.moveTo(x,y);
			this.isMoveto=true;
		}

		__proto__.checkRect=function(x,y,w,h){
			this._minX=Math.min(this._minX,x);
			this._minY=Math.min(this._minY,y);
			this._maxX=Math.max(this._maxX,x+w);
			this._maxY=Math.max(this._maxY,y+h);
		}

		__proto__.checkPoint=function(x,y){
			this._minX=Math.min(this._minX,x);
			this._minY=Math.min(this._minY,y);
			this._maxX=Math.max(this._maxX,x);
			this._maxY=Math.max(this._maxY,y);
			this._lastX=x;
			this._lastY=y;
		}

		__proto__.getBounds=function(targetSpace){
			return this._getBounds_(targetSpace);
		}

		__proto__._getBounds_=function(targetSpace,resultRect){
			if(!resultRect)
				resultRect=new Rectangle();
			if(targetSpace==this.ower){
				resultRect.setTo(this.x,this.y,this.width,this.height);
			}
			else{
				var p=targetSpace.globalToLocal(this.ower.localToGlobal(new Point(this.x,this.y)));
				resultRect.setTo(p.x,p.y,this.width,this.height);
			}
			return resultRect;
		}

		GETSET$(0,__proto__,'beginPos',function(){
			return this._beginPos;
		});

		return Graphics;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/graphicsendfill.as
	var GraphicsEndFill=/*iflash.display.GraphicsEndFill*/(function(){
		function GraphicsEndFill(){
			;
		}

		CLASS$(GraphicsEndFill,'iflash.display.GraphicsEndFill',true,true);
		var __proto__=GraphicsEndFill.prototype;
		LAYABOX.implements(__proto__,{"iflash.display.IGraphicsFill":true,"iflash.display.IGraphicsData":true})
		return GraphicsEndFill;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/graphicsgradientfill.as
	var GraphicsGradientFill=/*iflash.display.GraphicsGradientFill*/(function(){
		function GraphicsGradientFill(__args){
			this.alphas=null;
			this.colors=null;
			this.focalPointRatio=NaN;
			this.matrix=null;
			this.ratios=null;
		}

		CLASS$(GraphicsGradientFill,'iflash.display.GraphicsGradientFill',true,true);
		var __proto__=GraphicsGradientFill.prototype;
		LAYABOX.implements(__proto__,{"iflash.display.IGraphicsFill":true,"iflash.display.IGraphicsData":true})
		GETSET$(0,__proto__,'interpolationMethod',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'spreadMethod',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'type',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		return GraphicsGradientFill;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/graphicspath.as
	var GraphicsPath=/*iflash.display.GraphicsPath*/(function(){
		function GraphicsPath(commands,data,winding){
			this.commands=null;
			this.data=null;
			(winding===void 0)&& (winding="evenOdd");
		}

		CLASS$(GraphicsPath,'iflash.display.GraphicsPath',true,true);
		var __proto__=GraphicsPath.prototype;
		LAYABOX.implements(__proto__,{"iflash.display.IGraphicsPath":true,"iflash.display.IGraphicsData":true})
		__proto__.cubicCurveTo=LAYAFNVOID/*function(controlX1,controlY1,controlX2,controlY2,anchorX,anchorY){}*/
		__proto__.curveTo=LAYAFNVOID/*function(controlX,controlY,anchorX,anchorY){}*/
		__proto__.lineTo=LAYAFNVOID/*function(x,y){}*/
		__proto__.moveTo=LAYAFNVOID/*function(x,y){}*/
		__proto__.wideLineTo=LAYAFNVOID/*function(x,y){}*/
		__proto__.wideMoveTo=LAYAFNVOID/*function(x,y){}*/
		GETSET$(0,__proto__,'winding',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		return GraphicsPath;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/graphicspathcommand.as
	var GraphicsPathCommand=/*iflash.display.GraphicsPathCommand*/(function(){
		function GraphicsPathCommand(){}
		CLASS$(GraphicsPathCommand,'iflash.display.GraphicsPathCommand',true,true);
		GraphicsPathCommand.CUBIC_CURVE_TO=0;
		GraphicsPathCommand.CURVE_TO=3;
		GraphicsPathCommand.LINE_TO=2;
		GraphicsPathCommand.MOVE_TO=1;
		GraphicsPathCommand.NO_OP=0;
		GraphicsPathCommand.WIDE_LINE_TO=5;
		GraphicsPathCommand.WIDE_MOVE_TO=4;
		return GraphicsPathCommand;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/graphicssolidfill.as
	var GraphicsSolidFill=/*iflash.display.GraphicsSolidFill*/(function(){
		function GraphicsSolidFill(__args){
			this.alpha=NaN;
			this.color=0;
		}

		CLASS$(GraphicsSolidFill,'iflash.display.GraphicsSolidFill',true,true);
		var __proto__=GraphicsSolidFill.prototype;
		LAYABOX.implements(__proto__,{"iflash.display.IGraphicsFill":true,"iflash.display.IGraphicsData":true})
		return GraphicsSolidFill;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/graphicsstroke.as
	var GraphicsStroke=/*iflash.display.GraphicsStroke*/(function(){
		function GraphicsStroke(__args){
			this.fill=null;
			this.miterLimit=NaN;
			this.pixelHinting=false;
			this.thickness=NaN;
		}

		CLASS$(GraphicsStroke,'iflash.display.GraphicsStroke',true,true);
		var __proto__=GraphicsStroke.prototype;
		LAYABOX.implements(__proto__,{"iflash.display.IGraphicsStroke":true,"iflash.display.IGraphicsData":true})
		GETSET$(0,__proto__,'caps',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'joints',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'scaleMode',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		return GraphicsStroke;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/interpolationmethod.as
	var InterpolationMethod=/*iflash.display.InterpolationMethod*/(function(){
		function InterpolationMethod(){}
		CLASS$(InterpolationMethod,'iflash.display.InterpolationMethod',true,true);
		InterpolationMethod.LINEAR_RGB="linearRGB";
		InterpolationMethod.RGB="rgb";
		return InterpolationMethod;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/jointstyle.as
	var JointStyle=/*iflash.display.JointStyle*/(function(){
		function JointStyle(){
			;
		}

		CLASS$(JointStyle,'iflash.display.JointStyle',true,true);
		JointStyle.ROUND="round";
		JointStyle.BEVEL="bevel";
		JointStyle.MITER="miter";
		return JointStyle;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/linescalemode.as
	var LineScaleMode=/*iflash.display.LineScaleMode*/(function(){
		function LineScaleMode(){}
		CLASS$(LineScaleMode,'iflash.display.LineScaleMode',true,true);
		LineScaleMode.HORIZONTAL="horizontal";
		LineScaleMode.NONE="none";
		LineScaleMode.NORMAL="normal";
		LineScaleMode.VERTICAL="vertical";
		return LineScaleMode;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/pixelsnapping.as
	var PixelSnapping=/*iflash.display.PixelSnapping*/(function(){
		function PixelSnapping(){}
		CLASS$(PixelSnapping,'iflash.display.PixelSnapping',true,true);
		PixelSnapping.ALWAYS="always";
		PixelSnapping.AUTO="auto";
		PixelSnapping.NEVER="never";
		return PixelSnapping;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/plug/displayunit.as
	var DisplayUnit=/*iflash.display.plug.DisplayUnit*/(function(){
		function DisplayUnit(){
			this.next=null;
			this.pre=null;
		}

		CLASS$(DisplayUnit,'iflash.display.plug.DisplayUnit',true,true);
		var __proto__=DisplayUnit.prototype;
		__proto__.clone=LAYAFNNULL/*function(node){return null}*/
		__proto__.destroy=LAYAFNVOID/*function(){}*/
		__proto__.paint=function(context,x,y,node,w,h){
			if (this.next)this.next.paint(context,x,y,node,w,h);
		}

		GETSET$(0,__proto__,'place',function(){
			return-1;
		});

		GETSET$(0,__proto__,'id',function(){
			return-1;
		});

		DisplayUnit._insertUnit_=function(node,tempt){
			if (!Laya.RENDERBYCANVAS)return null;
			if (node._firstDisplayUnit_==null){
				return node._firstDisplayUnit_=tempt.clone(node);
			};
			var _pre=node._firstDisplayUnit_,last;
			var _place=tempt.place,_id=tempt.id;
			do{
				last=_pre;
				if (_pre.id==_id)return _pre;
				if (_pre.place >=_place)
					break ;
				_pre=_pre.next;
			}
			while (_pre);
			if (last.place==_place){
				_pre=tempt.clone(node);
				_pre.pre=last.pre;
				_pre.next=last.next;
				(_pre.pre==null)&& (node._firstDisplayUnit_=_pre);
				last.destroy();
				return _pre;
			}
			if (last.place < _place){
				_pre=last.next;
				last.next=tempt.clone(node);
				last.next.pre=last;
				last.next.next=_pre;
				return last.next;
			}
			_pre=tempt.clone(node);
			last.pre && (last.pre.next=_pre);
			_pre.pre=last.pre;
			_pre.next=last;
			last.pre=_pre;
			(_pre.pre==null)&& (node._firstDisplayUnit_=_pre);
			return _pre;
		}

		DisplayUnit.removeUnit=function(node,unit){
			if (unit.pre)
				unit.pre.next=unit.next;
			if (unit.next)
				unit.next.pre=unit.pre;
			unit.destroy();
		}

		DisplayUnit._DEFAULT_=new DisplayUnit();
		return DisplayUnit;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/scene.as
	var Scene=/*iflash.display.Scene*/(function(){
		function Scene(__a){}
		CLASS$(Scene,'iflash.display.Scene',true,true);
		var __proto__=Scene.prototype;
		GETSET$(0,__proto__,'labels',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'name',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'numFrames',LAYAFN0/*function(){return 0}*/);
		return Scene;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/shader.as
	var Shader=/*iflash.display.Shader*/(function(){
		function Shader(code){
			this._data
			;
			if(code){
				this.byteCode=code;
			}
		}

		CLASS$(Shader,'iflash.display.Shader',true,true);
		var __proto__=Shader.prototype;
		GETSET$(0,__proto__,'byteCode',null,function(code){
			this.data=new ShaderData(code);
		});

		GETSET$(0,__proto__,'data',function(){return this._data},function(value){this._data=value});
		GETSET$(0,__proto__,'precisionHint',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		return Shader;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/shaderdata.as
	var ShaderData=/*iflash.display.ShaderData*/(function(){
		function ShaderData(byteCode){
			;
		}

		CLASS$(ShaderData,'iflash.display.ShaderData',true,true);
		return ShaderData;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/spreadmethod.as
	var SpreadMethod=/*iflash.display.SpreadMethod*/(function(){
		function SpreadMethod(){
			;
		}

		CLASS$(SpreadMethod,'iflash.display.SpreadMethod',true,true);
		SpreadMethod.PAD="pad";
		SpreadMethod.REFLECT="reflect";
		SpreadMethod.REPEAT="repeat";
		return SpreadMethod;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/stagealign.as
	var StageAlign=/*iflash.display.StageAlign*/(function(){
		function StageAlign(){}
		CLASS$(StageAlign,'iflash.display.StageAlign',true,true);
		StageAlign.isTop=function(align){
			return (StageAlign.ALIGN_SIGN[align] & StageAlign.NUM_T)==StageAlign.NUM_T;
		}

		StageAlign.isBottom=function(align){
			return (StageAlign.ALIGN_SIGN[align] & StageAlign.NUM_B)==StageAlign.NUM_B;
		}

		StageAlign.isLeft=function(align){
			return (StageAlign.ALIGN_SIGN[align] & StageAlign.NUM_L)==StageAlign.NUM_L;
		}

		StageAlign.isRight=function(align){
			return (StageAlign.ALIGN_SIGN[align] & StageAlign.NUM_R)==StageAlign.NUM_R;
		}

		StageAlign.NUM_T=1;
		StageAlign.NUM_L=2;
		StageAlign.NUM_R=4;
		StageAlign.NUM_B=8;
		StageAlign.BOTTOM="B";
		StageAlign.BOTTOM_LEFT="BL";
		StageAlign.BOTTOM_RIGHT="BR";
		StageAlign.LEFT="L";
		StageAlign.RIGHT="R";
		StageAlign.TOP="T";
		StageAlign.TOP_LEFT="TL";
		StageAlign.TOP_RIGHT="TR";
		STATICATTR$(StageAlign,
		['ALIGN_SIGN',function(){return this.ALIGN_SIGN={
				"T":1,
				"L":2,
				"R":4,
				"B":8,
				"BL":10,
				"BR":12,
				"TL":3,
				"TR":5
		};}

		]);
		return StageAlign;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/stageaspectratio.as
	var StageAspectRatio=/*iflash.display.StageAspectRatio*/(function(){
		function StageAspectRatio(){}
		CLASS$(StageAspectRatio,'iflash.display.StageAspectRatio',true,true);
		StageAspectRatio.ANY="any";
		StageAspectRatio.LANDSCAPE="landscape";
		StageAspectRatio.PORTRAIT="portrait";
		return StageAspectRatio;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/stagedisplaystate.as
	var StageDisplayState=/*iflash.display.StageDisplayState*/(function(){
		function StageDisplayState(){
			;
		}

		CLASS$(StageDisplayState,'iflash.display.StageDisplayState',true,true);
		StageDisplayState.FULL_SCREEN="fullScreen";
		StageDisplayState.FULL_SCREEN_INTERACTIVE="fullScreenInteractive";
		StageDisplayState.NORMAL="normal";
		return StageDisplayState;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/stageorientation.as
	var StageOrientation=/*iflash.display.StageOrientation*/(function(){
		function StageOrientation(){}
		CLASS$(StageOrientation,'iflash.display.StageOrientation',true,true);
		StageOrientation.DEFAULT="default";
		StageOrientation.ROTATED_LEFT="rotatedLeft";
		StageOrientation.ROTATED_RIGHT="rotatedRight";
		StageOrientation.UNKNOWN="unknown";
		StageOrientation.UPSIDE_DOWN="upsideDown";
		return StageOrientation;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/stagequality.as
	var StageQuality=/*iflash.display.StageQuality*/(function(){
		function StageQuality(){
			;
		}

		CLASS$(StageQuality,'iflash.display.StageQuality',true,true);
		StageQuality.LOW="low";
		StageQuality.MEDIUM="medium";
		StageQuality.HIGH="high";
		StageQuality.BEST="best";
		return StageQuality;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/stagescalemode.as
	var StageScaleMode=/*iflash.display.StageScaleMode*/(function(){
		function StageScaleMode(){
			;
		}

		CLASS$(StageScaleMode,'iflash.display.StageScaleMode',true,true);
		StageScaleMode.SHOW_ALL="showAll";
		StageScaleMode.EXACT_FIT="exactFit";
		StageScaleMode.NO_BORDER="noBorder";
		StageScaleMode.NO_SCALE="noScale";
		return StageScaleMode;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/swfversion.as
	var SWFVersion=/*iflash.display.SWFVersion*/(function(){
		function SWFVersion(){}
		CLASS$(SWFVersion,'iflash.display.SWFVersion',true,true);
		SWFVersion.FLASH1=1;
		SWFVersion.FLASH10=10;
		SWFVersion.FLASH11=11;
		SWFVersion.FLASH12=0;
		SWFVersion.FLASH2=2;
		SWFVersion.FLASH3=3;
		SWFVersion.FLASH4=4;
		SWFVersion.FLASH5=5;
		SWFVersion.FLASH6=6;
		SWFVersion.FLASH7=7;
		SWFVersion.FLASH8=8;
		SWFVersion.FLASH9=9;
		return SWFVersion;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/utils/filters.as
	var Filters=/*iflash.display.utils.Filters*/(function(){
		function Filters(){
			this._alpha_=1;
			this.key=0;
		}

		CLASS$(Filters,'iflash.display.utils.Filters',true,true);
		var __proto__=Filters.prototype;
		__proto__.alpha=function(d,value){
			Laya.RENDERBYCANVAS && UseFilter.insertUnit(d);
			this._alpha_=value;
			d._modle_.alpha(value);
		}

		Filters.__DEFAULT__=new Filters();
		return Filters;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/utils/point3d.as
	var Point3d=/*iflash.display.utils.Point3d*/(function(){
		function Point3d(_x,_y,_z){
			this.x=NaN;
			this.y=NaN;
			this.z=NaN;
			this.x=_x;
			this.y=_y;
			this.z=_z;
		}

		CLASS$(Point3d,'iflash.display.utils.Point3d',true,true);
		return Point3d;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/external/externalinterface.as
	var ExternalInterface=/*iflash.external.ExternalInterface*/(function(){
		function ExternalInterface(){}
		CLASS$(ExternalInterface,'iflash.external.ExternalInterface',true,true);
		GETSET$(1,ExternalInterface,'available',LAYAFNFALSE/*function(){return false}*/);
		GETSET$(1,ExternalInterface,'objectID',LAYAFNSTR/*function(){return ""}*/);
		ExternalInterface.addCallback=LAYAFNVOID/*function(functionName,closure){}*/
		ExternalInterface.call=function(functionName,__rest){
			var rest=[];for(var i=1,sz=arguments.length;i<sz;i++)rest.push(arguments[i]);
			return null}
		ExternalInterface.marshallExceptions=false;
		return ExternalInterface;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filesystem/base64.as
	var Base64=/*iflash.filesystem.Base64*/(function(){
		function Base64(){}
		CLASS$(Base64,'iflash.filesystem.Base64',true,true);
		Base64.encode=function(data){
			var bytes=new ByteArray();
			bytes.writeUTFBytes(data);
			return Base64.encodeByteArray(bytes);
		}

		Base64.encodeByteArray=function(data){
			var output="";
			var dataBuffer;
			var outputBuffer=new Array(4);
			data.position=0;
			while (data.bytesAvailable > 0){
				dataBuffer=[];
				for (var i=0;i < 3 && data.bytesAvailable > 0;i++){
					dataBuffer[i]=data.readUnsignedByte();
				}
				outputBuffer[0]=(dataBuffer[0] & 0xfc)>> 2;
				outputBuffer[1]=((dataBuffer[0] & 0x03)<< 4)| ((dataBuffer[1])>> 4);
				outputBuffer[2]=((dataBuffer[1] & 0x0f)<< 2)| ((dataBuffer[2])>> 6);
				outputBuffer[3]=dataBuffer[2] & 0x3f;
				for (var j=dataBuffer.length;j < 3;j++){
					outputBuffer[j+1]=64;
				}
				for (var k=0;k < outputBuffer.length;k++){
					output+=Base64.BASE64_CHARS.charAt(outputBuffer[k]);
				}
			}
			return output;
		}

		Base64.decode=function(data){
			var bytes=Base64.decodeToByteArray(data);
			return bytes.readUTFBytes(bytes.length);
		}

		Base64.decodeToByteArray=function(data){
			var output=new ByteArray();
			var dataBuffer=new Array(4);
			var outputBuffer=new Array(3);
			for (var i=0;i < data.length;i+=4){
				for (var j=0;j < 4 && i+j < data.length;j++){
					dataBuffer[j]=Base64.BASE64_CHARS.indexOf(data.charAt(i+j));
				}
				outputBuffer[0]=(dataBuffer[0] << 2)+((dataBuffer[1] & 0x30)>> 4);
				outputBuffer[1]=((dataBuffer[1] & 0x0f)<< 4)+((dataBuffer[2] & 0x3c)>> 2);
				outputBuffer[2]=((dataBuffer[2] & 0x03)<< 6)+dataBuffer[3];
				for (var k=0;k < outputBuffer.length;k++){
					if (dataBuffer[k+1]==64)break ;
					output.writeByte(outputBuffer[k]);
				}
			}
			output.position=0;
			return output;
		}

		Base64.BASE64_CHARS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
		Base64.version="1.0.0";
		return Base64;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filesystem/filemode.as
	var FileMode=/*iflash.filesystem.FileMode*/(function(){
		function FileMode(){};
		CLASS$(FileMode,'iflash.filesystem.FileMode',true,true);
		FileMode.APPEND="append";
		FileMode.READ="read";
		FileMode.UPDATE="update";
		FileMode.WRITE="write";
		return FileMode;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filesystem/filestorage.as
	var FileStorage=/*iflash.filesystem.FileStorage*/(function(){
		function FileStorage(){
			this.layaFileSystem=null;
			this.so=null;
			this.lastId=0;
			var localUrl=/*__JS__ */location.href;
			this.so=SharedObject.getLocal("LayaAirApplicationStorage_"+encodeURIComponent(localUrl));
			this.layaFileSystem=this.so.data;
			this.lastId=LAYABOX.parseInt(this.layaFileSystem["LAYA_FS_ID"]);
		}

		CLASS$(FileStorage,'iflash.filesystem.FileStorage',true,true);
		var __proto__=FileStorage.prototype;
		__proto__.createFile=function(path){
			var arr=path.split("/").filter(function(item,index,array){
				return curr !=""
			});
			var obj=this.layaFileSystem;
			for (var index=0;index < arr.length;index++){
				var curr=arr[index];
				if (curr==null || curr=="")
					continue ;
				if (obj[curr]==null){
					this.lastId=LAYABOX.parseInt(this.layaFileSystem["LAYA_FS_ID"]);
					if (index < arr.length-1){
						obj[curr]={"LAYA_FS_TYPE":"D"};
						obj=obj[curr]
						this.so.flush();
					}
					else{
						++this.lastId;
						obj[curr]={"LAYA_FS_ID":this.lastId};
						this.layaFileSystem["LAYA_FS_CONTENT"+this.lastId]="";
						this.layaFileSystem["LAYA_FS_ID"]=this.lastId;
						obj=obj[curr];
						this.so.flush();
					}
				}
				else{
					obj=obj[curr];
				}
			}
		}

		__proto__.getList=function(path){
			var arr=path.split("/").filter(function(item,index,array){
				return curr !=""
			});
			var obj=this.layaFileSystem;
			for (var index=0;index < arr.length;index++){
				var curr=arr[index];
				if (curr==null || curr=="")
					continue ;
				if (obj[curr] !=null)
					obj=obj[curr]
			};
			var list=[];
			for (var item in obj){
				if (item.indexOf("LAYA_FS_CONTENT")==0 || item.indexOf("LAYA_FS_ID")==0 || item.indexOf("LAYA_FS_TYPE")==0)
					continue ;
				var file=new File("app-storage:/"+(path=="" ? "" :path+"/")+item)
				if (obj[item].LAYA_FS_TYPE=="D")
					file._isDirectory=true;
				list.push(file);
			}
			return list;
		}

		__proto__.fileExist=function(path){
			var arr=path.split("/").filter(function(item,index,array){
				return curr !=""
			});
			var obj=this.layaFileSystem;
			for (var index=0;index < arr.length;index++){
				var curr=arr[index];
				if (curr==null || curr=="")
					continue ;
				if (obj[curr]==null){
					return false
				}
				else
				obj=obj[curr]
			}
			return true;
		}

		__proto__.fileWrite=function(path,fileContent){
			(fileContent===void 0)&& (fileContent="");
			var arr=path.split("/").filter(function(item,index,array){
				return curr !=""
			});
			var obj=this.layaFileSystem;
			for (var index=0;index < arr.length;index++){
				var curr=arr[index];
				if (curr==null || curr=="")
					continue ;
				if (obj[curr]==null && index < arr.length-1){
					this.createFile(arr.slice(0,index).join("/"))
				}
				else
				obj=obj[curr]
			}
			this.layaFileSystem["LAYA_FS_CONTENT"+obj.LAYA_FS_ID]=escape(fileContent);
			this.so.flush();
		}

		__proto__.fileWriteBinary=function(path,fileContent){
			var arr=path.split("/").filter(function(item,index,array){
				return curr !=""
			});
			var obj=this.layaFileSystem;
			for (var index=0;index < arr.length;index++){
				var curr=arr[index];
				if (curr==null || curr=="")
					continue ;
				if (obj[curr]==null && index < arr.length-1){
					this.createFile(arr.slice(0,index).join("/"))
				}
				else
				obj=obj[curr]
			}
			this.layaFileSystem["LAYA_FS_CONTENT"+obj.LAYA_FS_ID]=Base64.encodeByteArray(fileContent);
			this.so.flush();
		}

		__proto__.getBinaryFile=function(path){
			if (path=="" || path==null)
				return null;
			var arr=path.split("/").filter(function(item,index,array){
				return curr !=""
			});
			var obj=this.layaFileSystem;
			for (var index=0;index < arr.length;index++){
				var curr=arr[index];
				if (curr==null || curr=="" || curr=="app:" || curr=="app-storage:")
					continue ;
				if (obj[curr]==null){
					this.lastId=LAYABOX.parseInt(this.layaFileSystem["LAYA_FS_ID"]);
					if (index < arr.length-1){
						obj[curr]={"LAYA_FS_TYPE":"D"};
						obj=obj[curr]
						this.so.flush();
					}
					else{
						++this.lastId;
						obj[curr]={"LAYA_FS_ID":this.lastId};
						this.layaFileSystem["LAYA_FS_CONTENT"+this.lastId]="";
						this.layaFileSystem["LAYA_FS_ID"]=this.lastId;
						obj=obj[curr];
						this.so.flush();
					}
				}
				else
				obj=obj[curr]
			}
			if (obj.LAYA_FS_TYPE !="D"){
				return Base64.decodeToByteArray(this.layaFileSystem["LAYA_FS_CONTENT"+obj["LAYA_FS_ID"]]);
			}
			return null;
		}

		__proto__.getFile=function(path){
			if (path=="" || path==null)
				return null;
			var arr=path.split("/").filter(function(item,index,array){
				return curr !=""
			});
			var obj=this.layaFileSystem;
			for (var index=0;index < arr.length;index++){
				var curr=arr[index];
				if (curr==null || curr=="" || curr=="app:" || curr=="app-storage:")
					continue ;
				if (obj[curr]==null){
					this.lastId=LAYABOX.parseInt(this.layaFileSystem["LAYA_FS_ID"]);
					if (index < arr.length-1){
						obj[curr]={"LAYA_FS_TYPE":"D"};
						obj=obj[curr]
						this.so.flush();
					}
					else{
						++this.lastId;
						obj[curr]={"LAYA_FS_ID":this.lastId};
						this.layaFileSystem["LAYA_FS_CONTENT"+this.lastId]="";
						this.layaFileSystem["LAYA_FS_ID"]=this.lastId;
						obj=obj[curr];
						this.so.flush();
					}
				}
				else
				obj=obj[curr]
			}
			if (obj.LAYA_FS_TYPE !="D"){
				return unescape(this.layaFileSystem["LAYA_FS_CONTENT"+obj["LAYA_FS_ID"]]);
			}
			return null;
		}

		GETSET$(1,FileStorage,'instance',function(){
			if (FileStorage.fileStorage==null)
				FileStorage.fileStorage=new FileStorage();
			return FileStorage.fileStorage
		});

		FileStorage.fileStorage=null
		return FileStorage;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filters/bitmapfilter.as
	var BitmapFilter=/*iflash.filters.BitmapFilter*/(function(){
		function BitmapFilter(inType){
			this._mType=null;
			this.___cached=false;
			this.passes=0;
			this._mType=inType;
		}

		CLASS$(BitmapFilter,'iflash.filters.BitmapFilter',true,true);
		var __proto__=BitmapFilter.prototype;
		__proto__.clone=function(){
			return new BitmapFilter(this._mType);
		}

		__proto__.__preApplyFilter=LAYAFNVOID/*function(dec){}*/
		__proto__.__applyFilter=LAYAFNVOID/*function(dec){}*/
		return BitmapFilter;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filters/bitmapfilterquality.as
	var BitmapFilterQuality=/*iflash.filters.BitmapFilterQuality*/(function(){
		function BitmapFilterQuality(){
			;
		}

		CLASS$(BitmapFilterQuality,'iflash.filters.BitmapFilterQuality',true,true);
		BitmapFilterQuality.HIGH=3;
		BitmapFilterQuality.LOW=1;
		BitmapFilterQuality.MEDIUM=2;
		return BitmapFilterQuality;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filters/bitmapfiltertype.as
	var BitmapFilterType=/*iflash.filters.BitmapFilterType*/(function(){
		function BitmapFilterType(){};
		CLASS$(BitmapFilterType,'iflash.filters.BitmapFilterType',true,true);
		BitmapFilterType.FULL="full";
		BitmapFilterType.INNER="inner";
		BitmapFilterType.OUTER="outer";
		return BitmapFilterType;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filters/displacementmapfiltermode.as
	var DisplacementMapFilterMode=/*iflash.filters.DisplacementMapFilterMode*/(function(){
		function DisplacementMapFilterMode(){
			this.CLAMP=null;
			this.COLOR=null;
			this.IGNORE=null;
			this.WRAP=null;
		}

		CLASS$(DisplacementMapFilterMode,'iflash.filters.DisplacementMapFilterMode',true,true);
		return DisplacementMapFilterMode;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/geom/colortransform.as
	var ColorTransform=/*iflash.geom.ColorTransform*/(function(){
		function ColorTransform(redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier,redOffset,greenOffset,blueOffset,alphaOffset){
			this.redMultiplier=NaN;
			this.greenMultiplier=NaN;
			this.blueMultiplier=NaN;
			this.alphaMultiplier=NaN;
			this.redOffset=NaN;
			this.greenOffset=NaN;
			this.blueOffset=NaN;
			this.alphaOffset=NaN;
			(redMultiplier===void 0)&& (redMultiplier=1.0);
			(greenMultiplier===void 0)&& (greenMultiplier=1.0);
			(blueMultiplier===void 0)&& (blueMultiplier=1.0);
			(alphaMultiplier===void 0)&& (alphaMultiplier=1.0);
			(redOffset===void 0)&& (redOffset=0);
			(greenOffset===void 0)&& (greenOffset=0);
			(blueOffset===void 0)&& (blueOffset=0);
			(alphaOffset===void 0)&& (alphaOffset=0);
			;
			this.redMultiplier=redMultiplier;
			this.greenMultiplier=greenMultiplier;
			this.blueMultiplier=blueMultiplier;
			this.alphaMultiplier=alphaMultiplier;
			this.redOffset=redOffset;
			this.greenOffset=greenOffset;
			this.blueOffset=blueOffset;
			this.alphaOffset=alphaOffset;
		}

		CLASS$(ColorTransform,'iflash.geom.ColorTransform',true,false);
		var __proto__=ColorTransform.prototype;
		__proto__.concat=function(second){
			this.alphaOffset=this.alphaOffset+this.alphaMultiplier *second.alphaOffset;
			this.alphaMultiplier=this.alphaMultiplier *second.alphaMultiplier;
			this.redOffset=this.redOffset+this.redMultiplier *second.redOffset;
			this.redMultiplier=this.redMultiplier *second.redMultiplier;
			this.greenOffset=this.greenOffset+this.greenMultiplier *second.greenOffset;
			this.greenMultiplier=this.greenMultiplier *second.greenMultiplier;
			this.blueOffset=this.blueOffset+this.blueMultiplier *second.blueOffset;
			this.blueMultiplier=this.blueMultiplier *second.blueMultiplier;
		}

		__proto__.toString=function(){
			return "(redMultiplier="+this.redMultiplier+", greenMultiplier="+this.greenMultiplier+", blueMultiplier="+this.blueMultiplier+", alphaMultiplier="+this.alphaMultiplier+", redOffset="+this.redOffset+", greenOffset="+this.greenOffset+", blueOffset="+this.blueOffset+", alphaOffset="+this.alphaOffset+")";
		}

		GETSET$(0,__proto__,'color',function(){
			return this.redOffset << 16 | this.greenOffset << 8 | this.blueOffset;
			},function(newColor){
			this.redMultiplier=this.greenMultiplier=this.blueMultiplier=0;
			this.redOffset=newColor >> 16 & 255;
			this.greenOffset=newColor >> 8 & 255;
			this.blueOffset=newColor & 255;
		});

		ColorTransform._DEFAULT_=new ColorTransform();
		return ColorTransform;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/geom/matrix.as
	var Matrix=/*iflash.geom.Matrix*/(function(){
		function Matrix(a,b,c,d,tx,ty){
			this.a=1;
			this.b=0;
			this.c=0;
			this.d=1;
			this.tx=0;
			this.ty=0;
			(a===void 0)&& (a=1);
			(b===void 0)&& (b=0);
			(c===void 0)&& (c=0);
			(d===void 0)&& (d=1);
			(tx===void 0)&& (tx=0);
			(ty===void 0)&& (ty=0);
			this.a=a;
			this.b=b;
			this.c=c;
			this.d=d;
			this.tx=tx;
			this.ty=ty;
		}

		CLASS$(Matrix,'iflash.geom.Matrix',true,true);
		var __proto__=Matrix.prototype;
		__proto__.isTransform=function(){
			return this.a !=1 || this.b !=0 || this.c !=0 || this.d !=1;
		}

		__proto__.clone=function(){
			return new Matrix(this.a,this.b,this.c,this.d,this.tx,this.ty);
		}

		__proto__.createGradientBox=function(in_width,in_height,rotation,in_tx,in_ty){
			(rotation===void 0)&& (rotation=0);
			(in_tx===void 0)&& (in_tx=0);
			(in_ty===void 0)&& (in_ty=0);
			this.a=in_width / 1638.4;
			this.d=in_height / 1638.4;
			if (rotation !=0 && rotation !=0.0){
				var cos=Math.cos(rotation);
				var sin=Math.sin(rotation);
				this.b=sin *this.d;
				this.c=-sin *this.a;
				this.a*=cos;
				this.d*=cos;
			}
			else{
				this.b=0;
				this.c=0;
			}
			this.tx=(in_tx !=0 ? in_tx+in_width / 2 :in_width / 2);
			this.ty=(in_ty !=0 ? in_ty+in_height / 2 :in_height / 2);
		}

		__proto__.transformPoint=function(point){
			return new Point(this.a *point.x+this.c *point.y+this.tx,this.d *point.y+this.b *point.x+this.ty);
		}

		__proto__.identity=function(){
			this.a=this.d=1;
			this.b=this.c=this.tx=this.ty=0;
		}

		__proto__.copy=function(src){
			this.a=src.a;
			this.b=src.b;
			this.c=src.c;
			this.d=src.d;
			this.tx=src.tx;
			this.ty=src.ty;
			return this;
		}

		__proto__.copyFrom=function(src){
			this.a=src.a;
			this.b=src.b;
			this.c=src.c;
			this.d=src.d;
			this.tx=src.tx;
			this.ty=src.ty;
		}

		__proto__.IsEqual=function(p_pOther){
			if (this.a !=p_pOther.a || this.b !=p_pOther.b || this.c !=p_pOther.c || this.d !=p_pOther.d || this.tx !=p_pOther.tx || this.ty !=p_pOther.ty){
				return false;
			}
			return true;
		}

		__proto__.translate=function(x,y){
			this.tx=x+this.tx;
			this.ty=y+this.ty;
		}

		__proto__.rotate=function(angle){
			if (Math.abs(angle-0)<0.0000001)
				return;
			var cos=Math.cos(angle);
			var sin=Math.sin(angle);
			var tm11=this.a *cos-this.b *sin;
			var tm12=this.a *sin+this.b *cos;
			var tm21=this.c *cos-this.d *sin;
			var tm22=this.c *sin+this.d *cos;
			var tx1=this.tx *cos-this.ty *sin;
			var ty1=this.tx *sin+this.ty *cos;
			this.a=tm11;
			this.b=tm12;
			this.c=tm21;
			this.d=tm22;
			this.tx=tx1;
			this.ty=ty1;
		}

		__proto__.scale=function(sx,sy){
			if (sx==1 && sy==1)
				return;
			this.a*=sx;
			this.b*=sy;
			this.c*=sx;
			this.d *=sy;
			this.tx *=sx;
			this.ty *=sy;
		}

		__proto__.setTransform=function(n11,n12,n21,n22,n31,n32){
			this.a=n11;
			this.b=n12;
			this.c=n21;
			this.d=n22;
			this.tx=n31;
			this.ty=n32;
		}

		__proto__.transform=function(n11,n12,n21,n22,n31,n32){
			var k11=n11 *this.a+n12 *this.c+0 *this.tx;
			var k12=n11 *this.b+n12 *this.d+0 *this.ty;
			var k21=n21 *this.a+n22 *this.c+0 *this.tx;
			var k22=n21 *this.b+n22 *this.d+0 *this.ty;
			var k31=n31 *this.a+n32 *this.c+1 *this.tx;
			var k32=n31 *this.b+n32 *this.d+1 *this.ty;
			this.a=k11;
			this.b=k12;
			this.c=k21;
			this.d=k22;
			this.tx=k31;
			this.ty=k32;
		}

		__proto__.invert=function(){
			var a=this.a;
			var b=this.b;
			var c=this.c;
			var d=this.d;
			var tx=this.tx;
			var i=a *d-b *c;
			this.a=d / i;
			this.b=-b / i;
			this.c=-c / i;
			this.d=a / i;
			this.tx=(c *this.ty-d *tx)/ i;
			this.ty=-(a *this.ty-b *tx)/ i;
			return this;
		}

		__proto__.concat=function(mtx){
			var a=this.a;
			var c=this.c;
			var tx=this.tx;
			this.a=a *mtx.a+this.b *mtx.c;
			this.b=a *mtx.b+this.b *mtx.d;
			this.c=c *mtx.a+this.d *mtx.c;
			this.d=c *mtx.b+this.d *mtx.d;
			this.tx=tx *mtx.a+this.ty *mtx.c+mtx.tx;
			this.ty=tx *mtx.b+this.ty *mtx.d+mtx.ty;
			return this;
		}

		__proto__.preMultiplyInto=function(other,target){
			var n=other,t=target;
			var a=n.a *this.a;
			var b=0.0;
			var c=0.0;
			var d=n.d *this.d;
			var tx=n.tx *this.a+this.tx;
			var ty=n.ty *this.d+this.ty;
			if (n.b!=0.0 || n.c!=0.0 || this.b!==0.0 || this.c!=0.0){
				a+=n.b *this.c;
				d+=n.c *this.b;
				b+=n.a *this.b+n.b *this.d;
				c+=n.c *this.a+n.d *this.c;
				tx+=n.ty *this.c;
				ty+=n.tx *this.b;
			}
			t.a=a;
			t.b=b;
			t.c=c;
			t.d=d;
			t.tx=tx;
			t.ty=ty;
		}

		__proto__.concatSix=function(a1,b1,c1,d1,tx1,ty1){
			var a=this.a;
			var c=this.c;
			var tx=this.tx;
			this.a=a *a1+this.b *c1;
			this.b=a *b1+this.b *d1;
			this.c=c *a1+this.d *c1;
			this.d=c *b1+this.d *d1;
			this.tx=tx *a1+this.ty *c1+tx1;
			this.ty=tx *b1+this.ty *d1+ty1;
		}

		__proto__.deltaTransformPoint=function(point){
			return new Point(point.x *this.a+point.y *this.c,point.x *this.b+point.y *this.d);
		}

		__proto__.createBox=function(scaleX,scaleY,rotation,tx,ty){
			(rotation===void 0)&& (rotation=0);
			(tx===void 0)&& (tx=0);
			(ty===void 0)&& (ty=0);
			this.a=scaleX;
			this.d=scaleY;
			this.b=rotation;
			this.tx=tx;
			this.ty=ty;
		}

		__proto__.setTo=function(a1,b1,c1,d1,tx1,ty1){
			this.a=a1;
			this.b=b1;
			this.c=c1;
			this.d=d1;
			this.tx=tx1;
			this.ty=ty1;
		}

		__proto__.transformPointInPlace=function(source,out){
			out.setTo(this.a *source.x+this.c *source.y+this.tx,
			this.b *source.x+this.d *source.y+this.ty);
			return out;
		}

		__proto__.transformBounds=function(bounds){
			if(!bounds)return bounds;
			var x=bounds.x;
			var y=bounds.y;
			var w=Math.abs(bounds.width);
			var h=Math.abs(bounds.height);
			x=bounds.width<0?x-w:x;
			y=bounds.height<0?y-h:y;
			var x0=this.a *x+this.c *y+this.tx;
			var y0=this.b *x+this.d *y+this.ty;
			var x1=this.a *(x+w)+this.c *y+this.tx;
			var y1=this.b *(x+w)+this.d *y+this.ty;
			var x2=this.a *(x+w)+this.c *(y+h)+this.tx;
			var y2=this.b *(x+w)+this.d *(y+h)+this.ty;
			var x3=this.a *x+this.c *(y+h)+this.tx;
			var y3=this.b *x+this.d *(y+h)+this.ty;
			bounds.x=Math.min(x0,x1,x2,x3);
			bounds.width=Math.max(x0,x1,x2,x3)-bounds.x;
			bounds.y=Math.min(y0,y1,y2,y3);
			bounds.height=Math.max(y0,y1,y2,y3)-bounds.y;
			return bounds;
		}

		Matrix.lerp=function(mo,m1,m2,f){
			mo.a=m1.a+(m2.a-m1.a)*f;
			mo.b=m1.b+(m2.b-m1.b)*f;
			mo.c=m1.c+(m2.c-m1.c)*f;
			mo.d=m1.d+(m2.d-m1.d)*f;
			mo.tx=m1.tx+(m2.tx-m1.tx)*f;
			mo.ty=m1.ty+(m2.ty-m1.ty)*f;
		}

		Matrix.lerp1=function(mo,m1,m2,f){
			mo.a=m1[0]+(m2[0]-m1[0])*f;
			mo.b=m1[1]+(m2[1]-m1[1])*f;
			mo.c=m1[2]+(m2[2]-m1[2])*f;
			mo.d=m1[3]+(m2[3]-m1[3])*f;
			mo.tx=m1[4]+(m2[4]-m1[4])*f;
			mo.ty=m1[5]+(m2[5]-m1[5])*f;
		}

		Matrix.fromSRT=function(mo,sx,sy,r,tx,ty){
			var st=Math.sin(r);
			var ct=Math.cos(r);
			mo.a=sx *ct;
			mo.b=sx *st;
			mo.c=-sy *st;
			mo.d=sy *ct;
			mo.tx=tx;
			mo.ty=ty;
		}

		Matrix.fromRST=function(mo,sx,sy,r,tx,ty){
			var st=Math.sin(r);
			var ct=Math.cos(r);
			mo.a=sx *ct;
			mo.b=sy *st;
			mo.c=-sx *st;
			mo.d=sy *ct;
			mo.tx=tx;
			mo.ty=ty;
		}

		Matrix.fromTransformInfo=function(mo,sx,sy,sr,r,tx,ty){
			if (sr==0.0)
				Matrix.fromSRT(mo,sx,sy,r,tx,ty);
			else if (Math.abs(sr-r)< 0.0001)
			Matrix.fromRST(mo,sx,sy,r,tx,ty);
			else{
				var st=Math.sin(sr);
				var ct=Math.cos(sr);
				mo.a=sx *ct;
				mo.b=sy *st;
				mo.c=-sx *st;
				mo.d=sy *ct;
				mo.tx=0;
				mo.ty=0;
				var mt=new Matrix();
				mt.a=ct;
				mt.b=-st;
				mt.c=st;
				mt.d=ct;
				mt.tx=0;
				mt.ty=0;
				Matrix.mul(mo,mo,mt);
				st=Math.sin(r);
				ct=Math.cos(r);
				mt.a=ct;
				mt.b=st;
				mt.c=-st;
				mt.d=ct;
				mt.tx=0;
				mt.ty=0;
				Matrix.mul(mo,mo,mt);
				mo.tx=tx;
				mo.ty=ty;
			}
		}

		Matrix.mul=function(mo,m1,m2){
			var aa=m1.a,ab=m1.b,ac=m1.c,ad=m1.d,atx=m1.tx,aty=m1.ty,ba=m2.a,bb=m2.b,bc=m2.c,bd=m2.d,btx=m2.tx,bty=m2.ty;
			mo.a=aa *ba+ab *bc;
			mo.b=aa *bb+ab *bd;
			mo.c=ac *ba+ad *bc;
			mo.d=ac *bb+ad *bd;
			mo.tx=ba *atx+bc *aty+btx;
			mo.ty=bb *atx+bd *aty+bty;
		}

		STATICATTR$(Matrix,
		['__DEFAULT__',function(){return this.__DEFAULT__=new Matrix();},'__SMALL__',function(){return this.__SMALL__=new Matrix(0.00001,0,0,0.000001,0,0);}
		]);
		return Matrix;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/geom/matrix3d.as
	var Matrix3D=/*iflash.geom.Matrix3D*/(function(){
		function Matrix3D(v){
			this.$vec=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];
			this.$transposeTransform=[0,4,8,12,1,5,9,13,2,6,10,14,3,7,11,15];
			if (v !=null){
				if (v.length !=this.$vec.length){
					throw new Error("Not equal length!");
				}
				for (var i=0;i < this.$vec.length;i++){
					this.$vec[i]=v[i];
				}
			}
		}

		CLASS$(Matrix3D,'iflash.geom.Matrix3D',true,true);
		var __proto__=Matrix3D.prototype;
		__proto__.append=function(lhs){
			var ma=lhs.rawData,mb=this.$vec;
			var ma11=ma[0],ma12=ma[4],ma13=ma[8],ma14=ma[12];
			var ma21=ma[1],ma22=ma[5],ma23=ma[9],ma24=ma[13];
			var ma31=ma[2],ma32=ma[6],ma33=ma[10],ma34=ma[14];
			var ma41=ma[3],ma42=ma[7],ma43=ma[11],ma44=ma[15];
			var mb11=mb[0],mb12=mb[4],mb13=mb[8],mb14=mb[12];
			var mb21=mb[1],mb22=mb[5],mb23=mb[9],mb24=mb[13];
			var mb31=mb[2],mb32=mb[6],mb33=mb[10],mb34=mb[14];
			var mb41=mb[3],mb42=mb[7],mb43=mb[11],mb44=mb[15];
			this.$vec[0]=ma11 *mb11+ma12 *mb21+ma13 *mb31+ma14 *mb41;
			this.$vec[1]=ma21 *mb11+ma22 *mb21+ma23 *mb31+ma24 *mb41;
			this.$vec[2]=ma31 *mb11+ma32 *mb21+ma33 *mb31+ma34 *mb41;
			this.$vec[3]=ma41 *mb11+ma42 *mb21+ma43 *mb31+ma44 *mb41;
			this.$vec[4]=ma11 *mb12+ma12 *mb22+ma13 *mb32+ma14 *mb42;
			this.$vec[5]=ma21 *mb12+ma22 *mb22+ma23 *mb32+ma24 *mb42;
			this.$vec[6]=ma31 *mb12+ma32 *mb22+ma33 *mb32+ma34 *mb42;
			this.$vec[7]=ma41 *mb12+ma42 *mb22+ma43 *mb32+ma44 *mb42;
			this.$vec[8]=ma11 *mb13+ma12 *mb23+ma13 *mb33+ma14 *mb43;
			this.$vec[9]=ma21 *mb13+ma22 *mb23+ma23 *mb33+ma24 *mb43;
			this.$vec[10]=ma31 *mb13+ma32 *mb23+ma33 *mb33+ma34 *mb43;
			this.$vec[11]=ma41 *mb13+ma42 *mb23+ma43 *mb33+ma44 *mb43;
			this.$vec[12]=ma11 *mb14+ma12 *mb24+ma13 *mb34+ma14 *mb44;
			this.$vec[13]=ma21 *mb14+ma22 *mb24+ma23 *mb34+ma24 *mb44;
			this.$vec[14]=ma31 *mb14+ma32 *mb24+ma33 *mb34+ma34 *mb44;
			this.$vec[15]=ma41 *mb14+ma42 *mb24+ma43 *mb34+ma44 *mb44;
		}

		__proto__.appendRotation=function(degrees,axis,pivotPoint){
			this.append(this.getRotationMatrix(degrees / 180 *Math.PI,axis.x,axis.y,axis.z,pivotPoint ? pivotPoint.x :0,pivotPoint ? pivotPoint.y :0,pivotPoint ? pivotPoint.z :0));
		}

		__proto__.appendScale=function(xScale,yScale,zScale){
			this.$vec[0]*=xScale;
			this.$vec[1]*=yScale;
			this.$vec[2]*=zScale;
			this.$vec[4]*=xScale;
			this.$vec[5]*=yScale;
			this.$vec[6]*=zScale;
			this.$vec[8]*=xScale;
			this.$vec[9]*=yScale;
			this.$vec[10]*=zScale;
			this.$vec[12]*=xScale;
			this.$vec[13]*=yScale;
			this.$vec[14]*=zScale;
		}

		__proto__.appendTranslation=function(x,y,z){
			var m=this.$vec;
			var m41=m[3],m42=m[7],m43=m[11],m44=m[15];
			m[0]+=x *m41;
			m[1]+=y *m41;
			m[2]+=z *m41;
			m[4]+=x *m42;
			m[5]+=y *m42;
			m[6]+=z *m42;
			m[8]+=x *m43;
			m[9]+=y *m43;
			m[10]+=z *m43;
			m[12]+=x *m44;
			m[13]+=y *m44;
			m[14]+=z *m44;
		}

		__proto__.clone=function(){
			return new iflash.geom.Matrix3D(this.$vec);
		}

		__proto__.copyColumnFrom=function(column,vector3D){
			if (column > 3)
				throw new Error("column number too bigger");
			var offset=column << 2;
			this.$vec[offset]=vector3D.x;
			this.$vec[offset+1]=vector3D.y;
			this.$vec[offset+2]=vector3D.z;
			this.$vec[offset+3]=vector3D.w;
		}

		__proto__.copyColumnTo=function(column,vector3D){
			if (column > 3)
				throw new Error("column number too bigger");
			var offset=column << 2;
			vector3D.x=this.$vec[offset];
			vector3D.y=this.$vec[offset+1];
			vector3D.z=this.$vec[offset+2];
			vector3D.w=this.$vec[offset+3];
		}

		__proto__.copyFrom=function(sourceMatrix3D){
			for (var i=0;i < this.$vec.length;i++){
				this.$vec[i]=sourceMatrix3D.$vec[i];
			}
		}

		__proto__.copyRawDataFrom=function(vector,index,transpose){
			(index===void 0)&& (index=0);
			(transpose===void 0)&& (transpose=false);
			var i=0,j=index | 0
			if (transpose){
				for (;i < 16;i++,j++){
					this.$vec[this.$transposeTransform[i]]=vector[j] || 0;
				}
			}
			else{
				for (;i < 16;i++,j++){
					this.$vec[i]=vector[j] || 0;
				}
			}
		}

		__proto__.copyRawDataTo=function(vector,index,transpose){
			(index===void 0)&& (index=0);
			(transpose===void 0)&& (transpose=false);
			var i=0,j=index | 0;
			if (transpose){
				for (;i < 16;i++,j++){
					vector[j]=this.$vec[this.$transposeTransform[i]];
				}
			}
			else{
				for (;i < 16;i++,j++){
					vector[j]=this.$vec[i];
				}
			}
		}

		__proto__.copyRowFrom=function(row,vector3D){
			if (row > 3)
				throw new Error("row number too bigger",0);
			var offset=row | 0;
			this.$vec[offset]=vector3D.x;
			this.$vec[offset+4]=vector3D.y;
			this.$vec[offset+8]=vector3D.z;
			this.$vec[offset+12]=vector3D.w;
		}

		__proto__.copyRowTo=function(row,vector3D){
			var offset=row | 0;
			vector3D.x=this.$vec[offset];
			vector3D.y=this.$vec[offset+4];
			vector3D.z=this.$vec[offset+8];
			vector3D.w=this.$vec[offset+12];
		}

		__proto__.copyToMatrix3D=function(dest){
			for (var i=0;i < 16;i++){
				dest.rawData[i]=this.$vec[i];
			}
		}

		__proto__.decompose=function(orientationStyle){
			(orientationStyle===void 0)&& (orientationStyle="eulerAngles");
			throw new Error("decompose");
			var t_mat=this.original;
			var t_vec3D=t_mat.decompose(orientationStyle);
			var t_resVec=new Array(t_vec3D.length);
			for (var i=0;i < t_resVec.length;i++){
				t_resVec[i].x=t_vec3D[i].x;
				t_resVec[i].y=t_vec3D[i].y;
				t_resVec[i].z=t_vec3D[i].z;
				t_resVec[i].w=t_vec3D[i].w;
			}
			return t_resVec;
		}

		__proto__.deltaTransformVector=function(v){
			var x=v.x,y=v.y,z=v.z;
			return new Vector3D(this.$vec[0] *x+this.$vec[4] *y+this.$vec[8] *z,this.$vec[1] *x+this.$vec[5] *y+this.$vec[9] *z,this.$vec[2] *x+this.$vec[6] *y+this.$vec[10] *z);
		}

		__proto__.identity=function(){
			this.$vec[0]=this.$vec[5]=this.$vec[10]=this.$vec[15]=1;
			this.$vec[1]=this.$vec[2]=this.$vec[3]=this.$vec[4]=this.$vec[6]=this.$vec[7]=this.$vec[8]=this.$vec[9]=this.$vec[11]=this.$vec[12]=this.$vec[13]=this.$vec[14]=0;
		}

		__proto__.interpolateTo=function(toMat,percent){
			throw new Error("NOT REAL FUNCTION!!!",0);
		}

		__proto__.invert=function(){
			var m=this.$vec;
			var m00=m[0],m01=m[4],m02=m[8],m03=m[12];
			var m10=m[1],m11=m[5],m12=m[9],m13=m[13];
			var m20=m[2],m21=m[6],m22=m[10],m23=m[14];
			var m30=m[3],m31=m[7],m32=m[11],m33=m[15];
			var v0=m20 *m31-m21 *m30;
			var v1=m20 *m32-m22 *m30;
			var v2=m20 *m33-m23 *m30;
			var v3=m21 *m32-m22 *m31;
			var v4=m21 *m33-m23 *m31;
			var v5=m22 *m33-m23 *m32;
			var t00=+(v5 *m11-v4 *m12+v3 *m13);
			var t10=-(v5 *m10-v2 *m12+v1 *m13);
			var t20=+(v4 *m10-v2 *m11+v0 *m13);
			var t30=-(v3 *m10-v1 *m11+v0 *m12);
			var invDet=1 / (t00 *m00+t10 *m01+t20 *m02+t30 *m03);
			var d00=t00 *invDet;
			var d10=t10 *invDet;
			var d20=t20 *invDet;
			var d30=t30 *invDet;
			var d01=-(v5 *m01-v4 *m02+v3 *m03)*invDet;
			var d11=+(v5 *m00-v2 *m02+v1 *m03)*invDet;
			var d21=-(v4 *m00-v2 *m01+v0 *m03)*invDet;
			var d31=+(v3 *m00-v1 *m01+v0 *m02)*invDet;
			v0=m10 *m31-m11 *m30;
			v1=m10 *m32-m12 *m30;
			v2=m10 *m33-m13 *m30;
			v3=m11 *m32-m12 *m31;
			v4=m11 *m33-m13 *m31;
			v5=m12 *m33-m13 *m32;
			var d02=+(v5 *m01-v4 *m02+v3 *m03)*invDet;
			var d12=-(v5 *m00-v2 *m02+v1 *m03)*invDet;
			var d22=+(v4 *m00-v2 *m01+v0 *m03)*invDet;
			var d32=-(v3 *m00-v1 *m01+v0 *m02)*invDet;
			v0=m21 *m10-m20 *m11;
			v1=m22 *m10-m20 *m12;
			v2=m23 *m10-m20 *m13;
			v3=m22 *m11-m21 *m12;
			v4=m23 *m11-m21 *m13;
			v5=m23 *m12-m22 *m13;
			var d03=-(v5 *m01-v4 *m02+v3 *m03)*invDet;
			var d13=+(v5 *m00-v2 *m02+v1 *m03)*invDet;
			var d23=-(v4 *m00-v2 *m01+v0 *m03)*invDet;
			var d33=+(v3 *m00-v1 *m01+v0 *m02)*invDet;
			var mat3D=new iflash.geom.Matrix3D([d00,d01,d02,d03,d10,d11,d12,d13,d20,d21,d22,d23,d30,d31,d32,d33]);
			if (Math.abs(mat3D.determinant)< 0.000001)
				return false;
			else{
				for (var i=0;i < this.$vec.length;i++){
					this.$vec[i]=mat3D.rawData[i];
				}
				return true;
			}
		}

		__proto__.pointAt=LAYAFNVOID/*function(pos,at,up){}*/
		__proto__.prepend=function(rhs){
			var ma=this.$vec,mb=rhs.rawData;
			var ma11=ma[0],ma12=ma[4],ma13=ma[8],ma14=ma[12];
			var ma21=ma[1],ma22=ma[5],ma23=ma[9],ma24=ma[13];
			var ma31=ma[2],ma32=ma[6],ma33=ma[10],ma34=ma[14];
			var ma41=ma[3],ma42=ma[7],ma43=ma[11],ma44=ma[15];
			var mb11=mb[0],mb12=mb[4],mb13=mb[8],mb14=mb[12];
			var mb21=mb[1],mb22=mb[5],mb23=mb[9],mb24=mb[13];
			var mb31=mb[2],mb32=mb[6],mb33=mb[10],mb34=mb[14];
			var mb41=mb[3],mb42=mb[7],mb43=mb[11],mb44=mb[15];
			this.$vec[0]=ma11 *mb11+ma12 *mb21+ma13 *mb31+ma14 *mb41;
			this.$vec[1]=ma21 *mb11+ma22 *mb21+ma23 *mb31+ma24 *mb41;
			this.$vec[2]=ma31 *mb11+ma32 *mb21+ma33 *mb31+ma34 *mb41;
			this.$vec[3]=ma41 *mb11+ma42 *mb21+ma43 *mb31+ma44 *mb41;
			this.$vec[4]=ma11 *mb12+ma12 *mb22+ma13 *mb32+ma14 *mb42;
			this.$vec[5]=ma21 *mb12+ma22 *mb22+ma23 *mb32+ma24 *mb42;
			this.$vec[6]=ma31 *mb12+ma32 *mb22+ma33 *mb32+ma34 *mb42;
			this.$vec[7]=ma41 *mb12+ma42 *mb22+ma43 *mb32+ma44 *mb42;
			this.$vec[8]=ma11 *mb13+ma12 *mb23+ma13 *mb33+ma14 *mb43;
			this.$vec[9]=ma21 *mb13+ma22 *mb23+ma23 *mb33+ma24 *mb43;
			this.$vec[10]=ma31 *mb13+ma32 *mb23+ma33 *mb33+ma34 *mb43;
			this.$vec[11]=ma41 *mb13+ma42 *mb23+ma43 *mb33+ma44 *mb43;
			this.$vec[12]=ma11 *mb14+ma12 *mb24+ma13 *mb34+ma14 *mb44;
			this.$vec[13]=ma21 *mb14+ma22 *mb24+ma23 *mb34+ma24 *mb44;
			this.$vec[14]=ma31 *mb14+ma32 *mb24+ma33 *mb34+ma34 *mb44;
			this.$vec[15]=ma41 *mb14+ma42 *mb24+ma43 *mb34+ma44 *mb44;
		}

		__proto__.prependRotation=function(degrees,axis,pivotPoint){
			this.prepend(this.getRotationMatrix(degrees / 180 *Math.PI,axis.x,axis.y,axis.z,pivotPoint ? pivotPoint.x :0,pivotPoint ? pivotPoint.y :0,pivotPoint ? pivotPoint.z :0));
		}

		__proto__.prependScale=function(xScale,yScale,zScale){
			this.$vec[0]*=xScale;
			this.$vec[1]*=xScale;
			this.$vec[2]*=xScale;
			this.$vec[3]*=xScale;
			this.$vec[4]*=yScale;
			this.$vec[5]*=yScale;
			this.$vec[6]*=yScale;
			this.$vec[7]*=yScale;
			this.$vec[8]*=zScale;
			this.$vec[9]*=zScale;
			this.$vec[10]*=zScale;
			this.$vec[11]*=zScale;
		}

		__proto__.prependTranslation=function(x,y,z){
			var m=this.$vec;
			var m11=m[0],m12=m[4],m13=m[8];
			var m21=m[1],m22=m[5],m23=m[9];
			var m31=m[2],m32=m[6],m33=m[10];
			var m41=m[3],m42=m[7],m43=m[11];
			m[12]+=m11 *x+m12 *y+m13 *z;
			m[13]+=m21 *x+m22 *y+m23 *z;
			m[14]+=m31 *x+m32 *y+m33 *z;
			m[15]+=m41 *x+m42 *y+m43 *z;
		}

		__proto__.recompose=function(components,orientationStyle){
			(orientationStyle===void 0)&& (orientationStyle="eulerAngles");
			return false}
		__proto__.transformVector=function(v){
			var x=v.x,y=v.y,z=v.z;
			return new Vector3D(this.$vec[0] *x+this.$vec[4] *y+this.$vec[8] *z+this.$vec[12],this.$vec[1] *x+this.$vec[5] *y+this.$vec[9] *z+this.$vec[13],this.$vec[2] *x+this.$vec[6] *y+this.$vec[10] *z+this.$vec[14]);
		}

		__proto__.transformVectors=function(vin,vout){
			var m11=this.$vec[0],m12=this.$vec[4],m13=this.$vec[8],m14=this.$vec[12];
			var m21=this.$vec[1],m22=this.$vec[5],m23=this.$vec[9],m24=this.$vec[13];
			var m31=this.$vec[2],m32=this.$vec[6],m33=this.$vec[10],m34=this.$vec[14];
			var m41=this.$vec[3],m42=this.$vec[7],m43=this.$vec[11],m44=this.$vec[15];
			for (var i=0;i < vin.length-2;i+=3){
				var x=vin[i],y=vin[i+1],z=vin[i+2];
				vout[i]=m11 *x+m12 *y+m13 *z+m14;
				vout[i+1]=m21 *x+m22 *y+m23 *z+m24;
				vout[i+2]=m31 *x+m32 *y+m33 *z+m34;
			}
		}

		__proto__.transpose=function(){
			var tmp=NaN;
			tmp=this.$vec[1];
			this.$vec[1]=this.$vec[4];
			this.$vec[4]=tmp;
			tmp=this.$vec[2];
			this.$vec[2]=this.$vec[8];
			this.$vec[5]=tmp;
			tmp=this.$vec[3];
			this.$vec[3]=this.$vec[12];
			this.$vec[12]=tmp;
			tmp=this.$vec[6];
			this.$vec[6]=this.$vec[9];
			this.$vec[9]=tmp;
			tmp=this.$vec[7];
			this.$vec[7]=this.$vec[13];
			this.$vec[13]=tmp;
			tmp=this.$vec[11];
			this.$vec[11]=this.$vec[14];
			this.$vec[14]=tmp;
		}

		__proto__.getRotationMatrix=function(theta,u,v,w,a,b,c){
			var u2=u *u,v2=v *v,w2=w *w;
			var L2=u2+v2+w2,L=Math.sqrt(L2);
			u/=L;
			v/=L;
			w/=L;
			u2/=L2;
			v2/=L2;
			w2/=L2;
			var cos=Math.cos(theta),sin=Math.sin(theta);
			var vec=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ,1];
			vec[0]=u2+(v2+w2)*cos;
			vec[1]=u *v *(1-cos)+w *sin;
			vec[2]=u *w *(1-cos)-v *sin;
			vec[3]=0;
			vec[4]=u *v *(1-cos)-w *sin;
			vec[5]=v2+(u2+w2)*cos;
			vec[6]=v *w *(1-cos)+u *sin;
			vec[7]=0;
			vec[8]=u *w *(1-cos)+v *sin;
			vec[9]=v *w *(1-cos)-u *sin;
			vec[10]=w2+(u2+v2)*cos;
			vec[11]=0;
			vec[12]=(a *(v2+w2)-u *(b *v+c *w))*(1-cos)+(b *w-c *v)*sin;
			vec[13]=(b *(u2+w2)-v *(a *u+c *w))*(1-cos)+(c *u-a *w)*sin;
			vec[14]=(c *(u2+v2)-w *(a *u+b *v))*(1-cos)+(a *v-b *u)*sin;
			return new iflash.geom.Matrix3D(vec);
		}

		GETSET$(0,__proto__,'determinant',function(){
			var m11=this.$vec[0],m12=this.$vec[4],m13=this.$vec[8],m14=this.$vec[12];
			var m21=this.$vec[1],m22=this.$vec[5],m23=this.$vec[9],m24=this.$vec[13];
			var m31=this.$vec[2],m32=this.$vec[6],m33=this.$vec[10],m34=this.$vec[14];
			var m41=this.$vec[3],m42=this.$vec[7],m43=this.$vec[11],m44=this.$vec[15];
			return m11 *(m22 *(m33 *m44-m43 *m34)-m32 *(m23 *m44-m43 *m24)+m42 *(m23 *m34-m33 *m24))-m21 *(m12 *(m33 *m44-m43 *m34)-m32 *(m13 *m44-m43 *m14)+m42 *(m13 *m34-m33 *m14))+m31 *(m12 *(m23 *m44-m43 *m24)-m22 *(m13 *m44-m43 *m14)+m42 *(m13 *m24-m23 *m14))-m41 *(m12 *(m23 *m34-m33 *m24)-m22 *(m13 *m34-m33 *m14)+m32 *(m13 *m24-m23 *m14));
		});

		GETSET$(0,__proto__,'position',function(){
			return new Vector3D(this.$vec[12],this.$vec[13],this.$vec[14]);
			},function(pos){
			this.$vec[12]=pos.x;
			this.$vec[13]=pos.y;
			this.$vec[14]=pos.z;
		});

		GETSET$(0,__proto__,'rawData',function(){
			return this.$vec;
			},function(v){
			if (v.length !=this.$vec.length){
				throw new Error("Data Error");
			}
			for (var i=0;i < v.length;i++){
				this.$vec[i]=v[i];
			}
		});

		Matrix3D.interpolate=LAYAFNNULL/*function(thisMat,toMat,percent){return null}*/
		return Matrix3D;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/geom/perspectiveprojection.as
	var PerspectiveProjection=/*iflash.geom.PerspectiveProjection*/(function(){
		function PerspectiveProjection(){}
		CLASS$(PerspectiveProjection,'iflash.geom.PerspectiveProjection',true,true);
		var __proto__=PerspectiveProjection.prototype;
		__proto__.toMatrix3D=LAYAFNNULL/*function(){return null}*/
		GETSET$(0,__proto__,'fieldOfView',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(fieldOfViewAngleInDegrees){}*/);
		GETSET$(0,__proto__,'focalLength',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'projectionCenter',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(p){}*/);
		return PerspectiveProjection;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/geom/point.as
	var Point=/*iflash.geom.Point*/(function(){
		function Point(x,y){
			this.x=NaN;
			this.y=NaN;
			(x===void 0)&& (x=0);
			(y===void 0)&& (y=0);
			this.x=x*1;
			this.y=y*1;
		}

		CLASS$(Point,'iflash.geom.Point',true,false);
		var __proto__=Point.prototype;
		__proto__.add=function(v){
			var result=new Point();
			result.x=this.x+v.x;
			result.y=this.y+v.y;
			return result;
		}

		__proto__.clone=function(){
			var result=new Point();
			result.x=this.x;
			result.y=this.y;
			return result;
		}

		__proto__.copyFrom=function(sourcePoint){
			this.x=sourcePoint.x;
			this.y=sourcePoint.y;
			return this;
		}

		__proto__.equals=function(toCompare){
			if (toCompare==null)
				return false;
			else{
				if (toCompare.x==this.x && toCompare.y==this.y)
					return true;
				return false;
			}
		}

		__proto__.normalize=function(thickness){
			var rate=thickness / this.length;
			this.x=rate *this.x;
			this.y=rate *this.y;
		}

		__proto__.offset=function(dx,dy){
			this.x+=dx;
			this.y+=dy;
		}

		__proto__.setTo=function(xa,ya){
			this.x=xa;
			this.y=ya;
			return this;
		}

		__proto__.subtract=function(v){
			var result=new Point();
			result.x=this.x-v.x;
			result.y=this.y-v.y;
			return result;
		}

		__proto__.identity=function(){
			this.x=this.y=0.0;
		}

		__proto__.toString=function(){
			return "(x="+this.x+", y="+this.y+")";
		}

		GETSET$(0,__proto__,'length',function(){
			return Math.sqrt(Math.pow(this.x ,2)+Math.pow(this.y,2));
		});

		Point.distance=function(pt1,pt2){
			return Math.sqrt(Math.pow((pt2.x-pt1.x),2)+Math.pow((pt2.y-pt1.y),2));
		}

		Point.interpolate=function(pt1,pt2,f){
			var f1=1-f;
			var result=new Point();
			result.x=pt1.x *f+pt2.x *f1;
			result.y=pt1.y *f+pt2.y *f1;
			return result;
		}

		Point.polar=function(len,angle){
			var result=new Point();
			result.x=len *Math.cos(angle);
			result.y=len *Math.sin(angle);
			return result;
		}

		STATICATTR$(Point,
		['__DEFAULT__',function(){return this.__DEFAULT__=new Point();}
		]);
		return Point;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/geom/rectangle.as
	var Rectangle=/*iflash.geom.Rectangle*/(function(){
		function Rectangle(x,y,width,height){
			this.height=0;
			this.width=0;
			this.x=0;
			this.y=0;
			(x===void 0)&& (x=0);
			(y===void 0)&& (y=0);
			(width===void 0)&& (width=0);
			(height===void 0)&& (height=0);
			this.x=Number(x);
			this.y=Number(y);
			this.width=Number(width);
			this.height=Number(height);
		}

		CLASS$(Rectangle,'iflash.geom.Rectangle',true,false);
		var __proto__=Rectangle.prototype;
		__proto__.clone=function(){
			return new Rectangle(this.x,this.y,this.width,this.height);
		}

		__proto__.contains=function(_x,_y){
			if(_x<this.x||_y<this.y){
				return false;
			}
			return (_x<(this.x+this.width)&&_y<(this.y+this.height))
		}

		__proto__.containsPoint=function(point){
			return this.contains(point.x,point.y);
		}

		__proto__.containsRect=function(rect){
			return this.contains(rect.x,rect.y)&& this.contains(rect.x+rect.width,rect.y+rect.height);
		}

		__proto__.copyFrom=function(sourceRect){
			this.x=sourceRect.x;
			this.y=sourceRect.y;
			this.width=sourceRect.width;
			this.height=sourceRect.height;
		}

		__proto__.equals=function(toCompare){
			return this.x==toCompare.x && this.y==toCompare.y && this.width==toCompare.width && this.height==toCompare.height;
		}

		__proto__.inflate=function(dx,dy){
			this.x-=dx;
			this.y-=dy;
			this.width+=dx*2;
			this.height+=dy*2;
		}

		__proto__.inflatePoint=function(point){
			this.inflate(point.x,point.y);
		}

		__proto__.intersection=function(toIntersect){
			var minr=Math.min(this.x+this.width,toIntersect.right);
			var minb=Math.min(this.y+this.height,toIntersect.bottom);
			var maxx=Math.max(this.x,toIntersect.x);
			var maxy=Math.max(this.y,toIntersect.y);
			return new Rectangle(maxx,maxy,minr-maxx,minb-maxy);
		}

		__proto__.intersectionThis=function(toIntersect){
			var minr=Math.min(this.x+this.width,toIntersect.right);
			var minb=Math.min(this.y+this.height,toIntersect.bottom);
			this.x=Math.max(this.x,toIntersect.x);
			this.y=Math.max(this.y,toIntersect.y);
			this.width=minr-this.x;
			this.height=minb-this.y;
		}

		__proto__.intersects=function(toIntersect){
			var minr=Math.min(this.x+this.width,toIntersect.right);
			var minb=Math.min(this.y+this.height,toIntersect.bottom);
			var maxx=Math.max(this.x,toIntersect.x);
			var maxy=Math.max(this.y,toIntersect.y);
			return minr > maxx && minb > maxy;
		}

		__proto__.isEmpty=function(){
			return this.width<1 || this.height<1;
		}

		__proto__.offset=function(dx,dy){
			this.x+=dx;
			this.y+=dy;
		}

		__proto__.offsetPoint=function(point){
			this.x+=point.x;
			this.y+=point.y;
		}

		__proto__.setEmpty=function(){
			this.x=this.y=this.width=this.height=0;
		}

		__proto__.setTo=function(xa,ya,widtha,heighta){
			this.x=xa;
			this.y=ya;
			this.width=widtha;
			this.height=heighta;
			return this;
		}

		__proto__.toString=function(){
			return "(x="+this.x+", y="+this.y+", w="+this.width+", h="+this.height+")";
		}

		__proto__.union=function(toUnion){
			if (toUnion==null)return this;
			if(this.width==0 || this.height==0){
				return new Rectangle(toUnion.x,toUnion.y,toUnion.width,toUnion.height);
			}
			if(toUnion.width==0 || toUnion.height==0){
				return new Rectangle(this.x,this.y,this.width,this.height);
			};
			var maxr=Math.max(this.x+this.width,toUnion.right);
			var maxb=Math.max(this.y+this.height,toUnion.bottom);
			var minx=Math.min(this.x,toUnion.x);
			var miny=Math.min(this.y,toUnion.y);
			return new Rectangle(minx,miny,maxr-minx,maxb-miny);
		}

		__proto__._union_=function(toUnion){
			if (toUnion==null)return this;
			if(this.width==0 || this.height==0){
				return this.setTo(toUnion.x,toUnion.y,toUnion.width,toUnion.height);
			}
			if(toUnion.width==0 || toUnion.height==0){
				return this.setTo(this.x,this.y,this.width,this.height);
			};
			var maxr=Math.max(this.x+this.width,toUnion.right);
			var maxb=Math.max(this.y+this.height,toUnion.bottom);
			var minx=Math.min(this.x,toUnion.x);
			var miny=Math.min(this.y,toUnion.y);
			return this.setTo(minx,miny,maxr-minx,maxb-miny);
		}

		GETSET$(0,__proto__,'bottom',function(){
			return this.height+this.y;
			},function(value){
			this.height=value-this.y;
		});

		GETSET$(0,__proto__,'top',function(){
			return this.y;
			},function(value){
			this.height-=value-this.y;
			this.y=value;
		});

		GETSET$(0,__proto__,'bottomRight',function(){
			return new Point(this.x+this.width,this.height+this.y);
			},function(value){
			this.right=value.x;
			this.bottom=value.y;
		});

		GETSET$(0,__proto__,'left',function(){
			return this.x;
			},function(value){
			this.width-=value-this.x;
			this.x=value;
		});

		GETSET$(0,__proto__,'right',function(){
			return this.x+this.width;
			},function(value){
			this.width=value-this.x;
		});

		GETSET$(0,__proto__,'size',function(){
			return new Point(this.width,this.height);
			},function(value){
			this.width=value.x;
			this.height=value.y;
		});

		GETSET$(0,__proto__,'topLeft',function(){
			return new Point(this.x,this.y);
			},function(value){
			this.left=value.x;
			this.top=value.y;
		});

		STATICATTR$(Rectangle,
		['__DEFAULT__',function(){return this.__DEFAULT__=new Rectangle;}
		]);
		return Rectangle;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/geom/transform.as
	var Transform=/*iflash.geom.Transform*/(function(){
		function Transform(){
			this._colorTransform_=null;
			this._rotate_=0;
			this.__node__=null;
			this._scale_=Transform.__SCALE__;
			this._skew_=Point.__DEFAULT__;
			this._matrix_=new Matrix();
		}

		CLASS$(Transform,'iflash.geom.Transform',true,true);
		var __proto__=Transform.prototype;
		__proto__._setNode_=function(d){
			this.__node__=d;
			this._colorTransform_=ColorTransform._DEFAULT_;
			Laya.RENDERBYCANVAS && d && DrawTransform.insertUnit(d);
			return this;
		}

		__proto__._setRotation_=function(value){
			if (value==this._rotate_)
				return;
			this._rotate_=value;
			this.__node__._type_ |=/*iflash.display.DisplayObject.TYPE_MATRIX_CHG*/0x20000;
			this.__node__._modle_.rotate2d(value);
			this.__node__._propagateFlagsDown_(/*iflash.display.DisplayObject.TYPE2_CONCATENATEDMATRIX_CHG*/0x1 | /*iflash.display.DisplayObject.TYPE2_BOUNDS_CHG*/0x4);
		}

		__proto__._setScaleX_=function(value){
			if (value==this._scale_.x)
				return;
			(this._scale_ !=Transform.__SCALE__)?(this._scale_.x=value):(this._scale_=new Point(value,1));
			this.__node__._type_ |=/*iflash.display.DisplayObject.TYPE_MATRIX_CHG*/0x20000;
			this.__node__._modle_.scale2dEx(this._scale_.x,this._scale_.y);
			this.__node__._propagateFlagsDown_(/*iflash.display.DisplayObject.TYPE2_CONCATENATEDMATRIX_CHG*/0x1 | /*iflash.display.DisplayObject.TYPE2_BOUNDS_CHG*/0x4);
		}

		__proto__._setScaleY_=function(value){
			if (value==this._scale_.y)return;
			(this._scale_ !=Transform.__SCALE__)?(this._scale_.y=value):(this._scale_=new Point(1,value));
			this.__node__._type_ |=/*iflash.display.DisplayObject.TYPE_MATRIX_CHG*/0x20000;
			this.__node__._modle_.scale2dEx(this._scale_.x,this._scale_.y);
			this.__node__._propagateFlagsDown_(/*iflash.display.DisplayObject.TYPE2_CONCATENATEDMATRIX_CHG*/0x1 | /*iflash.display.DisplayObject.TYPE2_BOUNDS_CHG*/0x4);
		}

		__proto__._setSkewX_=function(value){
			if (value==this._skew_.x)
				return;
			(this._skew_ !=Point.__DEFAULT__)?(this._skew_.x=value):(this._skew_=new Point(value,0));
			this.__node__._type_ |=/*iflash.display.DisplayObject.TYPE_MATRIX_CHG*/0x20000;
			if (Laya.CONCHVER){
				var martix=this.matrix;
				this.__node__._modle_.matrix(martix.a,martix.b,martix.c,martix.d,0,0);
			}
			this.__node__._propagateFlagsDown_(/*iflash.display.DisplayObject.TYPE2_CONCATENATEDMATRIX_CHG*/0x1 | /*iflash.display.DisplayObject.TYPE2_BOUNDS_CHG*/0x4);
		}

		__proto__._setSkewY_=function(value){
			if (value==this._skew_.y)
				return;
			(this._skew_ !=Point.__DEFAULT__)?(this._skew_.y=value):(this._skew_=new Point(0,value));
			this.__node__._type_ |=/*iflash.display.DisplayObject.TYPE_MATRIX_CHG*/0x20000;
			if (Laya.CONCHVER){
				var martix=this.matrix;
				this.__node__._modle_.matrix(martix.a,martix.b,martix.c,martix.d,0,0);
			}
			this.__node__._propagateFlagsDown_(/*iflash.display.DisplayObject.TYPE2_CONCATENATEDMATRIX_CHG*/0x1 | /*iflash.display.DisplayObject.TYPE2_BOUNDS_CHG*/0x4);
		}

		GETSET$(0,__proto__,'matrix',function(){
			if ((this.__node__._type_ & /*iflash.display.DisplayObject.TYPE_MATRIX_CHG*/0x20000)==0)return this._matrix_.clone();
			this.__node__._type_ &=~ /*iflash.display.DisplayObject.TYPE_MATRIX_CHG*/0x20000;
			if (this._skew_.x==0.0 && this._skew_.y==0.0){
				if (this._rotate_==0.0){
					this._matrix_.setTo(this._scale_.x,0.0,0.0,this._scale_.y,this.__node__._left_,this.__node__._top_);
				}
				else{
					var cos=Math.cos(this._rotate_*Transform.ATOR);
					var sin=Math.sin(this._rotate_*Transform.ATOR);
					this._matrix_.a=this._scale_.x *cos;
					this._matrix_.b=this._scale_.x *sin;
					this._matrix_.c=this._scale_.y *-sin;
					this._matrix_.d=this._scale_.y *cos;
					this._matrix_.tx=this.__node__._left_;
					this._matrix_.ty=this.__node__._top_;
				}
			}
			else{
				this._matrix_.identity();
				this._matrix_.a=this._scale_.x;
				this._matrix_.d=this._scale_.y;
				Transform.__skew__(this._matrix_,this._skew_.x,this._skew_.y);
				this._matrix_.translate(this.__node__._left_,this.__node__._top_);
			}
			return this._matrix_.clone();
			},function(value){
			if(this._matrix_.IsEqual(value))return;
			this._matrix_.copy(value);
			this.__node__.x=this._matrix_.tx;
			this.__node__.y=this._matrix_.ty;
			this._skew_=(this._skew_!=Point.__DEFAULT__)?this._skew_:new Point();
			this._skew_.x=Math.atan(-this._matrix_.c / this._matrix_.d);
			this._skew_.y=Math.atan(this._matrix_.b / this._matrix_.a);
			if (this._skew_.x !=this._skew_.x)this._skew_.x=0.0;
			if (this._skew_.y !=this._skew_.y)this._skew_.y=0.0;
			this._scale_=(this._scale_!=Transform.__SCALE__)?this._scale_:new Point();
			this._scale_.y=(this._skew_.x >-Transform.PI_4 && this._skew_.x < Transform.PI_4)? this._matrix_.d / Math.cos(this._skew_.x)
			:-this._matrix_.c / Math.sin(this._skew_.y);
			this._scale_.x=(this._skew_.y >-Transform.PI_4 && this._skew_.y < Transform.PI_4)? this._matrix_.a / Math.cos(this._skew_.y)
			:this._matrix_.b / Math.sin(this._skew_.y);
			if(Math.abs(value.a*value.b)==Math.abs(value.c*value.d)){
				this._rotate_=Math.min(this._skew_.x*Transform.RTOA,this._skew_.y*Transform.RTOA);
				this._scale_.y=this._scale_.x=Math.min(this._scale_.y,this._scale_.x);
			}
			else{
				if ((this._skew_.x-0.0001 < this._skew_.y)&& (this._skew_.x+0.0001 > this._skew_.y)){
					this._rotate_=this._skew_.x*Transform.RTOA;
					this._skew_.x=this._skew_.y=0.0;
				}
				else this._rotate_=0.0;
			}
			if(value.a!=1|| value.b!=0|| value.c!=0|| value.d!=1)
				this.__node__._modle_.matrix(value.a,value.b,value.c,value.d,0,0);
			this.__node__._propagateFlagsDown_(/*iflash.display.DisplayObject.TYPE2_CONCATENATEDMATRIX_CHG*/0x1 | /*iflash.display.DisplayObject.TYPE2_BOUNDS_CHG*/0x4);
		});

		GETSET$(0,__proto__,'colorTransform',function(){
			return this._colorTransform_==null?(this._colorTransform_=new ColorTransform()):this._colorTransform_;
			},function(value){
			this._colorTransform_=value;
		});

		GETSET$(0,__proto__,'concatenatedMatrix',LAYAFNNULL/*function(){return null}*/);
		Transform.__skew__=function(matrix,skewX,skewY){
			var sinX=Math.sin(skewX);
			var cosX=Math.cos(skewX);
			var sinY=Math.sin(skewY);
			var cosY=Math.cos(skewY);
			matrix.setTransform(
			matrix.a *cosY-matrix.b *sinX,
			matrix.a *sinY+matrix.b *cosX,
			matrix.c *cosY-matrix.d *sinX,
			matrix.c *sinY+matrix.d *cosX,
			matrix.tx *cosY-matrix.ty *sinX,
			matrix.tx *sinY+matrix.ty *cosX);
			matrix;
		}

		Transform.__SCALE__=new Point(1,1);
		Transform.__DEFAULT__=new Transform();
		STATICATTR$(Transform,
		['PI2',function(){return this.PI2=(Math.PI*2);},'PI_4',function(){return this.PI_4=(Math.PI/4);},'RTOA',function(){return this.RTOA=(180/Math.PI);},'ATOR',function(){return this.ATOR=(Math.PI/180);}
		]);
		return Transform;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/geom/vector3d.as
	var Vector3D=/*iflash.geom.Vector3D*/(function(){
		function Vector3D(x,y,z,w){
			this.$x=0;
			this.$y=0;
			this.$z=0;
			this.$w=0;
			(x===void 0)&& (x=0);
			(y===void 0)&& (y=0);
			(z===void 0)&& (z=0);
			(w===void 0)&& (w=0);
			this.$x=x;
			this.$y=y;
			this.$z=z;
			this.$w=w;
		}

		CLASS$(Vector3D,'iflash.geom.Vector3D',true,false);
		var __proto__=Vector3D.prototype;
		__proto__.add=function(a){
			return new Vector3D(this.$x+a.x,this.$y+a.y,this.$z+a.z);
		}

		__proto__.clone=function(){
			return new Vector3D(this.$x,this.$y,this.$z,this.$w);
		}

		__proto__.copyFrom=function(sourceVector3D){
			this.$x=sourceVector3D.x;
			this.$y=sourceVector3D.y;
			this.$z=sourceVector3D.z;
		}

		__proto__.crossProduct=function(a){
			return new Vector3D(this.$y *a.z-this.$z *a.y,this.$z *a.x-this.$x *a.z,this.$x *a.y-this.$y *a.x,1.0);
		}

		__proto__.decrementBy=function(a){
			this.$x-=a.x;
			this.$y-=a.y;
			this.$z-=a.z;
		}

		__proto__.dotProduct=function(a){
			return (this.$x *a.x+this.$y *a.y+this.$z *a.z);
		}

		__proto__.equals=function(toCompare,allFour){
			(allFour===void 0)&& (allFour=false);
			return (this.$x==toCompare.x)&& (this.$y==toCompare.y)&& (this.$z==toCompare.z)&& (!allFour || (this.$w==toCompare.w));
		}

		__proto__.incrementBy=function(a){
			this.$x+=a.x;
			this.$y+=a.y;
			this.$z+=a.z;
		}

		__proto__.nearEquals=function(toCompare,tolerance,allFour){
			(allFour===void 0)&& (allFour=false);
			return (Math.abs(this.$x-toCompare.x)< tolerance)&& (Math.abs(this.$y-toCompare.y)< tolerance)&& (Math.abs(this.$z-toCompare.z)< tolerance)&& (!allFour || (Math.abs(this.$w-toCompare.w)< tolerance));
		}

		__proto__.negate=function(){
			this.$x=-this.$x;
			this.$y=-this.$y;
			this.$z=-this.$z;
		}

		__proto__.normalize=function(){
			var length=length;
			if (length!=0){
				this.$x/=length;
				this.$y/=length;
				this.$z/=length;
			}
			else{
				this.$x=this.$y=this.$z=0;
			}
			return length;
		}

		__proto__.project=function(){
			this.$x/=this.$w;
			this.$y/=this.$w;
			this.$z/=this.$w;
		}

		__proto__.scaleBy=function(s){
			this.$x*=s;
			this.$y*=s;
			this.$z*=s;
		}

		__proto__.setTo=function(xa,ya,za){
			this.$x=xa;
			this.$y=ya;
			this.$z=za;
		}

		__proto__.subtract=function(a){
			return new Vector3D(this.$x-a.x,this.$y-a.y,this.$z-a.z);
		}

		__proto__.toString=function(){
			return "Vector3D("+this.$x+", "+this.$y+", "+this.$z+")";
		}

		GETSET$(0,__proto__,'x',function(){
			return this.$x;
			},function(val){
			this.$x=val;
		});

		GETSET$(0,__proto__,'y',function(){
			return this.$y;
			},function(val){
			this.$y=val;
		});

		GETSET$(0,__proto__,'z',function(){
			return this.$z;
			},function(val){
			this.$z=val;
		});

		GETSET$(0,__proto__,'w',function(){
			return this.$w;
			},function(val){
			this.$w=val;
		});

		GETSET$(0,__proto__,'length',function(){
			return Math.sqrt(this.lengthSquared);
		});

		GETSET$(0,__proto__,'lengthSquared',function(){
			return (this.$x *this.$x+this.$y *this.$y+this.$z *this.$z);
		});

		Vector3D.angleBetween=function(a,b){
			return Math.acos(a.dotProduct(b)/ (a.length *b.length));
		}

		Vector3D.distance=function(pt1,pt2){
			return pt1.subtract(pt2).length;
		}

		STATICATTR$(Vector3D,
		['X_AXIS',function(){return this.X_AXIS=new Vector3D(1,0,0);},'Y_AXIS',function(){return this.Y_AXIS=new Vector3D(0,1,0);},'Z_AXIS',function(){return this.Z_AXIS=new Vector3D(0,0,1);}
		]);
		return Vector3D;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/display/canvas.as
	var Canvas=/*iflash.laya.display.Canvas*/(function(){
		function Canvas(){
			this.context=null;
			this.context3D=null;
			this.activTime=NaN;
			this._active_=0;
			this.decX=0;
			this.decY=0;
			this._width_=0;
			this._height_=0;
			this.left=0;
			this.top=0;
			this.style=null;
		}

		CLASS$(Canvas,'iflash.laya.display.Canvas',true,true);
		var __proto__=Canvas.prototype;
		__proto__.getContext=function(type,vars){
			switch(type){
				case '2d':
					return this.context;
				case "experimental-webgl":
					return this.context3D;
				}
		}

		__proto__.size=function(w,h){
			if (w !=this._width_ || h !=this._height_){
				this._width_=w;
				this._height_=h;
				this.width=w;
				this.height=h;
				if(this.context){
					this.context.widthMe=w;
					this.context.heightMe=h;
				}
			}
		}

		__proto__.active=function(){
			this.activTime=Laya.window.updateTime;
			if (this._active_ > 0)return true;
			Canvas.enable(this);
			return false;
		}

		__proto__.reset=function(){
			this.context.filter=null;
			this.context.textAlign="left";
			this.context.textBaseline="middle";
		}

		__proto__._getType_=function(){
			return 3;
		}

		__proto__.isReady=function(){
			return true;
		}

		__proto__.getContent=function(){
			return this;
		}

		__proto__.clone=function(){
			var canvas=Canvas.create();
			canvas.context=canvas.getContext("2d");
			canvas.size(this.width,this.height);
			canvas.context.drawImage(this,0,0,this.width,this.height);
			return canvas;
		}

		__proto__.setCanvasType=LAYAFNVOID/*function(type){}*/
		GETSET$(0,__proto__,'width',function(){
			return this._width_;
			},function(w){
			if (w !=this._width_)this.size(w,this._height_);
		});

		GETSET$(0,__proto__,'height',function(){
			return this._height_;
			},function(h){
			if (h !=this._height_)this.size(this._width_,h);
		});

		Canvas.getTempCanvas=function(){
			return Canvas._TEMP_=Canvas._TEMP_ || Canvas.create();
		}

		Canvas.create=function(){
			return Browser.document.createElement('canvas');
		}

		Canvas.__on_new__=function(c){
			if (!c.size){
				c.size=Canvas._DEFAULT_.size;
				c.active=Canvas._DEFAULT_.active;
				c.isReady=Canvas._DEFAULT_.isReady;
				c._getType_=Canvas._DEFAULT_._getType_;
				c.left=Canvas._DEFAULT_.left;
				c.top=Canvas._DEFAULT_.top;
				c.decX=c.decY=0;
				c.getContent=Canvas._DEFAULT_.getContent;
				c.clone=Canvas._DEFAULT_.clone;
			}
			/*__JS__ */if(iflash.laya.display.Canvas._bIs3D){iflash.laya.display.Canvas._Canvas3DInited=true;this.enable3D(c);}else this.enable(c);
		}

		Canvas.enableTimeoutRelease=function(c,b){
			if (b)c._active_=c._active_<0?c._active_:1;
			else c._active_=Canvas._DISABLETIMEOUTRELEASE_;
		}

		Canvas.disable=function(c){
			if (c.context){
				c.context.canvas=null;
				c.context=null;
			}
		}

		Canvas.destroy=function(c){
			Canvas.disable(c);
		}

		Canvas.enable=function(c){
			c.context=c.getContext('2d');
			c.context.canvas=c;
		}

		Canvas.enable3D=function(c){
			c.context3D=c.getContext("webgl",{alpha:false,stencil:true })|| c.getContext("experimental-webgl",{alpha:false,stencil:true });
			/*__JS__ */try{if(WebGLDebugUtils ){c.context3D=WebGLDebugUtils.makeDebugContext(c.context3D );}}catch(error ){};
			c.context3D && (c.context3D.canvas=c);
			/*__JS__ */if(window.conch ){SetupWebglContext(c.context3D);};
		}

		Canvas._DISABLETIMEOUTRELEASE_=10000;
		Canvas._Canvas3DInited=false;
		Canvas._TEMP_=null
		Canvas._bIs3D=false;
		STATICATTR$(Canvas,
		['_DEFAULT_',function(){return this._DEFAULT_=new Canvas();}
		]);
		return Canvas;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/display/context.as
	var Context=/*iflash.laya.display.Context*/(function(){
		function Context(){}
		CLASS$(Context,'iflash.laya.display.Context',true,true);
		var __proto__=Context.prototype;
		__proto__.getBitMap=function(){
			return null;
		}

		return Context;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/display/displaymethod.as
	var DisplayMethod=/*iflash.laya.display.DisplayMethod*/(function(){
		function DisplayMethod(){}
		CLASS$(DisplayMethod,'iflash.laya.display.DisplayMethod',true,true);
		DisplayMethod.JpgToPng=function(img){
			var i=0,x=0,y=0,w=0,h=0,imageDataSrc,pixelsSrc,imageDataAlpha,pixelsAlpha,alpha;
			var src=Canvas.create();
			w=img.width;
			h=Math.floor((img.height-1)/ 2);
			src.size(w,h);
			src.context.drawImage(img,0,0,w,h,0,0,w,h);
			imageDataSrc=src.context.getImageData(0,0,w,h);
			pixelsSrc=imageDataSrc.data;
			alpha=Canvas.getTempCanvas();;
			alpha.active();
			alpha.size(w,h);
			alpha.context.drawImage(img,0,h+2,w,h,0,0,w,h);
			imageDataAlpha=alpha.context.getImageData(0,0,w,h);
			pixelsAlpha=imageDataAlpha.data;
			for (y=0;y < h;y++){
				i=(y *w)<< 2;
				x=0;
				while (x < w){
					i+=4;
					x++;
					pixelsSrc[i+3]=pixelsAlpha[i];
				}
			}
			src.context.putImageData(imageDataSrc,0,0);
			return src;
		}

		return DisplayMethod;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/display/imodel.as
	var IModel=/*iflash.laya.display.IModel*/(function(){
		function IModel(n){
			this.jnode=null;
			this.jnode=n;}
		CLASS$(IModel,'iflash.laya.display.IModel',true,true);
		var __proto__=IModel.prototype;
		__proto__.setHideText=LAYAFNVOID/*function(b){}*/
		__proto__.vcanvas=LAYAFNVOID/*function(vcanvas){}*/
		__proto__.reset=LAYAFNVOID/*function(id,jnode){}*/
		__proto__.uploadCmd=LAYAFNVOID/*function(d){}*/
		__proto__.pos=LAYAFNVOID/*function(x,y){}*/
		__proto__.zIndex=LAYAFNVOID/*function(d){}*/
		__proto__.size=LAYAFNVOID/*function(w,h){}*/
		__proto__.scale2d=LAYAFNVOID/*function(x,y){}*/
		__proto__.scale2dEx=LAYAFNVOID/*function(x,y){}*/
		__proto__.rotate2d=LAYAFNVOID/*function(r){}*/
		__proto__.bgcolor=LAYAFNVOID/*function(rgb){}*/
		__proto__.bgimg=LAYAFNVOID/*function(_img,repeat){}*/
		__proto__.position=LAYAFNVOID/*function(type){}*/
		__proto__.image=function(img,b){
			(b===void 0)&& (b=false);
		}

		__proto__.bitmapdataContent=LAYAFNVOID/*function(bitmapdataContent){}*/
		__proto__.border=LAYAFNVOID/*function(type){}*/
		__proto__.font=LAYAFNVOID/*function(f){}*/
		__proto__.text=LAYAFNVOID/*function(txt){}*/
		__proto__.textStrs=LAYAFNVOID/*function(txt){}*/
		__proto__.clip=LAYAFNVOID/*function(b){}*/
		__proto__.insert=LAYAFNVOID/*function(c,index,sz){}*/
		__proto__.flip=LAYAFNVOID/*function(f){}*/
		__proto__.padding=LAYAFNVOID/*function(l,t,r,b){}*/
		__proto__.margin=LAYAFNVOID/*function(l,t,r,b){}*/
		__proto__.scroll=LAYAFNVOID/*function(x,y){}*/
		__proto__.alpha=LAYAFNVOID/*function(a){}*/
		__proto__.filter=LAYAFNVOID/*function(r,g,b,gray){}*/
		__proto__.globalCompositeOperation=LAYAFNVOID/*function(nType){}*/
		__proto__.show=LAYAFNVOID/*function(b){}*/
		__proto__.destroy=LAYAFNVOID/*function(){}*/
		__proto__.destroyAllChild=LAYAFNVOID/*function(){}*/
		__proto__.swap=LAYAFNVOID/*function(frome,to){}*/
		__proto__.removeAt=LAYAFNVOID/*function(i,c,sz){}*/
		__proto__.setOrigin=LAYAFNVOID/*function(x,y,xtype,ytype){}*/
		__proto__.color=LAYAFNVOID/*function(rgb){}*/
		__proto__.setToCanvas=LAYAFNVOID/*function(canvas){}*/
		__proto__.quote=LAYAFNVOID/*function(m){}*/
		__proto__.quoteEx=LAYAFNVOID/*function(m){}*/
		__proto__.matrix=LAYAFNVOID/*function(a,b,c,d,tx,ty){}*/
		__proto__.virtualBitmap=LAYAFNVOID/*function(virtualBitmap){}*/
		__proto__.drawImage9=LAYAFNVOID/*function(img,sx,sy,sw,sh,dx,dy,dw,dh){}*/
		__proto__.drawImage3=LAYAFNVOID/*function(img,x,y){}*/
		__proto__.flashClip=LAYAFNVOID/*function(x,y,w,h){}*/
		__proto__.removeClip=LAYAFNVOID/*function(){}*/
		__proto__.mask=LAYAFNVOID/*function(d){}*/
		__proto__.textView=LAYAFNVOID/*function(x,y){}*/
		STATICATTR$(IModel,
		['__DEFAULT__',function(){return this.__DEFAULT__=new IModel(null);}
		]);
		return IModel;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/display/virtualcanvas.as
	var VirtualCanvas=/*iflash.laya.display.VirtualCanvas*/(function(){
		function VirtualCanvas(){
			this._cmds_=[];
			this.imageNum=0;
			this.loaded=0;
			this.width=0;
			this.height=0;
			this.baseImage=null;
			this.onComplete=null;
			this.conchVirtualBitmap=null;
			this.widthScale=1;
			this.heightScale=1;
			this.inMap=false;
			if(Laya.CONCHVER){
			}
		}

		CLASS$(VirtualCanvas,'iflash.laya.display.VirtualCanvas',true,true);
		var __proto__=VirtualCanvas.prototype;
		__proto__._check_=function(){
			if(this.conchVirtualBitmap&&!this.inMap){
				ConchRenderVCanvas.maps.push(this);
				this.inMap=true;
			}
		}

		__proto__._conchResize_=function(){
			if (Laya.CONCHVER){
				if (!this.conchVirtualBitmap)this.conchVirtualBitmap=/*__JS__ */new ConchVirtualBitmap();
				this.conchVirtualBitmap.size(this.width,this.height);
			}
		}

		__proto__.size=function(w,h){
			this.width=w;
			this.height=h;
			this._conchResize_();
		}

		__proto__.setImage=function(data){
			this.clear();
			this.baseImage=data;
			this.drawImage(data,0,0);
			this._check_();
		}

		__proto__.changeImage=function(img){
			if(this.baseImage!=img)
				this.setImage(img);
		}

		__proto__.isNormal=function(){
			return (this.baseImage && this._cmds_.length==1);
		}

		__proto__.getImage=function(){
			return this.baseImage;
		}

		__proto__.removeImage=function(){
			this.baseImage=null;
		}

		__proto__.checkCMDfull=function(){
			if (this._cmds_.length > VirtualCanvas.MAXCMDNUM){
			}
		}

		__proto__.drawMartixImage=function(souce,m,clipRect){
			if (souce._cmds_.length==0)
				return;
			if (m.b==0 && m.c==0&&m.a>0&&m.d>0&&souce.isNormal()){
				this.drawImage(souce.baseImage,(clipRect.x-m.tx)/ m.a,
				(clipRect.y-m.ty)/m.d,
				clipRect.width/m.a,
				clipRect.height/m.d,
				clipRect.x,
				clipRect.y,
				clipRect.width,
				clipRect.height);
			}
			else{
				VirtualCanvas._DEFAULT_.clear();
				VirtualCanvas._DEFAULT_.save();
				VirtualCanvas._DEFAULT_.beginPath();
				VirtualCanvas._DEFAULT_.rect(clipRect.x,clipRect.y,clipRect.width,clipRect.height);
				VirtualCanvas._DEFAULT_.clip();
				VirtualCanvas._DEFAULT_.transform(m.a,m.b,m.c,m.d,m.tx,m.ty);
				souce.copyTo(VirtualCanvas._DEFAULT_);
				VirtualCanvas._DEFAULT_.restore();
				this.drawVCanvas([VirtualCanvas._DEFAULT_._cmds_,clipRect.x,clipRect.y,clipRect.width,clipRect.height,clipRect.x,clipRect.y,clipRect.width,clipRect.height]);
			}
		}

		__proto__.drawVCanvas=function(args){
			this._cmds_.push(["_drawVCanvas_",args]);
			var cmds=args[0];
			for (var i=0,n=cmds.length;i < n;i++){
				if (cmds[i][0].indexOf("_drawImage")!=-1){
					this._loadImg_(cmds[i][1][0]);
				}
			}
			this._check_();
		}

		__proto__.save=function(){
			this._cmds_.push(["_save_",null]);
			this._check_();
		}

		__proto__.restore=function(){
			this.checkCMDfull();
			this._cmds_.push(["_restore_",null]);
			this._check_();
		}

		__proto__.beginPath=function(){
			this._cmds_.push(["_beginPath_",null]);
			this._check_();
		}

		__proto__.drawImage=function(__args){
			var args=arguments;
			this.checkCMDfull();
			var obj=args[0];
			var soucecmd=obj._cmds_;
			if(obj.width > 0 && obj.width < args[3])args[3]=obj.width;
			if(obj.width > 0 && obj.height < args[4])args[4]=obj.height;
			if (soucecmd){
				if (soucecmd.length==1&&soucecmd[0][1].length==3){
					args[0]=soucecmd[0][1][0];
					this.drawImage.apply(this,args);
					return;
				};
				var scalex=args[7] / args[3];
				var scaley=args[8] / args[4];
				VirtualCanvas._DEFAULT_.clear();
				VirtualCanvas._DEFAULT_.save();
				VirtualCanvas._DEFAULT_.translate(args[5],args[6]);
				if (args[3] < obj.width || args[4] < obj.height){
					VirtualCanvas._DEFAULT_.beginPath();
					VirtualCanvas._DEFAULT_.rect(0,0,args[7],args[8]);
					VirtualCanvas._DEFAULT_.clip();
				}
				VirtualCanvas._DEFAULT_.scale(scalex,scaley);
				VirtualCanvas._DEFAULT_.translate(-args[1],-args[2]);
				obj.copyTo(VirtualCanvas._DEFAULT_);
				VirtualCanvas._DEFAULT_.restore();
				args[0]=VirtualCanvas._DEFAULT_._cmds_;
				this.drawVCanvas(args);
			}
			else{
				if(args.length==3)
					this._cmds_.push(["_drawImage3_",args]);
				else if (args.length==5)
				this._cmds_.push(["_drawImage5_",args]);
				else
				this._cmds_.push(["_drawImage9_",args]);
				this._loadImg_(obj);
				this._check_();
			}
		}

		__proto__.rect=function(x,y,w,h){
			this._cmds_.push(["_rect_",[x,y,w,h]]);
			this._check_();
		}

		__proto__.clip=function(){
			this._cmds_.push(["_clip_",null]);
			this._check_();
			return true;
		}

		__proto__.scale=function(x,y){
			if (x==1 && y==1)return;
			this._cmds_.push(["_scale_",[x,y]]);
			this._check_();
		}

		__proto__.translate=function(x,y){
			if (x==0 && y==0)return;
			this._cmds_.push(["_translate_",[x,y]]);
			this._check_();
		}

		__proto__.transform=function(a,b,c,d,tx,ty){
			this._cmds_.push(["_transform_",[a,b,c,d,tx,ty]]);
			this._check_();
		}

		__proto__.clearRect=function(x,y,w,h){
			if (x==0 && y==0 && w==this.width && h==this.height){
				this.clear();
				return;
			};
			var cmd1;
			var ex=x+w,ey=y+h;
			for (var i=0,sz=this._cmds_.length;i < sz;i++){
				var cmd=this._cmds_[i];
				if ((cmd[0]=="_drawVCanvas_"||cmd[0]=="_drawImage9_")&& (cmd1=cmd[1])[5] >=x && cmd1[6] >=y && (cmd1[5]+cmd1[7])<=ex && (cmd1[6]+cmd1[8])<=ey){
					this._cmds_.splice(i,1);
					i--;
					sz--;
				}
			}
			this._check_();
		}

		__proto__.closePath=function(){
			this._cmds_.push(["_closePath_",null]);
			this._check_();
		}

		__proto__.fillRect=function(x,y,w,h){
			this._cmds_.push(["_fillRect_",[x,y,w,h]]);
			this._check_();
		}

		__proto__.stroke=function(){
			this._cmds_.push(["_stroke_",null]);
			this._check_();
		}

		__proto__.strokeRect=function(x,y,w,h){
			this._cmds_.push(["_strokeRect_",[x,y,w,h]]);
			this._check_();
		}

		__proto__.strokeText=function(word,x,y){
			if (!Laya.CONCHVER){
				this._cmds_.push(["_strokeText_",[word,x,y]]);
				this._check_();
			}
		}

		__proto__.fillText=function(word,x,y){
			this._cmds_.push(["_fillText_",[word,x,y]]);
			this._check_();
		}

		__proto__.fill=function(){
			this._cmds_.push(["_fill_",null]);
			this._check_();
		}

		__proto__.moveTo=function(x,y){
			this._cmds_.push(["_moveTo_",[x,y]]);
			this._check_();
		}

		__proto__.lineTo=function(x,y){
			this._cmds_.push(["_lineTo_",[x,y]]);
			this._check_();
		}

		__proto__.arc=function(x,y,r,sAngle,eAngle,bCounterclockwise){
			this._cmds_.push(["_arc_",[x,y,r,sAngle,eAngle,bCounterclockwise]]);
			this._check_();
		}

		__proto__.arcTo=function(x1,y1,x2,y2,radium){
			this._cmds_.push(["_arcTo_",[x1,y1,x2,y2,radium]]);
			this._check_();
		}

		__proto__.bezierCurveTo=function(nCPX,nCPY,nCPX2,nCPY2,nEndX,nEndY){
			this._cmds_.push(["_bezierCurveTo_",[nCPX,nCPY,nCPX2,nCPY2,nEndX,nEndY]]);
			this._check_();
		}

		__proto__.quadraticCurveTo=function(left,top,width,height){
			this._cmds_.push(["_quadraticCurveTo_",[left,top,width,height]]);
			this._check_();
		}

		__proto__.fillImage=function(img,x,y,w,h){
			this._cmds_.push(["_drawRepeat_",[img,x,y,w,h]]);
			this._check_();
		}

		__proto__._drawRepeat_=function(context,args){
			if ((context instanceof iflash.laya.display.VirtualCanvas )){
				(context).fillImage.apply(context,args);
				return
			};
			var myPattern=context.createPattern(args[0],'repeat');
			context.fillStyle=myPattern;
			context.fillRect(args[1],args[2],args[3],args[4]);
		}

		__proto__._transform_=function(context,args){
			context.transform.apply(context,args);
		}

		__proto__._beginPath_=function(context,args){
			context.beginPath();
		}

		__proto__._closePath_=function(context,args){
			context.closePath();
		}

		__proto__._fillStyle_=function(context,args){
			context.fillStyle=args[0];
		}

		__proto__._globalAlpha_=function(context,args){
			context.globalAlpha=args[0];
		}

		__proto__._lineCap_=function(context,args){
			context.lineCap=args[0];
		}

		__proto__._lineWidth_=function(context,args){
			context.lineWidth=args[0];
		}

		__proto__._lineJoin_=function(context,args){
			context.lineJoin=args[0];
		}

		__proto__._strokeStyle_=function(context,args){
			context.strokeStyle=args[0];
		}

		__proto__._stroke_=function(context,args){
			context.stroke();
		}

		__proto__._strokeRect_=function(context,args){
			context.strokeRect.apply(context,args);
		}

		__proto__._translate_=function(context,args){
			context.translate.apply(context,args);
		}

		__proto__._scale_=function(context,args){
			context.scale.apply(context,args);
		}

		__proto__._save_=function(context,args){
			context.save();
		}

		__proto__._restore_=function(context,args){
			context.restore();
		}

		__proto__._strokeText_=function(context,args){
			context.strokeText.apply(context,args);
		}

		__proto__._fillText_=function(context,args){
			context.fillText.apply(context,args);
		}

		__proto__._fill_=function(context,args){
			context.fill();
		}

		__proto__._moveTo_=function(context,args){
			context.moveTo.apply(context,args);
		}

		__proto__._lineTo_=function(context,args){
			context.lineTo.apply(context,args);
		}

		__proto__._arc_=function(context,array){
			context.arc.apply(context,array);
		}

		__proto__._arcTo_=function(context,args){
			context.arcTo.apply(context,args);
		}

		__proto__._bezierCurveTo_=function(context,args){
			context.bezierCurveTo.apply(context,args);
		}

		__proto__._quadraticCurveTo_=function(context,args){
			context.quadraticCurveTo.apply(context,args);
		}

		__proto__._clip_=function(context,args){
			context.clip();
		}

		__proto__._rect_=function(context,args){
			context.rect.apply(context,args);
		}

		__proto__._drawImage3_=function(context,args){
			context.drawImage.apply(context,args);
		}

		__proto__._drawImage5_=function(context,args){
			context.drawImage.apply(context,args);
		}

		__proto__._drawImage9_=function(context,args){
			context.drawImage.apply(context,args);
		}

		__proto__._drawVCanvas_=function(context,args){
			var cmds=args[0];
			for (var i=0,n=cmds.length;i < n;i++){
				this[cmds[i][0]].call(this,context,cmds[i][1]);
			}
		}

		__proto__._font_=function(context,args){
			context.font=args[0];
		}

		__proto__._textBaseline_=function(context,args){
			context.textBaseline=args[0];
		}

		__proto__._loadImg_=function(obj){
			var _$this=this;
			return;
			this.imageNum++;
			if (obj.isReady()){
				this.loaded++;
				this._checkloadComplete();
			}
			else{
				obj.addEventListener("load",function(e){
					_$this.loaded++;
					_$this._checkloadComplete();
				});
			}
		}

		__proto__._checkloadComplete=function(){
			if (this.imageNum==this.loaded)
				this.onComplete && this.onComplete();
		}

		__proto__.isReady=function(){
			return(this.imageNum==this.loaded);
		}

		__proto__.copyTo=function(to){
			for (var i=0,n=this._cmds_.length;i < n;i++){
				this[this._cmds_[i][0]].call(this,to,this._cmds_[i][1]);
			}
		}

		__proto__.paint=function(context,x,y,w,h){
			var hasScale=false;
			if (w > 0 && h > 0){
				this.widthScale=w / this.width;
				this.heightScale=h / this.height;
				hasScale=(this.widthScale !=1 || this.heightScale !=1);
			};
			var len=this._cmds_.length;
			var b=(x==0 && y==0);
			switch(len){
				case 0:return;
				case 1:
					if (hasScale)
						context.save();
					if (!b){
						context.translate(x,y);
						hasScale&&context.scale(this.widthScale,this.heightScale);
						this[this._cmds_[0][0]].call(this,context,this._cmds_[0][1]);
						context.translate(-x,-y);
					}
					else{
						hasScale&&context.scale(this.widthScale,this.heightScale);
						this[this._cmds_[0][0]].call(this,context,this._cmds_[0][1]);
					}
					if (hasScale)
						context.restore();
					break ;
				default :
					context.save();
					!b && context.translate(x,y);
					if (this.widthScale !=1 || this.heightScale !=1)
						context.scale(this.widthScale,this.heightScale);
					for (var i=0,n=this._cmds_.length;i < n;i++){
						this[this._cmds_[i][0]].call(this,context,this._cmds_[i][1]);
					}
					context.restore();
				}
		}

		__proto__._fillRect_=function(context,args){
			context.fillRect.apply(context,args);
		}

		__proto__.getContext=function(type){
			return this;
		}

		__proto__.clear=function(){
			this._cmds_=[];
			this.baseImage=null;
			this._check_();
		}

		__proto__.clone=function(){
			var result=new VirtualCanvas();
			this.copyTo(result);
			result.baseImage=this.baseImage;
			result.width=this.width;
			result.height=this.height;
			result._conchResize_();
			return result;
		}

		GETSET$(0,__proto__,'context',function(){
			return this;
		});

		GETSET$(0,__proto__,'font',null,function(f){
			this._cmds_.push(["_font_",[f]]);
			this._check_();
		});

		GETSET$(0,__proto__,'lineJoin',null,function(s){
			this._cmds_.push(["_lineJoin_",[s]]);
			this._check_();
		});

		GETSET$(0,__proto__,'strokeStyle',null,function(color){
			this._cmds_.push(["_strokeStyle_",[color]]);
			this._check_();
		});

		GETSET$(0,__proto__,'globalAlpha',null,function(n){
			if (n==1)return;
			this._cmds_.push(["_globalAlpha_",[n]]);
			this._check_();
		});

		GETSET$(0,__proto__,'textBaseline',null,function(f){
			this._cmds_.push(["_textBaseline_",[f]]);
			this._check_();
		});

		GETSET$(0,__proto__,'fillStyle',null,function(style){
			this._cmds_.push(["_fillStyle_",[style]]);
			this._check_();
		});

		GETSET$(0,__proto__,'lineCap',null,function(s){
			this._cmds_.push(["_lineCap_",[s]]);
			this._check_();
		});

		GETSET$(0,__proto__,'lineWidth',null,function(n){
			this._cmds_.push(["_lineWidth_",[n]]);
			this._check_();
		});

		VirtualCanvas.getConchSring=function(p_cmd){
			var temp="";
			for (var i=0,len=p_cmd.length;i < len;i++){
				var cmd=p_cmd[i];
				var funId=ConchRenderVCanvas.CMDMAP[cmd[0]];
				if (funId==-1){
					temp+=VirtualCanvas.getConchSring(cmd[1][0]);
				}
				else if (cmd[0].indexOf("draw")!=-1){
					var s=Array.prototype.slice.call(cmd[1]);
					s[0]=s[0].imgId;
					temp+=(funId+/*iflash.utils.stringContextCMD.COMMA*/'\4'+s.join(/*iflash.utils.stringContextCMD.COMMA*/'\4'));
				}
				else{
					if (cmd[1]==null){
						temp+=funId;
					}
					else{
						temp+=(funId+/*iflash.utils.stringContextCMD.COMMA*/'\4'+cmd[1].join(/*iflash.utils.stringContextCMD.COMMA*/'\4'));
					}
				}
				if (i !=len-1){
					temp+=/*iflash.utils.stringContextCMD.SEMICOLON*/'\5';
				}
			}
			return temp;
		}

		VirtualCanvas._DEFAULT_=new VirtualCanvas();
		VirtualCanvas.MAXCMDNUM=200;
		return VirtualCanvas;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/driver/document.as
	var Document3=/*iflash.laya.driver.Document*/(function(){
		function Document(){
			this.body=null;
			this.head=null;
			this.onselectstart=null;
			this.ontouchmove=null;
			this.onmousewheel=null;
			this.onscroll=null;
			this._addEventListener_=null;
			this._createElement_=null;
		}

		CLASS$(Document,'iflash.laya.driver.Document',true,true,null,'Document3');
		var __proto__=Document.prototype;
		__proto__.addEventListener=function(type,callBack,useCapture){
			if(this._addEventListener_!=null)
				this._addEventListener_.call(this,type,callBack,useCapture);
			else
			this.attachEvent("on"+type,callBack);
		}

		__proto__.getElementsByTagName=LAYAFNNULL/*function(value){return null}*/
		__proto__.attachEvent=function(type,callBack){}
		__proto__.createElement=function(tagName){
			var _$this=this;
			switch(tagName){
				case 'virtualBitmap':
					return new VirtualCanvas();
				case 'canvas':;
					var o=this._createElement_.call(this,tagName);
					Canvas.__on_new__(o);
					return o;
				case 'img':
				case 'image':;
					var img=this._createElement_.call(this,"img");
					img.left=img.top=0;
					if (img._getType_==null){
						img._getType_=function (){return 1;};
						img.getContent=function (){return this;};
						img.isReady=function (){return this.width > 0;};
						img.rect=function (x,y,w,h){
							this.left=x;
							this.top=y;
							this.width=w;
							this.height=h;
						}
						if (!img.clone){
							var _this=this;
							img.clone=function (){
								var nimg=_$this.createElement("img");
								nimg.width=this.width;
								nimg.height=this.height;
								nimg.left=this.left;
								nimg.top=this.top;
								nimg.src=this.src;
								return nimg;
							}
						}
					}
					return img;
				}
			return this._createElement_.call(this,tagName);
		}

		GETSET$(0,__proto__,'title',null,function(t){
		});

		Document.__init__=function(doc){
			doc._addEventListener_=doc.addEventListener;
			doc.addEventListener=Document.__TMP__.addEventListener;
			doc._createElement_=doc.createElement;
			doc.createElement=Document.__TMP__.createElement;
		}

		STATICATTR$(Document,
		['__TMP__',function(){return this.__TMP__=new Document;}
		]);
		return Document;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/driver/driver.as
	var Driver=/*iflash.laya.driver.Driver*/(function(){
		function Driver(sprite){
			this._frameRate_=NaN;
			this.buttonDown=false;
			this.create(sprite);
			this._init_(sprite);
			Browser.input=Driver._input_;
		}

		CLASS$(Driver,'iflash.laya.driver.Driver',true,true);
		var __proto__=Driver.prototype;
		__proto__.create=function(sprite){
			Browser.document=/*__JS__ */document;
			Browser.window=/*__JS__ */window;
			Browser.location=/*__JS__ */location;
			Browser.navigator=/*__JS__ */navigator;
			Document3.__init__(Browser.document);
		}

		__proto__._init_=function(sprite){
			if (Driver._input_)return;
			if(/*__JS__ */navigator.platform.indexOf('Linux ')==0 || Laya.CONCHVER)
				Driver._input_=Browser.document.createElement("input");
			else
			Driver._input_=Browser.document.createElement("textArea");
			if(!Laya.CONCHVER){
				Driver._input_.setPos=function (x,y){
					Driver._input_.style.left=x+"px";
					Driver._input_.style.top=y+"px";
				};
				Driver._input_.setSize=function (w,h){
					Driver._input_.style.width=w+"px";
					Driver._input_.style.height=h+"px";
				};
				Driver._input_.setStyle=function (style){
					Driver._input_.style.cssText=style;
				}
				Driver._input_.setFont=function (fontInfo){
				};
				Driver._input_.setColor=function (color){
					Driver._input_.style.color=color;
				};
				Driver._input_.setOpacity=function (opacity){
					Driver._input_.style.opacity=opacity;
				};
				Driver._input_.setFontSize=function (sz){
					Driver._input_.style.fontSize=sz+"px";
				};
				Driver._input_.setScale=function (scalex,scaley){
					Driver._input_.style.webkitTransform="scale("+scalex+','+scaley+')';
					Driver._input_.style.mozTransform="scale("+scalex+','+scaley+')';
					Driver._input_.style.oTransform="scale("+scalex+','+scaley+')';
					Driver._input_.style.msTransform="scale("+scalex+','+scaley+')';
				};
				Driver._input_.setRotate=function (s){
					Driver._input_.style.webkitTransform+="rotate("+s+'deg)';
					Driver._input_.style.mozTransform+="rotate("+s+'deg)';
					Driver._input_.style.oTransform+="rotate("+s+'deg)';
					Driver._input_.style.msTransform+="rotate("+s+'deg)';
				};
				Driver._input_.setRegular=function (value){
					Driver._input_.onkeyup=value;
				};
			}
			else{
				Driver._input_.setSelectionRange=function (a,b){
					var value=Driver._input_.value;
					if(value&&value.length<a-1){
						a=value.length-1;
					}
					else
					a=0;
					Driver._input_.setCursorPosition(a);
				};
				Driver._input_.setFontSize(60);
			}
			Driver._input_.setStyle(
			"-webkit-transform-origin:left top;"+
			"-moz-transform-origin:left top;"+
			"transform-origin:left top;"+
			"-ms-transform-origin:left top;"+
			"position:absolute;"+
			"top:-200;"+
			"z-index:1;");
			Browser.document.body.appendChild(Driver._input_);
		}

		__proto__.err=LAYAFNVOID/*function(e){}*/
		__proto__.alert=function(e){
			/*__JS__ */alert(e);
		}

		__proto__.onEnterFrame=function(evt){
			if (Laya.window==null)return;
			var wnd=Browser.window;
			if (Laya.window !=null){
				Laya.window.resizeTo(wnd.innerWidth,wnd.innerHeight);
				Laya.window.enterFrame();
				Laya.RENDERBYCANVAS&&this.onDomRender();
			}
		}

		__proto__.onDomRender=function(){
			(Laya.window !=null)&& Laya.document.render();
		}

		__proto__.onResize=LAYAFNVOID/*function(){}*/
		__proto__.start=function(){
			if (Laya.HTMLVER){
				Browser.document.body.style.cssText+='overflow:hidden;margin:0;padding:0'
				Browser.document.body.ontouchstart=Browser.document.onselectstart=Browser.document.ontouchmove=function (event){event.preventDefault();};
				this.frameRate=60;
			}
		}

		__proto__._debugger_=function(){
			/*__JS__ */debugger;
		}

		__proto__.eval=function(str,target){
			target=target || Browser.window;
			target.eval(str);
		}

		__proto__.getRootCanvas=function(){
			return Browser.document.createElement("canvas");
		}

		__proto__.createModle=function(type,id,node){
			if (Driver.__DOMCACHE__.length > 0){
				var o=Driver.__DOMCACHE__.pop();
				o.reset(id,node);
				return o;
			}
			return (Laya.CONCHVER&&!Laya.RENDERBYCANVAS)?/*__JS__ */new ConchNode():IModel.__DEFAULT__;
		}

		__proto__.attachBrowserMouseEvent=function(name,fn,type){
			name=name.toLowerCase();
			Browser.document.addEventListener(name.substring(2,name.length),fn,false);
		}

		__proto__.attachBrowserKeyEvent=function(name,fn){
			var fnnew=function (event){
				var keyboaderEvent=new KeyboardEvent(name.substring(2));
				keyboaderEvent.keyCode=event.keyCode;
				keyboaderEvent.shiftKey=event.shiftKey;
				keyboaderEvent.ctrlKey=event.ctrlKey;
				fn(keyboaderEvent);
			};
			Browser.document[ name.toLowerCase()]=fnnew;
		}

		__proto__.createHttpRequest=function(){
			return new HttpRequest();
		}

		__proto__.regEvent=function(){
			var esys=EventManager.mgr;
			if (Driver.enableTouch()){
				this.attachBrowserMouseEvent("ontouchstart",function(e){e.type="touchstart";esys.acceptSystemMouseEvent(e)});
				this.attachBrowserMouseEvent("ontouchmove",function(e){e.type="touchmove";esys.acceptSystemMouseEvent(e)});
				this.attachBrowserMouseEvent("ontouchend",function(e){e.type="touchend";esys.acceptSystemMouseEvent(e)});
				this.attachBrowserMouseEvent("ontouchcancel",function(e){e.type="touchcancel";esys.acceptSystemMouseEvent(e)});
				esys.dealAccepInput=esys.dealAcceptTouchInput;
				esys.enableTouch=true;
			}
			else{
				this.attachBrowserMouseEvent("onmouseDown",function(e){esys.acceptSystemMouseEvent(e);});
				this.attachBrowserMouseEvent("onmouseMove",function(e){esys.acceptSystemMouseEvent(e);});
				this.attachBrowserMouseEvent("onmouseUp",function(e){esys.acceptSystemMouseEvent(e);});
			}
			this.attachBrowserKeyEvent("onkeyDown",function(e){esys.acceptSystemKeyEvent(e);});
			this.attachBrowserKeyEvent("onkeyUp",function(e){esys.acceptSystemKeyEvent(e);});
			Browser.window.onmousewheel=Browser.document.onmousewheel=function (e){esys.acceptSystemMouseEvent(e);};
		}

		__proto__.cursor=function(cursor){
			Browser.document.body.style.cursor=cursor;
		}

		GETSET$(0,__proto__,'frameRate',function(){
			return this._frameRate_;
			},function(num){
			this._frameRate_=num;
			if (Laya.HTMLVER){
				Driver.interval && Browser.window.clearInterval(Driver.interval);
				var _this=this;
				Driver.interval=Browser.window.setInterval(function(){_this.onEnterFrame()},1000/num);
			}
		});

		Driver.enableTouch=function(){
			if (!Laya.CONCHVER)
				/*__JS__ */return ('ontouchstart' in window)|| window.DocumentTouch && (document instanceof DocumentTouch);
			else
			/*__JS__ */return window.enableTouch;;
			return false;
		}

		Driver.__DOMCACHE__=[];
		Driver.__ID__=100000;
		Driver.interval=0;
		Driver._input_=null
		return Driver;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/driver/location.as
	var Location=/*iflash.laya.driver.Location*/(function(){
		function Location(){
			this.href=null;
		}

		CLASS$(Location,'iflash.laya.driver.Location',true,true);
		var __proto__=Location.prototype;
		__proto__.reload=LAYAFNVOID/*function(){}*/
		return Location;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/driver/navigator.as
	var Navigator=/*iflash.laya.driver.Navigator*/(function(){
		function Navigator(){}
		CLASS$(Navigator,'iflash.laya.driver.Navigator',true,true);
		return Navigator;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/driver/window.as
	var Window2=/*iflash.laya.driver.Window*/(function(){
		function Window(){
			this.innerWidth=0;
			this.innerHeight=0;
			this.XMLHttpRequest=null;
			this.ActiveXObject=null;
			this.onmousewheel=null;
			this._title_=null;
			this.event=null;
			this.onscroll=null;
			this.scrollTop=0;
			this.scrollLeft=0;
			this.conchConfig=null;
			this.conchMarket=null;
			this.DeviceMotionEvent=null;
			this._ConchMask=null;
		}

		CLASS$(Window,'iflash.laya.driver.Window',true,true,null,'Window2');
		var __proto__=Window.prototype;
		__proto__.eval=LAYAFNNULL/*function(str){return null}*/
		__proto__.setTimeout=LAYAFNVOID/*function(fn,delay){}*/
		__proto__.clearInterval=LAYAFNVOID/*function(id){}*/
		__proto__.setInterval=LAYAFN0/*function(fn,d){return 0}*/
		GETSET$(0,__proto__,'title',function(){
			return this._title_;
			},function(str){
			this._title_=str;
		});

		return Window;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/ilaya.as
	var ILaya=/*iflash.laya.ILaya*/(function(){
		function ILaya(sprite,htmlUrl){
			this._html_=null;
			Laya.ilaya=this;
			Laya.Main(sprite);
			this._html_=htmlUrl;
			if (!this._html_ && Laya.CONCHVER && Browser.location && Browser.location.href)
				this._html_=Browser.location.href;
		}

		CLASS$(ILaya,'iflash.laya.ILaya',true,true);
		var __proto__=ILaya.prototype;
		__proto__._onInit_=LAYAFNVOID/*function(){}*/
		__proto__.onStart=function(){
			Browser.hideSystemLoading();
			return;
		}

		return ILaya;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/net/ajax.as
	var Ajax=/*iflash.laya.net.Ajax*/(function(){
		function Ajax(){}
		CLASS$(Ajax,'iflash.laya.net.Ajax',true,true);
		Ajax.onJSONDone=function(callbackFn,response,onerr){
			if (response==null){
				onerr();
				return;
			}
			callbackFn(response);
		}

		Ajax.GetJSONInBrowser=function(url,callbackFn,splitChar,onerr){
			(splitChar===void 0)&& (splitChar='&');
			var response;
			var jsoncb=function (args){
				response=args;
			};
			var tm='';
			if (callbackFn !=null){
				tm=iflash.utils.getTimer()+"";
				Browser.window['layacallback'+tm]=jsoncb;
			};
			var script=Browser.document.createElement('script');
			script.type="text/javascript";
			if (onerr !=null){
				script.onerror=onerr;
				}else{
				script.onerror=callbackFn;
			}
			script.onload=script.onreadystatechange=function (e,isAbort){
				var reg=new RegExp("loaded|complete");
				if (isAbort || !script.readyState || reg.test(script.readyState+"")){
					script.onload=script.onreadystatechange=null;
					if (script.parentNode !=null){}
						if (!isAbort){
						Ajax.onJSONDone(callbackFn,response,script.onerror);
					}
				}
			};
			script.src=url+(tm!=''?(splitChar+'callback=layacallback'+tm):'');
			Browser.document.getElementsByTagName('head')[0].appendChild(script);
		}

		Ajax.GetJSONInApp=function(url,callbackFn,splitChar,onerr){
			(splitChar===void 0)&& (splitChar='&');
			var response="";
			var tm="";
			if(callbackFn !=null){
				tm=iflash.utils.getTimer()+"";
				Browser.window["layacallback"+tm]=function (args){response=args;};
			};
			var nurl=url+(tm !=""?(splitChar+"callback=layacallback"+tm):"");
			Browser.window["downloadfile"](nurl,true,function(data){
				console.log('getJson onload:'+data);
				Browser.eval(data);
				Ajax.onJSONDone(callbackFn,response,null);
				},function(){
				console.log('getjson error');
				Ajax.onJSONDone(null,null,onerr !=null?onerr:callbackFn);
			});
		}

		Ajax.GetJSON=function(url,callbackFn,splitChar,onerr){
			(splitChar===void 0)&& (splitChar='&');
			if (!Laya.CONCHVER)
				return Ajax.GetJSONInBrowser(url,callbackFn,splitChar,onerr);
			else
			return Ajax.GetJSONInApp(url,callbackFn,splitChar,onerr);
		}

		return Ajax;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/net/cookie.as
	var Cookie=/*iflash.laya.net.Cookie*/(function(){
		function Cookie(name){
			this._name=null;
			this._data=null;
			this._name=name;
		}

		CLASS$(Cookie,'iflash.laya.net.Cookie',true,true);
		var __proto__=Cookie.prototype;
		__proto__.clear=function(){
			this._data={};
			/*__JS__ */localStorage.removeItem(this._name);
		}

		__proto__.close=LAYAFNVOID/*function(){}*/
		__proto__.flush=function(minDiskSpace){
			(minDiskSpace===void 0)&& (minDiskSpace=0);
			/*__JS__ */localStorage.setItem(this._name,window.JSON.stringify(this._data));
			return this._name;
		}

		__proto__.send=function(__rest){}
		__proto__.setDirty=LAYAFNVOID/*function(propertyName){}*/
		__proto__.setProperty=function(propertyName,value){
			this._data.propertyName=value;
		}

		GETSET$(0,__proto__,'data',function(){
			return this._data;
		});

		GETSET$(0,__proto__,'objectEncoding',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(version){}*/);
		GETSET$(0,__proto__,'fps',null,LAYAFNVOID/*function(updatesPerSecond){}*/);
		GETSET$(0,__proto__,'client',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(object){}*/);
		GETSET$(0,__proto__,'size',LAYAFN0/*function(){return 0}*/);
		GETSET$(1,Cookie,'defaultObjectEncoding',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(version){}*/);
		Cookie.deleteAll=LAYAFN0/*function(url){return 0}*/
		Cookie.getDiskUsage=LAYAFN0/*function(url){return 0}*/
		Cookie.getLocal=function(name,localPath,secure){
			(secure===void 0)&& (secure=false);
			var result=new Cookie(name);
			result._data=/*__JS__ */localStorage.getItem(name)?window.JSON.parse(localStorage.getItem(name)):{};
			return result;
		}

		Cookie.getRemote=function(name,remotePath,persistence,secure){
			(persistence===void 0)&& (persistence=false);
			(secure===void 0)&& (secure=false);
			return null}
		return Cookie;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/net/filedata.as
	var FileData=/*iflash.laya.net.FileData*/(function(){
		function FileData(url,type,mirroringWith){
			this.contentType=null;
			this.contentdata=null;
			this.quoteFile=null;
			this.state=0;
			this._fileRead_=null;
			this._type_=null;
			this.baseURI=null;
			this.state=0;
			this._type_=type || FileData.TYPE_TEXT;
			this.baseURI=new URI(Method.formatUrl(url));
			if (mirroringWith){
				if ((typeof mirroringWith=='string'))mirroringWith=FileData.getFileData(mirroringWith);
				this.quoteFile=mirroringWith;
				this.contentdata=mirroringWith.contentdata;
			}
			this._fileRead_=[];
		}

		CLASS$(FileData,'iflash.laya.net.FileData',true,true);
		var __proto__=FileData.prototype;
		__proto__.unload=function(){
			this.contentdata=null;
			FileData._files[this.baseURI.url]=null;
			this._fileRead_=null;
		}

		__proto__.addFileRead=function(file){
			if (this.state==3)
				file.onload(this.contentdata);
			else this._fileRead_.push(file);
		}

		__proto__.onload=function(value){{
				if (Laya.HTMLVER && this._type_==FileData.TYPE_ARRAYBUFFER){
					/*__JS__ */if(!value)return;;
					var b=new ByteArray();
					b.endian=value.endian;
					/*__JS__ */b.writeArrayBuffer(value);
					b.position=0;
					value=b;
				}
				this.contentdata=value;
				this.state=3;
				this._disposeLoaded_();
			}
		}

		__proto__.onerror=function(e){
			delete FileData._files[this.baseURI.url];
			this.state=FileData.LOAD_STATE_ERR;
			this.onerrorLoaded();
		}

		__proto__.getData=function(urlrequest){
			if (this.state==3)return this.contentdata;
			if (this.quoteFile){
				if (this.quoteFile.state==3){
					return this.onload(this.quoteFile.getData());
				}
				this.quoteFile.addFileRead(this);
				return null;
			}
			if (this.state==0 || this.state==FileData.LOAD_STATE_ERR){
				this.state=2;
				var request=Browser.createHttpRequest();
				var _this=this;
				request.onload=function (d){
					_this.onload(d);
				}
				request.onerror=function (d){
					_this.onerror(d);
				}
				if (this._type_=="binary" && Laya.HTMLVER){
					this._type_=FileData.TYPE_ARRAYBUFFER;
				}
				if (this._type_=="binary" && Laya.FLASHVER){
					if(urlrequest){
						request.open(this.baseURI.url,this._type_,null,true,urlrequest.method,urlrequest.data,urlrequest.requestHeaders);
					}
					else{
						request.open(this.baseURI.url,this._type_);
					}
				}
				else{
					if(urlrequest){
						request.open(this.baseURI.url,this._type_==FileData.TYPE_ARRAYBUFFER?FileData.TYPE_ARRAYBUFFER:null,null,true,urlrequest.method,urlrequest.data,urlrequest.requestHeaders);
					}
					else{
						request.open(this.baseURI.url,this._type_==FileData.TYPE_ARRAYBUFFER?FileData.TYPE_ARRAYBUFFER:null);
					}
				}
				return null;
			}
		}

		__proto__.onerrorLoaded=function(){
			this.state=3;
			if(!this._fileRead_)return;
			for (var i=0,sz=this._fileRead_.length;i < sz;i++){
				this._fileRead_[i].loadError(this.contentdata);
			}
			this._fileRead_=null;
		}

		__proto__._disposeLoaded_=function(){
			this.state=3;
			for (var i=0,sz=this._fileRead_.length;i < sz;i++){
				this._fileRead_[i].onload(this.contentdata);
			}
			this._fileRead_=null;
		}

		FileData.setFileIsLoaded=function(url,file){
			url=Method.formatUrl(url);
			FileData._files[url]=file;
		}

		FileData.fileIsLoaded=function(url){
			url=Method.formatUrl(url);
			return FileData._files[url]!=null;
		}

		FileData.getFileData=function(url){
			url=Method.formatUrl(url);
			return FileData._files[url];
		}

		FileData._files=[];
		FileData.LOAD_STATE_ERR=-1;
		FileData.LOAD_STATE_NO=0;
		FileData.LOAD_STATE_RELEASE=1;
		FileData.LOAD_STATE_LOADING=2;
		FileData.LOAD_STATE_LOADED=3;
		FileData.TYPE_IMAGE="image";
		FileData.TYPE_TEXT="text";
		FileData.TYPE_ARRAYBUFFER="arraybuffer";
		return FileData;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/net/fileread.as
	var FileRead=/*iflash.laya.net.FileRead*/(function(){
		function FileRead(url,callback,type,urlRequest){
			this.data=null;
			this._callBack_=null;
			this._contentType_=null;
			this._callBack_=callback;
			this._createFileData_(url,type);
			this.data.getData(urlRequest);
		}

		CLASS$(FileRead,'iflash.laya.net.FileRead',true,true);
		var __proto__=FileRead.prototype;
		__proto__._createFileData_=function(url,type){
			!this.data && (this.data=new FileData(url,type,null),this.data.contentType=Method.formatUrlType(url));
			this.data.addFileRead(this);
		}

		__proto__.onload=function(value){
			if (this._callBack_){
				this._callBack_.onload.call(this._callBack_.reader,this);
				this._callBack_=null;
				this.unload();
			}
		}

		__proto__.loadError=function(value){
			if (this._callBack_){
				this._callBack_.unOnload.call(this._callBack_.reader,this);
				this._callBack_=null;
			}
		}

		__proto__.unload=function(){
			this.data && this.data.unload();
			this.data=null;
		}

		__proto__.load=function(){
			return this.data.getData();
		}

		GETSET$(0,__proto__,'baseURI',function(){
			return this.data.baseURI;
		});

		GETSET$(0,__proto__,'contentType',function(){
			if(this.data)
				return this.data.contentType;
			return null;
			},function(type){
			this.data&&(this.data.contentType=type);
		});

		GETSET$(0,__proto__,'loaded',function(){
			return this.data.state==/*iflash.laya.net.FileData.LOAD_STATE_LOADED*/3;
		});

		GETSET$(0,__proto__,'url',function(){
			return this.data.baseURI.url;
		});

		GETSET$(0,__proto__,'contentdata',function(){
			this.data.getData();
			return this.data.contentdata;
		});

		return FileRead;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/net/location.as
	var Location1=/*iflash.laya.net.Location*/(function(){
		function Location(){
			this._href_=null;
			this._fullPath_=null;
			this._protocol=null;
			this._host=null;
			this._rootPath=null;
			this._conchConfig=null;
			Laya.window.location=this;
			this.href=Browser.location.href;
		}

		CLASS$(Location,'iflash.laya.net.Location',true,true,null,'Location1');
		var __proto__=Location.prototype;
		GETSET$(0,__proto__,'href',function(){
			return this._href_;
			},function(url){
			this._href_=url;
			this._fullPath_=Method.getPath(this._href_);
		});

		GETSET$(0,__proto__,'rootPath',function(){
			return this._rootPath;
			},function(value){
			this._rootPath=value;
		});

		GETSET$(0,__proto__,'fullPath',function(){
			return this._fullPath_;
		});

		GETSET$(0,__proto__,'host',function(){
			return this._host;
		});

		GETSET$(0,__proto__,'protocol',function(){
			return this._protocol;
		});

		GETSET$(0,__proto__,'conchConfig',function(){
			return this._conchConfig;
		});

		return Location;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/runner/datatype.as
	var DataType=/*iflash.laya.runner.DataType*/(function(){
		function DataType(){};
		CLASS$(DataType,'iflash.laya.runner.DataType',true,true);
		DataType.initKeyMap=function(){
			DataType.MAP=[];
			var arr=["NULL","ID","CHAR","SHORT","FLOAT","STRING","INT","BYTE",
			"CURRENT","HOST","TEMPLATE_ID","ARRAY","MATRIX","BOOL","RESOURCE",
			"TEMPLET","FRAME","INTERPOLATION","NEWID","END","FRAME_END","POP",
			"PUSH","SYMBOL_CLASS","LYIMAGELEMENT","SHAPE","BITMAPDATA","BITMAP",
			"SPRITE","MOVIECLIP","TEXTFIELD","BUTTON","REMOVE_ALL","SET_INSTANCE_NAME",
			"REMOVE_INSTANCE_NAME","NEW_OBJECT","ADD_CHILD","REMOVE_CHILD","SET_TRANSFORM",
			"POS","EMPTY","SET_ALPHA","SET_VISIBLE","INIT_LYIMAGELEMENT_CMD","INIT_SHAPE_CMD",
			"INIT_MOVIECLIP_CMD","INIT_TEXTFIELD_CMD","INIT_BUTTON_CMD","INIT_STATICTEXTFIELDCMD"];
			var i;
			/*for each*/for(var $each_i in arr){
				i=arr[$each_i];
				DataType.MAP[DataType[i]]=i;
			}
			return DataType.MAP;
		}

		DataType.NULL=0;
		DataType.ID=1;
		DataType.CHAR=3;
		DataType.SHORT=4;
		DataType.FLOAT=5;
		DataType.STRING=6;
		DataType.INT=7;
		DataType.BYTE=8;
		DataType.CURRENT=9;
		DataType.HOST=10;
		DataType.TEMPLATE_ID=11;
		DataType.ARRAY=12;
		DataType.MATRIX=13;
		DataType.BOOL=14;
		DataType.RESOURCE=21;
		DataType.TEMPLET=22;
		DataType.FRAME=23;
		DataType.INTERPOLATION=24;
		DataType.NEWID=25;
		DataType.END=26;
		DataType.FRAME_END=27;
		DataType.POP=28;
		DataType.PUSH=29;
		DataType.SYMBOL_CLASS=30;
		DataType.LYIMAGELEMENT=51;
		DataType.SHAPE=52;
		DataType.BITMAPDATA=53;
		DataType.BITMAP=54;
		DataType.SPRITE=55;
		DataType.MOVIECLIP=56;
		DataType.TEXTFIELD=57;
		DataType.BUTTON=58;
		DataType.STATICTEXTFIELD=59;
		DataType.REMOVE_ALL=151;
		DataType.SET_INSTANCE_NAME=152;
		DataType.REMOVE_INSTANCE_NAME=153;
		DataType.NEW_OBJECT=154;
		DataType.ADD_CHILD=155;
		DataType.REMOVE_CHILD=156;
		DataType.SET_TRANSFORM=157;
		DataType.POS=158;
		DataType.EMPTY=159;
		DataType.SET_ALPHA=160;
		DataType.SET_VISIBLE=161;
		DataType.INIT_LYIMAGELEMENT_CMD=162;
		DataType.INIT_SHAPE_CMD=163;
		DataType.INIT_MOVIECLIP_CMD=164;
		DataType.INIT_TEXTFIELD_CMD=165;
		DataType.INIT_BUTTON_CMD=166;
		DataType.INIT_SHAPE2ADDCMD=167;
		DataType.INIT_STATICTEXTFIELDCMD=168;
		DataType.MAP=null
		return DataType;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/runner/defines/animationcreate.as
	var AnimationCreate=/*iflash.laya.runner.defines.AnimationCreate*/(function(){
		function AnimationCreate(){
			this.commands={};
		}

		CLASS$(AnimationCreate,'iflash.laya.runner.defines.AnimationCreate',true,true);
		AnimationCreate.removeAll=function(target,key){
			(key===void 0)&& (key=0);
			for(var k in (target._animData_.objes)){
				if(target._animData_.objes[k] && target._animData_.objes[k].v!=true)
					target._animData_.objes[k].visible=false;}
		}

		AnimationCreate.setInstanceName=function(target,key,name){
			var obj=target._animData_.objes[key];
			try{obj.name=name;target[name]=obj;}catch(e){}
		}

		AnimationCreate.removeInstanceName=LAYAFNVOID/*function(target,key,name){}*/
		AnimationCreate.newObject=function(target,key,characterID,symblName){
			var res;
			if (target._animData_.objes[key]&&target._animData_.objes[key].v==true)return;
			else if(target._animData_.objes[key])
			{target._animData_.objes[key].visible=true;return;}
			if(symblName){
				var c=iflash.utils.getDefinitionByName(symblName);
				if(!c){
					res=target.loaderInfo.applicationDomain.newInstance(symblName);
					if((res instanceof iflash.display.BitmapData )){
						res=new Bitmap(res);
						target._animData_.objes[key]=res;
						return;
					}
					res&&(target._animData_.objes[key]=res);
					return;
				};
				var cc=new c();
				if((cc instanceof iflash.display.BitmapData )){
					var b=new Bitmap(cc);
					target._animData_.objes[key]=b;
					}else{
					target._animData_.objes[key]=cc;
				}
				}else{
				res=target.loaderInfo.getResource(String(characterID));
				res&&(target._animData_.objes[key]=res.lyclone());
			}
		}

		AnimationCreate.addChild=function(target,key,depth){
			if(target._animData_.objes[key]&&target._animData_.objes[key].parent)return;
			if(!target._animData_.objes[key])return;
			target.addChild(target._animData_.objes[key]);
			target._animData_.objes[key].zIndex=depth;
		}

		AnimationCreate.removeChild=function(target,key){
			(key===void 0)&& (key=0);
			if(target._animData_.objes[key] && target._animData_.objes[key].v==true)return
				if(target._animData_.objes[key]){
				target._animData_.objes[key].visible=false;
				target._animData_.objes[key].alpha=true
			}
			return;
		}

		AnimationCreate.setTransform=function(target,f32){
			var obj=target._animData_.objes[f32[0]];
			if(obj && !obj.v)
				obj&&(obj.x=f32[1],obj.y=f32[2],obj.scaleX=f32[3],obj.scaleY=f32[4],obj.skewX=f32[6],obj.skewY=f32[7],obj.rotation=f32[5])
		}

		AnimationCreate.pos=function(target,key,x,y){
			var obj=target._animData_.objes[key];
			obj&&(obj.x=x,obj.y=y);
		}

		AnimationCreate.empty=function(target,key){
			(key===void 0)&& (key=0);
		}

		AnimationCreate.setAlpha=function(target,key,value){
			var o=target._animData_.objes[key];
			o&&(o.alpha=value);
		}

		AnimationCreate.setVisible=function(target,key,value){
			if(target._animData_.objes[key])target._animData_.objes[key].visible=value;
		}

		AnimationCreate.getCurrentKey=function(target){return target._animData_.baseKey;}
		AnimationCreate.getKey=function(target){return++(target._animData_.baseKey);}
		AnimationCreate.initLyImage=function(target,src,w,h){
			target.width=w;
			target.height=h;
			target.src=target.loaderInfo.__imageUrl__+String(src)+".png";
			var len=target.loaderInfo.temp.length;
			target.loaderInfo.temp[len]=target;
			return target;
		}

		AnimationCreate.initShap=function(target,image,matrix){
			target._init_({data:image,matrix:matrix});
			return target;
		}

		AnimationCreate.initShape2Add=function(target,id,w,h,matrix){
			var img=new LyImageElement();
			img.src=target.loaderInfo.__imageUrl__+id+".png";
			if(target.loaderInfo.config){
				img.assetUr=target.loaderInfo.__imageUrl__+/*iflash.display.LoaderInfo.TextureSign*/"a"+target.loaderInfo.config[id+".png"].tid+".png";
				img.assetConfig=target.loaderInfo.config[id+".png"];
			}
			img.width=w;
			img.height=h;
			img.orgH=h;
			img.orgW=w;
			img.scale9Data=target.loaderInfo.argData?target.loaderInfo.argData[id+1]:null;
			var len=target.loaderInfo.temp.length;
			target.loaderInfo.temp[len]=img;
			target._init_({data:img,matrix:matrix});
			return target;
		}

		AnimationCreate.initStaticText=function(target,x,y,posx,posy,w,h,wordWrap,multiline,readOnly,align,textColor,fontHeight,initialText){
			target._width=w+5;
			target._height=h+5;
			target.tempBound={x:x,y:-2};
			target.x=x;
			target.y=y;
			target._autoSize='left';
			target._multiline=multiline;
			target._wordWrap=wordWrap;
			target._type="static";
			var tf=new TextFormat();
			tf.size=fontHeight/20;
			if(align==2){tf.align="center";};
			var index=textColor.lastIndexOf("*");
			if(index!=-1){
				var temp=textColor.substring(index+1);
				if(temp.indexOf('Bold')>-1)
					tf.bold=true;
				if(temp.indexOf('Italic')>-1)
					tf.italic=true;
				tf.font=temp.replace(/\s*(Bold|Italic)\s*/g,'');
				tf.color=Number("0x"+textColor.substring(0,index));
				}else{
				tf.color=Number(textColor.replace("#","0x"));
			}
			if (initialText){
				target.htmlText=initialText;
			}
			target.defaultTextFormat=tf;
		}

		AnimationCreate.initText=function(target,x,y,posx,posy,w,h,wordWrap,multiline,readOnly,align,textColor,fontHeight,initialText){
			target.width=w;
			target.height=h;
			target.tempBound={x:x,y:Laya.CONCHVER?-5:0};
			target.x=x;
			target.y=y;
			target.multiline=multiline;
			target.wordWrap=wordWrap;
			(!readOnly)&&(target.type="input");
			var tf=new TextFormat();
			tf.size=fontHeight/20;
			if(align==0)
				tf.align="left";
			else if(align==1)
			tf.align="right";
			else if(align==2)
			tf.align="center";
			var index=textColor.lastIndexOf("*");
			if(index!=-1){
				var temp=textColor.substring(index+1);
				if(temp.indexOf('Bold')>-1)
					tf.bold=true;
				if(temp.indexOf('Italic')>-1)
					tf.italic=true;
				tf.font=temp.replace(/\s*(Bold|Italic)\s*/g,'');
				tf.color=Number("0x"+textColor.substring(0,index));
				}else{
				tf.color=Number(textColor.replace("#","0x"));
			}
			if (initialText){
				if(initialText.indexOf("<p")==-1){
					target.text=initialText;
					}else{
					target.htmlText=initialText;
				}
			}
			target.defaultTextFormat=tf;
		}

		AnimationCreate.initButton=function(target,runner,w,h,totalFrame,labs){
			var aniData=new AnimationData(),len=labs.length,labData={};
			for(var i=0;i<len;i+=2)
			{labData[labs[i]]=labs[i+1];}
			aniData.totalFrame=totalFrame;
			aniData.labs=labData;
			target._animData_=aniData;
			target._interval_=60;
			target.runner=runner;
			target.width=w;
			target.height=h;
			target._type_|=/*iflash.display.DisplayObject.TYPE_CREATE_FROM_TAG*/0x10;
			return target;
		}

		AnimationCreate.initMovie=function(target,runner,w,h,totalFrame,labs){
			var aniData=new AnimationData(),len=labs?labs.length:0,labData={};
			for(var i=0;i<len;i+=2)
			{labData[labs[i]]=labs[i+1];}
			aniData.totalFrame=totalFrame;
			aniData.labs=labData;
			target._animData_=aniData;
			target._interval_=60;
			target.runner=runner;
			target.width=w;
			target.height=h;
			if(target.loaderInfo.argData && target.loaderInfo.argData.hasOwnProperty(target.charId))
				target.scale9Data=target.loaderInfo.argData[target.charId].scale9Data;
			target._type_|=/*iflash.display.DisplayObject.TYPE_CREATE_FROM_TAG*/0x10;
			return target;
		}

		return AnimationCreate;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/runner/onecmddata.as
	var OneCmdData=/*iflash.laya.runner.OneCmdData*/(function(){
		function OneCmdData(){
			this.oneFun=null;
			this.args=null;
		}

		CLASS$(OneCmdData,'iflash.laya.runner.OneCmdData',true,true);
		var __proto__=OneCmdData.prototype;
		__proto__.applyTo=function(who,one){
			return this.oneFun._fun_.apply(who,this.args);
		}

		OneCmdData.CreateOneCmdData=function(ctype,data,infoId){
			var fnid=ctype;
			var oneFun=Register._functions_[fnid];
			if(!oneFun){
				throw new Error("此函数未注册id("+fnid+"),ctype("+ctype+")");
			};
			var onecmddata;
			if (oneFun.useID){
				onecmddata=new OneCmdDataUseId();
				(onecmddata).id=data.readUnsignedByte();
			}
			else onecmddata=new OneCmdData();
			onecmddata.oneFun=oneFun;
			onecmddata.args=oneFun.readParams(data,infoId);
			var args=onecmddata.args;
			switch(fnid){
				case /*iflash.laya.runner.DataType.SET_TRANSFORM*/157:
					onecmddata.args=[args[0],/*__JS__ */new Float32Array(args.slice(1))];
					args=null;
					break ;
				}
			return onecmddata;
		}

		return OneCmdData;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/runner/onefunction.as
	var OneFunction=/*iflash.laya.runner.OneFunction*/(function(){
		function OneFunction(fun,argCount,_useID,paramTypes){
			this._fun_=null;
			this._argsType_=[];
			this.useID=false;
			this.argCount=0;
			this._fun_=fun;
			this._argsType_=paramTypes;
			this.useID=_useID;
		}

		CLASS$(OneFunction,'iflash.laya.runner.OneFunction',true,true);
		var __proto__=OneFunction.prototype;
		__proto__.readParams=function(data,infoid){
			var args=[],len=this._argsType_.length;
			for (var i=0;i < len;i++){
				args.push(OneFunction.readParam(this._argsType_[i],data,infoid));
			}
			return args;
		}

		OneFunction.readParam=function(type,data,infoid){
			var value;
			var id=0;
			var i=0;
			var arr;
			var len=0;
			switch(type){
				case /*iflash.laya.runner.DataType.BYTE*/8:
				case /*iflash.laya.runner.DataType.CHAR*/3:
					value=data.readByte();
					break ;
				case /*iflash.laya.runner.DataType.FLOAT*/5:
					value=data.readFloat();
					break ;
				case /*iflash.laya.runner.DataType.INT*/7:
					value=data.readInt();
					break ;
				case /*iflash.laya.runner.DataType.SHORT*/4:
					value=data.readShort();
					break ;
				case /*iflash.laya.runner.DataType.BOOL*/14:
					value=data.readBoolean();
					break ;
				case /*iflash.laya.runner.DataType.STRING*/6:
					value=data.readUTF();
					break ;
				case /*iflash.laya.runner.DataType.CURRENT*/9:
					value=Runnner.getCurrentObj();
					break ;
				case /*iflash.laya.runner.DataType.ID*/1:
					id=data.readShort();
					value=LoaderInfo.getLoaderInfo(infoid).getResource(id.toString());
					break ;
				case /*iflash.laya.runner.DataType.HOST*/10:
					value="HOST";
					break ;
				case /*iflash.laya.runner.DataType.NULL*/0:
					value=null;
					break ;
				case /*iflash.laya.runner.DataType.TEMPLATE_ID*/11:
					id=data.readShort();
					value=Runnner.template[id];
					break ;
				case /*iflash.laya.runner.DataType.ARRAY*/12:
					len=data.readByte();
					if(!len)
					{value=[];break }
					type=data.readByte();
					arr=[];
					for(i=0;i<len;i++){
						arr.push(OneFunction.readParam(type,data,infoid));
					}
					value=arr;
					break ;
				case /*iflash.laya.runner.DataType.MATRIX*/13:
					len=data.readShort();
					arr=[null,null,null,null,null,null];
					for(i=0;i<len;i++){
						arr[i]=OneFunction.readParam(/*iflash.laya.runner.DataType.FLOAT*/5,data,infoid);
					}
					value=new Matrix(arr[0],arr[1],arr[2],arr[3],arr[4],arr[5]);
					break ;
				}
			return value;
		}

		OneFunction.loaderId=0;
		return OneFunction;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/runner/register.as
	var Register=/*iflash.laya.runner.Register*/(function(){
		function Register(){}
		CLASS$(Register,'iflash.laya.runner.Register',true,true);
		Register.regFunction=function(id,fun,argCount,useID,__args){
			var args=[];for(var i=4,sz=arguments.length;i<sz;i++)args.push(arguments[i]);
			if (id < 10)throw "regFunction id must>10,id:"+id;
			Register._functions_[id]=new OneFunction(fun,argCount,useID,args);
		}

		Register.regClass=function(id,clazz){
			if (id < 10)throw "regClass id must>10,id:"+id;
			Register._class_[id]=clazz;
		}

		Register._functions_=[];
		Register._class_=[];
		Register._id_=0;
		return Register;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/runner/runnner.as
	var Runnner=/*iflash.laya.runner.Runnner*/(function(){
		function Runnner(p,id){
			this.parent=null;
			this._comm_=[];
			this._functions_=[];
			this._id_=-1;
			(id===void 0)&& (id=-1);
			this._id_=id;
		}

		CLASS$(Runnner,'iflash.laya.runner.Runnner',true,true);
		var __proto__=Runnner.prototype;
		__proto__.deleteLoaderInfo=function(){
			Runnner._info=null;
			Runnner.currentObj=null;
		}

		__proto__.interpolation=function(data){
			var findex=data.readUnsignedShort();
			var index=data.readUnsignedShort();
			var selfindex=this._comm_.length;
			this._comm_.push(null);
		}

		__proto__.compile=function(data,info){
			Runnner._info=info;
			while (data.bytesAvailable){
				var ctype=data.readUnsignedByte()
				var n,resId
				switch(ctype){
					case 0:continue ;
					case DataType.RESOURCE:
						resId=data.readShort();
						var cid=data.readByte();
						this.res(resId,cid);
						n=new Runnner(this,resId);
						n.compile(data,info);
						n.run(Runnner.getCurrentObj(),new RunOne());
						break ;
					case DataType.TEMPLET:
						resId=data.readShort();
						n=new Runnner(this,resId);
						iflash.laya.runner.Runnner.template[resId]=n;
						n.compile(data,info);
						break ;
					case DataType.END:
						return 0;
					case DataType.FRAME:
						n=new Runnner(this,-1);
						this._comm_.push(n);
						n.compile(data,info);
						break ;
					case DataType.INTERPOLATION:
						this.interpolation(data);
						break ;
					case DataType.FRAME_END:
						return 0;
						break ;
					case /*iflash.laya.runner.DataType.SYMBOL_CLASS*/30:;
						var tagId=data.readShort();
						if(tagId==0){
							tagId=32767;
						};
						var name=data.readUTF();
						info.pushResource(info.getResource(tagId.toString()),name);
						SWFTools.connect(name);
						iflash.laya.runner.Runnner.symbolClass.push({tagId:tagId,name:name,loadInfo:"infoId"});
						break ;
					default :
						this._comm_.push(OneCmdData.CreateOneCmdData(ctype,data,info.__id__));
					}
			}
			return-1;
		}

		__proto__.res=function(id,classId){
			var obj=new (Register._class_[classId]);
			obj.__id__=Runnner._info.__id__;
			obj.charId=id;
			Runnner._info.pushResource(obj,id.toString());
			Runnner.currentObj=obj;
		}

		__proto__.run=function(who,one){
			for (var i=0,sz=this._comm_.length;i < sz;i++){
				this._comm_[i] && this._comm_[i].applyTo(who,one);
			}
			return-1;
		}

		__proto__.run2=function(who){
			for (var i=0,sz=this._comm_.length;i < sz;i++){
				this._comm_[i] && (this._comm_[i].args[0]=who,this._comm_[i].applyTo(who));
			}
		}

		__proto__.runCMDList=function(who,one,index){
			return-1;
		}

		__proto__.newObject=function(index,runId){
			(runId===void 0)&& (runId=-1);
			var o=new (Register._class_[index]);
			if(runId>0)
				o.runner=this._comm_[runId];
			return o;
		}

		__proto__.getPreRes=function(info){
			for (var i=0;i < this._comm_.length;i++){
				var obj=this._comm_[i];
				for (var j=0;j < obj._comm_.length;j++){
					var o=obj._comm_[j];
					if((o instanceof iflash.laya.runner.OneCmdData )){
						if(o.oneFun._fun_==AnimationCreate.newObject){
							var res=info.getResource(o.args[2]+"");
							if((res instanceof iflash.display.MovieClip )){
								res.runner.getPreRes(info);
							}
							if((res instanceof iflash.display.Shape )&& Runnner.preResCollection.indexOf(res)<0){
								Runnner.preResCollection.push(res);
							}
						}
					}
				}
			}
		}

		__proto__.clone=function(){
			var runner=new Runnner();
			runner._comm_=this._comm_.concat();
			runner._functions_=this._functions_;
			return runner;
		}

		__proto__.gotoAndStop=function(frameNum,target){target._animData_.isStop=true;this._goto(frameNum,target);}
		__proto__.gotoAndPlay=function(frameNum,target){target._animData_.isStop=false;this._goto(frameNum,target);}
		__proto__.play=function(target){target._animData_.isStop=false;}
		__proto__.stop=function(target){target._animData_.isStop=true;}
		__proto__._updata_=function(target){
			if (target._animData_.isStop)return;
			var frame=target._animData_.currentFrame+1;
			if(frame>target._animData_.totalFrame||frame<0)frame=0;
			this.tick(frame,target);
			if (target._animData_.totalFrame==1)this.stop(target);
		}

		__proto__.tick=function(frameNum,target){
			if(target._animData_.isStop)return;
			target._animData_.currentFrame=int(frameNum);
			if (target==null)return;
			if(target._animData_.totalFrame<1)return;
			var cmd=this._comm_[frameNum];
			if(!cmd)return;
			cmd.run2(target);
		}

		__proto__._goto=function(frame,target){
			if(frame>=target._animData_.totalFrame)frame=0;
			if(frame==target._animData_.currentFrame)return;
			var i=target._animData_.currentFrame;
			if(target._animData_.currentFrame>frame)i=0;(i<0)&&(i=0);
			for(i;i<=frame;++i){
				var cmd=this._comm_[i];
				cmd&&(cmd.run2(target));
				if(!cmd)continue ;
			}
			target._animData_.currentFrame=frame;
		}

		__proto__.getSysbomData=function(info){
			for(var i=0;i<iflash.laya.runner.Runnner.symbolClass.length;i++){
				var res=info.getResource(iflash.laya.runner.Runnner.symbolClass[i].name);
				if (!res)continue ;
				if ((res instanceof iflash.display.MovieClip )){
					this.regclass(iflash.laya.runner.Runnner.symbolClass[i].name,res,info.applicationDomain);
				}
				else if ((res instanceof iflash.display.LyImageElement )){
					this.regclass(iflash.laya.runner.Runnner.symbolClass[i].name,res,info.applicationDomain);
				}
				else info.applicationDomain._resMapDic_[iflash.laya.runner.Runnner.symbolClass[i].name]=res,res.__id__=info.__id__;
			}
		}

		__proto__.regclass=function(name,data,dom){
			var _class=
			function (){
				if((data instanceof iflash.display.LyImageElement )){
					data._init_();data._lyToBody_();
					if (!data.miniBitmapData._canvas_&&data._image_){
						data.miniBitmapData.setImage(data._image_);
					}
					data.miniBitmapData._canvas_.size(data.width,data.height);
					data.miniBitmapData.width=data.width;
					data.miniBitmapData.height=data.height;
					return data.miniBitmapData.clone();
				}
				return data.lyclone();
			}
			dom._resMapDic_[name]=_class;
			_class&&(_class.__id__=data.__id__);
		}

		Runnner.getCurrentObj=function(){
			return Runnner.currentObj;
		}

		Runnner.createRunerForClass=function(classId){
			var runner=new Runnner();
			return runner;
		}

		Runnner.preResCollection=[];
		Runnner.runSpace=[];
		Runnner.specialRunners=[];
		Runnner.symbolClass=[];
		Runnner.template=[];
		Runnner.currentObj=null
		Runnner._info=null
		return Runnner;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/runner/runone.as
	var RunOne=/*iflash.laya.runner.RunOne*/(function(){
		function RunOne(){
			this.ids=[];
		}

		CLASS$(RunOne,'iflash.laya.runner.RunOne',true,true);
		return RunOne;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/system/config.as
	var Config=/*iflash.laya.system.Config*/(function(){
		function Config(){
			this.urlToLower=false;
			this.showInfo=false;
			this.urlToLower=false;
			this.showInfo=true;
		}

		CLASS$(Config,'iflash.laya.system.Config',true,true);
		return Config;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/system/timerctrl.as
	var TimerCtrl=/*iflash.laya.system.TimerCtrl*/(function(){
		function TimerCtrl(){
			this._nowTime_=NaN;
			this._frameTimer_=null;
			this.ids=0;
			this._timers_=null;
			this._frameTimer_=[];
			this.ids=1;
			this._timers_=[];
			this._nowTime_=iflash.utils.getTimer();
		}

		CLASS$(TimerCtrl,'iflash.laya.system.TimerCtrl',true,true);
		var __proto__=TimerCtrl.prototype;
		__proto__.addFrameTimer=function(listener,owner){
			var o;
			for (var i=0,sz=this._frameTimer_.length;i < sz;i++){
				o=this._frameTimer_[i];
				if (o.deleted){
					return o._reset_(this._nowTime_,listener,owner);
				}
			}
			o=new TimerObject(this._nowTime_,listener,owner);
			this._frameTimer_.push(o);
			return o;
		}

		__proto__.removeFrameTimer=function(listener,owner){
			var o;
			for (var i=0,sz=this._frameTimer_.length;i < sz;i++){
				o=this._frameTimer_[i];
				if (o.listener==listener){
					this._frameTimer_.splice(i,1);
					i--;
					o.deleted=true;
					return;
				}
			}
		}

		__proto__.addTimer=function(ower,fn,delay,repeartCount){
			var timer;
			if ((typeof fn=='string')){
			}
			else{
				timer=new TimerObject(this._nowTime_,fn,ower,delay,repeartCount);
			}
			this._timers_.push(timer);
			return timer;
		}

		__proto__._update_=function(tm){
			this._nowTime_=tm;
			this._updateFrameTimer_(tm);
			this._updateTimer_(tm);
		}

		__proto__._updateFrameTimer_=function(time){
			for (var i=0;i <this._frameTimer_.length;i++){
				if (!this._frameTimer_[i].run(time)){
					this._frameTimer_.splice(i,1);
					i--;
				};
			}
		}

		__proto__._updateTimer_=function(time){
			var hasDeleted=false,i=0;
			for (i=0;i < this._timers_.length;i++){
				if (!this._timers_[i].run(time)){
					hasDeleted=true;
					this._timers_.splice(i,1);
					i--;
				};
			}
			if (!hasDeleted)return;
			var tsz=0;
			for (i=0;i < this._timers_.length;i++){
				if (this._timers_[i].deleted){
					continue ;
				}
				this._timers_[tsz]=this._timers_[i];
				tsz++;
			}
			this._timers_.length=tsz;
		}

		STATICATTR$(TimerCtrl,
		['__DEFAULT__',function(){return this.__DEFAULT__=new TimerCtrl();}
		]);
		return TimerCtrl;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/media/id3info.as
	var ID3Info=/*iflash.media.ID3Info*/(function(){
		function ID3Info(){
			this.album=null;
			this.artist=null;
			this.comment=null;
			this.genre=null;
			this.songName=null;
			this.track=null;
			this.year=null;
		}

		CLASS$(ID3Info,'iflash.media.ID3Info',true,true);
		return ID3Info;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/media/soundloadercontext.as
	var SoundLoaderContext=/*iflash.media.SoundLoaderContext*/(function(){
		function SoundLoaderContext(__args){
			this.bufferTime=NaN;
			this.checkPolicyFile=false;
		}

		CLASS$(SoundLoaderContext,'iflash.media.SoundLoaderContext',true,true);
		return SoundLoaderContext;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/media/soundmixer.as
	var SoundMixer=/*iflash.media.SoundMixer*/(function(){
		function SoundMixer(){};
		CLASS$(SoundMixer,'iflash.media.SoundMixer',true,true);
		SoundMixer.areSoundsInaccessible=LAYAFNFALSE/*function(){return false}*/
		SoundMixer.computeSpectrum=function(outputArray,FFTMode,stretchFactor){
			(FFTMode===void 0)&& (FFTMode=false);
			(stretchFactor===void 0)&& (stretchFactor=0);
		}

		SoundMixer.stopAll=LAYAFNVOID/*function(){}*/
		SoundMixer.bufferTime=0;
		SoundMixer.soundTransform=null;
		return SoundMixer;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/media/soundtransform.as
	var SoundTransform=/*iflash.media.SoundTransform*/(function(){
		function SoundTransform(vol,panning){
			this._sound_=null;
			this._volume_=NaN;
			(vol===void 0)&& (vol=1);
			(panning===void 0)&& (panning=0);
			this.volume=vol;
		}

		CLASS$(SoundTransform,'iflash.media.SoundTransform',true,true);
		var __proto__=SoundTransform.prototype;
		GETSET$(0,__proto__,'leftToLeft',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(leftToLeft){}*/);
		GETSET$(0,__proto__,'leftToRight',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(leftToRight){}*/);
		GETSET$(0,__proto__,'pan',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(panning){}*/);
		GETSET$(0,__proto__,'rightToLeft',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(rightToLeft){}*/);
		GETSET$(0,__proto__,'rightToRight',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(rightToRight){}*/);
		GETSET$(0,__proto__,'volume',function(){
			return this._volume_;
			},function(vol){
			this._sound_ && (this._sound_.volume=vol);
			this._volume_=vol;
		});

		return SoundTransform;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/filefilter.as
	var FileFilter=/*iflash.net.FileFilter*/(function(){
		function FileFilter(description,extension,macType){}
		CLASS$(FileFilter,'iflash.net.FileFilter',true,true);
		var __proto__=FileFilter.prototype;
		GETSET$(0,__proto__,'description',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'extension',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'macType',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		return FileFilter;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/objectencoding.as
	var ObjectEncoding=/*iflash.net.ObjectEncoding*/(function(){
		function ObjectEncoding(){}
		CLASS$(ObjectEncoding,'iflash.net.ObjectEncoding',true,true);
		GETSET$(1,ObjectEncoding,'dynamicPropertyWriter',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(object){}*/);
		ObjectEncoding.AMF0=0;
		ObjectEncoding.AMF3=3;
		ObjectEncoding.DEFAULT=3;
		return ObjectEncoding;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/responder.as
	var Responder=/*iflash.net.Responder*/(function(){
		function Responder(result,status){
			this._resp=null;
			this._resp=new iflash.net.Responder(result,status);
		}

		CLASS$(Responder,'iflash.net.Responder',true,true);
		var __proto__=Responder.prototype;
		GETSET$(0,__proto__,'resp',function(){
			return this._resp;
		});

		return Responder;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/securitypanel.as
	var SecurityPanel=/*iflash.net.SecurityPanel*/(function(){
		function SecurityPanel(){}
		CLASS$(SecurityPanel,'iflash.net.SecurityPanel',true,true);
		SecurityPanel.CAMERA="camera";
		SecurityPanel.DEFAULT="default";
		SecurityPanel.DISPLAY="display";
		SecurityPanel.LOCAL_STORAGE="localStorage";
		SecurityPanel.MICROPHONE="microphone";
		SecurityPanel.PRIVACY="privacy";
		SecurityPanel.SETTINGS_MANAGER="settingsManager";
		return SecurityPanel;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/sharedobjectflushstatus.as
	var SharedObjectFlushStatus=/*iflash.net.SharedObjectFlushStatus*/(function(){
		function SharedObjectFlushStatus(){}
		CLASS$(SharedObjectFlushStatus,'iflash.net.SharedObjectFlushStatus',true,true);
		SharedObjectFlushStatus.FLUSHED="flushed";
		SharedObjectFlushStatus.PENDING="pending";
		return SharedObjectFlushStatus;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/urlloaderdataformat.as
	var URLLoaderDataFormat=/*iflash.net.URLLoaderDataFormat*/(function(){
		function URLLoaderDataFormat(){}
		CLASS$(URLLoaderDataFormat,'iflash.net.URLLoaderDataFormat',true,true);
		URLLoaderDataFormat.BINARY="binary";
		URLLoaderDataFormat.TEXT="text";
		URLLoaderDataFormat.VARIABLES="variables";
		return URLLoaderDataFormat;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/urlrequest.as
	var URLRequest=/*iflash.net.URLRequest*/(function(){
		function URLRequest(url){
			this._contentType=null;
			this._data=null;
			this._digest=null;
			this._requestHeaders=[];
			this._url=null;
			this._method=/*iflash.net.URLLoaderDataFormat.TEXT*/"text";
			this._url=url;
		}

		CLASS$(URLRequest,'iflash.net.URLRequest',true,true);
		var __proto__=URLRequest.prototype;
		GETSET$(0,__proto__,'contentType',function(){
			return this._contentType;
			},function(value){
			this._contentType=value;
		});

		GETSET$(0,__proto__,'data',function(){
			return this._data;
			},function(value){
			this._data=value;
		});

		GETSET$(0,__proto__,'url',function(){
			return this._url;
			},function(value){
			this._url=value;
		});

		GETSET$(0,__proto__,'digest',function(){
			return this._digest;
			},function(value){
			this._digest=value;
		});

		GETSET$(0,__proto__,'method',function(){
			return this._method;
			},function(value){
			this._method=value;
		});

		GETSET$(0,__proto__,'requestHeaders',function(){
			return this._requestHeaders;
			},function(value){
			this._requestHeaders=value;
		});

		return URLRequest;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/urlrequestheader.as
	var URLRequestHeader=/*iflash.net.URLRequestHeader*/(function(){
		function URLRequestHeader(name,value){
			this.name="Content-Type";
			this.value="application/x-www-form-urlencoded";
			(name===void 0)&& (name="");
			(value===void 0)&& (value="");
			;
			this.name=name;
			this.value=value;
		}

		CLASS$(URLRequestHeader,'iflash.net.URLRequestHeader',true,true);
		return URLRequestHeader;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/urlrequestmethod.as
	var URLRequestMethod=/*iflash.net.URLRequestMethod*/(function(){
		function URLRequestMethod(){}
		CLASS$(URLRequestMethod,'iflash.net.URLRequestMethod',true,true);
		URLRequestMethod.DELETE="DELETE";
		URLRequestMethod.GET="GET";
		URLRequestMethod.HEAD="HEAD";
		URLRequestMethod.OPTIONS="OPTIONS";
		URLRequestMethod.POST="POST";
		URLRequestMethod.PUT="PUT";
		return URLRequestMethod;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/urlvariables.as
	var URLVariables=/*iflash.net.URLVariables*/(function(){
		function URLVariables(source){
			this.__decodeRegExp__=new RegExp("[?&]?([^=]+)=([^&]*)","g");
			DEFSOMEUNENUMPTY$(this,['__decodeRegExp__']);
			source !=null && this.decode(source);
		}

		CLASS$(URLVariables,'iflash.net.URLVariables',true,false);
		var __proto__=URLVariables.prototype;
		__proto__.decode=function(source){
			if(!source)return;
			if(!this.variables){
				this.variables={};
			}
			source=source.split("+").join(" ");
			var tokens,re=this.__decodeRegExp__;
			while (tokens=re.exec(source)){
				Log.unfinished("URLVariables","decode");
				this.variables[tokens[1]]=tokens[2];
			}
		}

		__proto__.toString=function(){
			var variables={};
			var str="";
			var isFirst=true;
			if (!this.variables){
				for (var key in this){
					if(key=="variables"||key=="decode"||key=="__decodeRegExp__"||key=="toString")continue ;
					if(isFirst){
						isFirst=false;
					}
					else{
						str+="&";
					}
					str+=key+"="+this[key];
				}
				return str;
			}
			for(key in variables){
				if(isFirst){
					isFirst=false;
				}
				else{
					str+="&";
				}
				str+=key+"="+variables[key];
			}
			return str;
		}

		DEFSOMEUNENUMPTY$(__proto__,['decode','toString']);
		return URLVariables;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/swf/animation/animationdata.as
	var AnimationData=/*iflash.swf.animation.AnimationData*/(function(){
		function AnimationData(){
			this.objes={};
			this._parent=null;
			this.baseKey=-1;
			this.currentFrame=-1;
			this.labs={};
			this.isStop=false;
			this.totalFrame=0;
		}

		CLASS$(AnimationData,'iflash.swf.animation.AnimationData',true,true);
		var __proto__=AnimationData.prototype;
		__proto__.lyclone=function(){
			var ani=new AnimationData()
			ani.totalFrame=this.totalFrame;
			ani.labs=this.labs;
			return ani;
		}

		return AnimationData;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/swf/utils/swftools.as
	var SWFTools=/*iflash.swf.utils.SWFTools*/(function(){
		function SWFTools(){}
		CLASS$(SWFTools,'iflash.swf.utils.SWFTools',true,true);
		SWFTools.connect=function(cla){
			if ((typeof cla=='string'))cla=ApplicationDomain.currentDomain.getDefinition2(cla);
			if(!cla||cla.f)return;
			var pre=cla._SUPERC_;
			cla.f=true;
			cla._SUPERC_=function (ex){
				(ex===void 0)&& (ex=true);
				pre.apply(this,arguments);
				if(ex)iflash.swf.utils.SWFTools._initClass_(cla,this);
			}
		}

		SWFTools.initClass=function(cla,obj,sourceMc){}
		SWFTools._initClass_=function(cla,obj,sourceMc){
			if((obj instanceof iflash.media.Sound ))return;
			var app=ApplicationDomain.currentDomain;
			var b;
			if ((obj instanceof iflash.display.BitmapData )){
				b=app.newInstance(iflash.utils.getQualifiedClassName(obj));
				obj._canvas_=b._canvas_.clone();
				obj._context_=obj._canvas_;
				obj.width=b.width;
				obj.height=b.height;
				return;
			}
			if((obj instanceof iflash.display.Bitmap )){
				b=app.newInstance(iflash.utils.getQualifiedClassName(obj));
				obj.bitmapData=new BitmapData(b.width,b.height);
				obj.bitmapData._canvas_=b._canvas_.clone();
				obj._modle_.vcanvas(obj.bitmapData._canvas_);
				obj.bitmapData.width=b.width;
				obj.bitmapData.height=b.height;
				obj.width=b.width;
				obj.height=b.height;
				return;
			};
			var mc
			if(cla!=null){
				var cName=iflash.utils.getQualifiedClassName(obj);
				mc=app.newDefinition(cName);
			}else mc=sourceMc;
			if(!mc)mc=new cla();
			if((obj instanceof iflash.display.MovieClip )){
				obj._interval_=mc._interval_=60;
				obj._animData_=mc._animData_.lyclone();
				obj.runner=mc.runner;
				obj._type_|=/*iflash.display.DisplayObject.TYPE_CREATE_FROM_TAG*/0x10;
				obj.__id__=mc.__id__;
				obj._type_|=/*iflash.display.DisplayObject.TYPE_CREATE_FROM_TAG*/0x10;
				if((obj instanceof iflash.display.SimpleButton ))obj.gotoAndStop(1);
				else obj._gotoAndPlay_(1);
				return
			}
			else if(((obj instanceof iflash.display.Sprite ))&&mc){
				var arrar=mc._childs_.concat();
				for(var j=0;j<arrar.length;j++){
					obj.addChild(arrar[j]);
				}
				for(var i in mc){
					if(i !='_childs_'&& mc[i]&&i!="runner")obj[i]=mc[i];
				}
				mc.stop();
				mc=null;
			}
		}

		return SWFTools;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/system/applicationdomain.as
	var ApplicationDomain=/*iflash.system.ApplicationDomain*/(function(){
		function ApplicationDomain(parentDomain){
			this._domainMemory=null;
			this._parentDomain_=null;
			this._resMapDic_=[];
			this._id__=0;
			this._parentDomain_=parentDomain;
		}

		CLASS$(ApplicationDomain,'iflash.system.ApplicationDomain',true,true);
		var __proto__=ApplicationDomain.prototype;
		__proto__.getDefinition=function(name){
			name=(name.toString()).replace("::",".");
			if(name.split(".")[0]=="flash"){
				name=name.replace("flash" ,"iflash");
			};
			var result=iflash.utils.getDefinitionByName(name);
			if(result==null){
				result=this._resMapDic_[name];
				result&&(result.lin=name);
			}
			if (result==null){
				result=LAYABOX.getInterfaceDefinitionByName(name);
			}
			if(!result)
				throw new Error(name+' Variable a is not defined.')
			result.__isclass__=true;
			return result;
		}

		__proto__.getDefinition2=function(name){
			name=(name.toString()).replace("::",".");
			var result=iflash.utils.getDefinitionByName(name);
			if(result==null){
				result=this._resMapDic_[name];
			}
			return result;
		}

		__proto__.newDefinition=function(name){
			name=name.replace("::",".");
			var ret;
			var cls=(this._resMapDic_[name]);
			if(!cls){
				var info;
				/*for each*/for(var $each_info in LoaderInfo._loaderInfos_){
					info=LoaderInfo._loaderInfos_[$each_info];
					if(info.applicationDomain==this)continue ;
					cls=(info.applicationDomain._resMapDic_[name]);
					if(cls)break ;
				}
			}
			if(cls){ret=new cls();ret.__id__=cls.__id__}
				return ret;
		}

		__proto__.newInstance=function(name){
			name=name.replace("::",".");
			var result=this._resMapDic_[name];
			if(result==null)return null;
			result=new result();
			return result;
		}

		__proto__.hasDefinition=function(name){
			if(!name)return false;
			name=name.replace("::",".");
			var boolean=false;
			this.getDefinition2(name)? boolean=true :boolean=false;
			if(!boolean){
				try{
					var obj=iflash.utils.getDefinitionByName(name);
					obj && (boolean=true);
				}catch(error){boolean=false;}
			}
			return boolean;
		}

		__proto__.addResToMap=function(name,data){
			this._resMapDic_[name]=data;return;
			if(this._resMapDic_[name])return
				else this._resMapDic_[name]=data;
		}

		GETSET$(0,__proto__,'__id__',function(){
			return this._id__;
			},function(value){
			this._id__=value;
		});

		GETSET$(0,__proto__,'currentDomain',null,function(value){
			ApplicationDomain._currentDomain=value;
		});

		GETSET$(0,__proto__,'domainMemory',function(){
			return this._domainMemory;
			},function(mem){
			this._domainMemory=mem;
		});

		GETSET$(0,__proto__,'parentDomain',function(){
			return this._parentDomain_;
		});

		GETSET$(1,ApplicationDomain,'currentDomain',function(){
			if(ApplicationDomain._currentDomain==null){
				ApplicationDomain._currentDomain=new ApplicationDomain();
			}
			return ApplicationDomain._currentDomain;
		});

		GETSET$(1,ApplicationDomain,'MIN_DOMAIN_MEMORY_LENGTH',function(){
			return 0;
		});

		ApplicationDomain._currentDomain=null;
		return ApplicationDomain;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/system/capabilities.as
	var Capabilities=/*iflash.system.Capabilities*/(function(){
		function Capabilities(){}
		CLASS$(Capabilities,'iflash.system.Capabilities',true,true);
		GETSET$(1,Capabilities,'isDebugger',function(){
			return Laya.FLASHVER ? Capabilities.isDebugger :"false";
		});

		GETSET$(1,Capabilities,'os',function(){
			if(Capabilities._os !=null)
				return Capabilities._os;
			/*__JS__ */var sUserAgent=navigator.userAgent;
			/*__JS__ */if ((navigator.platform=="Mac68K")|| (navigator.platform=="MacPPC")|| (navigator.platform=="Macintosh")|| (navigator.platform=="MacIntel"))Capabilities._os="Mac";
			/*__JS__ */if ((navigator.platform=="X11")&& !isWin && !isMac)Capabilities._os="Mac";
			/*__JS__ */if (navigator.platform.indexOf("Linux")>-1)Capabilities._os="Linux";
			/*__JS__ */if ((navigator.platform=="Win32")|| (navigator.platform=="Windows")){;
				/*__JS__ */ if (sUserAgent.indexOf("Windows NT 5.0")>-1 || sUserAgent.indexOf("Windows 2000")>-1)Capabilities._os="Windows 2000";
				/*__JS__ */ else if (sUserAgent.indexOf("Windows NT 5.1")>-1 || sUserAgent.indexOf("Windows XP")>-1)Capabilities._os="Windows XP";
				/*__JS__ */ else if (sUserAgent.indexOf("Windows NT 5.2")>-1 || sUserAgent.indexOf("Windows 2003")>-1)Capabilities._os="Win2003";
				/*__JS__ */ else if (sUserAgent.indexOf("Windows NT 6.0")>-1 || sUserAgent.indexOf("Windows Vista")>-1)Capabilities._os="Windows Vista";
				/*__JS__ */ else if (sUserAgent.indexOf("Windows NT 6.1")>-1 || sUserAgent.indexOf("Windows 7")>-1)Capabilities._os="Windows 7";
				/*__JS__ */ else Capabilities._os="Windows";
				/*__JS__ */};
			return Capabilities._os;
		});

		GETSET$(1,Capabilities,'playerType',function(){
			return null;
		});

		GETSET$(1,Capabilities,'screenDPI',function(){
			if(Laya.CONCHVER)return 240;
			return 240;
		});

		GETSET$(1,Capabilities,'version',function(){
			return "";
		});

		GETSET$(1,Capabilities,'language',function(){
			return Laya.FLASHVER ? Capabilities.language :/*__JS__ */window.navigator.language;
		});

		GETSET$(1,Capabilities,'serverString',function(){
			return "";
		});

		GETSET$(1,Capabilities,'screenResolutionX',function(){
			return Capabilities._screenResolutionX;
		});

		GETSET$(1,Capabilities,'screenResolutionY',function(){
			return Capabilities._screenResolutionY;
		});

		Capabilities.initScreenResolutionXY=function(){
			Capabilities._screenResolutionX=/*__JS__ */window.screen.width;
			Capabilities._screenResolutionY=/*__JS__ */window.screen.height;
		}

		Capabilities._os=null;
		Capabilities._screenResolutionX=0;
		Capabilities._screenResolutionY=0;
		return Capabilities;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/system/imagedecodingpolicy.as
	var ImageDecodingPolicy=/*iflash.system.ImageDecodingPolicy*/(function(){
		function ImageDecodingPolicy(){}
		CLASS$(ImageDecodingPolicy,'iflash.system.ImageDecodingPolicy',true,true);
		ImageDecodingPolicy.ON_DEMAND="onDemand";
		ImageDecodingPolicy.ON_LOAD="onLoad";
		return ImageDecodingPolicy;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/system/loadercontext.as
	var LoaderContext=/*iflash.system.LoaderContext*/(function(){
		function LoaderContext(checkPolicyFile,applicationDomain,securityDomain){
			this.applicationDomain=null;
			this.securityDomain=null;
			this.checkPolicyFile=false;
			this.allowCodeImport=false;
			this.imageDecodingPolicy=/*iflash.system.ImageDecodingPolicy.ON_LOAD*/"onLoad";
			(checkPolicyFile===void 0)&& (checkPolicyFile=false);
			this.applicationDomain=applicationDomain;
		}

		CLASS$(LoaderContext,'iflash.system.LoaderContext',true,true);
		var __proto__=LoaderContext.prototype;
		GETSET$(0,__proto__,'allowLoadBytesCodeExecution',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(allow){}*/);
		return LoaderContext;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/system/security.as
	var Security=/*iflash.system.Security*/(function(){
		function Security(){};
		CLASS$(Security,'iflash.system.Security',true,true);
		GETSET$(1,Security,'sandboxType',LAYAFNSTR/*function(){return ""}*/);
		Security.allowDomain=function(__rest){}
		Security.allowInsecureDomain=function(__rest){}
		Security.loadPolicyFile=LAYAFNVOID/*function(url){}*/
		Security.showSettings=function(panel){
			(panel===void 0)&& (panel="default");
		}

		Security.disableAVM1Loading=false;
		Security.exactSettings=false;
		Security.APPLICATION="application";
		Security.LOCAL_TRUSTED="localTrusted";
		Security.LOCAL_WITH_FILE="localWithFile";
		Security.LOCAL_WITH_NETWORK="localWithNetwork";
		Security.REMOTE="remote";
		return Security;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/system/securitydomain.as
	var SecurityDomain=/*iflash.system.SecurityDomain*/(function(){
		function SecurityDomain(){}
		CLASS$(SecurityDomain,'iflash.system.SecurityDomain',true,true);
		GETSET$(1,SecurityDomain,'currentDomain',function(){
			return new SecurityDomain();
		});

		return SecurityDomain;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/system/system.as
	var System=/*iflash.system.System*/(function(){
		function System(){}
		CLASS$(System,'iflash.system.System',true,true);
		GETSET$(1,System,'freeMemory',LAYAFN0/*function(){return 0}*/);
		GETSET$(1,System,'privateMemory',LAYAFN0/*function(){return 0}*/);
		GETSET$(1,System,'totalMemory',function(){
			return 0;
		});

		GETSET$(1,System,'totalMemoryNumber',LAYAFN0/*function(){return 0}*/);
		GETSET$(1,System,'useCodePage',function(){
			return System._useCodePage;
			},function(value){
			System._useCodePage=value;
		});

		GETSET$(1,System,'vmVersion',function(){
			return "ilaya-hello";
		});

		System.disposeXML=function(node){
			if(!((node instanceof iflash.xml.XMLElement ))){}
				}
		System.exit=LAYAFNVOID/*function(code){}*/
		System.gc=LAYAFNVOID/*function(){}*/
		System.nativeConstructionOnly=LAYAFNVOID/*function(object){}*/
		System.pause=LAYAFNVOID/*function(){}*/
		System.pauseForGCIfCollectionImminent=function(imminence){
			(imminence===void 0)&& (imminence=0.75);
		}

		System.resume=LAYAFNVOID/*function(){}*/
		System.setClipboard=LAYAFNVOID/*function(string){}*/
		System._useCodePage=false;
		return System;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/antialiastype.as
	var AntiAliasType=/*iflash.text.AntiAliasType*/(function(){
		function AntiAliasType(){}
		CLASS$(AntiAliasType,'iflash.text.AntiAliasType',true,true);
		AntiAliasType.ADVANCED="advanced";
		AntiAliasType.NORMAL="normal";
		return AntiAliasType;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/engine/contentelement.as
	var ContentElement=/*iflash.text.engine.ContentElement*/(function(){
		function ContentElement(elementFormat,eventMirror,textRotation){
			this.userData=null;
			(textRotation===void 0)&& (textRotation="rotate0");
		}

		CLASS$(ContentElement,'iflash.text.engine.ContentElement',true,true);
		var __proto__=ContentElement.prototype;
		GETSET$(0,__proto__,'elementFormat',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'eventMirror',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'textBlock',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'groupElement',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'rawText',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(0,__proto__,'text',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(0,__proto__,'textBlockBeginIndex',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'textRotation',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		ContentElement.GRAPHIC_ELEMENT=0xFDEF;
		return ContentElement;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/engine/elementformat.as
	var ElementFormat=/*iflash.text.engine.ElementFormat*/(function(){
		function ElementFormat(__args){
			var args=arguments;return }
		CLASS$(ElementFormat,'iflash.text.engine.ElementFormat',true,true);
		var __proto__=ElementFormat.prototype;
		__proto__.clone=LAYAFNNULL/*function(){return null}*/
		__proto__.getFontMetrics=LAYAFNNULL/*function(){return null}*/
		GETSET$(0,__proto__,'alignmentBaseline',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(alignmentBaseline){}*/);
		GETSET$(0,__proto__,'alpha',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'dominantBaseline',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(dominantBaseline){}*/);
		GETSET$(0,__proto__,'baselineShift',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'breakOpportunity',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(opportunityType){}*/);
		GETSET$(0,__proto__,'color',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'locked',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'digitCase',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(digitCaseType){}*/);
		GETSET$(0,__proto__,'digitWidth',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(digitWidthType){}*/);
		GETSET$(0,__proto__,'fontDescription',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'fontSize',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'kerning',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'ligatureLevel',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(ligatureLevelType){}*/);
		GETSET$(0,__proto__,'locale',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'textRotation',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'trackingLeft',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'trackingRight',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'typographicCase',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(typographicCaseType){}*/);
		return ElementFormat;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/engine/fontdescription.as
	var FontDescription=/*iflash.text.engine.FontDescription*/(function(){
		function FontDescription(__args){
			var args=arguments;return }
		CLASS$(FontDescription,'iflash.text.engine.FontDescription',true,true);
		var __proto__=FontDescription.prototype;
		__proto__.clone=LAYAFNNULL/*function(){return null}*/
		GETSET$(0,__proto__,'cffHinting',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'fontLookup',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'fontName',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'fontPosture',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'fontWeight',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'locked',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'renderingMode',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		FontDescription.isDeviceFontCompatible=LAYAFNFALSE/*function(fontName,fontWeight,fontPosture){return false}*/
		FontDescription.isFontCompatible=LAYAFNFALSE/*function(fontName,fontWeight,fontPosture){return false}*/
		return FontDescription;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/engine/fontlookup.as
	var FontLookup=/*iflash.text.engine.FontLookup*/(function(){
		function FontLookup(){}
		CLASS$(FontLookup,'iflash.text.engine.FontLookup',true,true);
		FontLookup.DEVICE="device";
		FontLookup.EMBEDDED_CFF="embeddedCFF";
		return FontLookup;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/engine/fontmetrics.as
	var FontMetrics=/*iflash.text.engine.FontMetrics*/(function(){
		function FontMetrics(__args){
			this.emBox=null;
			this.lineGap=NaN;
			this.strikethroughOffset=NaN;
			this.strikethroughThickness=NaN;
			this.subscriptOffset=NaN;
			this.subscriptScale=NaN;
			this.superscriptOffset=NaN;
			this.superscriptScale=NaN;
			this.underlineOffset=NaN;
			var args=arguments;return }
		CLASS$(FontMetrics,'iflash.text.engine.FontMetrics',true,true);
		return FontMetrics;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/engine/textjustifier.as
	var TextJustifier=/*iflash.text.engine.TextJustifier*/(function(){
		function TextJustifier(locale,lineJustification){}
		CLASS$(TextJustifier,'iflash.text.engine.TextJustifier',true,true);
		var __proto__=TextJustifier.prototype;
		__proto__.clone=LAYAFNNULL/*function(){return null}*/
		GETSET$(0,__proto__,'lineJustification',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'locale',LAYAFNSTR/*function(){return ""}*/);
		TextJustifier.getJustifierForLocale=LAYAFNNULL/*function(locale){return null}*/
		return TextJustifier;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/engine/tabstop.as
	var TabStop=/*iflash.text.engine.TabStop*/(function(){
		function TabStop(__a){}
		CLASS$(TabStop,'iflash.text.engine.TabStop',true,true);
		var __proto__=TabStop.prototype;
		GETSET$(0,__proto__,'alignment',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'position',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'decimalAlignmentToken',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		return TabStop;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/engine/textbaseline.as
	var TextBaseline=/*iflash.text.engine.TextBaseline*/(function(){
		function TextBaseline(){}
		CLASS$(TextBaseline,'iflash.text.engine.TextBaseline',true,true);
		TextBaseline.ASCENT="ascent";
		TextBaseline.DESCENT="descent";
		TextBaseline.IDEOGRAPHIC_BOTTOM="ideographicBottom";
		TextBaseline.IDEOGRAPHIC_CENTER="ideographicCenter";
		TextBaseline.IDEOGRAPHIC_TOP="ideographicTop";
		TextBaseline.ROMAN="roman";
		TextBaseline.USE_DOMINANT_BASELINE="useDominantBaseline";
		return TextBaseline;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/engine/textblock.as
	var TextBlock=/*iflash.text.engine.TextBlock*/(function(){
		function TextBlock(__a){
			this.userData=null;
			var a=arguments;return }
		CLASS$(TextBlock,'iflash.text.engine.TextBlock',true,true);
		var __proto__=TextBlock.prototype;
		__proto__.createTextLine=function(previousLine,width,lineOffset,fitSomething){
			(width===void 0)&& (width=1000000);
			(lineOffset===void 0)&& (lineOffset=0);
			(fitSomething===void 0)&& (fitSomething=false);
			return null}
		__proto__.dump=LAYAFNSTR/*function(){return ""}*/
		__proto__.findNextAtomBoundary=LAYAFN0/*function(afterCharIndex){return 0}*/
		__proto__.findNextWordBoundary=LAYAFN0/*function(afterCharIndex){return 0}*/
		__proto__.findPreviousAtomBoundary=LAYAFN0/*function(beforeCharIndex){return 0}*/
		__proto__.findPreviousWordBoundary=LAYAFN0/*function(beforeCharIndex){return 0}*/
		__proto__.getTextLineAtCharIndex=LAYAFNNULL/*function(charIndex){return null}*/
		__proto__.recreateTextLine=function(textLine,previousLine,width,lineOffset,fitSomething){
			(width===void 0)&& (width=1000000);
			(lineOffset===void 0)&& (lineOffset=0);
			(fitSomething===void 0)&& (fitSomething=false);
			return null}
		__proto__.releaseLineCreationData=LAYAFNVOID/*function(){}*/
		__proto__.releaseLines=LAYAFNVOID/*function(firstLine,lastLine){}*/
		GETSET$(0,__proto__,'applyNonLinearFontScaling',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'content',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'firstInvalidLine',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'baselineFontDescription',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'baselineFontSize',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'baselineZero',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'bidiLevel',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'firstLine',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'lastLine',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'lineRotation',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'tabStops',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'textLineCreationResult',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(0,__proto__,'textJustifier',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		return TextBlock;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/engine/textlinemirrorregion.as
	var TextLineMirrorRegion=/*iflash.text.engine.TextLineMirrorRegion*/(function(){
		function TextLineMirrorRegion(){}
		CLASS$(TextLineMirrorRegion,'iflash.text.engine.TextLineMirrorRegion',true,true);
		var __proto__=TextLineMirrorRegion.prototype;
		GETSET$(0,__proto__,'bounds',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'element',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'mirror',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'previousRegion',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'nextRegion',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'textLine',LAYAFNNULL/*function(){return null}*/);
		return TextLineMirrorRegion;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/font.as
	var Font=/*iflash.text.Font*/(function(){
		function Font(){}
		CLASS$(Font,'iflash.text.Font',true,true);
		var __proto__=Font.prototype;
		__proto__.hasGlyphs=LAYAFNFALSE/*function(str){return false}*/
		GETSET$(0,__proto__,'fontName',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(0,__proto__,'fontStyle',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(0,__proto__,'fontType',LAYAFNSTR/*function(){return ""}*/);
		Font.enumerateFonts=function(enumerateDeviceFonts){
			(enumerateDeviceFonts===void 0)&& (enumerateDeviceFonts=false);
			return []}
		Font.registerFont=LAYAFNVOID/*function(font){}*/
		return Font;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/fonttype.as
	var FontType=/*iflash.text.FontType*/(function(){
		function FontType(){}
		CLASS$(FontType,'iflash.text.FontType',true,true);
		FontType.DEVICE="device";
		FontType.EMBEDDED="embedded";
		FontType.EMBEDDED_CFF="embeddedCFF";
		return FontType;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/gridfittype.as
	var GridFitType=/*iflash.text.GridFitType*/(function(){
		function GridFitType(){;
		}

		CLASS$(GridFitType,'iflash.text.GridFitType',true,true);
		GridFitType.NONE="none";
		GridFitType.PIXEL="pixel";
		GridFitType.SUBPIXEL="subpixel";
		return GridFitType;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/stagetextinitoptions.as
	var StageTextInitOptions=/*iflash.text.StageTextInitOptions*/(function(){
		function StageTextInitOptions(multiline){
			this._multiline=false;
			(multiline===void 0)&& (multiline=false);
			;
			this.multiline=multiline;
		}

		CLASS$(StageTextInitOptions,'iflash.text.StageTextInitOptions',true,true);
		var __proto__=StageTextInitOptions.prototype;
		GETSET$(0,__proto__,'multiline',function(){
			return this._multiline;
			},function(value){
			this._multiline=value;
		});

		return StageTextInitOptions;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/textcolortype.as
	var TextColorType=/*iflash.text.TextColorType*/(function(){
		function TextColorType(){}
		CLASS$(TextColorType,'iflash.text.TextColorType',true,true);
		TextColorType.DARK_COLOR="dark";
		TextColorType.LIGHT_COLOR="light";
		return TextColorType;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/textfieldautosize.as
	var TextFieldAutoSize=/*iflash.text.TextFieldAutoSize*/(function(){
		function TextFieldAutoSize(){
			;
		}

		CLASS$(TextFieldAutoSize,'iflash.text.TextFieldAutoSize',true,true);
		TextFieldAutoSize.NONE="none";
		TextFieldAutoSize.LEFT="left";
		TextFieldAutoSize.CENTER="center";
		TextFieldAutoSize.RIGHT="right";
		return TextFieldAutoSize;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/textfieldtype.as
	var TextFieldType=/*iflash.text.TextFieldType*/(function(){
		function TextFieldType(){
			;
		}

		CLASS$(TextFieldType,'iflash.text.TextFieldType',true,true);
		TextFieldType.INPUT="input";
		TextFieldType.DYNAMIC="dynamic";
		return TextFieldType;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/textformat/fontstyle.as
	var FontStyle=/*iflash.text.textformat.FontStyle*/(function(){
		function FontStyle(){}
		CLASS$(FontStyle,'iflash.text.textformat.FontStyle',true,true);
		return FontStyle;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/textformat/imgtext.as
	var ImgText=/*iflash.text.textformat.ImgText*/(function(){
		function ImgText(){}
		CLASS$(ImgText,'iflash.text.textformat.ImgText',true,true);
		var __proto__=ImgText.prototype;
		__proto__.getInstance=function(){
			if(iflash.text.textformat.ImgText.instance==null)
				iflash.text.textformat.ImgText.instance=new ImgText();
			return iflash.text.textformat.ImgText.instance;
		}

		__proto__.formatFont=function(text,textFontObj){
			var textRect=new Rectangle();
			if(text.length <=0)
				return textRect;
			return null
		}

		ImgText.instance=null
		return ImgText;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/textformat.as
	var TextFormat=/*iflash.text.TextFormat*/(function(){
		function TextFormat(font,size,color,bold,italic,underline,url,target,align,leftMargin,rightMargin,indent,leading){
			if(font)this.font=font;
			if(size)this.size=size;
			if(color)this.color=color;
			if(bold)this.bold=bold;
			if(italic)this.italic=italic;
			if(underline)this.underline=underline;
			if(align)this.align=align;
			if(leftMargin)this.leftMargin=leftMargin;
			if(rightMargin)this.rightMargin=rightMargin;
			if(indent)this.indent=indent;
			if(leading)this.leading=leading;
		}

		CLASS$(TextFormat,'iflash.text.TextFormat',true,true);
		var __proto__=TextFormat.prototype;
		__proto__.measureText=function(text){
			var result={width:0,height:0};
			if (!text || !text.length)
				return result;
			if(text=="\n"){
				result={width:0,height:this._size+3};
				return result;
			}
			text=text.replace(/\n/g,"");
			TextFormat.ctx.font=this.getFont();
			var mRes=TextFormat.ctx.measureText(text);
			result.width=mRes.width1 || mRes.width;
			this._letterSpacing && (result.width+=this._letterSpacing *text.length);
			if(Laya.CONCHVER)
				result.height=mRes.height;
			else
			result.height=(int(this._size)|| 12)+TextFormat.HEI_OFF;
			return result;
		}

		__proto__.getFont=function(){
			var result="";
			if (!Laya.CONCHVER){
				result+=this._italic ? "italic" :"normal";
				result+=" ";
				result+=this._bold ? "bold" :"normal";
				result+=" ";
				result+=(this._size ? this._size :12)+"px";
				result+=" ";
				if(this._font){
					if(/\d/.test(this._font.charAt(0)))
						result+="Microsoft YaHei";
					else
					result+=this._font;
				}
				else
				result+="Times New Roman";
			}
			else{
				result+=this._italic ? "italic" :"normal";
				result+=" ";
				result+=this._bold ? "700" :"100";
				result+=" ";
				result+=(this._size ? this._size :12)+"px";
				result+=" ";
				result+=this._font ? this._font.replace(/\x20/g,"_"):"Arial";
				result+=" ";
				result+=this._strokeColor ? "1 "+this._strokeColor :"0 0 ";
				result+=this._underline ? "1" :"0";
				result+=this._underline ? (this._color || "#000000"):"";
			}
			return result;
		}

		__proto__.clone=function(){
			var result=new TextFormat();
			result._align=this._align;
			result._blockIndent=this._blockIndent;
			result._bold=this._bold;
			result._bullet=this._bullet;
			result._color=this._color;
			result._font=this._font;
			result._indent=this._indent;
			result._italic=this._italic;
			result._leading=this._leading;
			result._leftMargin=this._leftMargin;
			result._letterSpacing=this._letterSpacing;
			result._rightMargin=this._rightMargin;
			result._size=this._size;
			result._underline=this._underline;
			return result;
		}

		GETSET$(0,__proto__,'align',function(){
			return this._align;
			},function(value){
			this._align=value;
		});

		GETSET$(0,__proto__,'bold',function(){
			return this._bold;
			},function(value){
			this._bold=value;
		});

		GETSET$(0,__proto__,'blockIndent',function(){
			return this._blockIndent;
			},function(value){
			this._blockIndent=LAYABOX.parseInt(value);
		});

		GETSET$(0,__proto__,'display',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'bullet',function(){
			return this._bullet;
			},function(value){
			this._bullet=value;
		});

		GETSET$(0,__proto__,'color',function(){
			return this._color;
			},function(value){
			this._color=value;
		});

		GETSET$(0,__proto__,'font',function(){
			return this._font;
			},function(value){
			this._font=value;
		});

		GETSET$(0,__proto__,'indent',function(){
			return this._indent;
			},function(value){
			this._indent=LAYABOX.parseInt(value);
		});

		GETSET$(0,__proto__,'italic',function(){
			return this._italic;
			},function(value){
			this._italic=value;
		});

		GETSET$(0,__proto__,'leading',function(){
			return this._leading;
			},function(value){
			this._leading=LAYABOX.parseInt(value);
		});

		GETSET$(0,__proto__,'leftMargin',function(){
			return this._leftMargin;
			},function(value){
			this._leftMargin=value;
		});

		GETSET$(0,__proto__,'letterSpacing',function(){
			return this._letterSpacing;
			},function(value){
			this._letterSpacing=LAYABOX.parseInt(value);
		});

		GETSET$(0,__proto__,'rightMargin',function(){
			return this._rightMargin;
			},function(value){
			this._rightMargin=LAYABOX.parseInt(value);
		});

		GETSET$(0,__proto__,'size',function(){
			return this._size;
			},function(value){
			this._size=LAYABOX.parseInt(value);
		});

		GETSET$(0,__proto__,'kerning',LAYAFNVOID/*function(){}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'tabStops',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'target',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'url',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'underline',function(){
			return this._underline;
			},function(value){
			this._underline=value;
		});

		TextFormat.BULLET_INDENT=50;
		TextFormat.BULLET_RADIUS=2;
		TextFormat.HEI_OFF=3;
		STATICATTR$(TextFormat,
		['canvas',function(){return this.canvas=Canvas.create();},'ctx',function(){return this.ctx=TextFormat.canvas.context;}
		]);
		return TextFormat;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/textformatalign.as
	var TextFormatAlign=/*iflash.text.TextFormatAlign*/(function(){
		function TextFormatAlign(){}
		CLASS$(TextFormatAlign,'iflash.text.TextFormatAlign',true,true);
		TextFormatAlign.CENTER="center";
		TextFormatAlign.JUSTIFY="justify";
		TextFormatAlign.LEFT="left";
		TextFormatAlign.RIGHT="right";
		return TextFormatAlign;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/textlinemetrics.as
	var TextLineMetrics=/*iflash.text.TextLineMetrics*/(function(){
		function TextLineMetrics(x,width,height,ascent,descent,leading){
			this.ascent=NaN;
			this.descent=NaN;
			this.height=NaN;
			this.leading=NaN;
			this.width=NaN;
			this.x=NaN;
			this.x=x;
			this.width=width;
			this.height=height;
			this.ascent=ascent;
			this.descent=descent;
			this.leading=leading;
		}

		CLASS$(TextLineMetrics,'iflash.text.TextLineMetrics',true,true);
		return TextLineMetrics;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/textnodelist.as
	var TextNodeList=/*iflash.text.TextNodeList*/(function(){
		function TextNodeList(){
			this._source=null;
			this._source=[];
		}

		CLASS$(TextNodeList,'iflash.text.TextNodeList',true,true);
		var __proto__=TextNodeList.prototype;
		__proto__.clear=function(){
			this._source.length=0;
		}

		__proto__.getElem=function(index){
			return this._source[index];
		}

		__proto__.push=function(value){
			this._source.push(value);
		}

		__proto__.clone=function(){
			var result=new TextNodeList();
			var obj;
			for(var i=0,len=this._source.length;i<len;i++){
				obj={};
				for(var key in this._source[i]){
					obj[key]=this._source[i][key];
				}
				result.push(obj);
			}
			return result;
		}

		GETSET$(0,__proto__,'length',function(){
			return this._source.length;
		});

		GETSET$(0,__proto__,'source',function(){
			return this._source;
		});

		return TextNodeList;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/textsnapshot.as
	var TextSnapshot=/*iflash.text.TextSnapshot*/(function(){
		function TextSnapshot(){}
		CLASS$(TextSnapshot,'iflash.text.TextSnapshot',true,true);
		var __proto__=TextSnapshot.prototype;
		__proto__.findText=LAYAFN0/*function(beginIndex,textToFind,caseSensitive){return 0}*/
		__proto__.getSelected=LAYAFNFALSE/*function(beginIndex,endIndex){return false}*/
		__proto__.getSelectedText=function(includeLineEndings){
			(includeLineEndings===void 0)&& (includeLineEndings=false);
			return null}
		__proto__.getText=function(beginIndex,endIndex,includeLineEndings){
			(includeLineEndings===void 0)&& (includeLineEndings=false);
			return null}
		__proto__.getTextRunInfo=LAYAFNNULL/*function(beginIndex,endIndex){return null}*/
		__proto__.hitTestTextNearPos=function(x,y,maxDistance){
			(maxDistance===void 0)&& (maxDistance=0);
			return 0}
		__proto__.setSelectColor=function(hexColor){
			(hexColor===void 0)&& (hexColor=16776960);
		}

		__proto__.setSelected=LAYAFNVOID/*function(beginIndex,endIndex,select){}*/
		GETSET$(0,__proto__,'charCount',LAYAFN0/*function(){return 0}*/);
		return TextSnapshot;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/ui/contextmenubuiltinitems.as
	var ContextMenuBuiltInItems=/*iflash.ui.ContextMenuBuiltInItems*/(function(){
		function ContextMenuBuiltInItems(){}
		CLASS$(ContextMenuBuiltInItems,'iflash.ui.ContextMenuBuiltInItems',true,true);
		var __proto__=ContextMenuBuiltInItems.prototype;
		__proto__.clone=function(){
			return new ContextMenuBuiltInItems();
		}

		GETSET$(0,__proto__,'forwardAndBack',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(val){}*/);
		GETSET$(0,__proto__,'loop',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(val){}*/);
		GETSET$(0,__proto__,'zoom',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(val){}*/);
		GETSET$(0,__proto__,'play',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(val){}*/);
		GETSET$(0,__proto__,'print',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(val){}*/);
		GETSET$(0,__proto__,'quality',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(val){}*/);
		GETSET$(0,__proto__,'rewind',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(val){}*/);
		GETSET$(0,__proto__,'save',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(val){}*/);
		return ContextMenuBuiltInItems;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/ui/contextmenuclipboarditems.as
	var ContextMenuClipboardItems=/*iflash.ui.ContextMenuClipboardItems*/(function(){
		function ContextMenuClipboardItems(){}
		CLASS$(ContextMenuClipboardItems,'iflash.ui.ContextMenuClipboardItems',true,true);
		var __proto__=ContextMenuClipboardItems.prototype;
		__proto__.clone=function(){
			return new ContextMenuClipboardItems();
		}

		GETSET$(0,__proto__,'clear',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(val){}*/);
		GETSET$(0,__proto__,'copy',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(val){}*/);
		GETSET$(0,__proto__,'selectAll',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(val){}*/);
		GETSET$(0,__proto__,'cut',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(val){}*/);
		GETSET$(0,__proto__,'paste',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(val){}*/);
		return ContextMenuClipboardItems;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/ui/keyboard.as
	var Keyboard=/*iflash.ui.Keyboard*/(function(){
		function Keyboard(){
			;
		}

		CLASS$(Keyboard,'iflash.ui.Keyboard',true,true);
		GETSET$(1,Keyboard,'capsLock',LAYAFNFALSE/*function(){return false}*/);
		GETSET$(1,Keyboard,'physicalKeyboardType',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(1,Keyboard,'numLock',LAYAFNFALSE/*function(){return false}*/);
		GETSET$(1,Keyboard,'hasVirtualKeyboard',LAYAFNFALSE/*function(){return false}*/);
		Keyboard.isAccessible=LAYAFNFALSE/*function(){return false}*/
		Keyboard.KEYNAME_UPARROW="Up";
		Keyboard.KEYNAME_DOWNARROW="Down";
		Keyboard.KEYNAME_LEFTARROW="Left";
		Keyboard.KEYNAME_RIGHTARROW="Right";
		Keyboard.KEYNAME_F1="F1";
		Keyboard.KEYNAME_F2="F2";
		Keyboard.KEYNAME_F3="F3";
		Keyboard.KEYNAME_F4="F4";
		Keyboard.KEYNAME_F5="F5";
		Keyboard.KEYNAME_F6="F6";
		Keyboard.KEYNAME_F7="F7";
		Keyboard.KEYNAME_F8="F8";
		Keyboard.KEYNAME_F9="F9";
		Keyboard.KEYNAME_F10="F10";
		Keyboard.KEYNAME_F11="F11";
		Keyboard.KEYNAME_F12="F12";
		Keyboard.KEYNAME_F13="F13";
		Keyboard.KEYNAME_F14="F14";
		Keyboard.KEYNAME_F15="F15";
		Keyboard.KEYNAME_F16="F16";
		Keyboard.KEYNAME_F17="F17";
		Keyboard.KEYNAME_F18="F18";
		Keyboard.KEYNAME_F19="F19";
		Keyboard.KEYNAME_F20="F20";
		Keyboard.KEYNAME_F21="F21";
		Keyboard.KEYNAME_F22="F22";
		Keyboard.KEYNAME_F23="F23";
		Keyboard.KEYNAME_F24="F24";
		Keyboard.KEYNAME_F25="F25";
		Keyboard.KEYNAME_F26="F26";
		Keyboard.KEYNAME_F27="F27";
		Keyboard.KEYNAME_F28="F28";
		Keyboard.KEYNAME_F29="F29";
		Keyboard.KEYNAME_F30="F30";
		Keyboard.KEYNAME_F31="F31";
		Keyboard.KEYNAME_F32="F32";
		Keyboard.KEYNAME_F33="F33";
		Keyboard.KEYNAME_F34="F34";
		Keyboard.KEYNAME_F35="F35";
		Keyboard.KEYNAME_INSERT="Insert";
		Keyboard.KEYNAME_DELETE="Delete";
		Keyboard.KEYNAME_HOME="Home";
		Keyboard.KEYNAME_BEGIN="Begin";
		Keyboard.KEYNAME_END="End";
		Keyboard.KEYNAME_PAGEUP="PgUp";
		Keyboard.KEYNAME_PAGEDOWN="PgDn";
		Keyboard.KEYNAME_PRINTSCREEN="PrntScrn";
		Keyboard.KEYNAME_SCROLLLOCK="ScrlLck";
		Keyboard.KEYNAME_PAUSE="Pause";
		Keyboard.KEYNAME_SYSREQ="SysReq";
		Keyboard.KEYNAME_BREAK="Break";
		Keyboard.KEYNAME_RESET="Reset";
		Keyboard.KEYNAME_STOP="Stop";
		Keyboard.KEYNAME_MENU="Menu";
		Keyboard.KEYNAME_USER="User";
		Keyboard.KEYNAME_SYSTEM="Sys";
		Keyboard.KEYNAME_PRINT="Print";
		Keyboard.KEYNAME_CLEARLINE="ClrLn";
		Keyboard.KEYNAME_CLEARDISPLAY="ClrDsp";
		Keyboard.KEYNAME_INSERTLINE="InsLn";
		Keyboard.KEYNAME_DELETELINE="DelLn";
		Keyboard.KEYNAME_INSERTCHAR="InsChr";
		Keyboard.KEYNAME_DELETECHAR="DelChr";
		Keyboard.KEYNAME_PREV="Prev";
		Keyboard.KEYNAME_NEXT="Next";
		Keyboard.KEYNAME_SELECT="Select";
		Keyboard.KEYNAME_EXECUTE="Exec";
		Keyboard.KEYNAME_UNDO="Undo";
		Keyboard.KEYNAME_REDO="Redo";
		Keyboard.KEYNAME_FIND="Find";
		Keyboard.KEYNAME_HELP="Help";
		Keyboard.KEYNAME_MODESWITCH="ModeSw";
		Keyboard.NUMBER_0=48;
		Keyboard.NUMBER_1=49;
		Keyboard.NUMBER_2=50;
		Keyboard.NUMBER_3=51;
		Keyboard.NUMBER_4=52;
		Keyboard.NUMBER_5=53;
		Keyboard.NUMBER_6=54;
		Keyboard.NUMBER_7=55;
		Keyboard.NUMBER_8=56;
		Keyboard.NUMBER_9=57;
		Keyboard.A=65;
		Keyboard.B=66;
		Keyboard.C=67;
		Keyboard.D=68;
		Keyboard.E=69;
		Keyboard.F=70;
		Keyboard.G=71;
		Keyboard.H=72;
		Keyboard.I=73;
		Keyboard.J=74;
		Keyboard.K=75;
		Keyboard.L=76;
		Keyboard.M=77;
		Keyboard.N=78;
		Keyboard.O=79;
		Keyboard.P=80;
		Keyboard.Q=81;
		Keyboard.R=82;
		Keyboard.S=83;
		Keyboard.T=84;
		Keyboard.U=85;
		Keyboard.V=86;
		Keyboard.W=87;
		Keyboard.X=88;
		Keyboard.Y=89;
		Keyboard.Z=90;
		Keyboard.SEMICOLON=186;
		Keyboard.EQUAL=187;
		Keyboard.COMMA=188;
		Keyboard.MINUS=189;
		Keyboard.PERIOD=190;
		Keyboard.SLASH=191;
		Keyboard.BACKQUOTE=192;
		Keyboard.LEFTBRACKET=219;
		Keyboard.BACKSLASH=220;
		Keyboard.RIGHTBRACKET=221;
		Keyboard.QUOTE=222;
		Keyboard.ALTERNATE=18;
		Keyboard.BACKSPACE=8;
		Keyboard.CAPS_LOCK=20;
		Keyboard.COMMAND=15;
		Keyboard.CONTROL=17;
		Keyboard.DELETE=46;
		Keyboard.DOWN=40;
		Keyboard.END=35;
		Keyboard.ENTER=13;
		Keyboard.ESCAPE=27;
		Keyboard.F1=112;
		Keyboard.F2=113;
		Keyboard.F3=114;
		Keyboard.F4=115;
		Keyboard.F5=116;
		Keyboard.F6=117;
		Keyboard.F7=118;
		Keyboard.F8=119;
		Keyboard.F9=120;
		Keyboard.F10=121;
		Keyboard.F11=122;
		Keyboard.F12=123;
		Keyboard.F13=124;
		Keyboard.F14=125;
		Keyboard.F15=126;
		Keyboard.HOME=36;
		Keyboard.INSERT=45;
		Keyboard.LEFT=37;
		Keyboard.NUMPAD=21;
		Keyboard.NUMPAD_0=96;
		Keyboard.NUMPAD_1=97;
		Keyboard.NUMPAD_2=98;
		Keyboard.NUMPAD_3=99;
		Keyboard.NUMPAD_4=100;
		Keyboard.NUMPAD_5=101;
		Keyboard.NUMPAD_6=102;
		Keyboard.NUMPAD_7=103;
		Keyboard.NUMPAD_8=104;
		Keyboard.NUMPAD_9=105;
		Keyboard.NUMPAD_ADD=107;
		Keyboard.NUMPAD_DECIMAL=110;
		Keyboard.NUMPAD_DIVIDE=111;
		Keyboard.NUMPAD_ENTER=108;
		Keyboard.NUMPAD_MULTIPLY=106;
		Keyboard.NUMPAD_SUBTRACT=109;
		Keyboard.PAGE_DOWN=34;
		Keyboard.PAGE_UP=33;
		Keyboard.RIGHT=39;
		Keyboard.SHIFT=16;
		Keyboard.SPACE=32;
		Keyboard.TAB=9;
		Keyboard.UP=38;
		Keyboard.RED=16777216;
		Keyboard.GREEN=16777217;
		Keyboard.YELLOW=16777218;
		Keyboard.BLUE=16777219;
		Keyboard.CHANNEL_UP=16777220;
		Keyboard.CHANNEL_DOWN=16777221;
		Keyboard.RECORD=16777222;
		Keyboard.PLAY=16777223;
		Keyboard.PAUSE=16777224;
		Keyboard.STOP=16777225;
		Keyboard.FAST_FORWARD=16777226;
		Keyboard.REWIND=16777227;
		Keyboard.SKIP_FORWARD=16777228;
		Keyboard.SKIP_BACKWARD=16777229;
		Keyboard.NEXT=16777230;
		Keyboard.PREVIOUS=16777231;
		Keyboard.LIVE=16777232;
		Keyboard.LAST=16777233;
		Keyboard.MENU=16777234;
		Keyboard.INFO=16777235;
		Keyboard.GUIDE=16777236;
		Keyboard.EXIT=16777237;
		Keyboard.BACK=16777238;
		Keyboard.AUDIO=16777239;
		Keyboard.SUBTITLE=16777240;
		Keyboard.DVR=16777241;
		Keyboard.VOD=16777242;
		Keyboard.INPUT=16777243;
		Keyboard.SETUP=16777244;
		Keyboard.HELP=16777245;
		Keyboard.MASTER_SHELL=16777246;
		Keyboard.SEARCH=16777247;
		STATICATTR$(Keyboard,
		['CharCodeStrings',function(){return this.CharCodeStrings=["Up","Down","Left","Right","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","F13","F14","F15","F16","F17","F18","F19","F20","F21","F22","F23","F24","F25","F26","F27","F28","F29","F30","F31","F32","F33","F34","F35","Insert","Delete","Home","Begin","End","PgUp","PgDn","PrntScrn","ScrlLck","Pause","SysReq","Break","Reset","Stop","Menu","User","Sys","Print","ClrLn","ClrDsp","InsLn","DelLn","InsChr","DelChr","Prev","Next","Select","Exec","Undo","Redo","Find","Help","ModeSw"];}
		]);
		return Keyboard;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/ui/keyboardtype.as
	var KeyboardType=/*iflash.ui.KeyboardType*/(function(){
		function KeyboardType(){
			;
		}

		CLASS$(KeyboardType,'iflash.ui.KeyboardType',true,true);
		KeyboardType.ALPHANUMERIC="alphanumeric";
		KeyboardType.KEYPAD="keypad";
		KeyboardType.NONE="none";
		return KeyboardType;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/ui/keylocation.as
	var KeyLocation=/*iflash.ui.KeyLocation*/(function(){
		function KeyLocation(){
			;
		}

		CLASS$(KeyLocation,'iflash.ui.KeyLocation',true,true);
		KeyLocation.STANDARD=0;
		KeyLocation.LEFT=1;
		KeyLocation.RIGHT=2;
		KeyLocation.NUM_PAD=3;
		KeyLocation.D_PAD=4;
		return KeyLocation;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/ui/mouse.as
	var Mouse=/*iflash.ui.Mouse*/(function(){
		function Mouse(){
			;
		}

		CLASS$(Mouse,'iflash.ui.Mouse',true,true);
		GETSET$(1,Mouse,'supportsCursor',LAYAFNFALSE/*function(){return false}*/);
		GETSET$(1,Mouse,'cursor',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(1,Mouse,'supportsNativeCursor',LAYAFNFALSE/*function(){return false}*/);
		Mouse.hide=LAYAFNVOID/*function(){}*/
		Mouse.show=LAYAFNVOID/*function(){}*/
		Mouse.registerCursor=LAYAFNVOID/*function(value,cursorData){}*/
		Mouse.unregisterCursor=LAYAFNVOID/*function(param1){}*/
		return Mouse;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/ui/mousecursor.as
	var MouseCursor=/*iflash.ui.MouseCursor*/(function(){
		function MouseCursor(){}
		CLASS$(MouseCursor,'iflash.ui.MouseCursor',true,true);
		MouseCursor.ARROW="arrow";
		MouseCursor.AUTO="auto";
		MouseCursor.BUTTON="button";
		MouseCursor.HAND="hand";
		MouseCursor.IBEAM="ibeam";
		return MouseCursor;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/ui/mousecursordata.as
	var MouseCursorData=/*iflash.ui.MouseCursorData*/(function(){
		function MouseCursorData(){
			;
		}

		CLASS$(MouseCursorData,'iflash.ui.MouseCursorData',true,true);
		var __proto__=MouseCursorData.prototype;
		GETSET$(0,__proto__,'data',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(param1){}*/);
		GETSET$(0,__proto__,'hotSpot',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(param1){}*/);
		GETSET$(0,__proto__,'frameRate',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(param1){}*/);
		return MouseCursorData;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/ui/multitouch.as
	var Multitouch=/*iflash.ui.Multitouch*/(function(){
		function Multitouch(){};
		CLASS$(Multitouch,'iflash.ui.Multitouch',true,true);
		GETSET$(1,Multitouch,'inputMode',function(){
			return Multitouch.$inputMode;
			},function(value){
			if(value==/*iflash.ui.MultitouchInputMode.GESTURE*/"gesture")
				Multitouch.implementGesture();
			if(value==/*iflash.ui.MultitouchInputMode.TOUCH_POINT*/"touchPoint")
				Multitouch.implementTouchPoint();
			Multitouch.$inputMode=value;
		});

		GETSET$(1,Multitouch,'isSupportTouch',function(){
			var doc=Browser.document;
			var isSupportTouch="ontouchend" in doc ? true :false;
			return isSupportTouch;
		});

		GETSET$(1,Multitouch,'maxTouchPoints',function(){
			Multitouch._$maxTouchPoints=3;
			return Multitouch._$maxTouchPoints;
			},function(value){
			Multitouch._$maxTouchPoints=value;
		});

		GETSET$(1,Multitouch,'supportedGestures',function(){
			Multitouch._$supportedGestures=[];
			if(Multitouch.isSupportTouch){
				Multitouch._$supportedGestures.push(/*iflash.events.TransformGestureEvent.GESTURE_PAN*/"gesturePan");
				Multitouch._$supportedGestures.push(/*iflash.events.TransformGestureEvent.GESTURE_ROTATE*/"gestureRotate");
				Multitouch._$supportedGestures.push(/*iflash.events.TransformGestureEvent.GESTURE_SWIPE*/"gestureSwipe");
				Multitouch._$supportedGestures.push(/*iflash.events.TransformGestureEvent.GESTURE_ZOOM*/"gestureZoom");
				Multitouch._$supportedGestures.push(/*iflash.events.GestureEvent.GESTURE_TWO_FINGER_TAP*/"gestureTwoFingerTap");
			}
			return Multitouch._$supportedGestures;
		});

		GETSET$(1,Multitouch,'supportsTouchEvents',function(){
			Multitouch._$supportsTouchEvents=Multitouch.isSupportTouch;
			return Multitouch._$supportsTouchEvents;
		});

		GETSET$(1,Multitouch,'mapTouchToMouse',function(){
			Multitouch._$mapTouchToMouse=Multitouch.isSupportTouch;
			return Multitouch._$mapTouchToMouse;
		});

		GETSET$(1,Multitouch,'supportsGestureEvents',function(){
			Multitouch._$supportsGestureEvents=Multitouch.isSupportTouch;
			return Multitouch._$supportsGestureEvents;
		});

		Multitouch.implementTouchPoint=function(){
			var doc=Browser.document;
		}

		Multitouch.implementGesture=function(){
			var doc=Browser.document;
		}

		Multitouch._$mapTouchToMouse=false;
		Multitouch._$maxTouchPoints=0;
		Multitouch._$supportedGestures=null
		Multitouch._$supportsGestureEvents=false;
		Multitouch._$supportsTouchEvents=false;
		STATICATTR$(Multitouch,
		['$inputMode',function(){return this.$inputMode=/*iflash.ui.MultitouchInputMode.NONE*/"none";}
		]);
		return Multitouch;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/ui/multitouchinputmode.as
	var MultitouchInputMode=/*iflash.ui.MultitouchInputMode*/(function(){
		function MultitouchInputMode(){};
		CLASS$(MultitouchInputMode,'iflash.ui.MultitouchInputMode',true,true);
		MultitouchInputMode.GESTURE="gesture";
		MultitouchInputMode.NONE="none";
		MultitouchInputMode.TOUCH_POINT="touchPoint";
		return MultitouchInputMode;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/xml/xmlattribute.as
	var XMLAttribute=/*iflash.xml.XMLAttribute*/(function(){
		function XMLAttribute(){
			this._name=null;
			this._value=null;
		}

		CLASS$(XMLAttribute,'iflash.xml.XMLAttribute',true,false);
		var __proto__=XMLAttribute.prototype;
		LAYABOX.implements(__proto__,{"iflash.xml.IXMLElement":true})
		__proto__.getAttribute=function(aName){
			return null;
		}

		__proto__.attribute=function(aName){
			return null;
		}

		__proto__.setChildByName=function(nName,value){
			return null;
		}

		__proto__.getChildByAttribute=function(attribute,value,equal){
			(equal===void 0)&& (equal=true);
			return null;
		}

		__proto__.getChildByName=function(nName){
			return null;
		}

		__proto__.setAttribute=function(name,value){
			return null;
		}

		__proto__.getAttributes=function(){
			return null;
		}

		__proto__.attributes=function(){
			return null;
		}

		__proto__.getChildAt=function(index){
			return null;
		}

		__proto__.children=function(){
			return null;
		}

		__proto__.elements=function(name){
			(name===void 0)&& (name="*");
			return null;
		}

		__proto__.setName=function(str){
			this._name=str;
		}

		__proto__.lengths=function(){
			return 0;
		}

		__proto__.name=function(){
			return this._name;
		}

		__proto__.appendChild=function(value){
			return null;
		}

		__proto__.toString=function(){
			return this._value;
		}

		__proto__.toXMLString=function(){
			return null;
		}

		__proto__.parent=LAYAFNNULL/*function(){return null;}*/
		__proto__.hasSimpleContent=LAYAFNFALSE/*function(){return false}*/
		__proto__.hasComplexContent=LAYAFNFALSE/*function(){return false}*/
		__proto__.hasOwnProperty=function(pName){
			return false;
		}

		__proto__.copy=function(){
			var xa=new XMLAttribute();
			xa._name=this._name;
			xa._value=this._value;
			return xa;
		}

		__proto__.copyFrom=function(source){
			if((source instanceof iflash.xml.XMLAttribute )){
				var value=source;
				this._name=value._name;
				this._value=value._value;
				return this;
			}
			return null;
		}

		GETSET$(0,__proto__,'localName',function(){
			return null;
			},function(str){
			this._name=str;
		});

		GETSET$(0,__proto__,'nodeType',function(){
			return "attribute";
		});

		GETSET$(0,__proto__,'value',function(){
			return this._value;
			},function(str){
			this._value=str;
		});

		GETSET$(0,__proto__,'childNodes',function(){
			return null;
		});

		GETSET$(0,__proto__,'nodeName',function(){
			return null;
		});

		XMLAttribute.create=function(name,value){
			var xa=new XMLAttribute();
			xa._name=name;xa._value=value;
			return xa;
		}

		return XMLAttribute;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/xml/xmlelement.as
	var XMLElement=/*iflash.xml.XMLElement*/(function(){
		function XMLElement(value){
			this._nodeName=null;
			this._nodeType=null;
			this._nodeValue=null;
			this._parentNode=null;
			this._attributes=[];
			this._childNodes=[];
			this._nestCount=0;
			if((value instanceof iflash.xml.XMLElement )){return value}
				else if ((value instanceof iflash.xml.XMLElementList )){if (value.lengths()==1){return value[0]}else {return value;}}
			if (value){
				if(value && value['_data_']){value=value.toString();}
					if (value){
					XMLElement.create(value,this);
				}
			}
		}

		CLASS$(XMLElement,'iflash.xml.XMLElement',true,false);
		var __proto__=XMLElement.prototype;
		LAYABOX.implements(__proto__,{"iflash.xml.IXMLElement":true})
		__proto__.addNamespace=function(ns){
			return this;
		}

		__proto__.setAttribute=function(name,value){
			var o;
			/*for each*/for(var $each_o in this._attributes){
				o=this._attributes[$each_o];
				if (o.key==name){
					o.val=value;
					return value;
				}
			}
			this._attributes.push({key:name,val:value});
			return value;
		}

		__proto__.getAttributes=function(){
			return this.attributes();
		}

		__proto__.attributes=function(){
			return this.getAttribute("*");
		}

		__proto__.getAttribute=function(name){
			var attributes=this._attributes;
			var arr=[];
			for (var j=0;j < attributes.length;j++){
				var value=attributes[j]['key'];
				if (name=="*" || value==name){
					arr.push({"key":attributes[j]['key'],"val":attributes[j]['val']});
				}
			}
			if (name!="*"){
				return arr.length>0?arr[0].val:undefined;
			}
			return XMLElementList.createFromAttribute(arr);
		}

		__proto__.getAllAttribute=function(name){
			var arr=[];
			this._getAllAttribute_(arr,this,name);
			return XMLElementList.createFromAttribute(arr);
		}

		__proto__._getAllAttribute_=function(arr,xml,name){
			var len=xml._childNodes ? xml._childNodes.length :0;
			for (var i=0;i < len;i++){
				var node=xml._childNodes [i];
				for (var j=0;j < node._attributes.length;j++){
					var key=node._attributes[j]['key'];
					var val=node._attributes[j]['val'];
					if (name=="*"){
						arr.push({"key":key,"val":val});
						}else if (key==name){
						arr.push({"key":key,"val":val});
					}
				}
				this._getAllAttribute_(arr,node,name);
			}
		}

		__proto__.attribute=function(name){
			return this.getAttribute(name);
		}

		__proto__.getChildByName=function(name){
			return this.child(name);
		}

		__proto__.getAllChildByName=function(name){
			var arr=[];
			this._getAllChildByName_(arr,this,name);
			return XMLElementList.create(arr);
		}

		__proto__._getAllChildByName_=function(arr,xml,name){
			var len=xml._childNodes ? xml._childNodes.length :0;
			for (var i=0;i < len;i++){
				var node=xml._childNodes [i];
				if(name=="*"){
					arr.push(node);
					}else if (node._nodeName==name){
					arr.push(node);
				}
				this._getAllChildByName_(arr,node,name);
			}
		}

		__proto__.nodeKind=function(){
			return this._nodeType;
		}

		__proto__.getChildByAttribute=function(attribute,value,equal){
			(equal===void 0)&& (equal=true);
			if (attribute=="" || attribute==null)
				return null;
			if (value=="" || value==null)
				return null;
			var ar=[],len=this._childNodes ? this._childNodes.length :0;
			for (var i=0;i < len;i++){
				var n=this._childNodes [i];
				for (var j=0;j < n._attributes.length;j++){
					if (n._attributes[j]['key']==attribute){
						if (equal && n._attributes[j]['val']==value){
							ar.push(n);
							}else if (!equal && n._attributes[j]['val'] !=value){
							ar.push(n);
						}
					}
				}
			}
			return XMLElementList.create(ar);
		}

		__proto__.children=function(){
			var l=XMLElementList.create(this._childNodes);
			if(!l.length)
				if((typeof this._nodeValue=='string')&& this._nodeValue !=""){
				l.push(this._nodeValue);
			}
			return l;
		}

		__proto__.getChildAt=function(index){
			if (!this._childNodes || index > this._childNodes.length)
				return null;
			return this._childNodes[index];
		}

		__proto__.elements=function(name){
			(name===void 0)&& (name="*");
			if (name=='*')
				return XMLElementList.create(this._childNodes);
			return this.child(name);
		}

		__proto__.appendChild=function(value){
			if ((typeof value=='string')){
				value=iflash.xml.XMLElement.create(String(value));
			}
			if ((value instanceof iflash.xml.XMLElement )){
				var name=value._nodeName;
				var list=this[name];
				if (!list){
					this[name]=list=new XMLElementList();
				}
				(((typeof list=='function'))!=true)&&(list.__addChild__(value));
				this._childNodes.push(value);
				}else if ((value instanceof iflash.xml.XMLElementList )){
				var len=value.lengths();
				for (var i=0;i < len;i++){
					this.appendChild(value[i]);
				}
			}
			value._parentNode=this;
			return value;
		}

		__proto__.prependChild=function(value){
			var xml=this.appendChild(value);
			var nodes=this._childNodes;
			nodes.pop();
			nodes.splice(0,0,xml);
			return xml;
		}

		__proto__.setChildByName=function(nName,value){
			var c=this.getChildByName(nName);
			if (!c)
				return null;
			var spliceIndex=this._childNodes.length;
			for (var i=this._childNodes.length-1;i >=0;i--){
				if (this._childNodes[i].localName==nName){
					this._childNodes.splice(i,1);
					spliceIndex=i;
				}
			}
			if ((value instanceof iflash.xml.XMLElementList )){
				for (i=0;i < value.lengths();i++){
					this._childNodes.splice(spliceIndex,0,value[i]);
					spliceIndex++;
				}
				}else if ((value instanceof iflash.xml.XMLElement )){
				this._childNodes.splice(spliceIndex,0,value);
				}else {
				return null;
			}
			return c;
		}

		__proto__.copy=function(){
			var xml=new XMLElement(this.toXMLString());
			return xml;
		}

		__proto__.copyFrom=function(source){
			if ((source instanceof iflash.xml.XMLElement )){
				var value=source;
				this._nodeName=value._nodeName;
				this._nodeValue=value._nodeValue;
				this._attributes=value._attributes;
				this._childNodes=value._childNodes;
				return this;
			}
			return null;
		}

		__proto__.setName=function(str){
			this._nodeName=str;
		}

		__proto__.hasOwnProperty=function(pName){
			var len=0,i=0;
			if(pName.indexOf("@")!=-1){
				var tmpPName=pName.substring(1);
				len=this._attributes.length;
				for (i=0;i < len;i++){
					if (this._attributes[i].key==tmpPName)
						return true;
				}
				}else{
				len=this._childNodes.length;
				for (i=0;i < len;i++){
					if (this._childNodes[i]._nodeName==pName)
						return true;
				}
			}
			return false;
		}

		__proto__.hasSimpleContent=function(){
			if (this._childNodes.length > 1){
				return false;
				}else if (this._childNodes.length==1){
				if (!this._childNodes[0].localName)
					return true;
				return false;
			}
			return true;
		}

		__proto__.hasComplexContent=function(){
			return this._childNodes.length > 0
		}

		__proto__.lengths=function(){
			return 1
		}

		__proto__.name=function(){
			return this._nodeName;
		}

		__proto__.parent=function(){
			return this._parentNode;
		}

		__proto__.toString=function(){
			var str="";
			if (this._childNodes.length){
				str=this.toXMLString();
			}else
			str=this._nodeValue;
			return str;
		}

		__proto__.getString=function(){
			var str="";
			str=this.toXMLString();
			return str;
		}

		__proto__.toXMLString=function(){
			if (!XMLElement._callee)
				XMLElement._callee=this;
			var str="";
			if (this._nodeName){
				str+="<"+this._nodeName;
				for (var i=0;i < this._attributes.length;i++){
					str+=" "+this._attributes[i]['key']+'="'+this._attributes[i]['val']+'"'
				}
			}
			if (this.hasSimpleContent()&& !this.value)
				str+="/>";
			else {
				str+=this._nodeName ? ">" :"";
				str+=(this._childNodes.length ? "\n" :this._nodeValue);
				this._nestCount=(this._childNodes.length)? this._nestCount+1 :this._nestCount;
				for (i=0;i < this._childNodes.length;i++){
					this._childNodes[i]._nestCount=this._nestCount;
					for (var j=0;j < this._nestCount;j++){
						str+="   ";
					}
					str+=this._childNodes[i].toXMLString();
					for (j=0;j < this._nestCount-1;j++){
						str+="   ";
					}
				}
				if (this._nodeName)
					str+="</"+this._nodeName+">";
			}
			if (XMLElement._callee !=this)
				str+="\n";
			else
			XMLElement._callee=null;
			return str;
		}

		__proto__.child=function(nName){
			if((typeof nName=='number')){
				return XMLElementList.create([ this._childNodes[nName]]);
			};
			var ar=[],len=this._childNodes ? this._childNodes.length :0;
			for (var i=0;i < len;i++){
				var n=this._childNodes [i];
				if (n.localName==nName){
					ar.push(n);
				}
			}
			return XMLElementList.create(ar);
		}

		__proto__.childIndex=function(){
			var parent=this._parentNode;
			if (parent){
				var nodes=parent._childNodes;
				for (var i=0,n=nodes.length;i < n;i++){
					if (nodes[i]==this){
						return i;
					}
				}
			}
			return-1;
		}

		__proto__.insertChildBefore=function(child1,child2){
			return null;
		}

		__proto__.normalize=function(){
			return null;
		}

		__proto__.comments=function(){
			return null;
		}

		__proto__.contains=function(value){
			return true;
		}

		__proto__.defaultSettings=function(){
			return null;
		}

		__proto__.descendants=function(name){
			return null;
		}

		__proto__.inScopeNamespaces=function(){
			return [];
		}

		__proto__.setLocalName=function(name){
			this._nodeName=name;
		}

		GETSET$(0,__proto__,'localName',function(){
			return this._nodeName;
			},function(str){
			this._nodeName=str;
		});

		GETSET$(0,__proto__,'nodeType',function(){
			return this._nodeType;
		});

		GETSET$(0,__proto__,'childNodes',function(){
			return this._childNodes;
		});

		GETSET$(0,__proto__,'nodeName',function(){
			return this._nodeName;
		});

		GETSET$(0,__proto__,'value',function(){
			return this._nodeValue;
			},function(str){
			this._nodeValue=str;
		});

		GETSET$(0,__proto__,'conchValue',function(){
			var temp="";
			if (this._childNodes){
				for (var i=0,len=this._childNodes.length;i < len;i++){
					temp+=this._childNodes[i].conchValue;
				}
				temp+=this.value;
			}
			else
			temp=this.value;
			return temp;
		});

		XMLElement.create=function(value,node){
			node=node ? node :new XMLElement();
			var xmld;
			if (IFlash.isRuningOnAccelerator && !((typeof value=='string'))){
				xmld=value;
				xmld=xmld.childNodes[0];
				}else {
				/*__JS__ */xmld=(new DOMParser()).parseFromString(value,'text/xml');var t_i=0;var t_xmld=null;do{t_xmld=xmld.childNodes[t_i++];if(t_xmld.nodeName !='#comment' ){xmld=t_xmld;break;}}while(t_i<xmld.childNodes.length);;
			}
			XMLElement.cloneXmlFromData(node,xmld);
			return node;
		}

		XMLElement.cloneXmlFromData=function(xml,data){
			xml._nodeName=data.nodeName;
			xml._nodeValue=data.nodeValue==null ? data.textContent :data.nodeValue;
			var attribs=data.attributes;
			var len=attribs ? attribs.length :0;
			var attributes=xml._attributes;
			for (var j=0;j < len;j++){
				var attr=attribs[j];
				attributes.push({key:attr.nodeName,val:attr.nodeValue});
			};
			var nodes=data.childNodes;
			var child;
			for (var i=0;i < nodes.length;i++){
				var node=nodes[i];
				var nodeName=node.nodeName;
				if(nodeName=="#text"){
					if(node.parentNode&&node.parentNode.textContent!=node.textContent){
						var tValue;
						tValue=node.nodeValue.replace(/(^\s*)|(\s*$)/g,'');
						if(tValue.length>1){
							node.nodeValue=tValue;
							child=new XMLElement();
							XMLElement.cloneXmlFromData(child,node);
							xml.appendChild(child);
						}
					}
				}else
				if (nodeName !="#text" && nodeName !="#comment"){
					if (nodeName=="#cdata-section" || nodeName==""){
						xml._nodeValue=node.nodeValue==null ? node.textContent :node.nodeValue;
						continue ;
					}
					child=new XMLElement();
					XMLElement.cloneXmlFromData(child,node);
					xml.appendChild(child);
				}
			}
		}

		XMLElement._callee=null
		return XMLElement;
	})()


	var XML=window.XML=iflash.xml.XMLElement;
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/mx/core/soundasset.as
	var SoundAsset=/*mx.core.SoundAsset*/(function(){
		function SoundAsset(){}
		CLASS$(SoundAsset,'mx.core.SoundAsset',true,true);
		return SoundAsset;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/errors/illegaloperationerror.as
	var IllegalOperationError=/*iflash.errors.IllegalOperationError*/(function(_super){
		function IllegalOperationError(message,id){
			(message===void 0)&& (message="");
			(id===void 0)&& (id=0);
			IllegalOperationError._SUPERC_.call(this,message,id);
		}

		CLASS$(IllegalOperationError,'iflash.errors.IllegalOperationError',true,true,Error);
		return IllegalOperationError;
	})(Error)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/errors/ioerror.as
	var IOError=/*iflash.errors.IOError*/(function(_super){
		function IOError(message,id){
			(message===void 0)&& (message="");
			(id===void 0)&& (id=0);
			IOError._SUPERC_.call(this,message,id);
		}

		CLASS$(IOError,'iflash.errors.IOError',true,true,Error);
		return IOError;
	})(Error)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/xml/xmlelementlist.as
	var XMLElementList=/*iflash.xml.XMLElementList*/(function(_super){
		function XMLElementList(value){
			this._value="";
			this._parentNode=null;
			XMLElementList._SUPERC_.call(this);
			DEFSOMEUNENUMPTY$(this,['_value','_parentNode']);
			if (value){
				value="<data>"+value+"</data>";
				var list=XMLElementList.create(XMLElement.create(value).childNodes);
				for (var i=0;i < list.length;i++){
					this.push(list[i]);
				}
			}
			/*__JS__ */Object.defineProperty(this,'length',{value:this.length,writable:true,enumerable:false,configurable:false});
		}

		CLASS$(XMLElementList,'iflash.xml.XMLElementList',true,true,Array);
		var __proto__=XMLElementList.prototype;
		LAYABOX.implements(__proto__,{"iflash.xml.IXMLElement":true})
		__proto__.childIndex=function(){
			if (this.lengths()==1){
				var xml=this[0];
				var parent=xml._parentNode;
				if (parent){
					var nodes=parent._childNodes;
					for (var i=0,n=nodes.length;i < n;i++){
						if (nodes[i]==xml){
							return i;
						}
					}
				}
			}
			return-1;
		}

		__proto__.getAttributes=function(){
			return this.attributes();
		}

		__proto__.attributes=function(){
			return this.getAttribute("*");
		}

		__proto__.getAttribute=function(name){
			var arr=[],len=this.length;
			for (var i=0;i < len;i++){
				var attributes=this[i]._attributes;
				for (var j=0;j < attributes.length;j++){
					var value=attributes[j]['key'];
					if (name=="*" || value==name){
						arr.push({"key":attributes[j]['key'],"val":attributes[j]['val']});
					}
				}
			}
			if (name!="*"){
				return arr.length>0?arr[0].val:undefined;
			}
			return iflash.xml.XMLElementList.createFromAttribute(arr);
		}

		__proto__.attribute=function(name){
			return this.getAttribute(name);
		}

		__proto__.setAttribute=function(name,value){
			if (this.length==1){
				var o;
				/*for each*/for(var $each_o in this[0]._attributes){
					o=this[0]._attributes[$each_o];
					if (o['key']==name){
						o['val']=value;
						return value;
					}
				}
				this[0]._attributes.push({key:name,val:value});
			}
			return null;
		}

		__proto__.getChildByName=function(name){
			return this.child(name);
		}

		__proto__.child=function(name){
			if (!this.length)
				return new XMLElementList();
			var arr=[],len=this.lengths();
			for (var i=0;i < len;i++){
				var nodes=this[i].getChildByName(name);
				(nodes && nodes.length)&& (arr=arr.concat(this[i].getChildByName(name)));
			}
			return XMLElementList.create(arr);
		}

		__proto__.getChildByAttribute=function(attribute,value,equal){
			(equal===void 0)&& (equal=true);
			if (attribute=="" || attribute==null)
				return null;
			if (value=="" || value==null)
				return null;
			var ar=[],len=this.length;
			for (var i=0;i < len;i++){
				var n=this [i];
				for (var j=0;j < n._attributes.length;j++){
					if (n._attributes[j]['key']==attribute){
						if (equal && n._attributes[j]['val']==value){
							ar.push(n);
							}else if (!equal && n._attributes[j]['val'] !=value){
							ar.push(n);
						}
					}
				}
			}
			return iflash.xml.XMLElementList.create(ar);
		}

		__proto__.getChildAt=function(index){
			if (!this.length || index > this.length)
				return null;
			else
			return this[index];
		}

		__proto__.children=function(){
			var xl=new XMLElementList();
			var len=this.lengths();
			for (var i=0;i < len;i++){
				var childs=this[i]._childNodes;
				var n=childs.length;
				for (var j=0;j < n;j++){
					xl.push(childs[j]);
				}
				if(n<1){
					xl.push(this[i]);
				}
			}
			return xl;
		}

		__proto__.elements=function(name){
			(name===void 0)&& (name="*");
			if (!this.length)
				return new XMLElementList();
			if (name=="*")
				return this.children();
			return this.child(name);
		}

		__proto__.appendChild=function(value){
			if ((typeof value=='string')){
				value=XMLElement.create(String(value));
			}
			this.__doAdd__(value);
			return value;
		}

		__proto__.__addChild__=function(value){
			if ((value instanceof iflash.xml.XMLElement )){
				var ixl=value._childNodes,len=ixl.length;
				for (var i=0;i < len;i++){
					this.__doAdd__(ixl[i]);
				}
				this.push(value);
				}else if ((value instanceof iflash.xml.XMLElementList )){
				len=value.lengths();
				for (i=0;i < len;i++){
					this.__addChild__(value[i]);
				}
			}
		}

		__proto__.__doAdd__=function(value){
			if (this.indexOf(value)!=-1)
				return;
			var n=value._nodeName;
			var x=this[n];
			if ((x instanceof iflash.xml.XMLElementList )){
				x.__addChild__(value);
				}else if ((x instanceof iflash.xml.XMLElement )){
				var tmp=x;
				x=this[n]=new XMLElementList();
				Object.defineProperty(this,[n],{value:this[n],writable:true,enumerable:false,configurable:false});
				x.__addChild__(tmp);
				x.__addChild__(value);
				}else if (!x){
				x=this[n]=new XMLElementList();
				x.__addChild__(value);
				Object.defineProperty(this,[n],{value:this[n],writable:true,enumerable:false,configurable:false});
			}
		}

		__proto__.setName=function(str){
			if (this.length==1){
				this[0]._nodeName=str;
			}
		}

		__proto__.copyFrom=function(source){
			if (this.lengths()> 1)
				return null;
			var il=((source instanceof iflash.xml.XMLElementList ));
			if (source.lengths()> 1)
				return null;
			if (il)
				this[0].copyFrom(source.getChildAt(0));
			else
			this[0].copyFrom(source);
			return this [0];
		}

		__proto__.hasOwnProperty=function(pName){
			if (this.length==0){
				return this[0].hasOwnProperty(pName);
				}else {
				var x;
				/*for each*/for(var $each_x in this){
					x=this[$each_x];
					if (x['hasOwnProperty'](pName))
						return true;
				}
			}
			return false;
		}

		__proto__.setChildByName=function(nName,value){
			return null;
			this.splice(0,/*int.MAX_VALUE*/2147483647);
			if ((value instanceof iflash.xml.XMLElementList )&& value.lengths()==1){
				this.push(value[0]);
				}else if ((value instanceof iflash.xml.XMLElement )){
				this.push(value);
				}else {
				return null;
			}
			return this;
		}

		__proto__.hasComplexContent=function(){
			return this.length > 0;
		}

		__proto__.hasSimpleContent=function(){
			var len=this.length;
			for (var i=0;i < len;i++){
				if (this['_nodeValue'] !=null){
					return true
				}
			}
			return false
		}

		__proto__.name=function(){
			if (this.length==1)
				return this[0].name();
			return null;
		}

		__proto__.lengths=function(){
			for (var i=this.length-1;i >=0;i--){
				if (this[i]==undefined)
					this.splice(i,1);
			}
			return this.length;
		}

		__proto__.toString=function(){
			var str="";
			if (this.lengths()){
				if (this.length==1){
					str+=this[0].toString();
					}else {
					for (var i=0;i < this.length;i++){
						if (this.length > 1)
							str+=this[i].getString();
					}
				}
			}
			return str;
		}

		__proto__.toXMLString=function(){
			var str="";
			for (var i=0;i < this.length;i++){
				str+=this[i].toXMLString();
			}
			return str;
		}

		__proto__.parent=function(){
			return this._parentNode;
		}

		__proto__.copy=function(){
			var list=new XMLElementList(this.toXMLString());
			return list;
		}

		__proto__.getString=function(){
			var str="";
			str=this.toXMLString();
			return str;
		}

		__proto__.comments=function(){
			return null;
		}

		__proto__.contains=function(value){
			return true;
		}

		GETSET$(0,__proto__,'localName',function(){
			return null
			},function(str){
			if (this.length==1){
				this[0]._nodeName=str;
			}
		});

		GETSET$(0,__proto__,'nodeType',function(){
			return "*";
		});

		GETSET$(0,__proto__,'value',function(){
			if (this.length==1){
				return this[0]._nodeValue;
			}
			return "";
			},function(str){
			if (this.length==1){
				this[0]._nodeValue=str;
			}
		});

		GETSET$(0,__proto__,'childNodes',function(){
			return null;
		});

		GETSET$(0,__proto__,'nodeName',function(){
			return null;
		});

		DEFSOMEUNENUMPTY$(__proto__,['childIndex','getAttributes','attributes','getAttribute','attribute','setAttribute','getChildByName','child','getChildByAttribute','getChildAt','children','elements','appendChild','__addChild__','__doAdd__','setName','copyFrom','hasOwnProperty','setChildByName','hasComplexContent','hasSimpleContent','name','lengths','toString','toXMLString','parent','copy','getString','comments','contains']);
		XMLElementList.create=function(arr){
			var xl=new XMLElementList();
			for (var i=0;i < arr.length;i++){
				xl.__addChild__(arr[i]);
			}
			return xl;
		}

		XMLElementList.createFromAttribute=function(arr){
			var xl=new XMLElementList();
			for (var i=0;i < arr.length;i++){
				var xml=new XMLElement();
				var obj=arr[i];
				xml._nodeName=obj.key;
				xml._nodeValue=obj.val;
				xl.push(xml);
			}
			return xl;
		}

		return XMLElementList;
	})(Array)


	var XMLList=window.XMLList=iflash.xml.XMLElementList;
	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/displayobject.as
	var DisplayObject=/*iflash.display.DisplayObject*/(function(_super){
		function DisplayObject(){
			this._parent_=null;
			this._firstDisplayUnit_=null;
			this._left_=0;
			this._top_=0;
			this._width_=0;
			this._height_=0;
			this._blend_=null;
			this._zIndex_=0;
			this._sort_d_=-1;
			this._mouseX_=NaN;
			this._mouseY_=NaN;
			this.__id__=0;
			this._type2_=0;
			this._mask_=null;
			this._readyCallBack=null;
			this._readyCallParam=null;
			this._needNotice=false;
			DisplayObject._SUPERC_.call(this);
			this._Filters_=Filters.__DEFAULT__;
			this._transform_=Transform.__DEFAULT__;
			this._concatenatedMatrix=new Matrix();
			this._invertedConcatenatedMatrix=new Matrix();
			this._bounds=new Rectangle();
			var _$this=this;
			this._modle_=Browser._createModle_(2,this._id_,this);this._type_|=0x40;
			if(Laya.CONCHVER)this._modle_.vcanvas=function (v){if(v.isNormal()){_$this._modle_.virtualBitmap(null);_$this._modle_.image(v.baseImage);return;}
				v.conchVirtualBitmap=v.conchVirtualBitmap || /*__JS__ */new ConchVirtualBitmap();
				_$this._modle_.conchVirtualBitmap=v.conchVirtualBitmap;
				_$this._modle_.virtualBitmap(v.conchVirtualBitmap);
				if(!v.inMap){ConchRenderVCanvas.maps.push(v);v.inMap=true;}
					}
			this._type_ |=0x400;
			this._propagateFlagsDown_(/*CLASS CONST:iflash.display.DisplayObject.TYPE2_CONCATENATEDMATRIX_CHG*/0x1 | /*CLASS CONST:iflash.display.DisplayObject.TYPE2_BOUNDS_CHG*/0x4);
		}

		CLASS$(DisplayObject,'iflash.display.DisplayObject',true,false,_super);
		var __proto__=DisplayObject.prototype;
		__proto__._lyPaint_=function(context,x,y){
			this._firstDisplayUnit_ && (this._firstDisplayUnit_.paint(context,x+this._left_ ,y+this._top_ ,this,this._width_,this._height_)|| (this._repaint_=0));
		}

		__proto__.conchPaint=function(context,x,y,isfirst){
			(isfirst===void 0)&& (isfirst=false);
			this._paintTransform_(context,x,y,this._width_,this._height_,isfirst);
		}

		__proto__._paintTransform_=function(context,x,y,w,h,isfirst){
			if (this._transform_ !=Transform.__DEFAULT__&&!isfirst){
				var m=this._transform_.matrix;
				if (!m || !m.isTransform()){
					this._paintclip_(context,x,y,w,h);
					return;
				}
				context.save();
				x-=this._left_;
				y-=this._top_;
				if (x !=0 || y !=0){
					context.translate(x,y);
					context.transform(m.a,m.b,m.c,m.d,m.tx,m.ty);
					context.translate(-x,-y);
				}
				else {
					context.transform(m.a,m.b,m.c,m.d,m.tx,m.ty);
				}
				this._paintclip_(context,x,y,w,h);
				context.restore();
			}
			else
			this._paintclip_(context,x,y,w,h);
		}

		__proto__._paintclip_=function(context,x,y,w,h){
			var node=this;
			if ((this._type_ & 0x2)==0x2){
				if (!node._private_._scrollRect_){
					this._paintGraphics_(context,x,y,w,h);
					return;
				};
				var rect=node._private_._scrollRect_;
				context.save();
				context.beginPath();
				context.rect(x,y,rect.width,rect.height);
				context.clip();
				this._paintChild_(context,x,y,w,h);
				context.restore();
			}
			else{
				this._paintGraphics_(context,x,y,w,h);
			}
		}

		__proto__._paintMask_=function(context,x,y,w,h){}
		__proto__._paintBackground_=function(context,x,y,w,h){
			var fillStyle="#ff0000";
			context.save();
			context.fillStyle=fillStyle;
			context.fillRect(x,y,w,h);
			context.restore();
		}

		__proto__._paintGraphics_=function(context,x,y,w,h){
			this._paintChild_(context,x,y,w,h);
		}

		__proto__._paintChild_=LAYAFNVOID/*function(context,x,y,w,h){}*/
		__proto__.lySize=function(w,h){
			if (w !=this._width_ || h !=this._height_){
				this._width_=(w>0)?w:-1;
				this._height_=(h>0)?h:-1;
				this._modle_.size(w,h);
				this._propagateFlagsDown_(/*CLASS CONST:iflash.display.DisplayObject.TYPE2_CONCATENATEDMATRIX_CHG*/0x1 | /*CLASS CONST:iflash.display.DisplayObject.TYPE2_BOUNDS_CHG*/0x4);
			}
		}

		__proto__._lyPos_=function(x,y){
			if (this._left_ !=x || this._top_ !=y){
				this._left_=x;
				this._top_=y;
				this._modle_.pos(x,y);
				this._type_ |=0x20000;
				this._propagateFlagsDown_(/*CLASS CONST:iflash.display.DisplayObject.TYPE2_CONCATENATEDMATRIX_CHG*/0x1 | /*CLASS CONST:iflash.display.DisplayObject.TYPE2_BOUNDS_CHG*/0x4);
			}
		}

		__proto__.localToGlobal=function(localPoint,goalPoint){
			if(!goalPoint)goalPoint=new Point();
			return this._getConcatenatedMatrix().transformPointInPlace(localPoint,goalPoint);
		}

		__proto__.globalToLocal=function(globalPoint,goalPoint){
			if(!goalPoint)goalPoint=new Point();
			return this._getInvertedConcatenatedMatrix().transformPointInPlace(globalPoint,goalPoint);
		}

		__proto__.hitTestPoint=function(globalX,globalY,shapeFlag){
			(shapeFlag===void 0)&& (shapeFlag=false);
			if (!this.visible)return false;
			DisplayObject.HELPER_POINT_ALT=this.root.localToGlobal(DisplayObject.HELPER_POINT.setTo(globalX,globalY),DisplayObject.HELPER_POINT_ALT);
			if (this.getBounds(Stage.stage).containsPoint(DisplayObject.HELPER_POINT_ALT))return true;
			else return false;
		}

		__proto__._hitTest_=function(_x,_y){
			if (!this.visible)return null;
			if (!this._checkHitMask(_x,_y)){return null;}
				if (!this._checkHitScrollRect(_x,_y)){return null;}
			if (this._private_._scrollRect_){_x+=this._private_._scrollRect_.x;_y+=this._private_._scrollRect_.y;}
				if (this._getBounds_(this,DisplayObject.HELPER_RECTANGLET).containsPoint(DisplayObject.HELPER_POINT.setTo(_x,_y))){
				return this;
			}
			else{
				return null;
			}
		}

		__proto__._checkHitMask=function(_x,_y){
			if(this._mask_){
				this._mask_.getBounds(Stage.stage,DisplayObject.HELPER_RECTANGLET);
				this._getInvertedConcatenatedMatrix().transformBounds(DisplayObject.HELPER_RECTANGLET);
				return DisplayObject.HELPER_RECTANGLET.containsPoint(DisplayObject.HELPER_POINT.setTo(_x,_y));
			}
			return true;
		}

		__proto__._checkHitScrollRect=function(_x,_y){
			if (this._private_._scrollRect_ && this._private_._scrollRect_.width!=0 && this._private_._scrollRect_.height!=0){
				var rect=this._private_._scrollRect_.clone ();
				rect.x=0;
				rect.y=0;
				return rect.containsPoint(DisplayObject.HELPER_POINT.setTo(_x,_y));
			}
			return true;
		}

		__proto__.hitTestObject=function(value){
			if (this.visible && this.parent !=null && value !=null && value.parent !=null){
				var currentBounds=this.getBounds(Stage.stage);
				var targetBounds=value.getBounds(Stage.stage);
				return currentBounds.intersects(targetBounds);
			}
			return false;
		}

		__proto__.getRect=function(value){
			return this.getBounds(value);
		}

		__proto__._getBounds_=function(targetSpace,resultRect){
			if(!resultRect)
				resultRect=DisplayObject.HELPER_RECTANGLET;
			DisplayObject.HELPER_POINT.identity();
			return resultRect.setTo(0,0,this._width_,this._height_);
		}

		__proto__.getBounds=function(targetSpace,resultRect){
			if ((targetSpace==Stage.stage)&& (this._type2_ & 0x4)==0){
				if(resultRect){
					resultRect.copyFrom(this._bounds);
					return resultRect
				}
				else{return this._bounds};
			};
			if (resultRect==null)resultRect=new Rectangle();
			this._getBounds_(targetSpace,resultRect);
			if(targetSpace!=this){
				if (targetSpace==this._parent_){
					DisplayObject.HELPER_MATRIX.copy(this.matrix);
					}else{
					Matrix.mul(DisplayObject.HELPER_MATRIX,targetSpace._getInvertedConcatenatedMatrix(),this._getConcatenatedMatrix());
				}
				DisplayObject.HELPER_MATRIX.transformBounds(resultRect);
			}
			if (targetSpace==Stage.stage){
				this._bounds.copyFrom(resultRect);
				this._type2_ &=~0x4;
			}
			return resultRect;
		}

		__proto__.getTransformMatrix=function(targetSpace,resultMatrix){
			var commonParent;
			var currentObject;
			if (resultMatrix)resultMatrix.identity();
			else resultMatrix=new Matrix();
			if (targetSpace==this){
				return resultMatrix;
			}
			else if (targetSpace==this.parent || (targetSpace==null && this.parent==null)){
				resultMatrix.copy(this.matrix);
				return resultMatrix;
			}
			else if (targetSpace==null || targetSpace==this._root_){
				resultMatrix.copyFrom(this._getConcatenatedMatrix());
				return resultMatrix;
			}
			else if (targetSpace.parent==this){
				targetSpace.getTransformMatrix(this,resultMatrix);
				resultMatrix.invert();
				return resultMatrix;
			}
			Matrix.mul(resultMatrix,targetSpace._getInvertedConcatenatedMatrix(),this._getConcatenatedMatrix());
			return resultMatrix;
		}

		__proto__._getConcatenatedMatrix=function(CalculateInvertedmt){
			(CalculateInvertedmt===void 0)&& (CalculateInvertedmt=true);
			if (this._type2_ & 0x1){
				if(this._parent_){
					this._parent_._getConcatenatedMatrix().preMultiplyInto(this.matrix,this._concatenatedMatrix);
				}
				else {return this.matrix };
				if (CalculateInvertedmt==true){
					this._invertedConcatenatedMatrix=this._concatenatedMatrix.clone();
					this._invertedConcatenatedMatrix.invert();
				}
				this._type2_ &=~0x1;
			}
			return this._concatenatedMatrix;
		}

		__proto__._getInvertedConcatenatedMatrix=function(){
			if ((this._type2_ & 0x1)){
				this._invertedConcatenatedMatrix=this._getConcatenatedMatrix(false).clone();
				this._invertedConcatenatedMatrix.invert();
				this._type2_ &=~0x1;
			}
			return this._invertedConcatenatedMatrix.clone();
		}

		__proto__._propagateFlagsDown_=function(flags){
			this._type2_ |=flags;
		}

		__proto__.__addFrameTimer__=function(fn){
			return Stage.stage._tmctr_.addFrameTimer(fn,this);
		}

		__proto__.__updatamask__=function(){
			this._mask_.getBounds(Stage.stage,DisplayObject.HELPER_RECTANGLET);
			this._getInvertedConcatenatedMatrix().transformBounds(DisplayObject.HELPER_RECTANGLET);
			var rect=DisplayObject.HELPER_RECTANGLET;
			if(rect.x!=this._private_.mask.x||rect.y!=this._private_.mask.y||rect.width!=this._private_.mask.width||rect.height!=this._private_.mask.height)
				this._private_.mask.setRect(rect.x,rect.y,rect.width,rect.height);
		}

		__proto__._lyToBody_=function(){
			this.dispatchEvent(new Event(/*iflash.events.Event.ADDED_TO_STAGE*/"addedToStage"));
		}

		__proto__._dispatchAddedEvent=function(target){
			var event=new Event(/*iflash.events.Event.ADDED*/"added");
			event._lytarget=target;
			event.bubbles=true;
			this.dispatchEvent(event);
		}

		__proto__._lyUnToBody_=function(){
			this.dispatchEvent(new Event(/*iflash.events.Event.REMOVED_FROM_STAGE*/"removedFromStage"));
		}

		__proto__.removeFromBody=function(){
			this._parent_=null;
		}

		__proto__._dispatchRemovedEvent=function(){
			this.dispatchEvent(new Event(/*iflash.events.Event.REMOVED*/"removed",true));
		}

		__proto__.__dispatchEnterFrame__=function(e){
			e._currentTarget_=this;
			e._lytarget=this;
			this.dispatchEvent(e);
		}

		__proto__.lyclone=LAYAFNVOID/*function(){}*/
		__proto__.setReadyForDrawCall=function(_readyCall,param){
			this._readyCallParam=param;
			this._readyCallBack=_readyCall;
			if(this.isReadyForDraw){
				this.readyDrawCallBack();
				}else{
				this.setupReadyNoticeWork();
			}
		}

		__proto__.readyDrawCallBack=function(){
			if(this._readyCallBack!=null){
				this._readyCallBack.apply(this,this._readyCallParam);
				this._readyCallBack=null;
				this._readyCallParam=null;
			}
		}

		__proto__.setupReadyNoticeWork=function(ifSelfNotice){
			(ifSelfNotice===void 0)&& (ifSelfNotice=false);
			if(this.isReadyForDraw)return;
			this._needNotice=ifSelfNotice;
		}

		__proto__.readyWork=function(){
			if(this._readyCallBack!=null){
				this.readyDrawCallBack();
			}
			this.noticeReadyToParent();
		}

		__proto__.noticeReadyToParent=function(){
			if(!this._needNotice)return;
			if(this._parent_){
				this._parent_.oneChildReady();
			}
			this._needNotice=false;
		}

		GETSET$(0,__proto__,'_owidth_',function(){
			return this._width_/this.scaleX;
		});

		GETSET$(0,__proto__,'name',function(){
			return this._private_._name_;
			},function(_name){
			this._private_._name_=_name;
		});

		GETSET$(0,__proto__,'parent',function(){
			return this._parent_;
		});

		GETSET$(0,__proto__,'_oheight_',function(){
			return this._height_/this.scaleY;
		});

		GETSET$(0,__proto__,'y',function(){
			return this._top_;
			},function(value){
			this._lyPos_(this._left_,value);
		});

		GETSET$(0,__proto__,'__onmask__',null,function(fn){
			if(this._private_.onmask)(this._private_.onmask.deleted=true);
			this._private_.onmask=this.__addFrameTimer__(fn);
		});

		GETSET$(0,__proto__,'height',function(){
			return this.matrix.transformBounds(this._getBounds_(this)).height;
			},function(h){
			if(this._height_==h)
				return;
			this.scaleY=1.0;
			var oldH=this.height;
			oldH &&(this.scaleY=h / oldH);
			(this._height_ !=h)&& this.lySize(this._width_,h);
		});

		GETSET$(0,__proto__,'skewX',function(){
			return this._transform_._skew_.x;
			},function(value){
			if (this._transform_==Transform.__DEFAULT__){
				if (value==0)return;
				this._transform_=new Transform()._setNode_(this);
			}
			this._transform_._setSkewX_(value);
		});

		GETSET$(0,__proto__,'width',function(){
			return this.matrix.transformBounds(this._getBounds_(this)).width;
			},function(w){
			if(this._width_==w)
				return;
			this.scaleX=1.0;
			var oldW=this.width;
			oldW &&(this.scaleX=w / oldW);
			(this._width_ !=w)&& this.lySize(w,this._height_);
		});

		GETSET$(0,__proto__,'blendMode',function(){return this._blend_},function(value){
			switch(value){
				case "add":
					value="lighter";
					break ;
				default :
					this._modle_.globalCompositeOperation(1);
					value=null;
					return;
					break ;
				}
			if(this._blend_==value)return;
			this._blend_=value;
			this._modle_.globalCompositeOperation(2);
			((this._type_ & 0x10000)==0)&& (DrawBlend.insertUnit(this),this._type_ |=0x10000);
		});

		GETSET$(0,__proto__,'skewY',function(){
			return this._transform_._skew_.y;
			},function(value){
			if (this._transform_==Transform.__DEFAULT__){
				if (value==0)return;
				this._transform_=new Transform()._setNode_(this);
			}
			this._transform_._setSkewY_(value);
		});

		GETSET$(0,__proto__,'rotation',function(){
			return this._transform_._rotate_;
			},function(value){
			if (this._transform_==Transform.__DEFAULT__){
				if (value==0)return;
				this._transform_=new Transform()._setNode_(this);
			}
			this._transform_._setRotation_(value);
		});

		GETSET$(0,__proto__,'scaleY',function(){
			return this._transform_._scale_.y;
			},function(value){
			if (this._transform_==Transform.__DEFAULT__){
				if (value==1)return;
				this._transform_=new Transform()._setNode_(this);
			}
			this._transform_._setScaleY_(value);
		});

		GETSET$(0,__proto__,'rotationX',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'transform',function(){
			return this._transform_==Transform.__DEFAULT__?(this._transform_=new Transform()._setNode_(this)):this._transform_;
			},function(value){
			(this._transform_=value)._setNode_(this);
		});

		GETSET$(0,__proto__,'rotationY',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'rotationZ',function(){
			return this.rotation;
			},function(value){
			this.rotation=value;
		});

		GETSET$(0,__proto__,'scaleX',function(){
			return this._transform_._scale_.x;
			},function(value){
			if (this._transform_==Transform.__DEFAULT__){
				if (value==1)return;
				this._transform_=new Transform()._setNode_(this);
			}
			this._transform_._setScaleX_(value);
		});

		GETSET$(0,__proto__,'scaleZ',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'matrix',function(){
			return this._transform_!=Transform.__DEFAULT__?this._transform_.matrix:((this._transform_=new Transform())._setNode_(this)).matrix;
			},function(value){
			if (this._transform_==Transform.__DEFAULT__){
				if (!value.isTransform()){
					this._lyPos_(value.tx,value.ty);
					return;
				}
				this._transform_=new Transform()._setNode_(this);
			}
			this._transform_.matrix=value;
		});

		GETSET$(0,__proto__,'visible',function(){
			return (this._type_&0x400)!=0;
			},function(value){
			if(value)
				this._type_|=0x400;
			else
			this._type_ &=~0x400;
			this._modle_.show(value);
		});

		GETSET$(0,__proto__,'x',function(){
			return this._left_;
			},function(value){
			this._lyPos_(value,this._top_);
		});

		GETSET$(0,__proto__,'z',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'alpha',function(){
			return this._Filters_._alpha_;
			},function(value){
			if(this._Filters_._alpha_ !=value){
				this._Filters_ !=Filters.__DEFAULT__?(this._Filters_.alpha(this,value)):(this._Filters_=new Filters).alpha(this,value);
			}
		});

		GETSET$(0,__proto__,'mouseX',function(){
			DisplayObject.HELPER_POINT.setTo(Laya.document.mouseX,Laya.document.mouseY);
			this.globalToLocal(DisplayObject.HELPER_POINT,DisplayObject.HELPER_POINT_ALT);
			return DisplayObject.HELPER_POINT_ALT.x;
		});

		GETSET$(0,__proto__,'mouseY',function(){
			DisplayObject.HELPER_POINT.setTo(Laya.document.mouseX,Laya.document.mouseY);
			this.globalToLocal(DisplayObject.HELPER_POINT,DisplayObject.HELPER_POINT_ALT);
			return DisplayObject.HELPER_POINT_ALT.y;
		});

		GETSET$(0,__proto__,'loaderInfo',function(){
			return LoaderInfo.getLoaderInfo(this.__id__);
		});

		GETSET$(0,__proto__,'_root_',function(){
			var currentObject=this;
			while (currentObject&&currentObject.parent)currentObject=currentObject.parent;
			return currentObject;
		});

		GETSET$(0,__proto__,'root',function(){
			var currentObject=this;
			while (currentObject&&currentObject.parent&&currentObject.parent!=Stage.stage)currentObject=currentObject.parent;
			return currentObject;
		});

		GETSET$(0,__proto__,'stage',function(){
			if(this._root_==Stage.stage)return Stage.stage;
			return null;
		});

		GETSET$(0,__proto__,'scrollRect',function(){
			return this._private_._scrollRect_
			},function(value){
			if(!value){
				this._private_._scrollRect_=null;
				this._modle_.clip(false);
				this._modle_.scroll(0,0);
				return;
			}
			this._private_._scrollRect_=this._private_._scrollRect_|| new Rectangle();
			this._private_._scrollRect_.setTo(value.x,value.y,value.width,value.height);
			((this._type_ & 0x2)==0)&& (DrawClip.insertUnit(this),this._type_ |=0x2);
			if (Laya.CONCHVER){
				this._modle_.clip(true);
				this._modle_.scroll(-value.x,-value.y);
				this._modle_.size(value.width,value.height);
			}
		});

		GETSET$(0,__proto__,'scale9Grid',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'filters',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(param1){}*/);
		GETSET$(0,__proto__,'mask',function(){
			return this._mask_;
			},function(value){
			if(!value){
				if (this._mask_){
					this._mask_.visible=true;this._mask_=null;this._type_ &=~0x8000;
					if (this._private_.mask){
						for (var i=0,n=DisplayObject.ConMasks.length;i < n;i++){
							if (this==DisplayObject.ConMasks[i]){
								DisplayObject.ConMasks.splice(i,1);
								break ;
							}
						}
					}
					this._private_.mask=null;
					this._modle_.mask(null);
				}
				return;
			};
			var _isChild_=false;
			var temp=value.parent;
			while(temp){
				if(this==temp){
					_isChild_=true;
					break ;
				}
				temp=temp.parent;
			}
			this._mask_=value;this._mask_.visible=false;
			if(_isChild_){
				((this._type_ & 0x8000)==0)&& (DrawMaskC.insertUnit(this),this._type_ |=0x8000);
			}
			else{
				((this._type_ & 0x8000)==0)&& (DrawMask.insertUnit(this),this._type_ |=0x8000);
			}
			if (Laya.CONCHVER){
				var mask=new Browser.window._ConchMask();
				mask.setType(1);
				this._modle_.mask(mask);
				if(!this._private_.mask)DisplayObject.ConMasks.push(this);
				this._private_.mask=mask;
			}
		});

		GETSET$(0,__proto__,'_to_sort_d',function(){
			return this._sort_d_=this.zIndex / 100000;
		});

		GETSET$(0,__proto__,'zIndex',function(){
			return this._zIndex_;
			},function(value){
			this._zIndex_=value;
			this._modle_.zIndex(value);
		});

		GETSET$(0,__proto__,'cacheAsBitmap',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'isReadyForDraw',function(){
			return true;
		});

		DisplayObject.sendMask=function(){
			for (var i=0,n=DisplayObject.ConMasks.length;i < n;i++){
				DisplayObject.ConMasks[i].__updatamask__();
			}
		}

		DisplayObject.ConMasks=[];
		DisplayObject.TYPE_IFLASH=0x400000;
		DisplayObject.TYPE2_DRAW_MASK=0;
		DisplayObject.TYPE2_DRAW_TANSFORM=0x1;
		DisplayObject.TYPE2_DRAW_FILTER=0x2;
		DisplayObject.TYPE2_DRAW_BACKGROUND=0x20;
		DisplayObject.TYPE2_DRAW_CLIP=0x100;
		DisplayObject.TYPE2_DRAW_MASKC=0x200;
		DisplayObject.TYPE2_DRAW_CHILDS=0x800;
		DisplayObject.TYPE2DEFAULT=0;
		DisplayObject.TYPE_CLIP=0x2;
		DisplayObject.TYPE_DRAWSHAP=0x4;
		DisplayObject.TYPE_DRAWCHILD=0x8;
		DisplayObject.TYPE_CREATE_FROM_TAG=0x10;
		DisplayObject.TYPE_MOUSE_CHILDREN=0x20;
		DisplayObject.TYPE_MOUSE_ENABLE=0x40;
		DisplayObject.TYPE_USEHANDCURSOR=0x80;
		DisplayObject.TYPE_MOUSE_DBCLICK_ENABLE=0x100;
		DisplayObject.TYPE_IS_RECT_CHANGE=0x200;
		DisplayObject.TYPE_IS_VISIBLE=0x400;
		DisplayObject.TYPE_IS_LOAD=0x800;
		DisplayObject.TYPE_DRAW_BIMAP_DATA=0x1000;
		DisplayObject.TYPE_DRAW_IMAGEELEMENT=0x2000;
		DisplayObject.TYPE_CHILDREN_SORT=0x4000;
		DisplayObject.TYPE_MASK=0x8000;
		DisplayObject.TYPE_BLEND=0x10000;
		DisplayObject.TYPE_MATRIX_CHG=0x20000;
		DisplayObject.TYPE2_CONCATENATEDMATRIX_CHG=0x1;
		DisplayObject.TYPE2_BOUNDS_CHG=0x4;
		DisplayObject.TYPE2_RECT_CHG=0x2;
		STATICATTR$(DisplayObject,
		['HELPER_MATRIX',function(){return this.HELPER_MATRIX=new Matrix();},'HELPER_MATRIX_ALT',function(){return this.HELPER_MATRIX_ALT=new Matrix();},'HELPER_POINT',function(){return this.HELPER_POINT=new Point();},'HELPER_POINT_ALT',function(){return this.HELPER_POINT_ALT=new Point();},'HELPER_RECTANGLET',function(){return this.HELPER_RECTANGLET=new Rectangle();},'HELPER_RECTANGLET_ALT',function(){return this.HELPER_RECTANGLET_ALT=new Rectangle();}
		]);
		return DisplayObject;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/loaderinfo.as
	var LoaderInfo=/*iflash.display.LoaderInfo*/(function(_super){
		function LoaderInfo(){
			this._actionScriptVersion_=1;
			this._sameDomain_=false;
			this._contentType="";
			this._applicationDomain=null;
			this._bytes=null;
			this._bytesLoaded=0;
			this._bytesTotal=0;
			this._childAllowsParent=false;
			this.__content__=null;
			this._frameRate=0;
			this._height=0;
			this._isURLInaccessible=false;
			this._loader=null;
			this._loaderURL=null;
			this._lyurl="";
			this._parameters=null;
			this._parentAllowsChild=false;
			this._swfVersion=0;
			this._width=0;
			this.objInfo=null;
			this._resourceDic_=null;
			this._reDomain_=null;
			this.__id__=0;
			this.__imageUrl__="";
			this.__fileurl="";
			this._nextid_=0;
			this.onload=null;
			this.onerror=null;
			this._uncaughtErrorEvents=null;
			this.temp=[];
			this.config=null;
			this.argData=null;
			this.pr=0
			this.countAsset=0;
			LoaderInfo._SUPERC_.call(this);
			this.fontNamesDic=new Dictionary();
			this.classNameDic=new Dictionary();
			this._resourceDic_=[];this.objInfo=[];
			this._applicationDomain=new ApplicationDomain();
			this._applicationDomain._parentDomain_=ApplicationDomain.currentDomain;
		}

		CLASS$(LoaderInfo,'iflash.display.LoaderInfo',true,false,_super);
		var __proto__=LoaderInfo.prototype;
		__proto__.deleteLoader=function(){
			for(var key in LoaderInfo._loaderInfos_){
				delete LoaderInfo._loaderInfos_[key];
			}
		}

		__proto__.pushSymbolClass=function(_name,tag){
			this._resourceDic_[_name]=tag;
		}

		__proto__.pushResource=function(r,_name){
			this._resourceDic_[_name]=r;
		}

		__proto__.getResource=function(_name){return this._resourceDic_[_name];}
		__proto__.cloneByName=function(_name){
			var dec=this.getResource(_name).data.clone();
			return dec;
		}

		__proto__.getBitmapData=function(_name,rect,rectSmall,format){
			var img=new LyImageElement();
			return img;
		}

		__proto__.onUrlLoaderComplete=function(event){
			var source=event.target.data;
			source.position=0;
			var temp=new ByteArray();
			source.readUTF();
			source.readUTF();
			source.readBytes(temp,0,0);
			this.setByteArray(temp);
			source=null;
			temp=null;
			(event.target).removeEventListener(/*iflash.events.Event.COMPLETE*/"complete",BIND$(this,this.onUrlLoaderComplete));
			(event.target).removeEventListener(/*iflash.events.IOErrorEvent.IO_ERROR*/"ioError",BIND$(this,this.onUrlError));
		}

		__proto__.onUrlError=function(event){
			Log.log(event.toString());
		}

		__proto__.setUrl=function(url){
			this.lyurl=url=Method.formatUrl(url);
			if(this.lyurl.lastIndexOf(".swf")!=-1){
				this.__imageUrl__=this.lyurl.substr(0,this.lyurl.lastIndexOf(".swf"))+"/image/"
				}else{
				this.__imageUrl__=this.lyurl+"/image/";
			}
		}

		__proto__.saveObjInfo=function(characterId,data){
			if(characterId)
			{this.objInfo[characterId]=data;}
		}

		__proto__.getObjInfo=function(characterId){
			if(characterId)
			{return this.objInfo[characterId]
			}else return null;
		}

		__proto__._getEvents_=function(obj){
			this._eventListener_=obj._eventListener_;
		}

		__proto__._comp_=LAYAFNVOID/*function(){}*/
		__proto__.readversion=function(data){
			var version="";
			version+=data.readByte().toString();
			version+=data.readByte().toString();
			version+=data.readByte().toString();
			version+=data.readByte().toString();
			return version;
		}

		__proto__.setByteArray=function(data){
			var version=this.readversion(data);
			if(version>"0001"){
				var obj=data.readObject();
				this.config=obj["assets"];
				this.argData=obj['tagInfo'];
			};
			var runner=new Runnner();
			runner.compile(data,this);
			runner.getSysbomData(this);
			this.complete();
			runner.deleteLoaderInfo()
		}

		__proto__.complete=function(){
			this.putResInDomain();
			Runnner.symbolClass.length=0;
			if(this.argData){
				for(var ip in this.argData){
					for(var k in this.argData[ip]){
						var obj=this.argData[ip][k];
						var objk=this.getResource(ip);
						objk[k]=obj;
					}
				}
			};
			var mainTime=this.getResource("32767");
			mainTime&&mainTime.gotoAndStop(1);
			this.__content__=mainTime;
			if(!this.__fileurl){
				for(var i=0;i<Loader.preSwf.length;i++){
					if((this._lyurl+".swf").lastIndexOf(Loader.preSwf[i])!=-1){
						if(this.temp.length){
							this.checkHandler();
						}
						return;
					}
				}
			}
			if(Loader.preSwf.indexOf(this.__fileurl)!=-1){
				if(this.temp.length){
					this.checkHandler();
					}else{
					iflash.utils.setTimeout(BIND$(this,this.__finish),0.001);
				}
				}else{
				iflash.utils.setTimeout(BIND$(this,this.__finish),0.001);
			}
		}

		__proto__.checkHandler=function(){
			var ly;
			for(var i=0;i<this.temp.length;i++){
				ly=this.temp[i];
				ly.checkImg();
				ly._image_.onload=iflash.method.bind(this,this.onPreComplete);
				ly._image_.onerror=iflash.method.bind(this,this.onPreComplete);
				ly._image_.src=ly.src;
			}
		}

		__proto__.onPreComplete=function(e){
			this.pr++;
			if(this.pr>=this.temp.length){
				iflash.utils.setTimeout(BIND$(this,this.__finish),0.001);
				this.temp.length=0;
			}
		}

		__proto__.__finish=function(){
			if(this.config&&this.config['textureList']&&this.config['textureList'].length){
				this.countAsset=this.config['textureList'].length;
				var ly=Browser.document.createElement("image");
				ly.onload=iflash.method.bind(this,this.onLoadHandler);
				var tUrl=this.__imageUrl__+"a"+this.countAsset+".png";
				ly.src=tUrl;
				TextureManager.getInstance().addTexture(tUrl,ly);
				}else{
				this.onload && this.onload();
			}
		}

		__proto__.onLoadHandler=function(){
			this.countAsset--;
			if(this.countAsset){
				var ly=Browser.document.createElement("image");
				ly.onload=iflash.method.bind(this,this.onLoadHandler);
				var tUrl=this.__imageUrl__+"a"+this.countAsset+".png";
				ly.src=tUrl;
				TextureManager.getInstance().addTexture(tUrl,ly);
				}else{
				this.onload && this.onload();
			}
		}

		__proto__.putResInDomain=function(){
			if(this._reDomain_){
				for(var key in this.applicationDomain._resMapDic_){
					this._reDomain_.addResToMap(key,this.applicationDomain._resMapDic_[key]);
				}
			}
		}

		GETSET$(0,__proto__,'actionScriptVersion',function(){
			return this._actionScriptVersion_;
			},function(value){
			this._actionScriptVersion_=value;
		});

		GETSET$(0,__proto__,'bytesLoaded',function(){
			return this._bytesLoaded;
			},function(value){
			this._bytesLoaded=value;
		});

		GETSET$(0,__proto__,'width',function(){
			return this._width;
			},function(value){
			this._width=value;
		});

		GETSET$(0,__proto__,'applicationDomain',function(){
			if(!this.__id__)return ApplicationDomain.currentDomain;
			return this._applicationDomain;
		});

		GETSET$(0,__proto__,'bytes',function(){
			return this._bytes;
			},function(value){
			this._bytes=value
		});

		GETSET$(0,__proto__,'content',function(){
			return this.__content__;
		});

		GETSET$(0,__proto__,'bytesTotal',function(){
			return this._bytesTotal;
			},function(value){
			this._bytesTotal=value;
		});

		GETSET$(0,__proto__,'childAllowsParent',function(){
			return this._childAllowsParent;
			},function(value){
			this._childAllowsParent=value;
		});

		GETSET$(0,__proto__,'contentType',function(){
			return this._contentType;
		});

		GETSET$(0,__proto__,'frameRate',function(){
			return this._frameRate;
			},function(value){
			this._frameRate=value;
		});

		GETSET$(0,__proto__,'height',function(){
			return this._height;
			},function(value){
			this._height=value;
		});

		GETSET$(0,__proto__,'isURLInaccessible',function(){
			return this._isURLInaccessible;
			},function(value){
			this._isURLInaccessible=value;
		});

		GETSET$(0,__proto__,'loader',function(){
			if(this._loader==null){
				this._loader=new Loader();
			}
			return this._loader;
			},function(value){
			this._loader=value;
		});

		GETSET$(0,__proto__,'sharedEvents',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'loaderURL',function(){
			return this._loaderURL;
			},function(value){
			this._loaderURL=value;
		});

		GETSET$(0,__proto__,'parameters',function(){
			return this._parameters;
			},function(value){
			this._parameters=value;
		});

		GETSET$(0,__proto__,'parentAllowsChild',function(){
			return this._parentAllowsChild;
			},function(value){
			this._parentAllowsChild=value;
		});

		GETSET$(0,__proto__,'sameDomain',function(){
			return this._sameDomain_;
		});

		GETSET$(0,__proto__,'swfVersion',function(){
			return this._swfVersion;
			},function(value){
			this._swfVersion=value;
		});

		GETSET$(0,__proto__,'lyurl',function(){
			return this._lyurl;
			},function(value){
			this._lyurl=value;
		});

		GETSET$(0,__proto__,'url',function(){
			return this.lyurl;
		});

		GETSET$(0,__proto__,'src',function(){
			return this.lyurl;
			},function(url){
			this.lyurl=url=Method.formatUrl(url,Laya.document.baseURI.path);
			if(this.lyurl.lastIndexOf(".swf")!=-1){
				this.__imageUrl__=this.lyurl.substr(0,this.lyurl.lastIndexOf(".swf"))+"/image/"
			};
			var _urlLoad=new URLLoader();
			_urlLoad.dataFormat=/*iflash.net.URLLoaderDataFormat.BINARY*/"binary";
			_urlLoad.addEventListener(/*iflash.events.Event.COMPLETE*/"complete",BIND$(this,this.onUrlLoaderComplete));
			_urlLoad.addEventListener(/*iflash.events.IOErrorEvent.IO_ERROR*/"ioError",BIND$(this,this.onUrlError));
			_urlLoad.load(new URLRequest(url));
		});

		GETSET$(0,__proto__,'uncaughtErrorEvents',function(){
			return this._uncaughtErrorEvents=this._uncaughtErrorEvents|| new UncaughtErrorEvents();
		});

		GETSET$(1,LoaderInfo,'currentLoadInfo',function(){
			if(!LoaderInfo.__currentLoaderInfo__)
				LoaderInfo.__currentLoaderInfo__=new LoaderInfo();
			return LoaderInfo.__currentLoaderInfo__;
		},iflash.events.EventDispatcher._$SET_currentLoadInfo);

		LoaderInfo.getLoaderInfoByDefinition=function(object){
			return object;
		}

		LoaderInfo.create=function(id){
			var li=new LoaderInfo();li.__id__=id;
			li.applicationDomain.__id__=id;
			return LoaderInfo._loaderInfos_[id]=li;
		}

		LoaderInfo.getLoaderInfo=function(id){
			if(id==0)return LoaderInfo.currentLoadInfo;
			return LoaderInfo._loaderInfos_[id];
		}

		LoaderInfo.__currentLoaderInfo__=null
		LoaderInfo._loaderInfos_={};
		LoaderInfo.minibitmapData=null;
		LoaderInfo.TextureSign="a";
		return LoaderInfo;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/nativemenu.as
	var NativeMenu=/*iflash.display.NativeMenu*/(function(_super){
		function NativeMenu(){
			NativeMenu._SUPERC_.call(this);
		}

		CLASS$(NativeMenu,'iflash.display.NativeMenu',true,false,_super);
		return NativeMenu;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/nativemenuitem.as
	var NativeMenuItem=/*iflash.display.NativeMenuItem*/(function(_super){
		function NativeMenuItem(){
			NativeMenuItem._SUPERC_.call(this);
		}

		CLASS$(NativeMenuItem,'iflash.display.NativeMenuItem',true,false,_super);
		var __proto__=NativeMenuItem.prototype;
		GETSET$(0,__proto__,'enabled',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(isSeparator){}*/);
		return NativeMenuItem;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/stage3d.as
	var Stage3D=/*iflash.display.Stage3D*/(function(_super){
		function Stage3D(){
			this.context3D=null;
			this._x=0;
			this._y=0;
			this._visible=true;
			Stage3D._SUPERC_.call(this);
		}

		CLASS$(Stage3D,'iflash.display.Stage3D',true,false,_super);
		var __proto__=Stage3D.prototype;
		__proto__.requestContext3D=function(context3DRenderMode,profile){
			(context3DRenderMode===void 0)&& (context3DRenderMode="auto");
			(profile===void 0)&& (profile="baseline");
			iflash.utils.setTimeout(BIND$(this,this.onCreateContext),1000)
				}
		__proto__.onCreateContext=function(evt){
			this.context3D=new Context3D();
			this.context3D.webglContext=Laya.document.canvas3D.context3D;
			var event=new iflash.events.Event(/*iflash.events.Event.CONTEXT3D_CREATE*/"context3DCreate");
			this.context3D.webglContext.enableErrorChecking=true;
			this.dispatchEvent(event);
		}

		GETSET$(0,__proto__,'visible',function(){
			return this._visible;
			},function(value){
			this._visible=value;
		});

		GETSET$(0,__proto__,'x',function(){
			return this._x;
			},function(value){
			this._x=value;
		});

		GETSET$(0,__proto__,'y',function(){
			return this._y;
			},function(value){
			this._y=value;
		});

		return Stage3D;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/swf/classs/bdbs.as
	var BDBS=/*iflash.display.swf.classs.BDBS*/(function(_super){
		function BDBS(width,height,transparent,fillColor){
			(width===void 0)&& (width=0);
			(height===void 0)&& (height=0);
			(transparent===void 0)&& (transparent=true);
			(fillColor===void 0)&& (fillColor=4.294967295E9);
			var ly=this["__data__"];
			var bitmapdata=ly.miniBitmapData;
			BDBS._SUPERC_.call(this,ly?ly.width:1,ly?ly.height:1,transparent,fillColor);
			if (ly){
				if(!bitmapdata._canvas_)bitmapdata.draw(LoaderInfo.minibitmapData,Matrix.__DEFAULT__,null,null,new Rectangle(0,0,ly.width,ly.height));
				this._canvas_=bitmapdata._canvas_.clone();
				ly._init_();ly._lyToBody_();
				this.width=ly.width;
				this.height=ly.height;
				this._canvas_.size(ly.width,ly.height);
			}
		}

		CLASS$(BDBS,'iflash.display.swf.classs.BDBS',true,false,_super);
		return BDBS;
	})(BitmapData)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/plug/drawbitmapdata.as
	var DrawBitmapData=/*iflash.display.plug.DrawBitmapData*/(function(_super){
		function DrawBitmapData(){
			DrawBitmapData._SUPERC_.call(this);
		}

		CLASS$(DrawBitmapData,'iflash.display.plug.DrawBitmapData',true,false,_super);
		var __proto__=DrawBitmapData.prototype;
		__proto__.clone=function(node){
			return new DrawBitmapData();
		}

		__proto__.paint=function(context,x,y,node,w,h){
			var bitmapdata=node.bitmapData;
			bitmapdata && bitmapdata.paint && bitmapdata.paint.call(bitmapdata,context,x,y,w,h);
			if (this.next)this.next.paint(context,x,y,node,w,h);
		}

		GETSET$(0,__proto__,'place',function(){
			return /*iflash.display.DisplayObject.TYPE_DRAW_BIMAP_DATA*/0x1000;
		});

		GETSET$(0,__proto__,'id',function(){
			return /*iflash.display.DisplayObject.TYPE_DRAW_BIMAP_DATA*/0x1000;
		});

		DrawBitmapData._DEFAULT_=new DrawBitmapData();
		DrawBitmapData._cache_=[];
		return DrawBitmapData;
	})(DisplayUnit)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/plug/drawblend.as
	var DrawBlend=/*iflash.display.plug.DrawBlend*/(function(_super){
		function DrawBlend(){
			DrawBlend._SUPERC_.call(this);
		}

		CLASS$(DrawBlend,'iflash.display.plug.DrawBlend',true,false,_super);
		var __proto__=DrawBlend.prototype;
		__proto__.clone=function(node){
			return new DrawBlend();
		}

		__proto__.paint=function(context,x,y,node,w,h){
			var value=node._blend_;
			if(value){
				context.save();
				context.globalCompositeOperation=value;
				this.next && this.next.paint(context,x,y,node,w,h);
				context.restore();
			}
			else{
				this.next && this.next.paint(context,x,y,node,w,h);
			}
		}

		GETSET$(0,__proto__,'place',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_TANSFORM*/0x1;
		});

		GETSET$(0,__proto__,'id',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_TANSFORM*/0x1;
		});

		DrawBlend.insertUnit=function(node){
			return DisplayUnit._insertUnit_(node,DrawBlend._DEFAULT_);
		}

		DrawBlend._DEFAULT_=new DrawBlend();
		return DrawBlend;
	})(DisplayUnit)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/plug/drawchilds.as
	var DrawChilds=/*iflash.display.plug.DrawChilds*/(function(_super){
		function DrawChilds(node){
			DrawChilds._SUPERC_.call(this);
		}

		CLASS$(DrawChilds,'iflash.display.plug.DrawChilds',true,false,_super);
		var __proto__=DrawChilds.prototype;
		__proto__.clone=function(node){
			return new DrawChilds(node);
		}

		__proto__.paint=function(context,x,y,node,w,h){
			if(node._type_& /*iflash.display.DisplayObject.TYPE_CREATE_FROM_TAG*/0x10){
				node.sortChildsByZIndex();
			};
			var sz=0,i=0;
			var c,childs;
			if ((sz=(childs=node._childs_).length)> 0){
				for (i=0;i < sz;i++){
					if ((c=childs[i])==null || !(c._type_& /*iflash.display.DisplayObject.TYPE_IS_VISIBLE*/0x400)||!c.alpha)continue ;
					node.updateScaleData(i);
					c._lyPaint_(context,x,y);
				}
			}
			this.next && this.next.paint(context,x,y,node,w,h);
		}

		GETSET$(0,__proto__,'place',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_CHILDS*/0x800;
		});

		GETSET$(0,__proto__,'id',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_CHILDS*/0x800;
		});

		DrawChilds.insertUnit=function(node){
			return DisplayUnit._insertUnit_(node,DrawChilds._DEFAULT_);
		}

		DrawChilds._DEFAULT_=new DrawChilds(null);
		return DrawChilds;
	})(DisplayUnit)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/plug/drawclip.as
	var DrawClip=/*iflash.display.plug.DrawClip*/(function(_super){
		function DrawClip(node){
			DrawClip._SUPERC_.call(this);
		}

		CLASS$(DrawClip,'iflash.display.plug.DrawClip',true,false,_super);
		var __proto__=DrawClip.prototype;
		__proto__.clone=function(node){
			return new DrawClip(node);
		}

		__proto__.paint=function(context,x,y,node,w,h){
			if (!node._private_._scrollRect_){
				this.next && this.next.paint(context,x,y,node,w,h);
				return;
			};
			var rect=node._private_._scrollRect_;
			context.save();
			context.beginPath();
			context.rect(x,y,rect.width,rect.height);
			context.clip();
			this.next && this.next.paint(context,x-rect.x,y-rect.y,node,w,h);
			context.restore();
		}

		GETSET$(0,__proto__,'place',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_CLIP*/0x100;
		});

		GETSET$(0,__proto__,'id',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_CLIP*/0x100;
		});

		DrawClip.insertUnit=function(node){
			return DisplayUnit._insertUnit_(node,DrawClip._DEFAULT_);
		}

		DrawClip._DEFAULT_=new DrawClip(null);
		return DrawClip;
	})(DisplayUnit)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/plug/drawgraphics.as
	var DrawGraphics=/*iflash.display.plug.DrawGraphics*/(function(_super){
		function DrawGraphics(){
			DrawGraphics._SUPERC_.call(this);
		}

		CLASS$(DrawGraphics,'iflash.display.plug.DrawGraphics',true,false,_super);
		var __proto__=DrawGraphics.prototype;
		__proto__.clone=function(node){
			var temp=new DrawGraphics();
			return temp;
		}

		__proto__.paint=function(context,x,y,node,w,h){
			var grapics=node["graphics"];
			if(grapics.isReady()){
				grapics._canvas_.paint(context,x,y,node._owidth_,node._oheight_);
			}
			if (this.next)this.next.paint(context,x,y,node,w,h);
		}

		GETSET$(0,__proto__,'place',function(){
			return 0x300;
		});

		GETSET$(0,__proto__,'id',function(){
			return 0x300;
		});

		DrawGraphics.insertUnit=function(node){
			return DisplayUnit._insertUnit_(node,DrawGraphics._DEFAULT_);
		}

		DrawGraphics._DEFAULT_=new DrawGraphics();
		return DrawGraphics;
	})(DisplayUnit)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/plug/drawgridimageelement.as
	var DrawGridImageElement=/*iflash.display.plug.DrawGridImageElement*/(function(_super){
		function DrawGridImageElement(imgelement){
			DrawGridImageElement._SUPERC_.call(this);
		}

		CLASS$(DrawGridImageElement,'iflash.display.plug.DrawGridImageElement',true,false,_super);
		var __proto__=DrawGridImageElement.prototype;
		__proto__.clone=function(node){
			return new DrawImageElement(node);
		}

		__proto__.paint=function(context,x,y,node,w,h){
			var bitmapdata=node.miniBitmapData;
			bitmapdata && bitmapdata.paint && bitmapdata.paint.call(bitmapdata,context,x,y,w,h);
			++Laya.document.drawCount;
			this.next && this.next.paint(context,x,y,node,w,h);
		}

		GETSET$(0,__proto__,'place',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_CHILDS*/0x800;
		});

		GETSET$(0,__proto__,'id',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_CHILDS*/0x800;
		});

		DrawGridImageElement.insertUnit=function(node){
			return DisplayUnit._insertUnit_(node,DrawGridImageElement._DEFAULT_);
		}

		STATICATTR$(DrawGridImageElement,
		['_DEFAULT_',function(){return this._DEFAULT_=new DrawImageElement(null);}
		]);
		return DrawGridImageElement;
	})(DisplayUnit)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/plug/drawimageelement.as
	var DrawImageElement=/*iflash.display.plug.DrawImageElement*/(function(_super){
		function DrawImageElement(imgelement){
			DrawImageElement._SUPERC_.call(this);
		}

		CLASS$(DrawImageElement,'iflash.display.plug.DrawImageElement',true,false,_super);
		var __proto__=DrawImageElement.prototype;
		__proto__.clone=function(node){
			return new DrawImageElement(node);
		}

		__proto__.paint=function(context,x,y,node,w,h){
			w=w<0?0:w;
			h=h<0?0:h;
			var img=node._image_;
			if(node.scale9Data&&node.arrX){
				var arrX=node.arrX;
				var arrY=node.arrY;
				var arrW=node.arrW;
				var arrH=node.arrH;
				var oArrX=node.oArrX;
				var oArrY=node.oArrY;
				var oArrW=node.oArrW;
				var oArrH=node.oArrH;
				for(var i=0;i<3;i++){
					for(var j=0;j<3;j++){
						var u=oArrX[i][j],v=oArrY[i][j],www=oArrW[i][j],hhh=oArrH[i][j],
						xx=arrX[i][j],yy=arrY[i][j],ww=arrW[i][j],hh=arrH[i][j];
						if(www<=0 || hhh<=0 || ww<=0 || hh<=0)continue ;
						if(node.isTexture()){
							var uP=node.assetConfig.x;
							var vP=node.assetConfig.y;
							context.drawImage(node.texture,u+uP,v+vP,www,hhh,xx+x,yy+y,ww,hh);
						}
						else{
							if(img.isReady())context.drawImage(img,u,v,www,hhh,xx+x,yy+y,ww,hh);
						}
					}
				}
			}
			else{
				if(node.isTexture()){
					var tConfig=node.assetConfig;
					context.drawImage(node.texture,tConfig.x,tConfig.y,tConfig.width,tConfig.height,x,y,w,h);
				}
				else
				(img.isReady())&&context.drawImage(img,x,y,w,h);
			}
			++Laya.document.drawCount;
			this.next && this.next.paint(context,x,y,node,w,h);
		}

		GETSET$(0,__proto__,'place',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_CHILDS*/0x800;
		});

		GETSET$(0,__proto__,'id',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_CHILDS*/0x800;
		});

		DrawImageElement.insertUnit=function(node){
			return DisplayUnit._insertUnit_(node,DrawImageElement._DEFAULT_);
		}

		DrawImageElement._DEFAULT_=new DrawImageElement(null);
		return DrawImageElement;
	})(DisplayUnit)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/plug/drawmask.as
	var DrawMask=/*iflash.display.plug.DrawMask*/(function(_super){
		function DrawMask(node){
			DrawMask._SUPERC_.call(this);
		}

		CLASS$(DrawMask,'iflash.display.plug.DrawMask',true,false,_super);
		var __proto__=DrawMask.prototype;
		__proto__.clone=function(node){
			return new DrawMask(node);
		}

		__proto__.paint=function(context,x,y,node,w,h){
			if (!node.parent||!node._mask_){
				this.next && this.next.paint(context,x,y,node,w,h);
				return;
			};
			var m=node._mask_;
			m.getBounds(Stage.stage,DrawMask.HELPER_RECTANGLET);
			node._getInvertedConcatenatedMatrix().transformBounds(DrawMask.HELPER_RECTANGLET);
			context.save();
			context.beginPath();
			context.rect(x+DrawMask.HELPER_RECTANGLET.x,y+DrawMask.HELPER_RECTANGLET.y,DrawMask.HELPER_RECTANGLET.width,DrawMask.HELPER_RECTANGLET.height);
			context.clip();
			this.next && this.next.paint(context,x,y,node,w,h);
			context.restore();
		}

		GETSET$(0,__proto__,'place',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_MASK*/0;
		});

		GETSET$(0,__proto__,'id',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_MASK*/0;
		});

		DrawMask.insertUnit=function(node){
			return DisplayUnit._insertUnit_(node,DrawMask._DEFAULT_);
		}

		DrawMask._DEFAULT_=new DrawMask(null);
		STATICATTR$(DrawMask,
		['HELPER_RECTANGLET',function(){return this.HELPER_RECTANGLET=new Rectangle();}
		]);
		return DrawMask;
	})(DisplayUnit)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/plug/drawmaskc.as
	var DrawMaskC=/*iflash.display.plug.DrawMaskC*/(function(_super){
		function DrawMaskC(node){
			DrawMaskC._SUPERC_.call(this);
		}

		CLASS$(DrawMaskC,'iflash.display.plug.DrawMaskC',true,false,_super);
		var __proto__=DrawMaskC.prototype;
		__proto__.clone=function(node){
			return new DrawMaskC(node);
		}

		__proto__.paint=function(context,x,y,node,w,h){
			if (!node.parent||!node._mask_){
				this.next && this.next.paint(context,x,y,node,w,h);
				return;
			};
			var m=node._mask_;
			m.getBounds(Stage.stage,DrawMaskC.HELPER_RECTANGLET);
			node._getInvertedConcatenatedMatrix().transformBounds(DrawMaskC.HELPER_RECTANGLET);
			context.save();
			context.beginPath();
			context.rect(x+DrawMaskC.HELPER_RECTANGLET.x,y+DrawMaskC.HELPER_RECTANGLET.y,DrawMaskC.HELPER_RECTANGLET.width,DrawMaskC.HELPER_RECTANGLET.height);
			context.clip();
			this.next && this.next.paint(context,x,y,node,w,h);
			context.restore();
		}

		GETSET$(0,__proto__,'place',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_MASKC*/0x200;
		});

		GETSET$(0,__proto__,'id',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_MASKC*/0x200;
		});

		DrawMaskC.insertUnit=function(node){
			return DisplayUnit._insertUnit_(node,DrawMaskC._DEFAULT_);
		}

		DrawMaskC._DEFAULT_=new DrawMaskC(null);
		STATICATTR$(DrawMaskC,
		['HELPER_RECTANGLET',function(){return this.HELPER_RECTANGLET=new Rectangle();}
		]);
		return DrawMaskC;
	})(DisplayUnit)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/plug/drawshape.as
	var DrawShape=/*iflash.display.plug.DrawShape*/(function(_super){
		function DrawShape(shape){
			DrawShape._SUPERC_.call(this);
		}

		CLASS$(DrawShape,'iflash.display.plug.DrawShape',true,false,_super);
		var __proto__=DrawShape.prototype;
		__proto__.clone=function(node){
			return new DrawShape(node);
		}

		__proto__.paint=function(context,x,y,node,w,h){
			var data=node._image_;
			data&&(data._lyPaint_(context,x,y));
			this.next && this.next.paint(context,x,y,node,w,h);
		}

		GETSET$(0,__proto__,'place',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_CHILDS*/0x800;
		});

		GETSET$(0,__proto__,'id',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_CHILDS*/0x800;
		});

		DrawShape.insertUnit=function(node){
			return DisplayUnit._insertUnit_(node,DrawShape._DEFAULT_);
		}

		DrawShape._DEFAULT_=new DrawShape(null);
		return DrawShape;
	})(DisplayUnit)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/plug/drawtext.as
	var DrawText=/*iflash.display.plug.DrawText*/(function(_super){
		function DrawText(){
			this.line=null;
			DrawText._SUPERC_.call(this);
		}

		CLASS$(DrawText,'iflash.display.plug.DrawText',true,false,_super);
		var __proto__=DrawText.prototype;
		__proto__.clone=function(node){
			return new DrawText();
		}

		__proto__.paint=function(context,x,y,tf,w,h){
			context.save();
			DrawText.drawBG(context,x,y,tf);
			tf.drawCaret && (DrawText.caret.x < 1+tf.viewport[0]+tf.viewport[2])&& this.drawCaret(context,tf,x,y);
			context.beginPath();
			context.rect(
			x+/*iflash.text.TextField.LEFT_PADDING*/2,
			y,
			tf.viewport[2]-/*iflash.text.TextField.LEFT_PADDING*/2-/*iflash.text.TextField.RIGHT_PADDING*/2,
			tf.viewport[3]);
			context.clip();
			DrawText.printText(tf,context,x,y);
			context.closePath();
			context.restore();
		}

		__proto__.drawCaret=function(context,tf,x,y){
			DrawText.caret.count++;
			if (DrawText.caret.count < 25){
				context.strokeStyle=DrawText.caret.color;
				context.lineWidth=1;
				context.beginPath();
				context.moveTo(DrawText.caret.x+x-tf.viewport[0],DrawText.caret.y+y-tf.viewport[1]);
				context.lineTo(DrawText.caret.x+x-tf.viewport[0],DrawText.caret.y+DrawText.caret.height+y-tf.viewport[1]);
				context.stroke();
			}
			else if (DrawText.caret.count > 50)
			DrawText.caret.count=0;
		}

		GETSET$(0,__proto__,'place',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_CHILDS*/0x800;
		});

		GETSET$(0,__proto__,'id',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_CHILDS*/0x800;
		});

		DrawText.insertUnit=function(node){
			return DisplayUnit._insertUnit_(node,DrawText._DEFAULT_);
		}

		DrawText.drawBG=function(context,x,y,tf){
			var w=tf.viewport[2],h=tf.viewport[3];
			if(tf.background){
				context.fillStyle=tf._backgroundColor;
				context.fillRect(x,y,w,h);
			}
			if(tf.border){
				context.strokeStyle=tf._borderColor;
				context.strokeRect(x,y,w,h);
			}
		}

		DrawText.printText=function(tf,context,x,y){
			var numNodes=tf.nodes.length;
			for (var j=0;j < numNodes;j++){
				var node=tf.nodes.getElem(j);
				context.font=node.font;
				context.textBaseline='bottom';
				context.fillStyle=node.fillStyle;
				if (node.letterSpacing){
					var len=node.text.length;
					for (var i=0;i < len;i++){
						tf.strokeColor && DrawText.strokeText(node.text.charAt(i),tf.strokeColor,tf.strokeThickness,context,x+node.lettersX[i],node.y+y);
						context.fillText(
						node.text.charAt(i),
						x+node.lettersX[i]-tf.viewport[0],
						node.y+y-tf.viewport[1]);
					}
				}
				else{
					tf.strokeColor && DrawText.strokeText(node.text,tf.strokeColor,tf.strokeThickness,context,node.x+x,node.y+y);
					context.fillText(
					node.text,
					node.x+x-tf.viewport[0],
					node.y+y-tf.viewport[1]);
				}
				if (node.underlineWidth !=0)
					DrawText.drawUnderline(context,node,x,y-tf.viewport[1]);
			}
		}

		DrawText.strokeText=function(text,strokeColor,strokeThickness,context,x,y){
			context.strokeStyle=strokeColor;
			context.lineWidth=strokeThickness;
			context.lineCap="round";
			context.strokeText(text,x,y);
		}

		DrawText.drawUnderline=function(context,node,x,y){
			context.lineWidth=1;
			context.strokeStyle=node.fillStyle;
			context.beginPath();
			context.moveTo(x+node.x,y+node.y);
			context.lineTo(x+node.underlineWidth+node.x,y+node.y);
			context.closePath();
			context.stroke();
		}

		DrawText.drawBullet=function(context,line,tx){}
		DrawText._DEFAULT_=new DrawText();
		DrawText.caret={};
		return DrawText;
	})(DisplayUnit)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/plug/drawtransform.as
	var DrawTransform=/*iflash.display.plug.DrawTransform*/(function(_super){
		function DrawTransform(node){
			DrawTransform._SUPERC_.call(this);
		}

		CLASS$(DrawTransform,'iflash.display.plug.DrawTransform',true,false,_super);
		var __proto__=DrawTransform.prototype;
		__proto__.clone=function(node){
			return new DrawTransform(node);
		}

		__proto__.paint=function(context,x,y,node,w,h){
			var m=node._transform_.matrix;
			if (!m || !m.isTransform()){
				this.next && this.next.paint(context,x,y,node,w,h);
				return;
			}
			context.save();
			x-=node._left_;
			y-=node._top_;
			if (x !=0 || y !=0){
				context.translate(x,y);
				context.transform(m.a,m.b,m.c,m.d,m.tx,m.ty);
				context.translate(-x,-y);
			}
			else {
				context.transform(m.a,m.b,m.c,m.d,m.tx,m.ty);
			}
			this.next && this.next.paint(context,x,y,node,w,h);
			context.restore();
		}

		GETSET$(0,__proto__,'place',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_TANSFORM*/0x1;
		});

		GETSET$(0,__proto__,'id',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_TANSFORM*/0x1;
		});

		DrawTransform.insertUnit=function(node){
			return DisplayUnit._insertUnit_(node,DrawTransform._DEFAULT_);
		}

		DrawTransform._DEFAULT_=new DrawTransform(null);
		return DrawTransform;
	})(DisplayUnit)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/plug/usefilter.as
	var UseFilter=/*iflash.display.plug.UseFilter*/(function(_super){
		function UseFilter(node){
			UseFilter._SUPERC_.call(this);
		}

		CLASS$(UseFilter,'iflash.display.plug.UseFilter',true,false,_super);
		var __proto__=UseFilter.prototype;
		__proto__.clone=function(node){
			return new UseFilter(node);
		}

		__proto__.paint=function(context,x,y,node,w,h){
			var filter=node._Filters_,preFilter;
			var pre=NaN;
			if ((filter._alpha_ < 0.01 && filter.key==0)|| !this.next)return;
			if (filter._alpha_==1){
				this.next.paint(context,x,y,node,w,h);
				return;
			}
			pre=context.globalAlpha;
			context.globalAlpha=filter._alpha_;
			this.next.paint(context,x,y,node,w,h);
			context.globalAlpha=pre;
		}

		GETSET$(0,__proto__,'place',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_FILTER*/0x2;
		});

		GETSET$(0,__proto__,'id',function(){
			return /*iflash.display.DisplayObject.TYPE2_DRAW_FILTER*/0x2;
		});

		UseFilter.insertUnit=function(node){
			return DisplayUnit._insertUnit_(node,UseFilter._DEFAULT_);
		}

		UseFilter._DEFAULT_=new UseFilter(null);
		return UseFilter;
	})(DisplayUnit)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/filereference.as
	var FileReference=/*iflash.net.FileReference*/(function(_super){
		function FileReference(){
			FileReference._SUPERC_.call(this);
		}

		CLASS$(FileReference,'iflash.net.FileReference',true,false,_super);
		var __proto__=FileReference.prototype;
		__proto__.browse=LAYAFNFALSE/*function(typeFilter){return false}*/
		__proto__.cancel=LAYAFNVOID/*function(){}*/
		__proto__.download=LAYAFNVOID/*function(request,defaultFileName){}*/
		__proto__.load=function(){}
		__proto__.save=LAYAFNVOID/*function(data,defaultFileName){}*/
		__proto__.upload=function(request,uploadDataFieldName,testUpload){
			(uploadDataFieldName===void 0)&& (uploadDataFieldName="Filedata");
			(testUpload===void 0)&& (testUpload=false);
		}

		GETSET$(0,__proto__,'creationDate',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'name',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(0,__proto__,'size',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'creator',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(0,__proto__,'modificationDate',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'data',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'type',LAYAFNSTR/*function(){return ""}*/);
		return FileReference;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filesystem/filestream.as
	var FileStream=/*iflash.filesystem.FileStream*/(function(_super){
		function FileStream(){
			this._endian=null;
			this._objectEncoding=0;
			this._position=NaN;
			this._readAhead=NaN;
			this.urlLoader=null;
			this.fileBytes=null;
			this.file=null;
			this.fileMode=null;
			FileStream._SUPERC_.call(this);
		}

		CLASS$(FileStream,'iflash.filesystem.FileStream',true,false,_super);
		var __proto__=FileStream.prototype;
		__proto__.open=function(file,fileMode){
			this.file=file;
			this.fileMode=fileMode;
			if (fileMode==/*iflash.filesystem.FileMode.READ*/"read"){
				if (file._isApplicationStorageDirectory){
					FileStorage.instance.getFile(file.url);
				}
				else if (file._isApplicationDirectory){
				}
				else{
					this.urlLoader=new URLLoader();
					this.urlLoader.dataFormat=/*iflash.net.URLLoaderDataFormat.BINARY*/"binary";
					this.urlLoader.addEventListener(/*iflash.events.Event.COMPLETE*/"complete",BIND$(this,this.onLoadComplete));
					this.urlLoader.addEventListener(/*iflash.events.IOErrorEvent.IO_ERROR*/"ioError",BIND$(this,this.onIOError));
					this.urlLoader.addEventListener(/*iflash.events.ProgressEvent.PROGRESS*/"progress",BIND$(this,this.onLoadProgress));
					this.urlLoader.load(new URLRequest(file.url));
				}
			}
			else if (fileMode==/*iflash.filesystem.FileMode.WRITE*/"write"){
				if (!file._isApplicationStorageDirectory){
					throw new Error("only local file can be writed!")
				}
				this.fileBytes=FileStorage.instance.getBinaryFile(file.url);
			}
		}

		__proto__.close=function(){
			var tmp=this.fileBytes.position;
			this.fileBytes.position=0;
			FileStorage.instance.fileWrite(this.file.url.replace("app-storage:/",""),this.fileBytes.readMultiByte(tmp,"utf8"));
			this.fileBytes.position=tmp;
		}

		__proto__.openAsync=function(file,fileMode){
			this.file=file;
			this.fileMode=fileMode;
			this.urlLoader=new URLLoader();
			this.urlLoader.dataFormat=/*iflash.net.URLLoaderDataFormat.BINARY*/"binary";
			this.urlLoader.addEventListener(/*iflash.events.Event.COMPLETE*/"complete",BIND$(this,this.onLoadComplete));
			this.urlLoader.addEventListener(/*iflash.events.IOErrorEvent.IO_ERROR*/"ioError",BIND$(this,this.onIOError));
			this.urlLoader.addEventListener(/*iflash.events.ProgressEvent.PROGRESS*/"progress",BIND$(this,this.onLoadProgress));
			this.urlLoader.load(new URLRequest(file.nativePath));
		}

		__proto__.onIOError=function(evt){
			this.dispatchEvent(evt);
		}

		__proto__.onLoadComplete=function(evt){
			if ((this.urlLoader.data instanceof iflash.utils.ByteArray )){
				this.fileBytes=new ByteArray();
				this.fileBytes.writeBytes(this.urlLoader.data,0,this.urlLoader.data.bytesAvailable)
				this.fileBytes.position=0;
			}
			this.dispatchEvent(evt);
		}

		__proto__.onLoadProgress=function(evt){
			this.dispatchEvent(evt);
		}

		__proto__.readBytes=function(bytes,offset,length){
			(offset===void 0)&& (offset=0);
			(length===void 0)&& (length=0);
			if (length > this.fileBytes.bytesAvailable){
				throw new Error("no enough data to be read!")
			}
			return this.fileBytes.readBytes(bytes,0,length);
		}

		__proto__.readUTFBytes=function(length){
			if (length > this.fileBytes.bytesAvailable){
				throw new Error("no enough data to be read!")
			}
			return this.fileBytes.readUTFBytes(length);
		}

		__proto__.writeBytes=function(bytes,offset,length){
			(offset===void 0)&& (offset=0);
			(length===void 0)&& (length=0);
			this.fileBytes.writeBytes(bytes,offset,length);
		}

		__proto__.writeMultiByte=function(value,charSet){
			this.fileBytes.writeMultiByte(value,charSet);
		}

		__proto__.writeUTFBytes=function(value){
			this.fileBytes.writeUTFBytes(value);
		}

		GETSET$(0,__proto__,'bytesAvailable',function(){
			return this.fileBytes ? this.fileBytes.bytesAvailable :0;
		});

		GETSET$(0,__proto__,'readAhead',function(){
			return this._readAhead;
			},function(value){
			this._readAhead=value;
		});

		GETSET$(0,__proto__,'position',function(){
			return this.fileBytes.position;
			},function(value){
			this.fileBytes.position=value;
		});

		GETSET$(0,__proto__,'endian',function(){
			return this._endian;
			},function(value){
			this._endian=value;
		});

		GETSET$(0,__proto__,'objectEncoding',function(){
			return this._objectEncoding;
			},function(value){
			this._objectEncoding=value;
		});

		return FileStream;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/dom/document.as
	var Document2=/*iflash.laya.dom.Document*/(function(_super){
		function Document(){
			this._element_class_map_=[];
			this._text_id_=[];
			this._baseURI_=null;
			this.canvas=null;
			this.canvas3D=null;
			this.styleSheets=[];
			this.activeElement=null;
			this.all=null;
			this.body=null;
			this.mouseX=NaN;
			this.mouseY=NaN;
			this.onkeydown=null;
			this.onkeyup=null;
			this.drawCount=0;
			this.drawObjectCount=0;
			this.adapter=null;
			this._strDebugMsg_="";
			Document._SUPERC_.call(this);
			var _$this=this;
			this.mouseY=this.mouseX=0;
			Laya.document=Laya.window.document=EventDispatcher.document=this;
			if (Laya.CONCHVER > 0){
			}
			this.canvas=Browser._createRootCanvas_();
			if (Laya.ENABLE3D){
				this.enableWebGL();
			}
			this.all=[];
			this.baseURI=new URI(EventDispatcher.window.location.href);
			EventDispatcher.window.lyAddEventListener(/*iflash.events.Event.RESIZE*/"resize",function(__args){
				var args=arguments;
				if (EventDispatcher.document.adapter.screenRotate==90){
					_$this.canvas && _$this.canvas.size(EventDispatcher.window.innerHeight,EventDispatcher.window.innerWidth);
				}
				else{
					_$this.canvas && _$this.canvas.size(EventDispatcher.window.innerWidth,EventDispatcher.window.innerHeight);
				}
			});
		}

		CLASS$(Document,'iflash.laya.dom.Document',true,false,_super,'Document2');
		var __proto__=Document.prototype;
		__proto__.enableWebGL=function(){
			if (this.canvas3D)return this.canvas3D;
			Canvas._bIs3D=true;
			this.canvas3D=Browser._createWebGLCanvas_();
			Canvas._bIs3D=false;
			return this.canvas3D;
		}

		__proto__.render=function(){
			if(!this.canvas.context)
				return;
			if (!this.canvas)return;
			this._repaint_=this.drawCount=this.drawObjectCount=0;
			this.canvas.context.textBaseline="bottom";
			this.canvas.context.clearRect(0,0,this.canvas.width,this.canvas.height);
			this.canvas.context.save();
			if (this.adapter.screenRotate !=0){
				this.canvas.context.translate(EventDispatcher.window.innerHeight,0);
				this.canvas.context.rotate(this.adapter.screenRotate *Math.PI / 180);
			}
			if(Laya.RENDERBYCANVAS){
				this.body._lyPaint_(this.canvas.context,0,0);
			}
			if (EventDispatcher.window.updatecount % 6==0)
				EventDispatcher.window.fps=LAYABOX.parseInt(1000 / EventDispatcher.window.delay[0] *10+"")/ 10;
			this.canvas.context.restore();
			if (Laya.FLASHVER > 1 || !Laya.config.showInfo || Laya.CONCHVER){
				this.canvas.context.restore();
				return;
			};
			var ctx=this.canvas.context;
			ctx.font="normal 100 12px Arial";
			if (EventDispatcher.window.updatecount % 1==0){
				this._strDebugMsg_="FPS:"+EventDispatcher.window.fps+"/"+Browser.frameRate+" draw:"+this.drawObjectCount+"/"+this.drawCount+" "+EventDispatcher.window.updatecount+" "+Browser.window.innerWidth+"/"+Browser.window.innerHeight;
			}
			ctx.fillStyle="#000000";
			ctx.fillText(this._strDebugMsg_,this.body._left_+9,this.body._top_+17);
			ctx.fillStyle="#000000";
			ctx.fillText(this._strDebugMsg_,this.body._left_+11,this.body._top_+19);
			ctx.fillStyle="#FFFF00";
			ctx.fillText(this._strDebugMsg_,this.body._left_+10,this.body._top_+18);
			this.canvas.context.restore();
		}

		__proto__.setOrientationEx=function(type){
			if (((typeof type=='number')&& Math.floor(type)==type)){
				type=type==0?'portrait':'rotator';
			}
			if(this.adapter.autorotate !=type){
				this.adapter.autorotate=type;
				EventDispatcher.window.resizeTo(EventDispatcher.window.innerWidth ,EventDispatcher.window.innerHeight,true);
			}
		}

		__proto__.init=function(){
			this.adapter=new DocumentAdapter();
			if(Laya.CONCHVER==0||Laya.RENDERBYCANVAS)
				(Laya.process !=null)&& (Laya.process.setRootNode(Stage.stage._modle_));
		}

		__proto__.size=function(w,h){
			Stage.stage.width=w;
			Stage.stage.height=h;
			EventDispatcher.window.lyDispatchEvent(/*iflash.events.Event.RESIZE*/"resize");
		}

		__proto__.getNodeRegClass=function(nodeName){
			return this._element_class_map_[nodeName.toLowerCase()];
		}

		__proto__.regTextWithId=function(id,text){
			this._text_id_[id]=text;
		}

		__proto__.getTextById=function(id){
			return this._text_id_[id];
		}

		GETSET$(0,__proto__,'baseURI',function(){
			return this._baseURI_;
			},function(uri){
			this._baseURI_=uri;
		});

		return Document;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/net/httprequest.as
	var HttpRequest=/*iflash.laya.net.HttpRequest*/(function(_super){
		function HttpRequest(){
			this.onload=null;
			this.onerror=null;
			this._req=null;
			this._callBackFunc=null;
			this._responseType_=null;
			HttpRequest._SUPERC_.call(this);
			if (Browser.window.XMLHttpRequest){
				this._req=/*__JS__ */new XMLHttpRequest();
			}
			else if (Browser.window.ActiveXObject){
				this._req=/*__JS__ */new ActiveXObject('Microsoft.XMLHTTP');
			}
		}

		CLASS$(HttpRequest,'iflash.laya.net.HttpRequest',true,false,_super);
		var __proto__=HttpRequest.prototype;
		__proto__.onRequestHandler=function(_req){
			if (_req.readyState !=4){
				return;
			};
			var data=this._responseType_?_req.response:_req.responseText;
			if (_req.status==200 || (_req.can200&&_req.status==0&&data!=null&&data!="")){
				if (this._callBackFunc !=null)
					this._callBackFunc(data);
				if (this.onload !=null)
					this.onload(data);
			}
			else if (_req.status==404){
				if(this.onerror!=null){
					this.onerror(_req.status);
				}
			}
			else{
				if(this.onerror!=null){
					this.onerror(_req.status);
				}
			}
		}

		__proto__.PostData=function(data,requestHeaders){
			if(requestHeaders && requestHeaders.length > 0){
				this._req.setRequestHeader(requestHeaders[0].name,requestHeaders[0].value);
				}else{
				this._req.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
			};
			var temp="";
			if((typeof data=='string')){
				temp=data;
				}else{
				var obj=data;
				if(data&&data.variables){
					obj=data.variables;
				}
				for(var key2 in obj){
					temp+=key2+"="+obj[key2]+"&";
				}
				temp=temp.substring(0,temp.length-1);
			}
			this._req.send(temp);
		}

		__proto__.open=function(url,format,callBackFunc,isAsync,requestType,data,requestHeaders){
			var _$this=this;
			(isAsync===void 0)&& (isAsync=true);
			(requestType===void 0)&& (requestType="get");
			this._callBackFunc=callBackFunc;
			if (this._req==null)return false;
			try{
				this._req.onreadystatechange=function (_req){
					_$this.onRequestHandler(this);
				}
				this._req.onerror=function (_req){
					/*__JS__ */_$this.onerror(404);
				}
				if(requestType=="text"){
					requestType='get';
				};
				var r=this._req.open(requestType,url,isAsync);
				if (!Laya.CONCHVER){
					if (url.indexOf("file:")==0){
						this._req.can200=true;
					}
					else if (url.indexOf("http:")==0){
						this._req.can200=false;
					}
				}
				format && (this._responseType_=this._req.responseType=format);
				if (requestType.toLowerCase()=='get'){
					this._req.send();
				}
				else if (requestType.toLowerCase()=='post'){
					if(Laya.CONCHVER){
						if(data && data["_byteView_"]){
							this._req.send(data._byteView_.buffer.slice(0,data._length));
						}
						else{
							this.PostData(data,requestHeaders);
						}
					}
					else{
						if(data && data["_byteView_"]){
							throw ("un support binary post now");
						}
						else{
							this.PostData(data,requestHeaders);
						}
					}
				}
				else {}
			}
			catch(err){
				if(this.onerror!=null){
					this.onerror(-1);
				}
				return false;
			}
			return true;
		}

		return HttpRequest;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/window.as
	var Window3=/*iflash.laya.Window*/(function(_super){
		function Window(){
			this.onScroll=null;
			this.updateTime=NaN;
			this._width=0;
			this._height=0;
			this.event=null;
			this.scale=null;
			this.mouseX=0;
			this.mouseY=0;
			this.left=0;
			this.top=0;
			this.disableMouse=false;
			this.document=null;
			this.location=null;
			this.fps=0;
			this.delay=null;
			this.updatecount=0;
			this.preUpdateTime=0;
			this._no3d_=true;
			this.nowOrientation=null;
			Window._SUPERC_.call(this);
			this.preOrientation=/*iflash.display.StageOrientation.DEFAULT*/"default";
			this.scale=new Point(1,1);
			Laya.window=EventDispatcher.window=this;
			this.location=new Location1();
			this.document=Laya.document=new Document2();
			this.init();
			this.resizeTo(Browser.window.innerWidth,Browser.window.innerHeight);
			this.updatecount=0;
			this.delay=[];
			this.updateTime=this.preUpdateTime=iflash.utils.getTimer();
		}

		CLASS$(Window,'iflash.laya.Window',true,false,_super,'Window3');
		var __proto__=Window.prototype;
		__proto__.init=function(){
			this.document.init();
			this._no3d_=!iflash.utils.getDefinitionByName("iflash.display3D.Context3D");
		}

		__proto__.enterFrame=function(){
			Stage.stage.sendRender();
			this.updateTime=iflash.utils.getTimer();
			this.delay[0]=this.updateTime-this.preUpdateTime;
			this.preUpdateTime=this.updateTime;
			this.lyDispatchEvent(/*iflash.events.Event.ENTER_FRAME*/"enterFrame");
			TimerCtrl.__DEFAULT__._update_(this.updateTime);
			EventManager.mgr.dispatchSystemEvent(this.delay[0]);
			TextField.renderTexts();
			DisplayObject.sendMask();
			Laya.CONCHVER&&ConchRenderVCanvas.INSTANCE.uploadConch();
			this.updatecount++;
		}

		__proto__.resizeTo=function(w,h,forceUpdate){
			(forceUpdate===void 0)&& (forceUpdate=false);
			if(!forceUpdate){
				if ((this.document.adapter._screenRotate_==0 &&this._width==w && this._height==h)|| (this.document.adapter._screenRotate_==90 &&this._height==w && this._width==h))
					return;
			}
			this.document.adapter._screenRotate_=0;
			this._width=w;
			this._height=h;
			this.nowOrientation=/*iflash.display.StageOrientation.DEFAULT*/"default";
			if (Laya.HTMLVER&&this._no3d_){
				if(Stage.stage&&Stage.stage.autoOrients){
					if (this.document.adapter.autorotate=="rotator" && this._width < this._height){
						this.document.adapter._screenRotate_=90;
						this._width=h;
						this._height=w;
						this.nowOrientation=/*iflash.display.StageOrientation.ROTATED_RIGHT*/"rotatedRight";
					}
					else if (this.document.adapter.autorotate=="portrait" && this._width > this._height){
						this.document.adapter._screenRotate_=90;
						this._width=h;
						this._height=w;
						this.nowOrientation=/*iflash.display.StageOrientation.ROTATED_RIGHT*/"rotatedRight";
					}
					else{
						this.document.adapter._screenRotate_=0;
						this._width=w;
						this._height=h;
						this.nowOrientation=/*iflash.display.StageOrientation.DEFAULT*/"default";
					}
					}else{
					if (this.document.adapter.autorotate=="portrait"){
						this.document.adapter._screenRotate_=90;
						this._width=h;
						this._height=w;
						this.nowOrientation=/*iflash.display.StageOrientation.ROTATED_RIGHT*/"rotatedRight";
						}else{
						this.document.adapter._screenRotate_=0;
						this._width=w;
						this._height=h;
						this.nowOrientation=/*iflash.display.StageOrientation.DEFAULT*/"default";
					}
				}
			}
			this.lyDispatchEvent(/*iflash.events.Event.RESIZE*/"resize");
			if(this.nowOrientation!=this.preOrientation){
				Stage.stage.dispatchEvent(new StageOrientationEvent(/*iflash.events.StageOrientationEvent.ORIENTATION_CHANGE*/"orientationChange",true,true,this.preOrientation,this.nowOrientation));
				this.preOrientation=this.nowOrientation;
			}
		}

		GETSET$(0,__proto__,'innerWidth',function(){
			return this._width;
			},function(w){
			this.resizeTo(w,this._height);
		});

		GETSET$(0,__proto__,'fullScreenHeight',function(){
			/*__JS__ */return window.screen.height;
		});

		GETSET$(0,__proto__,'fullScreenWidth',function(){
			/*__JS__ */return window.screen.width;
		});

		GETSET$(0,__proto__,'innerHeight',function(){
			return this._height;
			},function(h){
			this.resizeTo(this._width,h);
		});

		return Window;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/media/audioelement.as
	var AudioElement=/*iflash.media.AudioElement*/(function(_super){
		function AudioElement(){
			this._soundNode_=null;
			this._paramex_=0;
			this._enddel_=true;
			this._sound_type_=0;
			this._url_=null;
			this._volume_=1;
			this.onload=null;
			this.onerror=null;
			this.loops=0;
			this._currentTime_=0;
			this._onceLoad_=false;
			AudioElement._SUPERC_.call(this);
			AudioElement._activeAudios_.push(this);
		}

		CLASS$(AudioElement,'iflash.media.AudioElement',true,false,_super);
		var __proto__=AudioElement.prototype;
		__proto__.onAddDocument=function(){
			if (this._url_ !=null){
				var d=this._url_;
				this._url_=null;
				this.src=d;
			}
		}

		__proto__.formatUrl=function(url){
			return Method.formatUrl(url,Laya.document.baseURI.path);
		}

		__proto__.isUserEvent=function(param){
			if(!param)return false;
			if(((typeof param=='object'))&&param.hasOwnProperty("type")){
				var tType=param["type"];
				return !!tType && ((tType.indexOf("mouse")>=0)||(tType.indexOf("touch")>=0));
			}
			return false;
		}

		__proto__.isUserAction=function(){
			var caller;
			caller=this.isUserAction;
			var triggerByUser=false;
			var limit=100;
			while(caller&&!triggerByUser){
				var arr;
				arr=caller.arguments;
				var callee=caller.arguments.callee;
				if(callee){
				};
				var i=0;
				var len=0;
				len=arr.length;
				for(i=0;i<len;i++){
					if(this.isUserEvent(arr[i])){
						triggerByUser=true;
						break ;
					}
				}
				caller=caller.caller;
				limit--;
				if(limit<0)break ;
			}
			return triggerByUser;
		}

		__proto__.play=function(){
			if (this._soundNode_ !=null){
			}
		}

		__proto__.restart=function(){
			if (this._soundNode_ !=null){
				try{
					if(this._soundNode_.currentTime < 0){
						/*__JS__ */this._soundNode_.currentTime=0;
					}
				}
				catch (e){
					/*__JS__ */this._soundNode_.src=this._url_;
				}
				if(AudioElement.disableAutoDetect|| !AudioElement.isMobile()||AudioElement.saveToPlayDic[this._url_]||this.isUserAction()){
					AudioElement.saveToPlayDic[this._url_]=true;
					this._soundNode_.play();
					}else{
					AudioElement.addToPlayList(this);
				}
			}
		}

		__proto__.pause=function(){
			if (this._soundNode_ !=null){
				/*__JS__ */ this._soundNode_.pause();
			}
		}

		__proto__.muted=function(b){
			if (this._soundNode_ !=null)this._soundNode_.muted=b;
		}

		__proto__.onEnded=function(){
			this.loops--;
			if (this.loops>0){
				this.restart();
			}
			else{
				this.pause();
				AudioElement._pushSoundToCache_(this.src,this._soundNode_);
				this.lyDispatchEvent(/*iflash.events.Event.SOUND_COMPLETE*/"soundComplete");
			}
		}

		__proto__.onTimeUpdate=function(){}
		__proto__._setevent_=function(){
			this._soundNode_.addEventListener("canplaythrough",BIND$(this,this.onloadComplete));
			this._soundNode_.addEventListener("ended",BIND$(this,this.onEnded));
			this._soundNode_.addEventListener("timeupdate",BIND$(this,this.onTimeUpdate));
		}

		__proto__.onloadComplete=function(__args){
			var args=arguments;
			!this._onceLoad_&&this.lyDispatchEvent(/*iflash.events.Event.COMPLETE*/"complete");
			this._onceLoad_=true;
		}

		__proto__.load=function(){
			this._soundNode_.load();
		}

		GETSET$(0,__proto__,'duration',function(){
			return this._soundNode_?this._soundNode_.duration:0;
		});

		GETSET$(0,__proto__,'src',function(){
			return this._url_;
			},function(url){
			if (AudioElement._muted_==true){
				if ((this._paramex_ & 0x8)!=0){
					return;
				}
			}
			if(2>1){
				this._url_=this.formatUrl(url);
				if(AudioElement.audioCache.hasOwnProperty(this._url_)){
					this._soundNode_=AudioElement.audioCache[this._url_];
					}else{
					var audioType=this._url_.substring(this._url_.lastIndexOf(".")+1,this._url_.length);
					if(audioType=="mp3"){
						this._soundNode_=Browser.document.createElement("audio");
					}
					else{
						this._soundNode_=AudioElement._popSoundFromeCache_(this._url_);
						this._soundNode_=this._soundNode_|| Browser.document.createElement("audio");
					}
					Browser.addToBody(this._soundNode_);
					AudioElement.audioCache[this._url_]=this._soundNode_;
				}
				this._setevent_();
				this.muted(AudioElement._muted_);
				this._soundNode_.src=this._url_;
				if (this.autoplay){
					this._soundNode_.play();
				}
				else{
					this._paramex_ |=0x10;
				}
				}else{
				this._url_=url;
			}
		});

		GETSET$(0,__proto__,'autoplay',function(){
			return (this._paramex_ & 0x1)!=0;
			},function(b){
			if (b){
				this._paramex_ |=0x1;
				if (this._soundNode_ !=null && (this._paramex_ & 0x10)!=0){
					this._soundNode_.play();
				}
			}
			else this._paramex_&=~0x1;
		});

		GETSET$(0,__proto__,'loop',function(){
			return (this._paramex_ & 0x2)!=0;
			},function(b){
			if (b){
				this._paramex_ |=0x2;
			}
			else this._paramex_&=~0x2;
			this._soundNode_.loop=b;
		});

		GETSET$(0,__proto__,'volume',function(){
			return this._volume_;
			},function(num){
			/*__JS__ */num==null && (num=0);
			var tmp=Math.max(Math.min(1,num),0);
			num=tmp;
			this._soundNode_ && (this._soundNode_.volume=num);
			this._volume_=num;
		});

		GETSET$(0,__proto__,'position',function(){
			return this._soundNode_&&this._soundNode_.currentTime ? this._soundNode_.currentTime :0;
			},function(value){
			this._currentTime_=value;
			this._soundNode_&&(this._soundNode_.currentTime=value);
		});

		AudioElement.isMobile=function(){
			if(AudioElement._deviceType==-1){
				if(Browser.navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){
					AudioElement._deviceType=1;
					}else{
					AudioElement._deviceType=0;
				}
			}
			return AudioElement._deviceType==1;
		}

		AudioElement.addToPlayList=function(audio){
			AudioElement._toPlayList.push(audio);
			AudioElement.removeEvents();
			AudioElement.addEvents();
		}

		AudioElement.playToPlayLists=function(evt){
			AudioElement.removeEvents();
			if(AudioElement._toPlayList.length>0){
				var i=0,len=AudioElement._toPlayList.length;
				for(i=0;i<len;i++){
					AudioElement._toPlayList[i].restart();
				}
				AudioElement._toPlayList=[];
			}
		}

		AudioElement.addEvents=function(){
			EventManager.stage.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",AudioElement.playToPlayLists);
			EventManager.stage.addEventListener(/*iflash.events.TouchEvent.TOUCH_BEGIN*/"touchBegin",AudioElement.playToPlayLists);
		}

		AudioElement.removeEvents=function(){
			EventManager.stage.removeEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",AudioElement.playToPlayLists);
			EventManager.stage.removeEventListener(/*iflash.events.TouchEvent.TOUCH_BEGIN*/"touchBegin",AudioElement.playToPlayLists);
		}

		AudioElement._pushSoundToCache_=function(src,sound){
			var o=AudioElement._cacheAudios_[src];
			if (o==null){
				o=[];
				AudioElement._cacheAudios_[src]=o;
			}
			sound.pause();
			o.push(sound);
		}

		AudioElement._popSoundFromeCache_=function(src){
			var o=AudioElement._cacheAudios_[src];
			if (o==null || o.length < 1)return null;
			return o.pop();
		}

		AudioElement._muted_=false;
		AudioElement._musicmuted_=false;
		AudioElement._music_=null;
		AudioElement._activeAudios_=[];
		AudioElement._cacheAudios_=[];
		AudioElement._AUTOPLAY_=0x1;
		AudioElement._LOOP_=0x2;
		AudioElement._PRELOAD_=0x4;
		AudioElement._MUSIC_=0x8;
		AudioElement._ISPLAY_=0x10;
		AudioElement.audioCache={};
		AudioElement.disableAutoDetect=false;
		AudioElement._deviceType=-1;
		AudioElement.saveToPlayDic={};
		AudioElement._toPlayList=[];
		return AudioElement;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/media/camera.as
	var Camera=/*iflash.media.Camera*/(function(_super){
		function Camera(){
			this._camera=null;
			Camera._SUPERC_.call(this);
		}

		CLASS$(Camera,'iflash.media.Camera',true,false,_super);
		var __proto__=Camera.prototype;
		__proto__.setCamera=function(camera){
			this._camera=camera;
			return this;
		}

		__proto__.setCursor=function(value){
			this._camera.setCursor(value);
		}

		__proto__.setKeyFrameInterval=function(keyFrameInterval){
			this._camera.setKeyFrameInterval (keyFrameInterval);
		}

		__proto__.setLoopback=function(compress){
			(compress===void 0)&& (compress=false);
			this._camera.setLoopback(compress);
		}

		__proto__.setMode=function(width,height,fps,favorArea){
			(favorArea===void 0)&& (favorArea=true);
			this._camera.setMode(width,height,fps,favorArea);
		}

		__proto__.setMotionLevel=function(motionLevel,timeout){
			(timeout===void 0)&& (timeout=2000);
			this._camera.setMotionLevel(motionLevel,timeout);
		}

		__proto__.setQuality=function(bandwidth,quality){
			this._camera.setQuality(bandwidth,quality);
		}

		GETSET$(0,__proto__,'activityLevel',function(){
			return this._camera.activityLevel;
		});

		GETSET$(0,__proto__,'bandwidth',function(){
			return this._camera.bandwidth;
		});

		GETSET$(0,__proto__,'currentFPS',function(){
			return this._camera.currentFPS;
		});

		GETSET$(0,__proto__,'fps',function(){
			return this._camera.fps;
		});

		GETSET$(0,__proto__,'keyFrameInterval',function(){
			return this._camera.keyFrameInterval;
		});

		GETSET$(0,__proto__,'quality',function(){
			return this._camera.quality;
		});

		GETSET$(0,__proto__,'motionLevel',function(){
			return this._camera.motionLevel;
		});

		GETSET$(0,__proto__,'height',function(){
			return this._camera.height;
		});

		GETSET$(0,__proto__,'index',function(){
			return this._camera.index;
		});

		GETSET$(0,__proto__,'loopback',function(){
			return this._camera.loopback;
		});

		GETSET$(0,__proto__,'motionTimeout',function(){
			return this._camera.motionTimeout;
		});

		GETSET$(0,__proto__,'muted',function(){
			return this._camera.muted;
		});

		GETSET$(0,__proto__,'name',function(){
			return this._camera.name;
		});

		GETSET$(0,__proto__,'width',function(){
			return this._camera.width;
		});

		GETSET$(1,Camera,'isSupported',function(){
			return iflash.media.Camera.isSupported;
		},iflash.events.EventDispatcher._$SET_isSupported);

		GETSET$(1,Camera,'names',function(){
			var result=[];
			var key;
			/*for each*/for(var $each_key in Camera._cameras){
				key=Camera._cameras[$each_key];
				result.push(key);
			}
			return result;
		},iflash.events.EventDispatcher._$SET_names);

		Camera._scanHardware=function(){}
		Camera.getCamera=function(name){
			if (Camera._cameras[name])return Camera._cameras[name];
			var result=new Camera();
			Camera._cameras[name]=result;
			return result.setCamera(iflash.media.Camera.getCamera(name));
		}

		STATICATTR$(Camera,
		['_cameras',function(){return this._cameras=new Dictionary;}
		]);
		return Camera;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/media/microphone.as
	var Microphone=/*iflash.media.Microphone*/(function(_super){
		function Microphone(){
			this._mic=null;
			Microphone._SUPERC_.call(this);
		}

		CLASS$(Microphone,'iflash.media.Microphone',true,false,_super);
		var __proto__=Microphone.prototype;
		__proto__.setMicrophone=function(mic){
			this._mic=mic;
			return this;
		}

		__proto__.setLoopBack=function(state){
			(state===void 0)&& (state=true);
			this._mic.setLoopBack=state;
		}

		__proto__.setSilenceLevel=function(silenceLevel,timeout){
			(timeout===void 0)&& (timeout=-1);
			this._mic.setSilenceLevel(silenceLevel,timeout);
		}

		__proto__.setUseEchoSuppression=function(useEchoSuppression){
			this._mic.setUseEchoSuppression(useEchoSuppression);
		}

		GETSET$(0,__proto__,'activityLevel',function(){
			return this._mic.activityLevel;
		});

		GETSET$(0,__proto__,'enableVAD',function(){
			return this._mic.enableVAD;
			},function(enable){
			this._mic.enableVAD=enable;
		});

		GETSET$(0,__proto__,'name',function(){
			return this._mic.activityLevel;
		});

		GETSET$(0,__proto__,'codec',function(){
			return this._mic.codec;
			},function(codec){
			this._mic.codec=codec;
		});

		GETSET$(0,__proto__,'gain',function(){
			return this._mic.gain;
			},function(gain){
			this._mic.gain=gain;
		});

		GETSET$(0,__proto__,'silenceLevel',function(){
			return this._mic.activityLevel;
		});

		GETSET$(0,__proto__,'encodeQuality',function(){
			return this._mic.encodeQuality;
			},function(quality){
			this._mic.encodeQuality=quality;
		});

		GETSET$(0,__proto__,'framesPerPacket',function(){
			return this._mic.framesPerPacket;
			},function(frames){
			this._mic.framesPerPacket=frames;
		});

		GETSET$(0,__proto__,'index',function(){
			return this._mic.activityLevel;
		});

		GETSET$(0,__proto__,'muted',function(){
			return this._mic.activityLevel;
		});

		GETSET$(0,__proto__,'noiseSuppressionLevel',function(){
			return this._mic.noiseSuppressionLevel;
			},function(level){
			this._mic.noiseSuppressionLevel=level;
		});

		GETSET$(0,__proto__,'rate',function(){
			return this._mic.rate;
			},function(rate){
			this._mic.rate=rate;
		});

		GETSET$(0,__proto__,'silenceTimeout',function(){
			return this._mic.activityLevel;
		});

		GETSET$(0,__proto__,'soundTransform',function(){
			return this._mic.soundTransform;
			},function(sndTransform){
			this._mic.soundTransform=sndTransform;
		});

		GETSET$(0,__proto__,'useEchoSuppression',function(){
			return this._mic.activityLevel;
		});

		GETSET$(1,Microphone,'isSupported',function(){
			return iflash.media.Microphone.isSupported;
		},iflash.events.EventDispatcher._$SET_isSupported);

		GETSET$(1,Microphone,'names',function(){
			var result=[];
			var mic;
			/*for each*/for(var $each_mic in Microphone._mics){
				mic=Microphone._mics[$each_mic];
				result.push(mic.name);
			}
			return result;
		},iflash.events.EventDispatcher._$SET_names);

		Microphone.getMicrophone=function(index){
			(index===void 0)&& (index=-1);
			if (Microphone._mics[index])return Microphone._mics[index];
			var result=new Microphone();
			Microphone._mics[index]=result;
			return result.setMicrophone(iflash.media.Microphone.getMicrophone(index));
		}

		STATICATTR$(Microphone,
		['_mics',function(){return this._mics=new Dictionary;}
		]);
		return Microphone;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/media/sound.as
	var Sound=/*iflash.media.Sound*/(function(_super){
		function Sound(stream,context){
			this._soundChannel_=null;
			this.audio=null;
			Sound._SUPERC_.call(this);
			this.audio=new AudioElement();
			this.audio.addEventListener(/*iflash.events.Event.COMPLETE*/"complete",BIND$(this,this.aodioComplete));
			stream && this.load(stream,context);
		}

		CLASS$(Sound,'iflash.media.Sound',true,false,_super);
		var __proto__=Sound.prototype;
		__proto__.close=function(){
			this.audio&&this.audio.pause();
		}

		__proto__.extract=function(target,length,startPosition){
			(startPosition===void 0)&& (startPosition=-1);
			return 0}
		__proto__.load=function(stream,context){
			this.audio.src=stream.url;
		}

		__proto__.play=function(startTime,loops,sndTransform){
			(startTime===void 0)&& (startTime=0);
			(loops===void 0)&& (loops=0);
			this.audio.loop=false;
			if(loops==/*int.MAX_VALUE*/2147483647){
				this.audio.loop=true;
			}
			else if (loops !=0){
				this.audio.loops=loops;
			}
			if(startTime>this.length){
				startTime=0;
			}
			if(startTime<0)startTime=0;
			this.audio.position=startTime/1000;
			this.audio.restart();
			!this._soundChannel_ && (this._soundChannel_=new SoundChannel());
			this._soundChannel_._sound_=this.audio;
			if(!this.audio.hasEventListener(/*iflash.events.Event.SOUND_COMPLETE*/"soundComplete")){
				this.audio.addEventListener(/*iflash.events.Event.SOUND_COMPLETE*/"soundComplete",BIND$(this,this._soundCompleteH));
			}
			return this._soundChannel_;
		}

		__proto__._soundCompleteH=function(__args){
			var args=arguments;
			this.audio.removeEventListener(/*iflash.events.Event.SOUND_COMPLETE*/"soundComplete",BIND$(this,this._soundCompleteH));
			this._soundChannel_.dispatchEvent(new Event(/*iflash.events.Event.SOUND_COMPLETE*/"soundComplete"));
		}

		__proto__.aodioComplete=function(__args){
			var args=arguments;
			this.audio.removeEventListener(/*iflash.events.Event.COMPLETE*/"complete",BIND$(this,this.aodioComplete));
			this.lyDispatchEvent(/*iflash.events.Event.COMPLETE*/"complete");
		}

		__proto__.loadCompressedDataFromByteArray=function(bytes,length){}
		GETSET$(0,__proto__,'bytesLoaded',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'isURLInaccessible',LAYAFNFALSE/*function(){return false}*/);
		GETSET$(0,__proto__,'bytesTotal',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'isBuffering',LAYAFNFALSE/*function(){return false}*/);
		GETSET$(0,__proto__,'id3',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'length',function(){
			return this.audio.duration*1000;
		});

		GETSET$(0,__proto__,'url',LAYAFNSTR/*function(){return ""}*/);
		return Sound;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/media/soundchannel.as
	var SoundChannel=/*iflash.media.SoundChannel*/(function(_super){
		function SoundChannel(){
			this._sound_=null;
			this._soundTransform_=null;
			SoundChannel._SUPERC_.call(this);
		}

		CLASS$(SoundChannel,'iflash.media.SoundChannel',true,false,_super);
		var __proto__=SoundChannel.prototype;
		__proto__.stop=function(){
			this._sound_ && this._sound_.pause();
		}

		GETSET$(0,__proto__,'leftPeak',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'soundTransform',function(){
			return this._soundTransform_?this._soundTransform_:this._soundTransform_=new SoundTransform();
			},function(sndTransform){
			this._soundTransform_=sndTransform;
			if (!isNaN(this._soundTransform_.volume)){
				if(this._sound_==null)return;
				this._sound_.volume=this._soundTransform_.volume;
			}
			this._soundTransform_._sound_=this._sound_;
		});

		GETSET$(0,__proto__,'position',function(){
			if(this._sound_&&this._sound_.position)return this._sound_.position*1000;
			return 0;
		});

		GETSET$(0,__proto__,'rightPeak',LAYAFN0/*function(){return 0}*/);
		return SoundChannel;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/media/stagewebview.as
	var StageWebView=/*iflash.media.StageWebView*/(function(_super){
		function StageWebView(useNative){
			StageWebView._SUPERC_.call(this);
			(useNative===void 0)&& (useNative=false);
		}

		CLASS$(StageWebView,'iflash.media.StageWebView',true,false,_super);
		var __proto__=StageWebView.prototype;
		__proto__.stop=LAYAFNVOID/*function(){}*/
		__proto__.reload=LAYAFNVOID/*function(){}*/
		__proto__.loadURL=LAYAFNVOID/*function(url){}*/
		__proto__.loadString=function(text,mimeType){
			(mimeType===void 0)&& (mimeType="text/html");
		}

		__proto__.historyForward=LAYAFNVOID/*function(){}*/
		__proto__.historyBack=LAYAFNVOID/*function(){}*/
		__proto__.drawViewPortToBitmapData=LAYAFNVOID/*function(bitmap){}*/
		__proto__.dispose=LAYAFNVOID/*function(){}*/
		__proto__.assignFocus=function(direction){
			(direction===void 0)&& (direction="none");
		}

		GETSET$(0,__proto__,'title',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(0,__proto__,'viewPort',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(rect){}*/);
		GETSET$(0,__proto__,'stage',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(rect){}*/);
		GETSET$(0,__proto__,'location',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(0,__proto__,'isHistoryBackEnabled',LAYAFNFALSE/*function(){return false}*/);
		GETSET$(0,__proto__,'isHistoryForwardEnabled',LAYAFNFALSE/*function(){return false}*/);
		GETSET$(1,StageWebView,'isSupported',LAYAFNFALSE/*function(){return false}*/,iflash.events.EventDispatcher._$SET_isSupported);
		return StageWebView;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/localconnection.as
	var LocalConnection=/*iflash.net.LocalConnection*/(function(_super){
		function LocalConnection(){
			LocalConnection._SUPERC_.call(this);
		}

		CLASS$(LocalConnection,'iflash.net.LocalConnection',true,false,_super);
		var __proto__=LocalConnection.prototype;
		__proto__.allowDomain=function(__rest){}
		__proto__.allowInsecureDomain=function(__rest){}
		__proto__.close=LAYAFNVOID/*function(){}*/
		__proto__.connect=LAYAFNVOID/*function(connectionName){}*/
		__proto__.send=function(connectionName,methodName,__rest){}
		GETSET$(0,__proto__,'client',function(){
			return null;
			},function(client){
		});

		GETSET$(0,__proto__,'domain',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(0,__proto__,'isPerUser',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(newValue){}*/);
		GETSET$(1,LocalConnection,'isSupported',LAYAFNFALSE/*function(){return false}*/,iflash.events.EventDispatcher._$SET_isSupported);
		return LocalConnection;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/netconnection.as
	var NetConnection=/*iflash.net.NetConnection*/(function(_super){
		function NetConnection(){
			this._version=0;
			this._netConnection=null;
			NetConnection._SUPERC_.call(this);
			Log.error("NetConnection no");
			if(this._netConnection==null){
			}
		}

		CLASS$(NetConnection,'iflash.net.NetConnection',true,false,_super);
		var __proto__=NetConnection.prototype;
		__proto__.addHeader=function(operation,mustUnderstand,param){
			(mustUnderstand===void 0)&& (mustUnderstand=false);
			this._netConnection.addHeader(operation,mustUnderstand,param);
		}

		__proto__.call=function(command,responder,__rest){
			var rest=[];for(var i=2,sz=arguments.length;i<sz;i++)rest.push(arguments[i]);
			var args=[command,responder.resp];
			rest && rest.length>0 && (args=args.concat(rest));
			this._netConnection.call.apply(this._netConnection,args);
		}

		__proto__.close=function(){
			this._netConnection.close();
		}

		__proto__.connect=function(command,__rest){
			var rest=[];for(var i=1,sz=arguments.length;i<sz;i++)rest.push(arguments[i]);
			if (command==null){
				Log.error("Error: Can only connect in \"HTTP streaming\" mode");
			}
			this._netConnection.connect(command,rest);
		}

		GETSET$(0,__proto__,'client',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(object){}*/);
		GETSET$(0,__proto__,'maxPeerConnections',function(){
			return 8;
		},LAYAFNVOID/*function(maxPeers){}*/);

		GETSET$(0,__proto__,'connected',LAYAFNTRUE/*function(){return true}*/);
		GETSET$(0,__proto__,'objectEncoding',function(){
			return this._version
			},function(version){
			this._version=version;
		});

		GETSET$(0,__proto__,'connectedProxyType',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(0,__proto__,'farID',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(0,__proto__,'nearID',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(0,__proto__,'nearNonce',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(0,__proto__,'unconnectedPeerStreams',LAYAFNARRAY/*function(){return []}*/);
		GETSET$(0,__proto__,'farNonce',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(0,__proto__,'uri',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(0,__proto__,'protocol',LAYAFNSTR/*function(){return ""}*/);
		GETSET$(0,__proto__,'proxyType',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(ptype){}*/);
		GETSET$(0,__proto__,'usingTLS',LAYAFNFALSE/*function(){return false}*/);
		GETSET$(1,NetConnection,'defaultObjectEncoding',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(version){}*/);
		NetConnection.CONNECT_SUCCESS="connectSuccess";
		return NetConnection;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/netstream.as
	var NetStream=/*iflash.net.NetStream*/(function(_super){
		function NetStream(connection,peerID){
			NetStream._SUPERC_.call(this);
			(peerID===void 0)&& (peerID="connectToFMS");
		}

		CLASS$(NetStream,'iflash.net.NetStream',true,false,_super);
		var __proto__=NetStream.prototype;
		__proto__.close=LAYAFNVOID/*function(){}*/
		__proto__.pause=LAYAFNVOID/*function(){}*/
		__proto__.play=function(__rest){}
		__proto__.seek=LAYAFNVOID/*function(offset){}*/
		GETSET$(0,__proto__,'bufferLength',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'client',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(object){}*/);
		GETSET$(0,__proto__,'bytesLoaded',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'bytesTotal',LAYAFN0/*function(){return 0}*/);
		return NetStream;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/sharedobject.as
	var SharedObject=/*iflash.net.SharedObject*/(function(_super){
		function SharedObject(){
			this.cookie=null;
			SharedObject._SUPERC_.call(this);
		}

		CLASS$(SharedObject,'iflash.net.SharedObject',true,false,_super);
		var __proto__=SharedObject.prototype;
		__proto__.clear=function(){
			this.cookie.clear();
		}

		__proto__.close=LAYAFNVOID/*function(){}*/
		__proto__.flush=function(minDiskSpace){
			(minDiskSpace===void 0)&& (minDiskSpace=0);
			return this.cookie.flush(minDiskSpace);
		}

		__proto__.send=function(__rest){}
		__proto__.setDirty=LAYAFNVOID/*function(propertyName){}*/
		__proto__.setProperty=function(propertyName,value){
			this.cookie.setProperty(propertyName,value);
		}

		__proto__.setCookie=function(value){
			this.cookie=value;
			return this;
		}

		GETSET$(0,__proto__,'client',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(object){}*/);
		GETSET$(0,__proto__,'data',function(){
			return this.cookie.data;
		});

		GETSET$(0,__proto__,'objectEncoding',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(version){}*/);
		GETSET$(0,__proto__,'fps',null,LAYAFNVOID/*function(updatesPerSecond){}*/);
		GETSET$(0,__proto__,'size',function(){
			if(this.data==null)return 0;
			return JSON.stringify(this.data).length;
		});

		GETSET$(1,SharedObject,'defaultObjectEncoding',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(version){}*/);
		SharedObject.deleteAll=LAYAFN0/*function(url){return 0}*/
		SharedObject.getDiskUsage=LAYAFN0/*function(url){return 0}*/
		SharedObject.getLocal=function(name,localPath,secure){
			(secure===void 0)&& (secure=false);
			if (SharedObject._cookies_[name])return SharedObject._cookies_[name];
			var result=new SharedObject();
			SharedObject._cookies_[name]=result;
			return result.setCookie(Cookie.getLocal(name,localPath,secure));
		}

		SharedObject.getRemote=function(name,remotePath,persistence,secure){
			(persistence===void 0)&& (persistence=false);
			(secure===void 0)&& (secure=false);
			return null}
		SharedObject._cookies_=[];
		return SharedObject;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/socket.as
	var Socket=/*iflash.net.Socket*/(function(_super){
		function Socket(host,port){
			this._stamp=NaN;
			this._socket=null;
			this._connected=false;
			this._host=null;
			this._port=0;
			this._addInputPosition=0;
			this._input=null;
			this._output=null;
			this._bytes=null;
			this.timeout=0;
			this.objectEncoding=0;
			this._endian=null;
			(port===void 0)&& (port=0);
			Socket._SUPERC_.call(this);
			this._endian="bigEndian";
			this.timeout=20000;
			this._addInputPosition=0;
			if(port > 0 && port < 65535)
				this.connect(host,port);
		}

		CLASS$(Socket,'iflash.net.Socket',true,false,_super);
		var __proto__=Socket.prototype;
		__proto__.connect=function(host,port){
			if(this._socket !=null)
				this.close();
			var url="ws://"+host+":"+port;
			this._host=host;
			this._port=port;
			this._socket=/*__JS__ */new WebSocket(url);
			this._socket.binaryType="arraybuffer";
			this._stamp=iflash.utils.getTimer();
			this._output=new ByteArray();
			this._output.endian=this.endian;
			this._input=new ByteArray();
			this._input.endian=this.endian;
			this._socket.onopen=iflash.method.bind(this,this.onOpenHandler);
			this._socket.onmessage=iflash.method.bind(this,this.onMessageHandler);
			this._socket.onclose=iflash.method.bind(this,this.onCloseHandler);
			this._socket.onerror=iflash.method.bind(this,this.onErrorHandler);
			this._socket.binaryType="arraybuffer";
		}

		__proto__.cleanSocket=function(){
			try {
				this._socket.close();
			}catch (e){}
			this._socket=null;
		}

		__proto__.close=function(){
			if(this._socket!=null){
				this.cleanSocket();
			}
		}

		__proto__.readBoolean=function(){
			return this._input.readBoolean();
		}

		__proto__.readByte=function(){
			return this._input.readByte();
		}

		__proto__.readDouble=function(){
			return this._input.readDouble();
		}

		__proto__.readFloat=function(){
			return this._input.readFloat();
		}

		__proto__.readInt=function(){
			return this._input.readInt();
		}

		__proto__.readMultiByte=function(length,charSet){
			return this._input.readMultiByte(length,charSet);
		}

		__proto__.readObject=function(){
			return this._input.readObject();
		}

		__proto__.readShort=function(){
			return this._input.readShort();
		}

		__proto__.readUnsignedByte=function(){
			return this._input.readUnsignedByte();
		}

		__proto__.readUnsignedInt=function(){
			return this._input.readUnsignedInt();
		}

		__proto__.readUnsignedShort=function(){
			return this._input.readUnsignedShort();
		}

		__proto__.readUTF=function(){
			return this._input.readUTF();
		}

		__proto__.readUTFBytes=function(length){
			return this._input.readUTFBytes(length);
		}

		__proto__.readBytes=function(bytes,offset,length){
			(offset===void 0)&& (offset=0);
			(length===void 0)&& (length=0);
			/*__JS__ */this._input.readBytes(bytes,offset,length);
		}

		__proto__.writeBoolean=function(value){
			this._output.writeBoolean(value);
		}

		__proto__.writeByte=function(value){
			this._output.writeByte(value);
		}

		__proto__.writeDouble=function(value){
			this._output.writeDouble(value);
		}

		__proto__.writeFloat=function(value){
			this._output.writeFloat(value);
		}

		__proto__.writeInt=function(value){
			this._output.writeInt(value);
		}

		__proto__.writeMultiByte=function(value,charSet){
			(charSet===void 0)&& (charSet="UTF-8");
			this._output.writeMultiByte(value,charSet);
		}

		__proto__.writeShort=function(value){
			this._output.writeShort(value);
		}

		__proto__.writeUTF=function(value){
			this._output.writeUTF(value);
		}

		__proto__.writeUTFBytes=function(value){
			this._output.writeUTFBytes(value);
		}

		__proto__.writeUnsignedInt=function(value){
			this._output.writeUnsignedInt(value);
		}

		__proto__.writeBytes=function(bytes,offset,length){
			(offset===void 0)&& (offset=0);
			(length===void 0)&& (length=0);
			/*__JS__ */this._output.writeBytes(bytes,offset,length);
		}

		__proto__.onOpenHandler=function(__args){
			var args=arguments;
			this._connected=true;
			this.dispatchEvent (new Event(/*iflash.events.Event.CONNECT*/"connect"));
		}

		__proto__.onMessageHandler=function(msg){
			if (this._input.length>=0 && this._input.bytesAvailable<1){
				this._input.clear();
				this._addInputPosition=0;
			};
			var pre=this._input.position;
			!this._addInputPosition && (this._addInputPosition=0);
			this._input.position=this._addInputPosition;
			if(msg && (typeof msg.data=='string'))this._input.writeUTFBytes(msg.data);
			this._input.writeArrayBuffer(msg.data);
			this._addInputPosition=this._input.position;
			this._input.position=pre;
			this.dispatchEvent(new Event(/*iflash.events.ProgressEvent.SOCKET_DATA*/"socketData"));
		}

		__proto__.onflashMessage=function(evt){
			this.dispatchEvent(new ProgressEvent(/*iflash.events.ProgressEvent.SOCKET_DATA*/"socketData"));
		}

		__proto__.onCloseHandler=function(__args){}
		__proto__.onErrorHandler=function(__args){
			var args=arguments;
			this.dispatchEvent (new IOErrorEvent (/*iflash.events.IOErrorEvent.IO_ERROR*/"ioError"));
		}

		__proto__.flush=function(){
			if(this._output && this._output.length > 0){
				try {
					this._socket && this._socket.send(this._output.__getBuffer());
					this._output.endian=this.endian;
					this._output.clear();
				}catch (e){}
			}
		}

		GETSET$(0,__proto__,'connected',function(){
			return this._connected;
		});

		GETSET$(0,__proto__,'endian',function(){
			return this._endian;
			},function(value){
			this._endian=value;
			if(this._input !=null)this._input.endian=value;
			if (this._output !=null)this._output.endian=value;
		});

		GETSET$(0,__proto__,'bytesAvailable',function(){
			return this._input.bytesAvailable;
		});

		GETSET$(0,__proto__,'bytesPending',function(){
			return this._output.length;
		});

		Socket.LITTLE_ENDIAN="littleEndian";
		Socket.BIG_ENDIAN="bigEndian";
		return Socket;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/urlloader.as
	var URLLoader=/*iflash.net.URLLoader*/(function(_super){
		function URLLoader(request){
			this.bytesLoaded=0;
			this.bytesTotal=0;
			this.data=null;
			this.fileData=null;
			this.crossDomain=false;
			this.IsWriteXmlData=true;
			this.file=null;
			this._bitmapData=null;
			URLLoader._SUPERC_.call(this);
			this.dataFormat=/*iflash.net.URLLoaderDataFormat.TEXT*/"text";
			if(request !=null){
				this.load(request);
			}
		}

		CLASS$(URLLoader,'iflash.net.URLLoader',true,false,_super);
		var __proto__=URLLoader.prototype;
		__proto__.close=LAYAFNVOID/*function(){}*/
		__proto__.load=function(request){
			var _$this=this;
			var contentType=Method.formatUrlType(request.url);
			if(this.dataFormat==/*iflash.net.URLLoaderDataFormat.TEXT*/"text"){
				if(contentType=="xml"){
					if(Laya.CONCHVER&& this.IsWriteXmlData){
						/*__JS__ */var domparser=new DOMParser();
						/*__JS__ */domparser.onload=function(xmlData){;
							/*__JS__ */_$this.data=domparser.getResult();;
							/*__JS__ */_$this.dispatchEvent(new Event(Event.COMPLETE));};
						/*__JS__ */domparser.src=Method.formatUrl(request.url);
					}
					else{
						this.file=new FileRead(request.url,{onload:BIND$(this,this._Loader),unOnload:BIND$(this,this._LoaderError)},null);
						this.file.contentType=contentType;
					}
				}
				else if(contentType=="fnt"){
					this.file=new FileRead(request.url,{onload:BIND$(this,this._Loader),unOnload:BIND$(this,this._LoaderError)},null);
					this.file.contentType=contentType;
				}
				else if(request.url.indexOf("?")>-1 && Laya.HTMLVER && this.crossDomain){
					var _this=this;
					var f=function (d){
						var e=new Event(/*iflash.events.Event.COMPLETE*/"complete");
						_this.data=e.lyData=d;
						_this.dispatchEvent(e);
					}
					Ajax.GetJSON(request.url,f);
				}
				else{
					if(request.data !=null){
						if((typeof request.data=='string')){
							if(request.method!="post"){
								if(request.url.indexOf("?")==-1){
									request.url=request.url+"?"+request.data;
									}else{
									request.url=request.url+"&"+request.data;
								}
							}
						}
					}
					this.file=new FileRead(request.url,{onload:BIND$(this,this._Loader),unOnload:BIND$(this,this._LoaderError)},null,request);
					this.file.contentType=contentType;
				}
				}else if(this.dataFormat==/*iflash.net.URLLoaderDataFormat.BINARY*/"binary"){
				if (["jpg","gif","png"].indexOf(contentType)!=-1){
					if (this._bitmapData==null)this._bitmapData=new BitmapData();
					this.data=Browser.document.createElement("image");
					this.data.onload=function (__args){
						var args=arguments;
						if ("tagName" in this){
							}else {
							this.tagName="IMG";
						}
						_$this._bitmapData.setImage(this);
						_$this.dispatchEvent(new Event(/*iflash.events.Event.COMPLETE*/"complete"));
					};
					this.data.onerror=function (){
						_$this.dispatchEvent(new IOErrorEvent(/*iflash.events.IOErrorEvent.IO_ERROR*/"ioError",false,false,"ioError"));
					}
					this.data.src=Method.formatUrl(request.url);
				}
				else{
					this.file=new FileRead(request.url,{onload:BIND$(this,this._Loader),unOnload:BIND$(this,this._LoaderError)},/*iflash.net.URLLoaderDataFormat.BINARY*/"binary");
					this.file.contentType=Method.formatUrlType(request.url);
				}
				}else{
			}
		}

		__proto__._LoaderError=function(fileread){
			this.dispatchEvent(new IOErrorEvent(/*iflash.events.IOErrorEvent.IO_ERROR*/"ioError"));
			this.file=null;
		}

		__proto__._Loader=function(fileread){
			if(fileread.contentType=="swf"){
				var bytes=new ByteArray();
				bytes.writeUTF(fileread.contentType);
				bytes.writeUTF(fileread.url);
				fileread.contentdata.readBytes(bytes,bytes.position);
				bytes.position=0;
				this.data=bytes;
				bytes=null;
				}else{
				this.data=fileread.contentdata;
			}
			this.dispatchEvent(new Event(/*iflash.events.Event.COMPLETE*/"complete"));
			this.file=null;
		}

		GETSET$(0,__proto__,'bitmapdata',function(){
			return this._bitmapData;
		});

		URLLoader.isCatchfile=false;
		return URLLoader;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/net/urlstream.as
	var URLStream=/*iflash.net.URLStream*/(function(_super){
		function URLStream(){
			this._input=null;
			this.fileData=null;
			this.file=null;
			URLStream._SUPERC_.call(this);
			this._input==null && (this._input=new ByteArray());
		}

		CLASS$(URLStream,'iflash.net.URLStream',true,false,_super);
		var __proto__=URLStream.prototype;
		__proto__.close=LAYAFNVOID/*function(){}*/
		__proto__.load=function(request){
			var index=(request.url).lastIndexOf("?");
			var contentType=Method.formatUrlType(request.url);
			this.file=new FileRead(request.url,{onload:BIND$(this,this._Loader),unOnload:BIND$(this,this._LoaderError)},/*iflash.net.URLLoaderDataFormat.BINARY*/"binary",request);
			this.file.contentType=Method.formatUrlType(request.url);
		}

		__proto__._LoaderError=function(fileread){
			this.dispatchEvent(new IOErrorEvent(/*iflash.events.IOErrorEvent.IO_ERROR*/"ioError"));
		}

		__proto__._Loader=function(fileread){
			if(fileread.contentType=="swf"){
				var bytes=new ByteArray();
				bytes.writeUTF(fileread.contentType);
				bytes.writeUTF(fileread.url);
				fileread.contentdata.readBytes(bytes,bytes.position);
				bytes.position=0;
				this._input=bytes;
				bytes=null;
				}else{
				fileread.contentdata.position=0;
				this._input=fileread.contentdata;
			}
			this.dispatchEvent(new Event(/*iflash.events.Event.COMPLETE*/"complete"));
		}

		__proto__.readBoolean=function(){
			return this._input.readBoolean();
		}

		__proto__.readByte=function(){
			return this._input.readByte();
		}

		__proto__.readBytes=function(bytes,offset,length){
			(offset===void 0)&& (offset=0);
			(length===void 0)&& (length=0);
			return this._input.readBytes(bytes);
		}

		__proto__.readDouble=function(){
			return this._input.readDouble();
		}

		__proto__.readFloat=function(){
			return this._input.readFloat();
		}

		__proto__.readInt=function(){
			return this._input.readInt();
		}

		__proto__.readMultiByte=function(length,charSet){
			return this._input.readMultiByte(length,charSet);
		}

		__proto__.readObject=function(){
			return this._input.readObject();
		}

		__proto__.readShort=function(){
			return this._input.readShort();
		}

		__proto__.readUnsignedByte=function(){
			return this._input.readUnsignedByte();
		}

		__proto__.readUnsignedInt=function(){
			return this._input.readUnsignedInt();
		}

		__proto__.readUnsignedShort=function(){
			return this._input.readUnsignedShort();
		}

		__proto__.readUTF=function(){
			return this._input.readUTF();
		}

		__proto__.readUTFBytes=function(length){
			return this._input.readUTFBytes(length);
		}

		GETSET$(0,__proto__,'bytesAvailable',function(){
			if(this._input.bytesAvailable==0){
				this._input.position=0;
			}
			return this._input.bytesAvailable;
		});

		GETSET$(0,__proto__,'connected',LAYAFNFALSE/*function(){return false}*/);
		GETSET$(0,__proto__,'endian',function(){
			return this._input.endian;
			},function(type){
			this._input.endian=type;
		});

		GETSET$(0,__proto__,'objectEncoding',function(){
			return this._input.objectEncoding;
			},function(version){
			this._input.objectEncoding=version;
		});

		return URLStream;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/sensors/accelerometer.as
	var Accelerometer=/*iflash.sensors.Accelerometer*/(function(_super){
		function Accelerometer(){
			this._useCount=0;
			this._interval=30;
			this._curTimestamp=0;
			Accelerometer._SUPERC_.call(this);
		}

		CLASS$(Accelerometer,'iflash.sensors.Accelerometer',true,false,_super);
		var __proto__=Accelerometer.prototype;
		__proto__.setRequestedUpdateInterval=function(interval){
			this._interval=interval;
		}

		__proto__.addEventListener=function(type,listener,useCapture,priority,useWeakReference){
			(useCapture===void 0)&& (useCapture=false);
			(priority===void 0)&& (priority=0);
			(useWeakReference===void 0)&& (useWeakReference=false);
			_super.prototype.addEventListener.call(this,type,listener,useCapture,priority,useWeakReference);
			if(this._useCount==0){
				Accelerometer.acceptSysOrientationListener();
			}
			if(Accelerometer._accList.indexOf(this)==-1){
				Accelerometer._accList.push(this);
				this._useCount++;
			}
		}

		__proto__.removeEventListener=function(type,listener,useCapture){
			(useCapture===void 0)&& (useCapture=false);
			_super.prototype.removeEventListener.call(this,type,listener,useCapture);
			var index=Accelerometer._accList.indexOf(this);
			if(index!=-1){
				Accelerometer._accList.splice(index,1);
				this._useCount--;
			}
			if(this._useCount==0){
				Accelerometer.removeSysOrientationListener();
			}
		}

		__proto__.dispatchAccEvent=function(e){
			if(e.timestamp-this._curTimestamp>this._interval){
				this.dispatchEvent(e);
				this._curTimestamp=e.timestamp;
			}
		}

		GETSET$(0,__proto__,'muted',function(){
			return false;
		});

		GETSET$(1,Accelerometer,'isSupported',function(){
			if(Browser.window.DeviceMotionEvent)
				return true;
			return false;
		},iflash.events.EventDispatcher._$SET_isSupported);

		Accelerometer.orientationListener=function(e){
			var e=AccelerometerEvent.copySysEvent(e);
			var ar;
			/*for each*/for(var $each_ar in Accelerometer._accList){
				ar=Accelerometer._accList[$each_ar];
				ar.dispatchAccEvent(e);
			}
		}

		Accelerometer.acceptSysOrientationListener=function(){
			Browser.window.addEventListener('devicemotion',Accelerometer.orientationListener,false);
		}

		Accelerometer.removeSysOrientationListener=function(){
			Browser.window.removeEventListener('devicemotion',Accelerometer.orientationListener,false);
		}

		Accelerometer._accList=[];
		return Accelerometer;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/sensors/geolocation.as
	var Geolocation=/*iflash.sensors.Geolocation*/(function(_super){
		function Geolocation(target){
			this.preTime=0;
			this._muted=true;
			this._isFirstStatu=true;
			this._listenID=NaN;
			this._inteval=10;
			Geolocation._SUPERC_.call(this,target);
		}

		CLASS$(Geolocation,'iflash.sensors.Geolocation',true,false,_super);
		var __proto__=Geolocation.prototype;
		__proto__.positionGet=function(pos){
			this.muteds=false;
			var tTime=DebugTools.getTTime();
			if(tTime-this.preTime>this._inteval){
				var evt;
				evt=GeolocationEvent.getFromH5Event(pos.coords);
				evt.timestamp=pos.timestamp;
				this.dispatchEvent(evt);
				this.preTime=tTime;
				}else{
			}
		}

		__proto__.positionFail=function(error){
			switch(error.code){
				case 0:
					break ;
				case 1:
					break ;
				case 2:
					break ;
				case 3:
					break ;
				}
			this.muteds=true;
		}

		__proto__.beginGetPosition=function(){
			this.stopGetPostion();
			this._listenID=Browser.navigator.geolocation.watchPosition(BIND$(this,this.positionGet),BIND$(this,this.positionFail));
		}

		__proto__.stopGetPostion=function(){
			Browser.navigator.geolocation.clearWatch(this._listenID);
		}

		__proto__.addEventListener=function(type,listener,useCapture,priority,useWeakReference){
			(useCapture===void 0)&& (useCapture=false);
			(priority===void 0)&& (priority=0);
			(useWeakReference===void 0)&& (useWeakReference=false);
			_super.prototype.addEventListener.call(this,type,listener,useCapture,priority,useWeakReference);
			if(type==/*iflash.events.GeolocationEvent.UPDATE*/"update"){
				this.beginGetPosition();
			}
		}

		__proto__.removeEventListener=function(type,listener,useCapture){
			(useCapture===void 0)&& (useCapture=false);
			_super.prototype.removeEventListener.call(this,type,listener,useCapture);
			if(type==/*iflash.events.GeolocationEvent.UPDATE*/"update"){
				this.stopGetPostion();
			}
		}

		__proto__.setRequestedUpdateInterval=function(interval){
			(interval===void 0)&& (interval=500);
			this._inteval=interval;
			return;
		}

		GETSET$(0,__proto__,'muted',function(){
			return this._muted;
		});

		GETSET$(0,__proto__,'muteds',null,function(value){
			if((value!=this._muted)||this._isFirstStatu){
				var evt=new StatusEvent(/*iflash.events.StatusEvent.STATUS*/"status");
				this._muted=value;
				this.dispatchEvent(evt);
				this._isFirstStatu=false;
			}
		});

		GETSET$(1,Geolocation,'isSupported',function(){
			return Browser.navigator.geolocation;
		},iflash.events.EventDispatcher._$SET_isSupported);

		return Geolocation;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filesystem/fileevent.as
	var FileEvent=/*iflash.filesystem.FileEvent*/(function(_super){
		function FileEvent(type,bubbles,cancelable,_d){
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			FileEvent._SUPERC_.call(this,type,bubbles,cancelable,_d);
		}

		CLASS$(FileEvent,'iflash.filesystem.FileEvent',true,false,_super);
		FileEvent.FILE_STATUS="fileStatus";
		return FileEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/system/ime.as
	var IME=/*iflash.system.IME*/(function(_super){
		function IME(target){
			IME._SUPERC_.call(this,target);
		}

		CLASS$(IME,'iflash.system.IME',true,false,_super);
		GETSET$(1,IME,'conversionMode',function(){
			return "";
			},function(mode){
		});

		GETSET$(1,IME,'enabled',function(){
			return false;
			},function(enabled){
		});

		GETSET$(1,IME,'isSupported',function(){
			return false;
		},iflash.events.EventDispatcher._$SET_isSupported);

		return IME;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/stylesheet.as
	var StyleSheet=/*iflash.text.StyleSheet*/(function(_super){
		function StyleSheet(){
			StyleSheet._SUPERC_.call(this);
		}

		CLASS$(StyleSheet,'iflash.text.StyleSheet',true,false,_super);
		var __proto__=StyleSheet.prototype;
		__proto__.clear=LAYAFNVOID/*function(){}*/
		__proto__.getStyle=LAYAFNNULL/*function(styleName){return null}*/
		__proto__.parseCSS=LAYAFNVOID/*function(CSSText){}*/
		__proto__.setStyle=LAYAFNVOID/*function(styleName,styleObject){}*/
		__proto__.transform=LAYAFNNULL/*function(formatObject){return null}*/
		GETSET$(0,__proto__,'styleNames',LAYAFNNULL/*function(){return null}*/);
		return StyleSheet;
	})(EventDispatcher)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filters/bevelfilter.as
	var BevelFilter=/*iflash.filters.BevelFilter*/(function(_super){
		function BevelFilter(distance,angle,highlightColor,highlightAlpha,shadowColor,shadowAlpha,blurX,blurY,strength,quality,type,knockout){
			this.angle=NaN;
			this.blurX=NaN;
			this.blurY=NaN;
			this.distance=NaN;
			this.highlightAlpha=NaN;
			this.highlightColor=0;
			this.knockout=false;
			this.quality=0;
			this.shadowAlpha=NaN;
			this.shadowColor=0;
			this.strength=NaN;
			this.type=null;
			(distance===void 0)&& (distance=0);
			(angle===void 0)&& (angle=0);
			(highlightColor===void 0)&& (highlightColor=0xFF);
			(highlightAlpha===void 0)&& (highlightAlpha=1);
			(shadowColor===void 0)&& (shadowColor=0);
			(shadowAlpha===void 0)&& (shadowAlpha=1);
			(blurX===void 0)&& (blurX=4);
			(blurY===void 0)&& (blurY=4);
			(strength===void 0)&& (strength=1);
			(quality===void 0)&& (quality=1);
			(type===void 0)&& (type="full");
			(knockout===void 0)&& (knockout=false);
			BevelFilter._SUPERC_.call(this,"BevelFilter");
			this.distance=distance;
			this.angle=angle;
			this.highlightColor=highlightColor;
			this.highlightAlpha=highlightAlpha;
			this.shadowColor=shadowColor;
			this.shadowAlpha=shadowAlpha;
			this.blurX=blurX;
			this.blurY=blurY;
			this.strength=strength;
			this.quality=quality;
			this.type=type;
			this.knockout=knockout;
		}

		CLASS$(BevelFilter,'iflash.filters.BevelFilter',true,false,_super);
		return BevelFilter;
	})(BitmapFilter)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filters/blurfilter.as
	var BlurFilter=/*iflash.filters.BlurFilter*/(function(_super){
		function BlurFilter(inBlurX,inBlurY,inQuality){
			this.blurX=NaN;
			this.blurY=NaN;
			this.quality=0;
			this.MAX_BLUR_WIDTH=0;
			this.MAX_BLUR_HEIGHT=0;
			this.__bG=null;
			this.__kernel=null;
			(inBlurX===void 0)&& (inBlurX=4);
			(inBlurY===void 0)&& (inBlurY=4);
			(inQuality===void 0)&& (inQuality=1);
			BlurFilter._SUPERC_ .call(this,"BlurFilter");
			this.blurX=(inBlurX ? inBlurX :4.0);
			this.blurY=(inBlurY ? inBlurY :4.0);
			this.MAX_BLUR_WIDTH=Laya.window.innerWidth;
			this.MAX_BLUR_HEIGHT=Laya.window.innerHeight;
			this.quality=(inQuality ? inQuality :1);
		}

		CLASS$(BlurFilter,'iflash.filters.BlurFilter',true,false,_super);
		var __proto__=BlurFilter.prototype;
		__proto__.applyFilter=function(inBitmapData,inRect,inPoint,inBitmapFilter){}
		__proto__.clone=function(){
			return new BlurFilter (this.blurX,this.blurY,this.quality);
		}

		__proto__.__applyFilter=function(surface){
			var ctx=surface.context;
			this.__kernel=new Array;
			if (surface.width==0 || surface.height==0)return;
			var width=(surface.width > this.MAX_BLUR_WIDTH)? this.MAX_BLUR_WIDTH :surface.width;
			var height=(surface.height > this.MAX_BLUR_HEIGHT)? this.MAX_BLUR_HEIGHT :surface.height;
		}

		__proto__.__buildKernel=function(src,srcW,srcH,dst){
			var i=0,j=0,tot=[],maxW=srcW *4;
			for (var y=0;y < srcH;y++){
				for (var x=0;x < srcW;x++){
					tot[0]=src[j];
					tot[1]=src[j+1];
					tot[2]=src[j+2];
					tot[3]=src[j+3];
					if (x > 0){
						tot[0]+=dst[i-4];
						tot[1]+=dst[i-3];
						tot[2]+=dst[i-2];
						tot[3]+=dst[i-1];
					}
					if (y > 0){
						tot[0]+=dst[i-maxW];
						tot[1]+=dst[i+1-maxW];
						tot[2]+=dst[i+2-maxW];
						tot[3]+=dst[i+3-maxW];
					}
					if (x > 0 && y > 0){
						tot[0]-=dst[i-maxW-4];
						tot[1]-=dst[i-maxW-3];
						tot[2]-=dst[i-maxW-2];
						tot[3]-=dst[i-maxW-1];
					}
					dst[i]=tot[0];
					dst[i+1]=tot[1];
					dst[i+2]=tot[2];
					dst[i+3]=tot[3];
					i+=4;
					j+=4;
				}
			}
		}

		__proto__.__boxBlur=function(dst,srcW,srcH,p,boxW,boxH){
			var mul1=1.0 / ((boxW *2+1)*(boxH *2+1)),i=0,tot=[],h1=0,l1=0,h2=0,l2=0;
			var mul2=1.7 / ((boxW *2+1)*(boxH *2+1));
			for (var y=0;y < srcH;y++){
				for (var x=0;x < srcW;x++){
					if (x+boxW >=srcW)h1=srcW-1;else h1=(x+boxW);
					if (y+boxH >=srcH)l1=srcH-1;else l1=(y+boxH);
					if (x-boxW < 0)h2=0;else h2=(x-boxW);
					if (y-boxH < 0)l2=0;else l2=(y-boxH);
					tot[0]=p[(h1+l1 *srcW)*4]+p[(h2+l2 *srcW)*4]-p[(h2+l1 *srcW)*4]-p[(h1+l2 *srcW)*4];
					tot[1]=p[(h1+l1 *srcW)*4+1]+p[(h2+l2 *srcW)*4+1]-p[(h2+l1 *srcW)*4+1]-p[(h1+l2 *srcW)*4+1];
					tot[2]=p[(h1+l1 *srcW)*4+2]+p[(h2+l2 *srcW)*4+2]-p[(h2+l1 *srcW)*4+2]-p[(h1+l2 *srcW)*4+2];
					tot[3]=p[(h1+l1 *srcW)*4+3]+p[(h2+l2 *srcW)*4+3]-p[(h2+l1 *srcW)*4+3]-p[(h1+l2 *srcW)*4+3];
					dst[i]=Math.floor (Math.abs((255-this.__bG[0])-tot[0] *mul1));
					dst[i+1]=Math.floor (Math.abs((255-this.__bG[1])-tot[1] *mul1));
					dst[i+2]=Math.floor (Math.abs((255-this.__bG[2])-tot[2] *mul1));
					dst[i+3]=Math.floor (tot[3] *mul2);
					i+=4;
				}
			}
		}

		return BlurFilter;
	})(BitmapFilter)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filters/colormatrixfilter.as
	var ColorMatrixFilter=/*iflash.filters.ColorMatrixFilter*/(function(_super){
		function ColorMatrixFilter(matrix){
			this.matrix=null;
			ColorMatrixFilter._SUPERC_.call(this,"ColorMatrixFilter");
			this.matrix=matrix;
		}

		CLASS$(ColorMatrixFilter,'iflash.filters.ColorMatrixFilter',true,false,_super);
		var __proto__=ColorMatrixFilter.prototype;
		__proto__.clone=function(){
			return new ColorMatrixFilter(this.matrix);
		}

		__proto__.__applyFilter=function(src){
			return;
			var ctx=src.context;
			var imagedata=ctx.getImageData(0,0,src.width,src.height);
			var offsetX=0;
			for (var i=0,sz=imagedata.data.length >> 2;i < sz;i++){
				offsetX=i *4;
				var srcR=imagedata.data[offsetX];
				var srcG=imagedata.data[offsetX+1];
				var srcB=imagedata.data[offsetX+2];
				var srcA=imagedata.data[offsetX+3];
				imagedata.data[offsetX]=int((this.matrix[0] *srcR)+(this.matrix[1] *srcG)+(this.matrix[2] *srcB)+(this.matrix[3] *srcA)+this.matrix[4]);
				imagedata.data[offsetX+1]=int((this.matrix[5] *srcR)+(this.matrix[6] *srcG)+(this.matrix[7] *srcB)+(this.matrix[8] *srcA)+this.matrix[9]);
				imagedata.data[offsetX+2]=int((this.matrix[10] *srcR)+(this.matrix[11] *srcG)+(this.matrix[12] *srcB)+(this.matrix[13] *srcA)+this.matrix[14]);
				imagedata.data[offsetX+3]=int((this.matrix[15] *srcR)+(this.matrix[16] *srcG)+(this.matrix[17] *srcB)+(this.matrix[18] *srcA)+this.matrix[19]);
			}
			ctx.putImageData(imagedata,0,0);
		}

		return ColorMatrixFilter;
	})(BitmapFilter)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filters/convolutionfilter.as
	var ConvolutionFilter=/*iflash.filters.ConvolutionFilter*/(function(_super){
		function ConvolutionFilter(matrixX,matrixY,matrix,divisor,bias,preserveAlpha,clamp,color,alpha){
			this.alpha=NaN;
			this.bias=NaN;
			this.clamp=false;
			this.color=0;
			this.divisor=NaN;
			this.matrix=null;
			this.matrixX=NaN;
			this.matrixY=NaN;
			this.preserveAlpha=false;
			(matrixX===void 0)&& (matrixX=0);
			(matrixY===void 0)&& (matrixY=0);
			(divisor===void 0)&& (divisor=1);
			(bias===void 0)&& (bias=0);
			(preserveAlpha===void 0)&& (preserveAlpha=true);
			(clamp===void 0)&& (clamp=true);
			(color===void 0)&& (color=0);
			(alpha===void 0)&& (alpha=0);
			ConvolutionFilter._SUPERC_.call(this,"ConvolutionFilter");
			this.matrixX=matrixX;
			this.matrixY=matrixY;
			this.matrix=matrix;
			this.divisor=divisor;
			this.preserveAlpha=preserveAlpha;
			this.clamp=clamp;
			this.color=color;
			this.alpha=alpha;
		}

		CLASS$(ConvolutionFilter,'iflash.filters.ConvolutionFilter',true,false,_super);
		return ConvolutionFilter;
	})(BitmapFilter)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filters/displacementmapfilter.as
	var DisplacementMapFilter=/*iflash.filters.DisplacementMapFilter*/(function(_super){
		function DisplacementMapFilter(mapBitmap,mapPoint,componentX,componentY,scaleX,scaleY,mode,color,alpha){
			this.alpha=NaN;
			this.color=0;
			this.componentX=0;
			this.componentY=0;
			this.mapBitmap=null;
			this.mapPoint=null;
			this.mode=null;
			this.scaleX=NaN;
			this.scaleY=NaN;
			(componentX===void 0)&& (componentX=0);
			(componentY===void 0)&& (componentY=0);
			(scaleX===void 0)&& (scaleX=0);
			(scaleY===void 0)&& (scaleY=0);
			(color===void 0)&& (color=0);
			(alpha===void 0)&& (alpha=0);
			DisplacementMapFilter._SUPERC_.call(this,"DisplacementMapFilter");
			this.mapBitmap=mapBitmap;
			this.mapPoint=mapPoint;
			this.componentY=componentY;
			this.scaleX=scaleX;
			this.scaleY=scaleY;
			this.mode=mode;
			this.color=color;
			this.alpha=alpha;
		}

		CLASS$(DisplacementMapFilter,'iflash.filters.DisplacementMapFilter',true,false,_super);
		return DisplacementMapFilter;
	})(BitmapFilter)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/mx/core/bytearrayasset.as
	var ByteArrayAsset=/*mx.core.ByteArrayAsset*/(function(_super){
		function ByteArrayAsset(){
			ByteArrayAsset._SUPERC_.call(this);
			console.log("ByteArrayAsset");
		}

		CLASS$(ByteArrayAsset,'mx.core.ByteArrayAsset',true,false,_super);
		return ByteArrayAsset;
	})(ByteArray)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filters/dropshadowfilter.as
	var DropShadowFilter=/*iflash.filters.DropShadowFilter*/(function(_super){
		function DropShadowFilter(in_distance,in_angle,in_color,in_alpha,in_blurX,in_blurY,in_strength,in_quality,in_inner,in_knockout,in_hideObject){
			this.alpha=NaN;
			this.angle=NaN;
			this.blurX=NaN;
			this.blurY=NaN;
			this.color=0;
			this.distance=NaN;
			this.hideObject=false;
			this.inner=false;
			this.knockout=false;
			this.quality=0;
			this.strength=NaN;
			(in_distance===void 0)&& (in_distance=4.0);
			(in_angle===void 0)&& (in_angle=45.0);
			(in_color===void 0)&& (in_color=0);
			(in_alpha===void 0)&& (in_alpha=1.0);
			(in_blurX===void 0)&& (in_blurX=4.0);
			(in_blurY===void 0)&& (in_blurY=4.0);
			(in_strength===void 0)&& (in_strength=1.0);
			(in_quality===void 0)&& (in_quality=1);
			(in_inner===void 0)&& (in_inner=false);
			(in_knockout===void 0)&& (in_knockout=false);
			(in_hideObject===void 0)&& (in_hideObject=false);
			DropShadowFilter._SUPERC_.call(this,"DropShadowFilter");
			this.distance=in_distance;
			this.angle=in_angle;
			this.color=in_color;
			this.alpha=in_alpha;
			this.blurX=in_blurX;
			this.blurY=in_blurX;
			this.strength=in_strength;
			this.quality=in_quality;
			this.inner=in_inner;
			this.knockout=in_knockout;
			this.hideObject=in_hideObject;
		}

		CLASS$(DropShadowFilter,'iflash.filters.DropShadowFilter',true,false,_super);
		var __proto__=DropShadowFilter.prototype;
		__proto__.clone=function(){
			return new DropShadowFilter(this.distance,this.angle,this.color,this.alpha,this.blurX,this.blurY,this.strength,this.quality,this.inner,this.knockout,this.hideObject);
		}

		__proto__.__preApplyFilter=function(dec){
			var distanceX=this.distance *Math.sin(2 *Math.PI *this.angle / 360.0);
			var distanceY=this.distance *Math.cos(2 *Math.PI *this.angle / 360.0);
			var blurRadius=Math.max(this.blurX,this.blurY,this.strength);
			dec.shadowOffsetX=distanceX;
			dec.shadowOffsetY=distanceY;
			dec.shadowBlur=blurRadius;
			dec.shadowColor="rgba("+((this.color >> 16)& 0xFF)+","+((this.color >> 8)& 0xFF)+","+(this.color & 0xFF)+","+this.alpha+")";
		}

		DropShadowFilter.DEGREES_FULL_RADIUS=360.0;
		return DropShadowFilter;
	})(BitmapFilter)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filters/gradientbevelfilter.as
	var GradientBevelFilter=/*iflash.filters.GradientBevelFilter*/(function(_super){
		function GradientBevelFilter(distance,angle,colors,alphas,ratios,blurX,blurY,strength,quality,type,knockout){
			this.alphas=null;
			this.angle=NaN;
			this.blurX=NaN;
			this.blurY=NaN;
			this.colors=null;
			this.distance=NaN;
			this.knockout=false;
			this.quality=0;
			this.ratios=null;
			this.strength=NaN;
			this.type=null;
			(distance===void 0)&& (distance=4);
			(angle===void 0)&& (angle=45);
			(blurX===void 0)&& (blurX=4);
			(blurY===void 0)&& (blurY=4);
			(strength===void 0)&& (strength=1);
			(quality===void 0)&& (quality=1);
			(type===void 0)&& (type="inner");
			(knockout===void 0)&& (knockout=false);
			GradientBevelFilter._SUPERC_.call(this,"GradientBevelFilter");
			this.distance=distance;
			this.angle=angle;
			this.colors=colors;
			this.alphas=alphas;
			this.ratios=ratios;
			this.blurX=blurX;
			this.blurY=blurY;
			this.strength=strength;
			this.quality=quality;
			this.type=type;
			this.knockout=knockout;
		}

		CLASS$(GradientBevelFilter,'iflash.filters.GradientBevelFilter',true,false,_super);
		return GradientBevelFilter;
	})(BitmapFilter)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filters/gradientglowfilter.as
	var GradientGlowFilter=/*iflash.filters.GradientGlowFilter*/(function(_super){
		function GradientGlowFilter(distance,angle,colors,alphas,ratios,blurX,blurY,strength,quality,type,knockout){
			this.alphas=null;
			this.angle=NaN;
			this.blurX=NaN;
			this.blurY=NaN;
			this.colors=null;
			this.distance=NaN;
			this.knockout=false;
			this.quality=0;
			this.ratios=null;
			this.strength=NaN;
			this.type=null;
			(distance===void 0)&& (distance=4);
			(angle===void 0)&& (angle=45);
			(blurX===void 0)&& (blurX=4);
			(blurY===void 0)&& (blurY=4);
			(strength===void 0)&& (strength=1);
			(quality===void 0)&& (quality=1);
			(type===void 0)&& (type="inner");
			(knockout===void 0)&& (knockout=false);
			GradientGlowFilter._SUPERC_.call(this,"GradientGlowFilter");
			this.distance=distance;
			this.colors=colors;
			this.alphas=alphas;
			this.ratios=ratios;
			this.blurX=blurX;
			this.blurY=blurY;
			this.strength=strength;
			this.quality=quality;
			this.type=type;
			this.knockout=knockout;
		}

		CLASS$(GradientGlowFilter,'iflash.filters.GradientGlowFilter',true,false,_super);
		return GradientGlowFilter;
	})(BitmapFilter)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/runner/onecmddatauseid.as
	var OneCmdDataUseId=/*iflash.laya.runner.OneCmdDataUseId*/(function(_super){
		function OneCmdDataUseId(){
			this.id=null;
			OneCmdDataUseId._SUPERC_.call(this);
		}

		CLASS$(OneCmdDataUseId,'iflash.laya.runner.OneCmdDataUseId',true,false,_super);
		var __proto__=OneCmdDataUseId.prototype;
		__proto__.applyTo=function(who,one){
			return this.oneFun._fun_.apply(one.ids[this.id],this.args);
		}

		return OneCmdDataUseId;
	})(OneCmdData)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/engine/graphicelement.as
	var GraphicElement=/*iflash.text.engine.GraphicElement*/(function(_super){
		function GraphicElement(__args){
			GraphicElement._SUPERC_.call(this);
			var args=arguments;return }
		CLASS$(GraphicElement,'iflash.text.engine.GraphicElement',true,false,_super);
		var __proto__=GraphicElement.prototype;
		GETSET$(0,__proto__,'elementHeight',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'elementWidth',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'graphic',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		return GraphicElement;
	})(ContentElement)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/engine/groupelement.as
	var GroupElement=/*iflash.text.engine.GroupElement*/(function(_super){
		function GroupElement(__a){
			GroupElement._SUPERC_.call(this);
		}

		CLASS$(GroupElement,'iflash.text.engine.GroupElement',true,false,_super);
		var __proto__=GroupElement.prototype;
		__proto__.getElementAt=LAYAFNNULL/*function(index){return null}*/
		__proto__.getElementAtCharIndex=LAYAFNNULL/*function(charIndex){return null}*/
		__proto__.getElementIndex=LAYAFN0/*function(element){return 0}*/
		__proto__.groupElements=LAYAFNNULL/*function(beginIndex,endIndex){return null}*/
		__proto__.mergeTextElements=LAYAFNNULL/*function(beginIndex,endIndex){return null}*/
		__proto__.replaceElements=LAYAFNNULL/*function(beginIndex,endIndex,newElements){return null}*/
		__proto__.setElements=LAYAFNVOID/*function(value){}*/
		__proto__.splitTextElement=LAYAFNNULL/*function(elementIndex,splitIndex){return null}*/
		__proto__.ungroupElements=LAYAFNVOID/*function(groupIndex){}*/
		GETSET$(0,__proto__,'elementCount',LAYAFN0/*function(){return 0}*/);
		return GroupElement;
	})(ContentElement)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/engine/textelement.as
	var TextElement=/*iflash.text.engine.TextElement*/(function(_super){
		function TextElement(__a){
			TextElement._SUPERC_.call(this);
		}

		CLASS$(TextElement,'iflash.text.engine.TextElement',true,false,_super);
		var __proto__=TextElement.prototype;
		__proto__.replaceText=LAYAFNVOID/*function(beginIndex,endIndex,newText){}*/
		GETSET$(0,__proto__,'text',_super.prototype._$get_text,LAYAFNVOID/*function(value){}*/);
		return TextElement;
	})(ContentElement)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/engine/spacejustifier.as
	var SpaceJustifier=/*iflash.text.engine.SpaceJustifier*/(function(_super){
		function SpaceJustifier(locale,lineJustification,letterSpacing){
			(locale===void 0)&& (locale="en");
			(lineJustification===void 0)&& (lineJustification="unjustified");
			(letterSpacing===void 0)&& (letterSpacing=false);
			SpaceJustifier._SUPERC_.call(this,locale,lineJustification);
		}

		CLASS$(SpaceJustifier,'iflash.text.engine.SpaceJustifier',true,false,_super);
		var __proto__=SpaceJustifier.prototype;
		__proto__.clone=LAYAFNNULL/*function(){return null}*/
		GETSET$(0,__proto__,'letterSpacing',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'maximumSpacing',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'minimumSpacing',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'optimumSpacing',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		return SpaceJustifier;
	})(TextJustifier)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/avm1movie.as
	var AVM1Movie=/*iflash.display.AVM1Movie*/(function(_super){
		function AVM1Movie(){
			AVM1Movie._SUPERC_.call(this);
		}

		CLASS$(AVM1Movie,'iflash.display.AVM1Movie',true,false,_super);
		var __proto__=AVM1Movie.prototype;
		__proto__.addCallback=LAYAFNVOID/*function(functionName,closure){}*/
		__proto__.call=function(functionName,__rest){}
		return AVM1Movie;
	})(DisplayObject)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/bitmap.as
	var Bitmap=/*iflash.display.Bitmap*/(function(_super){
		function Bitmap(bitmapData,pixelSnapping,smoothing){
			this._bitmapData_=null;
			this._setDraw_=false;
			this._scaleY_=1;
			this._scaleX_=1;
			(pixelSnapping===void 0)&& (pixelSnapping="auto");
			(smoothing===void 0)&& (smoothing=false);
			Bitmap._SUPERC_.call(this);
			bitmapData&&(this.bitmapData=bitmapData);
		}

		CLASS$(Bitmap,'iflash.display.Bitmap',true,false,_super);
		var __proto__=Bitmap.prototype;
		__proto__._paintChild_=function(context,x,y,w,h){
			this._bitmapData_ && this._bitmapData_.paint(context,x,y,w,h);
		}

		__proto__.lyclone=function(){
			var b=new Bitmap(this._bitmapData_);
			return b;
		}

		GETSET$(0,__proto__,'bitmapData',function(){
			return this._bitmapData_;
			},function(value){
			if(value){
				this._bitmapData_=value;
				this._width_=Math.abs(this._bitmapData_.width*this._scaleX_);
				this._height_=Math.abs(this._bitmapData_.height *this._scaleY_);
				this._modle_.size(this._width_ ,this._height_);
				this._type2_ |=(0x1 | 0x4);
				if (Laya.RENDERBYCANVAS && !this._setDraw_){
					this._setDraw_=true;
					DisplayUnit._insertUnit_(this,DrawBitmapData._DEFAULT_);
				}
				else if (!Laya.RENDERBYCANVAS){
					this.bitmapData._createCMD_();
					if(this.bitmapData.type==/*iflash.display.BitmapData.CANVAS*/1){
						this._modle_.virtualBitmap(null);
						this._modle_["conchVirtualBitmap"]=null;
						this._modle_.image(this.bitmapData._canvas_,true)
					}
					else{
						this._modle_.image(null);
						this._modle_.vcanvas(this.bitmapData._canvas_);
					}
				}
			}
			else if(this._bitmapData_){
				this._bitmapData_=value;
				if(!Laya.RENDERBYCANVAS){
					this._modle_.virtualBitmap(null);
					this._modle_["conchVirtualBitmap"]=null;
				}
			}
		});

		GETSET$(0,__proto__,'isReadyForDraw',function(){
			return this.bitmapData!=null;
		});

		GETSET$(0,__proto__,'width',_super.prototype._$get_width,function(w){
			if(this._width_==w)return;
			var oldW=this._width_/this._scaleX_;
			oldW &&(this._scaleX_=w / oldW);
			this._width_=Math.abs(w);
			this._modle_.size(this._width_,this._height_);
			this._type2_ |=(0x1 | 0x4);
		});

		GETSET$(0,__proto__,'height',_super.prototype._$get_height,function(h){
			if(this._height_==h)
				return;
			var oldH=this._height_/this._scaleY_;
			oldH &&(this._scaleY_=h / oldH);
			this._height_=Math.abs(h);
			this._modle_.size(this._width_,this._height_);
			this._type2_ |=(0x1 | 0x4);
		});

		GETSET$(0,__proto__,'pixelSnapping',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'scaleX',function(){
			return this._scaleX_
			},function(value){
			var oldW=NaN;
			if(this._width_*this._scaleX_==0&&this.bitmapData)oldW=this.bitmapData.width;
			else oldW=this._width_/this._scaleX_;
			this._scaleX_=value;
			this._width_=Math.abs(oldW *value);
			this._modle_.size(this._width_,this._height_);
			_super.prototype._$set_scaleX.call(this,this._scaleX_>0?1:-1);
		});

		GETSET$(0,__proto__,'scaleY',function(){
			return this._scaleY_;
			},function(value){
			var oldH=NaN
			if(this._height_*this._scaleY_==0&&this.bitmapData)oldH=this.bitmapData.height;
			else oldH=this._height_/this._scaleY_;
			this._scaleY_=value;
			this._height_=Math.abs(oldH *value);
			this._modle_.size(this._width_,this._height_);
			_super.prototype._$set_scaleY.call(this,this._scaleY_>0?1:-1);
		});

		GETSET$(0,__proto__,'smoothing',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(value){}*/);
		return Bitmap;
	})(DisplayObject)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/interactiveobject.as
	var InteractiveObject=/*iflash.display.InteractiveObject*/(function(_super){
		function InteractiveObject(){
			InteractiveObject._SUPERC_.call(this);
		}

		CLASS$(InteractiveObject,'iflash.display.InteractiveObject',true,false,_super);
		var __proto__=InteractiveObject.prototype;
		__proto__.changeFocus=function(){
			if(this.stage==null)return;
			if(this.stage.focus!=this){
				this.repaint();
			}
		}

		__proto__.repaint=function(){}
		__proto__._hitTest_=function(_x,_y){
			var target=_super.prototype._hitTest_.call(this,_x,_y);
			if(target){
				return this.mouseEnabled?this:this.parent;
			}
			return null;
		}

		GETSET$(0,__proto__,'mouseEnabled',function(){
			return (this._type_&0x40)!=0;
			},function(value){
			if(value)
				this._type_|=0x40;
			else
			this._type_&=~0x40;
		});

		GETSET$(0,__proto__,'tabIndex',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(param1){}*/);
		GETSET$(0,__proto__,'doubleClickEnabled',function(){
			return (this._type_&0x100)!=0;
			},function(value){
			if(value)
				this._type_|=0x100;
			else
			this._type_&=~0x100;
		});

		GETSET$(0,__proto__,'tabEnabled',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'contextMenu',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(cm){}*/);
		return InteractiveObject;
	})(DisplayObject)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/lyimageelement.as
	var LyImageElement=/*iflash.display.LyImageElement*/(function(_super){
		function LyImageElement(){
			this.src=null;
			this.assetUr=null;
			this.assetConfig=null;
			this._texture=null;
			this._image_=null
			this._content_=null;
			this.scale9Data=null;
			this.orgW=NaN;
			this.orgH=NaN;
			this.arrX=null;
			this.arrY=null;
			this.arrW=null;
			this.arrH=null;
			this.oArrX=null;
			this.oArrY=null;
			this.oArrW=null;
			this.oArrH=null;
			this.miniBitmapData=new BitmapData();
			this._image_=Browser.document.createElement("image");LyImageElement._SUPERC_.call(this);}
		CLASS$(LyImageElement,'iflash.display.LyImageElement',true,false,_super);
		var __proto__=LyImageElement.prototype;
		__proto__.checkImg=LAYAFNVOID/*function(){}*/
		__proto__._paintChild_=function(context,x,y,w,h){
			var bitmapdata=this.miniBitmapData;
			bitmapdata && bitmapdata.paint && bitmapdata.paint.call(bitmapdata,context,x,y,w,h);
		}

		__proto__._init_=function(){
			if ((this._type_ & 0x2000)!=0)return;
			if (Laya.RENDERBYCANVAS){
				DrawImageElement.insertUnit(this);
			}
			else{
				this._modle_.size(this._width_,this._height_);
			}
			this.miniBitmapData.size(this._width_,this._height_);
			if (this.scale9Data){
				this.miniBitmapData.setImage(this._image_);
				this.miniBitmapData._canvas_.removeImage();
				this._modle_.vcanvas(this.miniBitmapData._canvas_);
			}
			else if (!this.assetConfig){
				this._modle_.image(this._image_);
				this.miniBitmapData.setImage(this._image_);
			}
			this._type_|=0x2000;
		}

		__proto__.onLoad=function(__args){
			var args=arguments;
			this._type_|=0x800;
			this.readyWork();
		}

		__proto__.isReady=function(readyCallBack){
			if(this.isTexture())return true;
			if(!this._image_)return false;
			return this._image_.isReady();
		}

		__proto__.isTexture=function(){
			return this.assetConfig!=null;
		}

		__proto__._lyToBody_=function(){
			if(!(this._image_.isReady())){
				this._image_.onload=iflash.method.bind(this,this.onLoad);
			}
			else {
				if (!this.assetConfig){
					this.miniBitmapData&&!this.miniBitmapData._canvas_&&this.miniBitmapData.setImage(this._image_);
				}
				this._type_|=0x800;
			}
			if(this.assetConfig!=null&&this.miniBitmapData&&this._texture==null){
				this.initTexture();
			}
			if(!this.assetConfig&&!(this._image_.isReady())){
				this._image_.src=this.src;
			}
		}

		__proto__.initTexture=function(){
			if(this._texture)return;
			var tImg;
			tImg=TextureManager.getInstance().getTexture(this.assetUr);
			this._texture=tImg;
			this.miniBitmapData.destroy();
			this.miniBitmapData._createCMD_();
			this.miniBitmapData._canvas_.drawImage(this.texture,this.assetConfig.x,this.assetConfig.y,this.assetConfig.width,this.assetConfig.height,0,0,this.assetConfig.width,this.assetConfig.height);
			this._modle_.vcanvas (this.miniBitmapData._canvas_);
			this._type_|=0x800;
		}

		__proto__.calcScaleData=function(){
			var x1=this.scale9Data.x1-this.x;
			var y1=this.scale9Data.y1-this.y;
			var x2=this.scale9Data.x2-this.x;
			var y2=this.scale9Data.y2-this.y;
			if(this.arrX==null){
				this.arrX=[[],[],[]];
				this.arrY=[[],[],[]];
				this.arrW=[[],[],[]];
				this.arrH=[[],[],[]];
				this.oArrX=[[],[],[]];
				this.oArrY=[[],[],[]];
				this.oArrW=[[],[],[]];
				this.oArrH=[[],[],[]];
			};
			var orgW_x2=this.orgW-x2;
			this.oArrW[2][0]=this.oArrW[1][0]=this.oArrW[0][0]=x1;
			this.oArrW[2][1]=this.oArrW[1][1]=this.oArrW[0][1]=x2-x1;
			this.oArrW[2][2]=this.oArrW[1][2]=this.oArrW[0][2]=orgW_x2;
			var orgH_y2=this.orgH-y2;
			this.oArrH[0][2]=this.oArrH[0][1]=this.oArrH[0][0]=y1;
			this.oArrH[1][2]=this.oArrH[1][1]=this.oArrH[1][0]=y2-y1;
			this.oArrH[2][2]=this.oArrH[2][1]=this.oArrH[2][0]=orgH_y2;
			this.oArrX[2][0]=this.oArrX[1][0]=this.oArrX[0][0]=0;
			this.oArrX[2][1]=this.oArrX[1][1]=this.oArrX[0][1]=x1;
			this.oArrX[2][2]=this.oArrX[1][2]=this.oArrX[0][2]=x2;
			this.oArrY[0][2]=this.oArrY[0][1]=this.oArrY[0][0]=0;
			this.oArrY[1][2]=this.oArrY[1][1]=this.oArrY[1][0]=y1;
			this.oArrY[2][2]=this.oArrY[2][1]=this.oArrY[2][0]=y2;
			var w01_23=this.orgW-this.oArrW[2][1];
			var h01_23=this.orgH-this.oArrH[1][2];
			if(this.width < w01_23){
				var ssw=this.width/w01_23;
				var ssX1=x1 *ssw;
				this.arrX[2][0]=this.arrX[1][0]=this.arrX[0][0]=0;
				this.arrX[2][2]=this.arrX[1][2]=this.arrX[0][2]=this.arrX[2][1]=this.arrX[1][1]=this.arrX[0][1]=ssX1;
				this.arrW[2][0]=this.arrW[1][0]=this.arrW[0][0]=ssX1;
				this.arrW[2][1]=this.arrW[1][1]=this.arrW[0][1]=0;
				this.arrW[2][2]=this.arrW[1][2]=this.arrW[0][2]=this.width-ssX1;
			}
			else{
				this.arrX[2][0]=this.arrX[1][0]=this.arrX[0][0]=0;
				this.arrX[2][1]=this.arrX[1][1]=this.arrX[0][1]=x1;
				this.arrX[2][2]=this.arrX[1][2]=this.arrX[0][2]=this.width-orgW_x2;
				this.arrW[2][0]=this.arrW[1][0]=this.arrW[0][0]=x1;
				this.arrW[2][1]=this.arrW[1][1]=this.arrW[0][1]=this.width-x1-orgW_x2;
				this.arrW[2][2]=this.arrW[1][2]=this.arrW[0][2]=orgW_x2;
			}
			if(this.height < h01_23){
				var ssh=this.height/h01_23;
				var ssY1=y1 *ssh;
				this.arrY[0][2]=this.arrY[0][1]=this.arrY[0][0]=0;
				this.arrY[1][2]=this.arrY[1][1]=this.arrY[1][0]=this.arrY[2][2]=this.arrY[2][1]=this.arrY[2][0]=ssY1;
				this.arrH[0][2]=this.arrH[0][1]=this.arrH[0][0]=ssY1;
				this.arrH[1][2]=this.arrH[1][1]=this.arrH[1][0]=0;
				this.arrH[2][2]=this.arrH[2][1]=this.arrH[2][0]=this.height-ssY1;
			}
			else{
				this.arrY[0][2]=this.arrY[0][1]=this.arrY[0][0]=0;
				this.arrY[1][2]=this.arrY[1][1]=this.arrY[1][0]=y1;
				this.arrY[2][2]=this.arrY[2][1]=this.arrY[2][0]=this.height-orgH_y2;
				this.arrH[0][2]=this.arrH[0][1]=this.arrH[0][0]=y1;
				this.arrH[1][2]=this.arrH[1][1]=this.arrH[1][0]=this.height-y1-orgH_y2;
				this.arrH[2][2]=this.arrH[2][1]=this.arrH[2][0]=orgH_y2;
			}
			if (Laya.CONCHVER){
				var context=this.miniBitmapData._canvas_;
				context.clear();
				for(var i=0;i<3;i++){
					for(var j=0;j<3;j++){
						var u=this.oArrX[i][j],v=this.oArrY[i][j],www=this.oArrW[i][j],hhh=this.oArrH[i][j],
						xx=this.arrX[i][j],yy=this.arrY[i][j],ww=this.arrW[i][j],hh=this.arrH[i][j];
						if(www<1 || hhh<1 || ww<1 || hh<1)continue ;
						if(this.isTexture()){
							var uP=this.assetConfig.x;
							var vP=this.assetConfig.y;
							context.drawImage(this.texture,u+uP,v+vP,www,hhh,xx+this.x,yy+this.y,ww,hh);
						}
						else{
							context.drawImage(this._image_,u,v,www,hhh,xx+this.x,yy+this.y,ww,hh);
						}
					}
				}
			}
		}

		__proto__.__preload__=function(){
			this._lyToBody_();
		}

		__proto__.lyclone=function(){
			var result=new LyImageElement();
			result._image_=this._image_;
			result.orgW=this.orgW;
			result.orgH=this.orgH;
			result._width_=this.orgW;
			result._height_=this.orgH;
			result.src=this.src;
			result.assetConfig=this.assetConfig;
			result.assetUr=this.assetUr;
			return result;
		}

		GETSET$(0,__proto__,'isReadyForDraw',function(){
			return this.isReady();
		});

		GETSET$(0,__proto__,'width',function(){
			return this._width_
			},function(w){
			this._width_=w;
			this.scale9Data&&this.calcScaleData();
		});

		GETSET$(0,__proto__,'texture',function(){
			if(this._texture==null){
				this.initTexture();
			}
			return this._texture;
		});

		GETSET$(0,__proto__,'height',function(){
			return this._height_;
			},function(h){
			this._height_=h;
			this.scale9Data&&this.calcScaleData();
		});

		return LyImageElement;
	})(DisplayObject)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/shape.as
	var Shape=/*iflash.display.Shape*/(function(_super){
		function Shape(){
			this._sc9Y_=1;
			this._sc9X_=1;
			this._scaleY_=1;
			this._scaleX_=1;
			this._image_=null;
			this._content_=null;
			this._graphics=null;
			this._scale9Data=null;
			Shape._SUPERC_.call(this);
		}

		CLASS$(Shape,'iflash.display.Shape',true,false,_super);
		var __proto__=Shape.prototype;
		__proto__._paintGraphics_=function(context,x,y,w,h){
			if (this._graphics){
				var grapics=this._graphics;
				if(grapics.isReady()){
					grapics._canvas_.paint(context,x,y,w,h);
				}
				this._paintChild_(context,x,y,w,h);
			}
			else
			this._paintChild_(context,x,y,w,h);
		}

		__proto__._paintChild_=function(context,x,y,w,h){
			var data=this._image_;
			data&&(data.conchPaint(context,x+data._left_,y+data._top_));
		}

		__proto__._init_=function(content){
			if (!content)
				return;
			this._content_=content;
			if(content.data.scale9Data){
				this._image_=content.data.lyclone();
				this._image_._width_=this._image_.orgW=content.data.width;
				this._image_._height_=this._image_.orgH=content.data.height;
				this.scale9Data=content.data.scale9Data.scale9Data;
			}
			else{
				this._image_=content.data;
			}
			this._modle_.quote(this._image_._modle_);
			this._image_._init_();
			this._image_.matrix=content.matrix;
			this._width_=content.data.width;
			this._height_=content.data.height;
			this._modle_.size(this._width_,this._height_);
			Laya.RENDERBYCANVAS && ((this._type_ & 0x4)==0)&& (DrawShape.insertUnit(this),this._type_ |=0x4);
		}

		__proto__._getBounds_=function(targetSpace,resultRect){
			if (!targetSpace)
				targetSpace=this;
			if (!resultRect)
				resultRect=DisplayObject.HELPER_RECTANGLET;
			if (!this._image_){
				resultRect.setTo(0,0,0,0);
				DisplayObject.HELPER_POINT.setTo(0,0);
				resultRect.setTo(0,0,0,0);
			}
			else{
				resultRect.setTo(this._image_.x,this._image_.y,this._image_._width_ ,this._image_._height_);
			}
			if (this._graphics){
				DisplayObject.HELPER_RECTANGLET_ALT.setTo(this._graphics.x,this._graphics.y,this._graphics.width ,this._graphics.height);
				resultRect._union_(DisplayObject.HELPER_RECTANGLET_ALT);
			}
			return resultRect;
		}

		__proto__._lyToBody_=function(){
			if(this.scale9Data){
				this._image_ &&(this._image_.scale9Data=this.scale9Data);
			}
			this._image_ && this._image_._lyToBody_();
			_super.prototype._lyToBody_.call(this);
		}

		__proto__._lyUnToBody_=function(){
			this._image_ && (this._image_._lyUnToBody_());
			_super.prototype._lyUnToBody_.call(this);
		}

		__proto__.lyclone=function(){
			var s=new Shape();
			s._init_(this._content_);
			return s;
		}

		__proto__.setupReadyNoticeWork=function(ifSelfNotice){
			(ifSelfNotice===void 0)&& (ifSelfNotice=false);
			if(this.isReadyForDraw)return;
			this._needNotice=ifSelfNotice;
			this._image_.setReadyForDrawCall(BIND$(this,this.readyWork));
		}

		GETSET$(0,__proto__,'isReadyForDraw',function(){
			return this._image_.isReadyForDraw;
		});

		GETSET$(0,__proto__,'scale9Data',function(){
			return this._scale9Data;
			},function(value){
			this._scale9Data=value;
			if (this._image_){
				this._image_.scale9Data=value;
				this._image_._modle_.image(null);
				if(this._image_.miniBitmapData._canvas_)
					this._image_._modle_.vcanvas(this._image_.miniBitmapData._canvas_);
			}
		});

		GETSET$(0,__proto__,'width',function(){
			return this.scale9Data?this._width_:_super.prototype._$get_width.call(this);
			},function(w){
			if (this._width_==w)
				return;
			if(this.scale9Data){
				this._scaleX_=1;
				this._width_=w;
				this._image_&&(this._image_.width=w);
				return;
			};
			var oldW=this._width_ / this._scaleX_;
			if (this._width_ *this._scaleX_==0 && this.graphics)
				oldW=this.graphics.width;
			oldW && (this._scaleX_=w / oldW);
			_super.prototype._$set_scaleX.call(this,this._scaleX_);
			this._modle_.size(this._width_,this._height_);
			this._type2_ |=(0x1 | 0x4);
		});

		GETSET$(0,__proto__,'graphics',function(){
			if (!this._graphics)
				this._graphics=new Graphics(this);
			return this._graphics;
		});

		GETSET$(0,__proto__,'height',function(){
			return this.scale9Data?this._height_:_super.prototype._$get_height.call(this);
			},function(h){
			if (this._height_==h)
				return;
			if(this.scale9Data){
				this._scaleY_=1;
				this._height_=h;
				this._image_&&(this._image_.height=h);
				this._modle_.size(this._width_,this._height_);
				this._type2_ |=(0x1 | 0x4);
				return;
			};
			var oldH=NaN;
			if (this._height_ *this._scaleY_==0 && this.graphics)
				oldH=this.graphics.height;
			else
			oldH=this._height_ / this._scaleY_;
			oldH && (this._scaleY_=h / oldH);
			_super.prototype._$set_scaleY.call(this,this._scaleY_);
			this._modle_.size(this._width_,this._height_);
			this._type2_ |=(0x1 | 0x4);
		});

		GETSET$(0,__proto__,'scaleX',function(){
			return this.scale9Data?this._sc9X_:this._scaleX_;
			},function(value){
			var oldW=NaN;
			if (this._width_ *this._scaleX_==0 && this.graphics)
				oldW=this.graphics.width;
			else
			oldW=this._width_ / this._scaleX_;
			this._width_=Math.abs(oldW *value);
			if(this.scale9Data)
			{_super.prototype._$set_scaleX.call(this,this._scaleX_=1);
				this._image_&&(this._image_.width=this._width_);
				this._sc9X_=value;
				return;
			}
			this._scaleX_=value;
			this._modle_.size(this._width_,this._height_);
			_super.prototype._$set_scaleX.call(this,this._scaleX_);
			this._type2_ |=(0x1 | 0x4);
		});

		GETSET$(0,__proto__,'scaleY',function(){
			return this.scale9Data?this._sc9Y_:this._scaleY_;
			},function(value){
			var oldH=NaN;
			if (this._height_ *this._scaleY_==0 && this.graphics)
				oldH=this.graphics.height;
			else
			oldH=this._height_ / this._scaleY_;
			this._height_=Math.abs(oldH *value);
			if(this.scale9Data){
				_super.prototype._$set_scaleX.call(this,this._scaleY_=1);
				this._image_&&(this._image_.height=this._height_);
				this._sc9Y_=value;
				return;
			}
			this._scaleY_=value;
			this._modle_.size(this._width_,this._height_);
			_super.prototype._$set_scaleY.call(this,this._scaleY_);
			this._type2_ |=(0x1 | 0x4);
		});

		return Shape;
	})(DisplayObject)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/laya/body.as
	var Body=/*iflash.laya.Body*/(function(_super){
		function Body(){
			this._stage_=null;
			Body._SUPERC_.call(this);
			this._stage_=Stage.stage;
			this._modle_.insert(this._stage_._modle_,0,1);
			if(Laya.CONCHVER){
				var editborder;
				/*__JS__ */conch.editborder=editborder=conch.createNode();
				this._modle_.insert(editborder,1,2);
				editborder.border("#28FFFA");
				editborder.bgcolor("#FFFFFF");
				editborder.show(false);
			}
			Laya.CONCHVER&&/*__JS__ */conch.setRootNode(this._modle_);
		}

		CLASS$(Body,'iflash.laya.Body',true,false,_super);
		var __proto__=Body.prototype;
		__proto__._lyPaint_=function(context,x,y){
			var m=this.matrix;
			if (!m || !m.isTransform()){
				context.beginPath();
				if(Stage.stage.scaleMode==/*iflash.display.StageScaleMode.NO_SCALE*/"noScale"){
					context.rect(0,0,Stage.stage.stageWidth,Stage.stage.stageHeight);
				}
				else{
					context.rect(this._left_,this._top_,Stage.stage.width,Stage.stage.height);
				}
				context.clip();
				this._stage_._lyPaint_(context,this._left_,this._top_);
				return;
			}
			context.save();
			x=-this._left_;
			y=-this._top_;
			if (x !=0 || y !=0){
				context.translate(x,y);
				context.transform(m.a,m.b,m.c,m.d,m.tx,m.ty);
				context.translate(-x,-y);
			}
			else {
				context.transform(m.a,m.b,m.c,m.d,m.tx,m.ty);
			}
			context.beginPath();
			var xx=x+this._left_/this.scaleX,yy=y+this._top_/this.scaleY;
			context.rect(xx,yy,Stage.stage.stageWidth,Stage.stage.stageHeight);
			context.clip();
			this._stage_._lyPaint_(context,xx,yy);
			context.restore();
		}

		return Body;
	})(DisplayObject)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/media/video.as
	var Video=/*iflash.media.Video*/(function(_super){
		function Video(width,height){
			(width===void 0)&& (width=320);
			(height===void 0)&& (height=240);
			Video._SUPERC_.call(this);
		}

		CLASS$(Video,'iflash.media.Video',true,false,_super);
		var __proto__=Video.prototype;
		__proto__.attachCamera=LAYAFNVOID/*function(camera){}*/
		__proto__.attachNetStream=LAYAFNVOID/*function(netStream){}*/
		__proto__.clear=LAYAFNVOID/*function(){}*/
		GETSET$(0,__proto__,'deblocking',LAYAFN0/*function(){return 0}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'smoothing',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'videoHeight',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'videoWidth',LAYAFN0/*function(){return 0}*/);
		return Video;
	})(DisplayObject)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filesystem/file.as
	var File=/*iflash.filesystem.File*/(function(_super){
		function File(path,statusHandler){
			this._isApplicationDirectory=false;
			this._isApplicationStorageDirectory=false;
			this.downloaded=false;
			this.exists=false;
			this._isDirectory=false;
			this.isHidden=false;
			this.isPackage=false;
			this.isSymbolicLink=false;
			this.lineEnding=null;
			this.nativePath=null;
			this.parent=null;
			this.separator=null;
			this.spaceAvailable=NaN;
			this.systemCharset=null;
			this._url=null;
			this._extension=null;
			this._name=null;
			this._statusHandler=null;
			this.urlLoader=null;
			this._data=null;
			File._SUPERC_.call(this);
			var $this=this;
			if (path==null)
				return;
			if (statusHandler !=null)
				this._statusHandler=statusHandler;
			this.url=path;
		}

		CLASS$(File,'iflash.filesystem.File',true,false,_super);
		var __proto__=File.prototype;
		__proto__.load=function(){
			if (this.nativePath.lastIndexOf("/")< this.nativePath.length-1){
				this.urlLoader=new URLLoader();
				this.urlLoader.dataFormat=/*iflash.net.URLLoaderDataFormat.BINARY*/"binary";
				this.urlLoader.addEventListener(/*iflash.events.Event.COMPLETE*/"complete",BIND$(this,this.onFileStatusComplete));
				this.urlLoader.addEventListener(/*iflash.events.IOErrorEvent.IO_ERROR*/"ioError",BIND$(this,this.onFileStatusIOError));
				this.urlLoader.load(new URLRequest(this.nativePath));
			}
		}

		__proto__.onFileStatusIOError=function(event){
			this.exists=false;
			this.urlLoader.close();
			this.dispatchEvent(new Event("fileStatusOk",true));
		}

		__proto__.onFileStatusComplete=function(event){
			this.exists=true;
			this._data=event.target.data;
			this.urlLoader.close();
			this.dispatchEvent(new Event("fileStatusOk",true));
		}

		__proto__.getDirectoryListing=function(){
			if (this._isApplicationStorageDirectory){
				return FileStorage.instance.getList(this._url.replace("app-storage:/",""))
			}
			else if (this._isApplicationDirectory){
				return null;
			}
			else{
				return null;
			}
		}

		__proto__.resolvePath=function(path){
			if (this._isApplicationStorageDirectory){
				return new File(this._url+path);
			}
			else if (this._isApplicationDirectory){
				return new File(this._url+path);
			}
			else{
				return null;
			}
		}

		__proto__.deleteFile=LAYAFNVOID/*function(){}*/
		__proto__.deleteFileAsync=LAYAFNVOID/*function(){}*/
		__proto__.deleteDirectory=function(deleteDirectoryContents){
			(deleteDirectoryContents===void 0)&& (deleteDirectoryContents=false);
		}

		__proto__.copyTo=function(newLocation,overwrite){
			(overwrite===void 0)&& (overwrite=false);
		}

		__proto__.moveTo=function(newLocation,overwrite){
			(overwrite===void 0)&& (overwrite=false);
		}

		__proto__.deleteDirectoryAsync=function(deleteDirectoryContents){
			(deleteDirectoryContents===void 0)&& (deleteDirectoryContents=false);
		}

		GETSET$(0,__proto__,'isDirectory',function(){
			return this._isDirectory;
		});

		GETSET$(0,__proto__,'type',function(){
			return this._extension ? "."+this._extension :null;
		});

		GETSET$(0,__proto__,'data',function(){
			return this._data;
		});

		GETSET$(0,__proto__,'extension',function(){
			return this._extension;
		});

		GETSET$(0,__proto__,'url',function(){
			return this._url;
			},function(value){
			var arr;
			if (value.search("[a-zA-Z]:\\/")==0){
				throw new Error("not support local file to read");
			}
			else if (value.indexOf("file:///")==0){
				throw new Error("not support local file to read");
				return;
				this._url=value;
				value=value.replace("file:///","").replace("\\/{2,99}","/");
				if (value.search("[a-zA-Z]:\\/")==0){
					arr=value.split("/");
					this.nativePath=arr.join("\\");
				}
				this._extension=value.lastIndexOf(".")>-1 ? value.substr(value.lastIndexOf(".")+1):null;
				this._name=value.lastIndexOf("/")>-1 ? value.substr(value.lastIndexOf("/")+1):null;
			}
			else if (value.indexOf("app:/")==0){
				this._isApplicationDirectory=true;
				this._isApplicationStorageDirectory=false;
				this._url=value;
				this.nativePath=(/*__JS__ */LAYABOX.APP_ROOT ? /*__JS__ */LAYABOX.APP_ROOT :"")+value.replace("app:/","");
				this._extension=value.lastIndexOf(".")>-1 ? value.substr(value.lastIndexOf(".")+1):null;
				this._name=value.lastIndexOf("/")>-1 ? value.substr(value.lastIndexOf("/")+1):null;
			}
			else if (value.indexOf("app-storage:/")==0){
				this._isApplicationDirectory=false;
				this._isApplicationStorageDirectory=true;
				this._url=value;
				this.nativePath=(/*__JS__ */LAYABOX.APP_ROOT ? /*__JS__ */LAYABOX.APP_ROOT :"")+value.replace("app-storage:/","");
				this._extension=value.lastIndexOf(".")>-1 ? value.substr(value.lastIndexOf(".")+1):null;
				this._name=value.lastIndexOf("/")>-1 ? value.substr(value.lastIndexOf("/")+1):null;
				this.exists=FileStorage.instance.fileExist(this._url.replace("app-storage:/",""));
				this._data=FileStorage.instance.getFile(this._url.replace("app-storage:/",""));
			}
			else{
				throw new Error("file address is invalid");
			}
		});

		GETSET$(0,__proto__,'name',function(){
			return this._name;
		});

		GETSET$(1,File,'applicationDirectory',function(){
			return File._applicationDirectory;
		},iflash.net.FileReference._$SET_applicationDirectory);

		GETSET$(1,File,'systemCharset',LAYAFNSTR/*function(){return ""}*/,iflash.net.FileReference._$SET_systemCharset);
		GETSET$(1,File,'applicationStorageDirectory',function(){
			return File._applicationStorageDirectory;
		},iflash.net.FileReference._$SET_applicationStorageDirectory);

		GETSET$(1,File,'separator',function(){
			return "\\";
		},iflash.net.FileReference._$SET_separator);

		File.getRootDirectories=LAYAFNNULL/*function(){return null}*/
		File.createTempDirectory=function(){
			return new File();
		}

		File.createTempFile=function(){
			return new File();
		}

		File.lineEnding="\r\n";
		STATICATTR$(File,
		['_applicationDirectory',function(){return this._applicationDirectory=new File("app:/");},'_applicationStorageDirectory',function(){return this._applicationStorageDirectory=new File("app-storage:/");}
		]);
		return File;
	})(FileReference)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/ui/contextmenu.as
	var ContextMenu=/*iflash.ui.ContextMenu*/(function(_super){
		function ContextMenu(){
			ContextMenu._SUPERC_.call(this);
		}

		CLASS$(ContextMenu,'iflash.ui.ContextMenu',true,false,_super);
		var __proto__=ContextMenu.prototype;
		__proto__.clone=function(){
			return new NativeMenu();
		}

		__proto__.hideBuiltInItems=LAYAFNVOID/*function(){}*/
		GETSET$(0,__proto__,'builtInItems',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'clipboardItems',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'clipboardMenu',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'customItems',LAYAFNARRAY/*function(){return []}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'link',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(1,ContextMenu,'isSupported',LAYAFNFALSE/*function(){return false}*/,iflash.display.NativeMenu._$SET_isSupported);
		return ContextMenu;
	})(NativeMenu)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/ui/contextmenuitem.as
	var ContextMenuItem=/*iflash.ui.ContextMenuItem*/(function(_super){
		function ContextMenuItem(caption,separatorBefore,enabled,visible){
			(separatorBefore===void 0)&& (separatorBefore=false);
			(enabled===void 0)&& (enabled=true);
			(visible===void 0)&& (visible=true);
			ContextMenuItem._SUPERC_.call(this);
		}

		CLASS$(ContextMenuItem,'iflash.ui.ContextMenuItem',true,false,_super);
		var __proto__=ContextMenuItem.prototype;
		__proto__.clone=LAYAFNNULL/*function(){return null}*/
		GETSET$(0,__proto__,'caption',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'separatorBefore',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'visible',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(value){}*/);
		return ContextMenuItem;
	})(NativeMenuItem)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/filters/glowfilter.as
	var GlowFilter=/*iflash.filters.GlowFilter*/(function(_super){
		function GlowFilter(in_color,in_alpha,in_blurX,in_blurY,in_strength,in_quality,in_inner,in_knockout){
			(in_color===void 0)&& (in_color=0);
			(in_alpha===void 0)&& (in_alpha=1.0);
			(in_blurX===void 0)&& (in_blurX=6.0);
			(in_blurY===void 0)&& (in_blurY=6.0);
			(in_strength===void 0)&& (in_strength=1.0);
			(in_quality===void 0)&& (in_quality=1);
			(in_inner===void 0)&& (in_inner=false);
			(in_knockout===void 0)&& (in_knockout=false);
			GlowFilter._SUPERC_.call(this,0,0,in_color,in_alpha,in_blurX,in_blurY,in_strength,in_quality,in_inner,in_knockout,false);
		}

		CLASS$(GlowFilter,'iflash.filters.GlowFilter',true,false,_super);
		return GlowFilter;
	})(DropShadowFilter)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/embedimage.as
	var EmbedImage=/*iflash.display.EmbedImage*/(function(_super){
		function EmbedImage(bitmapData,pixelSnapping,smoothing){
			this._loader=null;
			this._url=null;
			(pixelSnapping===void 0)&& (pixelSnapping="auto");
			(smoothing===void 0)&& (smoothing=false);
			EmbedImage._SUPERC_.call(this,bitmapData,pixelSnapping,smoothing);
		}

		CLASS$(EmbedImage,'iflash.display.EmbedImage',true,false,_super);
		var __proto__=EmbedImage.prototype;
		__proto__.load=function(url){
			this._url=url;
			if (EmbedImage._imgMap[this._url] !=null){
				this.bitmapData=EmbedImage._imgMap[this._url];
				}else if (Boolean(this._url)){
				this._loader=new Loader();
				this._loader.contentLoaderInfo.addEventListener(/*iflash.events.Event.COMPLETE*/"complete",BIND$(this,this.onComplete));
				this._loader.contentLoaderInfo.addEventListener(/*iflash.events.IOErrorEvent.IO_ERROR*/"ioError",BIND$(this,this.onError));
				this._loader.load(new URLRequest(this._url),EmbedImage._loaderContent);
			}
		}

		__proto__.onComplete=function(e){
			if (this._loader){
				var bmd=(this._loader.content).bitmapData;
				this.bitmapData=EmbedImage._imgMap[this._url]=bmd;
				this.clearLoader();
				this.readyWork();
			}
		}

		__proto__.clearLoader=function(){
			this._loader.unloadAndStop();
			this._loader.contentLoaderInfo.removeEventListener(/*iflash.events.Event.COMPLETE*/"complete",BIND$(this,this.onComplete));
			this._loader.contentLoaderInfo.removeEventListener(/*iflash.events.IOErrorEvent.IO_ERROR*/"ioError",BIND$(this,this.onError));
			this._loader=null;
		}

		__proto__.onError=function(e){
			console.log("IO Error:"+this._url);
		}

		EmbedImage._imgMap={};
		STATICATTR$(EmbedImage,
		['_loaderContent',function(){return this._loaderContent=new LoaderContext(false,ApplicationDomain.currentDomain);}
		]);
		return EmbedImage;
	})(Bitmap)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/displayobjectcontainer.as
	var DisplayObjectContainer=/*iflash.display.DisplayObjectContainer*/(function(_super){
		function DisplayObjectContainer(){
			this.scale9Data=null;
			this._childs_=EventDispatcher.__NULLARRAY__;
			DisplayObjectContainer._SUPERC_.call(this);this._type_|=0x20;
		}

		CLASS$(DisplayObjectContainer,'iflash.display.DisplayObjectContainer',true,false,_super);
		var __proto__=DisplayObjectContainer.prototype;
		__proto__._paintChild_=function(context,x,y,w,h){
			this._type_& /*iflash.display.DisplayObject.TYPE_CREATE_FROM_TAG*/0x10&&this.sortChildsByZIndex();
			var sz=0,i=0;
			var c,childs;
			if ((sz=(childs=this._childs_).length)> 0){
				for (i=0;i < sz;i++){
					if ((c=childs[i])==null || !(c._type_& /*iflash.display.DisplayObject.TYPE_IS_VISIBLE*/0x400)||!c.alpha)continue ;
					c.conchPaint(context,x+c._left_,y+c._top_);
				}
			}
		}

		__proto__.addChild=function(c){
			if(c==null)
				throw new Error("param is null");
			if(c._parent_!=null){
				if (c._parent_==this){
					var pre=this.childIndexOf(c);
					this.lyRemoveChildAt(pre,false);
				}
				else c._parent_.removeChild(c);
			}
			this._childs_==EventDispatcher.__NULLARRAY__ && (this._childs_=[],Laya.RENDERBYCANVAS && (this._type_&0x8)==0 && DrawChilds.insertUnit(this),this._type_|=0x8);
			Method.insert(this._childs_,this._childs_.length,c);
			this._modle_ && this._modle_.insert(c._modle_,this._childs_.length-1,this._childs_.length);
			c._parent_=this;
			if(EventDispatcher._isOpenTypeAdded)c._dispatchAddedEvent(c);
			this._type_|=0x4000;
			c._propagateFlagsDown_(/*iflash.display.DisplayObject.TYPE2_CONCATENATEDMATRIX_CHG*/0x1 | /*iflash.display.DisplayObject.TYPE2_BOUNDS_CHG*/0x4);
			if(this._root_==Stage.stage){
				c._lyToBody_();
			}
			return c;
		}

		__proto__.swapAt=function(frome,to){
			if (frome >=0 && to >=0 && frome!=to){
				var fromeNode=this._childs_[frome];
				var toNone=this._childs_[to];
				this._childs_[frome]=toNone;
				this._childs_[to]=fromeNode;
				var tmp=toNone._id_;
				toNone._id_=fromeNode._id_;
				fromeNode._id_=tmp;
				this._modle_ && this._modle_.swap(fromeNode._modle_,toNone._modle_);
			}
		}

		__proto__.childIndexOf=function(child){
			return this._childs_.indexOf(child);
		}

		__proto__.addChildAt=function(c,index){
			if(!c)return null;
			if (c.deleted==true)return c;
			if(c._parent_!=null){
				if (c._parent_==this){
					var pre=this.childIndexOf(c);
					if (index==pre)return c;
					this.lyRemoveChildAt(pre,false);
				}else c._parent_.removeChild(c);
			}
			this._childs_==EventDispatcher.__NULLARRAY__ && (this._childs_=[],Laya.RENDERBYCANVAS && (this._type_&0x8)==0 && DrawChilds.insertUnit(this),this._type_|=0x8);
			Method.insert(this._childs_,index,c);this._firstDisplayUnit_
			c._parent_=this;
			if(EventDispatcher._isOpenTypeAdded)c._dispatchAddedEvent(c);
			this._type_|=0x4000;
			c._propagateFlagsDown_(/*iflash.display.DisplayObject.TYPE2_CONCATENATEDMATRIX_CHG*/0x1 | /*iflash.display.DisplayObject.TYPE2_BOUNDS_CHG*/0x4);
			if(this._root_==Stage.stage){
				c._lyToBody_();
			}
			c._modle_ && this._modle_ && this._modle_.insert(c._modle_,index,this._childs_.length);
			return c;
		}

		__proto__.getObjectsUnderPoint=LAYAFNNULL/*function(point){return null}*/
		__proto__.removeChildAt=function(index){
			return this.lyRemoveChildAt(index);
		}

		__proto__.lyRemoveChildAt=function(index,isSendEvent){
			(isSendEvent===void 0)&& (isSendEvent=true);
			if (index < 0)return this;
			var c=this._childs_[index];
			this._childs_.splice(index,1);
			this._modle_ && this._modle_.removeAt(index,c._modle_,this._childs_.length);
			if(isSendEvent){
				c._dispatchRemovedEvent();
				if(this._root_==Stage.stage){
					c._lyUnToBody_();
				}
			}
			c._parent_=null;
			c._type2_ &=~ (/*iflash.display.DisplayObject.TYPE2_CONCATENATEDMATRIX_CHG*/0x1 | /*iflash.display.DisplayObject.TYPE2_BOUNDS_CHG*/0x4);
			if(Laya.document.activeElement&&Laya.document.activeElement.__owner__.root!=this.stage)
			{Laya.document.activeElement.blur();Laya.document.activeElement=null;}
			return c;
		}

		__proto__.removeChild=function(c){
			this._type_|=0x4000;
			return this.lyRemoveChildAt(this.childIndexOf(c));
		}

		__proto__.getChildAt=function(index){
			return this._childs_[index];
		}

		__proto__.sortChildsByZIndex=function(){
			this.sortChildren(BIND$(this,this._sort_));
		}

		__proto__.getBounds=function(targetSpace,resultRect){
			if (!targetSpace)targetSpace=this;
			if (!resultRect)resultRect=new Rectangle();
			this._getBounds_(targetSpace,resultRect);
			if(targetSpace!=this){
				if (targetSpace==this._parent_){
					DisplayObject.HELPER_MATRIX.copy(this.matrix);
					}else{
					Matrix.mul(DisplayObject.HELPER_MATRIX,targetSpace._getInvertedConcatenatedMatrix(),this._getConcatenatedMatrix());
				}
				DisplayObject.HELPER_MATRIX.transformBounds(resultRect);
			}
			this._type2_ &=~0x4;
			return resultRect;
		}

		__proto__._getBounds_=function(targetSpace,resultRect){
			if(!targetSpace)targetSpace=this;
			var p=DisplayObject.HELPER_POINT;
			if (resultRect==null)resultRect=new Rectangle();
			var numChildren=this._childs_.length;
			var child;
			if (numChildren==0){
				resultRect.setTo(0,0,0,0);
			}
			else if (numChildren==1){
				child=this._childs_[0];
				child._getBounds_(this,resultRect);
				child.matrix.transformBounds(resultRect);
			}
			else{
				var minX=Number.MAX_VALUE,maxX=-Number.MAX_VALUE;
				var minY=Number.MAX_VALUE,maxY=-Number.MAX_VALUE;
				for (var i=0;i<numChildren;++i){
					child=(this._childs_[i]);
					var r=DisplayObject.HELPER_RECTANGLET.setTo(0,0,0,0);
					child._getBounds_(this,r);
					child.matrix.transformBounds(r);
					if (minX > r.x)minX=r.x;
					if (maxX < r.right)maxX=r.right;
					if (minY > r.y)minY=r.y;
					if (maxY < r.bottom)maxY=r.bottom;
				}
				resultRect.setTo(minX,minY,maxX-minX,maxY-minY);
			}
			if(resultRect.width<0){
				resultRect.x-=resultRect.width;
				resultRect.width=Math.abs(resultRect.width);
			}
			if(resultRect.height<0){
				resultRect.y-=resultRect.height;
				resultRect.height=Math.abs(resultRect.height);
			}
			if(!resultRect){
				resultRect.width *=this.scaleX;
				resultRect.height *=this.scaleY;
			}
			return resultRect;
		}

		__proto__._hitTest_=function(x,y){
			if(!this.visible)return null;
			if (!this._checkHitMask(x,y)){return null;}
				if (!this._checkHitScrollRect(x,y)){return null;}
			if (this._private_._scrollRect_){x+=this._private_._scrollRect_.x;y+=this._private_._scrollRect_.y;};
			var target=null,shapes=[],displayObjs=[],i=0,child,numChildren=this._childs_.length;
			var sortArr=[];
			for (i=0;i<numChildren;i++){
				child=this._childs_[i];
				if((child instanceof iflash.display.InteractiveObject )){
					sortArr.push(child);
				}
				else{
					sortArr.unshift(child);
				}
			}
			for(i=numChildren-1;i>=0;i--){
				child=sortArr[i];
				if((child instanceof iflash.display.InteractiveObject )){
					this.getTransformMatrix(child,DisplayObject.HELPER_MATRIX);
					MatrixUtil.transformCoords(DisplayObject.HELPER_MATRIX,x,y,DisplayObject.HELPER_POINT);
					target=child._hitTest_(DisplayObject.HELPER_POINT.x,DisplayObject.HELPER_POINT.y);
					if(target){
						if((target instanceof iflash.display.Sprite )){
							var sp=target;
							if(!sp.mouseChildren && !sp.mouseEnabled){
								if(sp.numChildren==1 && sp.graphicsHited(DisplayObject.HELPER_POINT.x,DisplayObject.HELPER_POINT.y)){
									return this;
								}
								continue ;
							}
							else if(!sp.mouseEnabled && this.mouseChildren){
								if(this.numChildren==1 && this.mouseEnabled){
									return this;
								}
								else{
									continue ;
								}
							}
						}
						return this.mouseChildren?target:this;
					}
				}
				else{
					this.getTransformMatrix(child,DisplayObject.HELPER_MATRIX);
					MatrixUtil.transformCoords(DisplayObject.HELPER_MATRIX,x,y,DisplayObject.HELPER_POINT);
					target=child._hitTest_(DisplayObject.HELPER_POINT.x,DisplayObject.HELPER_POINT.y);
					if(target)return this;
				}
			}
			return null;
		}

		__proto__.setChildIndex=function(child,index){this.addChildAt(child,index);}
		__proto__.getChildIndex=function(child){return this._childs_.indexOf(child);}
		__proto__._sort_=function(a,b){
			return a._to_sort_d-b._to_sort_d;
		}

		__proto__.getChildByName=function(value){
			var child;
			/*for each*/for(var $each_child in this._childs_){
				child=this._childs_[$each_child];
				if(child.name==value)return child;
			}
			return null;
		}

		__proto__.sortChildren=function(keyOrFunction){
			if((this._type_&0x4000)==0)return;
			var f=keyOrFunction,key;
			if (typeof (f)=="string"){
				key=f;
				f=function (a,b){
					return b[key]-a[key];
				};
			}
			this._childs_.sort(f);
			this._type_&=~0x4000
		}

		__proto__.swapChildrenAt=function(index1,index2){
			var c=this._childs_[index1];
			this._modle_.swap(c._modle_,this._childs_[index2]._modle_);
			this._childs_[index1]=this._childs_[index2];
			this._childs_[index2]=c;
			this._type_ |=0x4000;
		}

		__proto__.swapChildren=function(child1,child2){
			var index1=this._childs_.indexOf(child1);
			var index2=this._childs_.indexOf(child2);
			this.swapChildrenAt(index1,index2);
		}

		__proto__._lyToBody_=function(){
			this.dispatchAdd(this);
			iflash.display.DisplayObject.prototype._lyToBody_.call(this);
		}

		__proto__.dispatchAdd=function(child){
			var len=child._childs_.length;
			var i=0;
			while(i<len)
			{child._childs_[i]._lyToBody_();i++;}
		}

		__proto__._lyUnToBody_=function(){
			iflash.display.DisplayObject.prototype._lyUnToBody_.call(this);
			this.dispatchUnAdd(this);
		}

		__proto__.dispatchUnAdd=function(child){
			var len=child._childs_.length;
			var i=0;
			while(i<len)
			{child._childs_[i]._lyUnToBody_();i++;}
		}

		__proto__.contains=function(child){
			if(this._childs_==null){
				return false;
			};
			var result={flag:false};
			this.checkContainsByChild(this,child,result);
			return result.flag;
		}

		__proto__.checkContainsByChild=function(display,child,result){
			if(display==child){
				result.flag=true;
				return;
			}
			if((display instanceof iflash.display.DisplayObjectContainer )){
				var box=display;
				for (var i=0,n=box._childs_.length;i <n;i++){
					this.checkContainsByChild(box._childs_[i],child,result);
				}
			}
		}

		__proto__.removeChildren=function(beginIndex,endIndex){
			(beginIndex===void 0)&& (beginIndex=0);
			(endIndex===void 0)&& (endIndex=2147483647);
			if(this.numChildren==0)
				return;
			(beginIndex < 0)&& (beginIndex=0);
			(endIndex > this.numChildren)&& (endIndex=this.numChildren-1);
			while(endIndex>=beginIndex){
				this.lyRemoveChildAt(endIndex);
				endIndex--;
			}
		}

		__proto__._propagateFlagsDown_=function(flags){
			if ((this._type2_ & flags)==flags)return;
			var child;
			var num=this._childs_.length;
			for (var i=0;i < num;i++){
				child=this._childs_[i];
				child._propagateFlagsDown_(flags);
			}
			this._type2_ |=flags;
		}

		__proto__.setupReadyNoticeWork=function(ifSelfNotice){
			(ifSelfNotice===void 0)&& (ifSelfNotice=false);
			iflash.display.DisplayObject.prototype.setupReadyNoticeWork.call(this,ifSelfNotice);
			if(this.isReadyForDraw)return;
			if(!this._childs_||this._childs_.length<1)return;
			var i=0,len=0;
			len=this._childs_.length;
			var tChild;
			for(i=0;i<len;i++){
				tChild=this._childs_ [i];
				tChild.setupReadyNoticeWork(true);
			}
		}

		__proto__.oneChildReady=function(){
			if(this.isReadyForDraw){
				this.readyWork();
				}else{
			}
		}

		__proto__.updateScaleData=function(index){
			(index===void 0)&& (index=0);
			if(this.scale9Data){
				var c=this._childs_[index];
				(c.scale9Data==null)&& (c.scale9Data={});
				c.scale9Data.x1=this.scale9Data.x1-c.x;
				c.scale9Data.y1=this.scale9Data.y1-c.y;
				c.scale9Data.x2=this.scale9Data.x2-c.x;
				c.scale9Data.y2=this.scale9Data.y2-c.y;
				if(this._width_!=c._width_)c.width=this.width;
				if(this._height_!=c._height_)c.height=this.height;
			}
		}

		GETSET$(0,__proto__,'numChildren',function(){
			return this._childs_.length;
		});

		GETSET$(0,__proto__,'tabChildren',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(param1){}*/);
		GETSET$(0,__proto__,'mouseChildren',function(){
			return (this._type_&0x20)!=0;
			},function(value){
			if(value)
				this._type_|=0x20;
			else
			this._type_&=~0x20;
		});

		GETSET$(0,__proto__,'scaleX',_super.prototype._$get_scaleX,function(value){
			_super.prototype._$set_scaleX.call(this,value);
		});

		GETSET$(0,__proto__,'scaleY',_super.prototype._$get_scaleY,function(value){
			_super.prototype._$set_scaleY.call(this,value);
		});

		GETSET$(0,__proto__,'isReadyForDraw',function(){
			if(!this._childs_||this._childs_.length<1)return true;
			var i=0,len=0;
			len=this._childs_.length;
			var tChild;
			for(i=0;i<len;i++){
				tChild=this._childs_ [i];
				if(tChild&&!tChild.isReadyForDraw){
					return false;
				}
			}
			return true;
		});

		GETSET$(0,__proto__,'width',function(){
			if(this.scale9Data)return this._width_<=0?_super.prototype._$get_width.call(this):this._width_;
			else return _super.prototype._$get_width.call(this);
			},function(w){
			if(this._width_==w)
				return;
			this.scaleX=1.0;
			var oldW=this.getBounds(this).width;
			oldW &&(this.scaleX=w / oldW);
			(this._width_ !=w)&& this.lySize(w,this._height_);
		});

		GETSET$(0,__proto__,'height',function(){
			if(this.scale9Data)return this._height_<=0?_super.prototype._$get_height.call(this):this._height_;
			else return _super.prototype._$get_height.call(this);
			},function(h){
			if(this._height_==h)
				return;
			this.scaleY=1.0;
			var oldH=this.getBounds(this).height;
			oldH &&(this.scaleY=h / oldH);
			(this._height_ !=h)&& this.lySize(this._width_,h);
		});

		return DisplayObjectContainer;
	})(InteractiveObject)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/textfield.as
	var TextField=/*iflash.text.TextField*/(function(_super){
		function TextField(){
			this._nodeIndex=0;
			if (!TextField.PLATFORM && !Laya.CONCHVER){
				TextField.PLATFORM=/*__JS__ */navigator.appVersion;
				TextField.onAndroid=TextField.PLATFORM.indexOf("Android")>-1;
				TextField.onQQBrowser=TextField.PLATFORM.indexOf("QQBrowser")>-1;
				TextField.onUCBrowser=TextField.PLATFORM.indexOf("UCBrowser")>-1;
				TextField.onWindows=TextField.PLATFORM.indexOf("Windows")>-1;
			}
			TextField._SUPERC_.call(this);
			this._lines=[];
			this._originFormats=[];
			this._formats=[];
			this._nodeCoordinate=new Point();
			this.nodes=new TextNodeList()
			this._textWidth=0;
			this._textHeight=0;
			this._width=100;
			this._height=100;
			this._modle_.size(this._width,this._height+5);
			this._selectable=true;
			Laya.RENDERBYCANVAS && DrawText.insertUnit(this);
			DrawText.insertUnit(this);
			this.viewport=[0,0,this._width,this._height];
			this._text="";
			this._type=/*iflash.text.TextFieldType.DYNAMIC*/"dynamic";
			this._df=TextField.DF;
			this.addEventListener(/*iflash.events.Event.ADDED_TO_STAGE*/"addedToStage",BIND$(this,this.onTextAdded));
		}

		CLASS$(TextField,'iflash.text.TextField',true,false,_super);
		var __proto__=TextField.prototype;
		__proto__.onTextAdded=function(e){
			this.addEventListener(/*iflash.events.MouseEvent.CLICK*/"click",BIND$(this,this.onTextFocus),false,-99);
			this.addEventListener(/*iflash.events.Event.REMOVED_FROM_STAGE*/"removedFromStage",BIND$(this,this.onTextRemoved));
			this.removeEventListener(/*iflash.events.Event.ADDED_TO_STAGE*/"addedToStage",BIND$(this,this.onTextAdded));
		}

		__proto__.onTextRemoved=function(e){
			this.addEventListener(/*iflash.events.Event.ADDED_TO_STAGE*/"addedToStage",BIND$(this,this.onTextAdded));
			this.removeEventListener(/*iflash.events.MouseEvent.CLICK*/"click",BIND$(this,this.onTextFocus));
			if (this._scroller)
				this._scroller.removeEventListener(/*iflash.events.TimerEvent.TIMER*/"timer",BIND$(this,this.onTextScroll));
		}

		__proto__.onTextFocus=function(e){
			if (!this.stage)
				return;
			if (this._links && this._links.length){
				this._caretIndex=this.getCharIndexAtPoint(this.mouseX,this.mouseY,true);
				this.checkLinkEvent(this._caretIndex);
			}
			else if (this._type=="input"){
				this._caretIndex=this.getCharIndexAtPoint(this.mouseX,this.mouseY,true);
				Browser.input.value=this._text;
				if (Laya.CONCHVER){
					if (this.stage.currentFocus !=this){
						Browser.input.setType(this._disAsPass ? "password" :"text");
						this._maxChars ? Browser.input.setMaxLength(this._maxChars):Browser.input.setMaxLength(1e8);
						if (this._restrict && this._restrict !="")
							Browser.input.setRegular("["+this._restrict+"]");
						else
						Browser.input.setRegular(".*");
						/*__JS__ */conch.editborder.show(true);
						Browser.input.setPos(5,5);
						Browser.input.setSize(Laya.window.innerWidth-10 ,80-5);
					}
				}
				else{
					this.drawCaret=true;
					DrawText.caret.count=0;
					this.updateCaret(this._caretIndex);
					Browser.input.addEventListener("input",BIND$(this,this.engine_onTextInput));
					Browser.input.addEventListener("keydown",BIND$(this,this.onTextKeyDown));
				}
				if(this.stage.currentFocus !=this){
					Browser.input.focus();
					Browser.input.value=this._text;
					this.stage.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.checkTextFocusout));
				}
				this.setHtmlInputCaret(this._caretIndex);
			}
			if (this.stage && (this.stage.currentFocus !=this && this._selectable)){
				this.dispatchEvent(new FocusEvent(/*iflash.events.FocusEvent.FOCUS_IN*/"focusIn"));
				this.stage.currentFocus=this;
			}
		}

		__proto__.checkTextFocusout=function(e){
			this.stage && (this.stage.focus=null);
			if (e.currentTarget !=this){
				if (Laya.CONCHVER){
					this.conchDispathInput();
					/*__JS__ */conch.editborder.show(false);
				}
				else{
					this.drawCaret=false;
					Browser.input.removeEventListener("input",BIND$(this,this.engine_onTextInput));
					Browser.input.removeEventListener("keydown",BIND$(this,this.onTextKeyDown));
				}
				this.stage.removeEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.checkTextFocusout));
				Browser.input.blur();
				Browser.input.setPos(0,-100);
				this.dispatchEvent(new FocusEvent(/*iflash.events.FocusEvent.FOCUS_OUT*/"focusOut"));
			}
		}

		__proto__.checkLinkEvent=function(indexClick){
			var link;
			for (var i=this._links.length-1;i >=0;i--){
				link=this._links[i];
				if (indexClick >=link.begin && indexClick < link.end){
					if ((typeof link.event=='string'))
						iflash.net.navigateToURL(link.event);
					else
					this.dispatchEvent(link.event);
					return;
				}
			}
		}

		__proto__.addToRender=function(){
			if (TextField.TextsToRender.indexOf(this)==-1)
				TextField.TextsToRender.push(this);
		}

		__proto__.renderThis=function(){
			var idx=TextField.TextsToRender.indexOf(this);
			if (idx !=-1){
				this.engine_updateStyle();
				TextField.TextsToRender.splice(idx,1);
			}
		}

		__proto__.engine_updateStyle=function(){
			this._textWidth=0;
			this._lines.length=0;
			this._currLineInfo=null;
			this._nodeCoordinate.setTo(2,TextField.TOP_PADDING);
			this._nodeIndex=0;
			if (this._text.length){
				if (this._disAsPass && (TextField.onWindows || Laya.CONCHVER)){
					this._charsToRender="";
					for (var i=this._text.length;i > 0;i--)
					this._charsToRender+="*";
				}
				else
				this._charsToRender=this._text;
				var len=this._formats.length;
				var format;
				for (i=0;i < len;i++){
					format=this._formats[i];
					this.createStyleFromTextFormat(format.begin,format.end-1,format.format);
				}
				if (this._type==/*iflash.text.TextFieldType.INPUT*/"input"){
					var textLen=this._text.length;
					if(this._text.charAt(textLen-1)=="\n")
						this.pushNewLineToLines();
				};
				var tempLineIdx=this._lines.length;
				if (tempLineIdx){
					this._textHeight=this._lines[tempLineIdx-1].y+this._lines[tempLineIdx-1].height;
					if ((!this._autoSize || this._autoSize=="none")&& this._textHeight > this._height){
						for (i=tempLineIdx-1;i >=0;i--){
							if (this._textHeight-this._lines[i].y > this._height){
								this._maxScrollV=i+2;
								break ;
							}
						}
						this._bottomScrollV=this.getBottomScrollV(this._scrollV);
					}
					else
					this._bottomScrollV=this._lines.length;
				}
				else{
					this._textHeight=0;
					this._maxScrollV=0;
				}
				this.engine_layout(true);
				this.checkActiveScroll();
				this._charsToRender=null;
			}
			this.updateViewportSize();
		}

		__proto__.pushNewLineToLines=function(){
			this._lines.push({
				text:"",
				maxLeading:0,
				y:this._lines[this._lines.length-1].y+this._df.size+(this._df.leading ? this._df.leading :0),
				height:this._df.size+3,
				width:0,
				nodes:[{
					x:2,
					firstCharIndex:this._text.length,
					lastCharIndex:this._text.length,
					format:this._df,
					text:""
				}],
				begin:this._text.length-1,
				end:this._text.length-1,
				isFirstLineOfParagraph:false
			});
		}

		__proto__.createStyleFromTextFormat=function(startIndex,endIndex,format){
			var text=this._charsToRender.substring(startIndex,endIndex+1);
			if (!this._currLineInfo){
				this._currLineInfo={text:"",maxLeading:0,y:this._nodeCoordinate.y,height:0,width:0,nodes:[],begin:startIndex,end:startIndex,isFirstLineOfParagraph:this._isNextLineNewParagraph};
				this._lines.push(this._currLineInfo);
			}
			this._isNextLineNewParagraph=false;
			var lineBreakIdx=text.indexOf("\n");
			if (lineBreakIdx==-1){
				var textWidth=format.measureText(text).width;
				if (!this._wordWrap || this.stuffEnough(this._nodeCoordinate.x+textWidth,format)|| this._type=='static'){
					this.createNodeStyle(text,this._nodeIndex,format,textWidth);
					this._nodeCoordinate.x+=textWidth;
					this._nodeIndex+=text.length;
				}
				else{
					textWidth=format.measureText(text.charAt(0)).width;
					var charWidth=0;
					for (var i=1,len=text.length;i < len;i++){
						charWidth=format.measureText(text.charAt(i)).width;
						textWidth+=charWidth;
						if (!this.stuffEnough(((format.indent && this._currLineInfo.isFirstLineOfParagraph)? format.indent :0)+this._nodeCoordinate.x+textWidth,format,false)){
							this.createNodeStyle(text.substring(0,i),this._nodeIndex,format,textWidth-charWidth);
							this._nodeIndex+=i;
							this.resetToNewline(format);
							if (startIndex+1 <=endIndex)
								this.createStyleFromTextFormat(startIndex+i,endIndex,format);
							break ;
						}
					}
				}
			}
			else{
				this._isNextLineNewParagraph=true;
				if (text=="\n"){
					this._currLineInfo.text+="\n";
					if (!this._currLineInfo.height){
						this._currLineInfo.height=format.size ? format.size :12;
						this._currLineInfo.height+=3;
					}
					this._currLineInfo.nodes.push({
						x:2,
						firstCharIndex:startIndex,
						lastCharIndex:startIndex,
						format:format,
						text:"\n"
					});
					this.resetToNewline(format);
				}
				else{
					this.createStyleFromTextFormat(startIndex,startIndex+lineBreakIdx-1,format);
					this._currLineInfo.text+="\n";
					if(this._currLineInfo.nodes.length)
						this._currLineInfo.nodes[this._currLineInfo.nodes.length-1].text+="\n";
					if (!this._currLineInfo.height){
						this._currLineInfo.height=format.size ? format.size :12;
						this._currLineInfo.height+=3;
					}
					this._currLineInfo.end++;
					this.resetToNewline(format);
					if (startIndex+lineBreakIdx+1 <=endIndex)
						this.createStyleFromTextFormat(startIndex+lineBreakIdx+1,endIndex,format);
				}
			}
		}

		__proto__.resetToNewline=function(format){
			this._nodeIndex=0;
			this._nodeCoordinate.x=2;
			this._nodeCoordinate.y+=this._currLineInfo.height+(format.leading ? format.leading :0);
			this._currLineInfo=null;
		}

		__proto__.createNodeStyle=function(text,startIndex,format,wordWidth){
			var node={};
			node.x=this._nodeCoordinate.x;
			this._currLineInfo.nodes.push(node);
			node.firstCharIndex=startIndex;
			node.lastCharIndex=node.firstCharIndex+text.length-1;
			node.format=format;
			if(Laya.CONCHVER)
				format._strokeColor=this.strokeColor;
			node.text=text;
			this._currLineInfo.text+=text;
			this._currLineInfo.end+=text.length-1;
			this._currLineInfo.height=Math.max(format.measureText(this._currLineInfo.text).height,this._currLineInfo.height);
			this._currLineInfo.width+=wordWidth;
			this._currLineInfo.maxLeading=Math.max(this._currLineInfo.maxLeading,(format.leading ? Number(format.leading):0));
			this._textWidth=Math.max(this._textWidth,this._currLineInfo.width);
		}

		__proto__.engine_layout=function(refreshX){
			(refreshX===void 0)&& (refreshX=false);
			if (Laya.CONCHVER){
				this.conchNodes=this.conchNodes || /*__JS__ */new ConchArrayTextStr();
				this.conchNodes.clear();
			}
			this.nodes.clear();
			var line;
			var lineNodes;
			var numNodes=0;
			var node;
			var format;
			var xOffset=0,yOffset=0;
			var actualWidth=(this._autoSize && this._autoSize !="none" && !this._wordWrap)? (2+2+this._textWidth):this._width-2;
			var numLines=this._lines.length;
			for (var li=0;li < numLines;li++){
				if (this._textHeight > this._height && (!this._autoSize || this._autoSize=="none")){
					if (li < this._scrollV-1)
						continue ;
					else if (li >=this._bottomScrollV)
					break ;
				}
				line=this._lines[li];
				lineNodes=line.nodes;
				numNodes=lineNodes.length;
				if (!numNodes)
					continue ;
				node=lineNodes[0];
				format=node.format;
				yOffset=line.y+line.height+(TextField.FontOffset[format.font] || 0);
				xOffset=node.x;
				var align=format.align;
				if(refreshX){
					if (line.isFirstLineOfParagraph && format.indent)
						xOffset+=format.indent;
					xOffset+=(format.blockIndent ? format.blockIndent :0);
					if((!this._autoSize || this._autoSize=='none')|| (this._wordWrap && this._autoSize)){
						if(align=='right'){
							xOffset+=actualWidth-line.width-2;
						}
						else if(align=='center'){
							xOffset+=(actualWidth-line.width)/ 2;
						}
					}
				}
				for (var ni=0;ni < numNodes;ni++){
					node=lineNodes[ni];
					format=node.format;
					var letterSpacing=int(format.letterSpacing);
					var nodeWidth=format.measureText(node.text).width;
					var nodeToPush;
					var tempFont=format.getFont();
					var tempFillStyle=StringMethod.getColorString(Number(format.color)|| 0x000000);
					var tempUnderlineWidth=format.underline ? nodeWidth-(format.letterSpacing ? format.letterSpacing :0):0;
					if (Laya.CONCHVER){
						var tempNode=/*__JS__ */new ConchTextStr();
						tempNode.font=tempFont;
						tempNode.fillStyle=tempFillStyle;
						tempNode.x=xOffset;
						tempNode.y=yOffset;
						tempNode.letterSpacing=letterSpacing;
						tempNode.text=node.text;
						tempNode.underlineWidth=tempUnderlineWidth;
						this.conchNodes.push(tempNode);
					}
					nodeToPush={};
					this.nodes.push(nodeToPush);
					nodeToPush.font=tempFont;
					nodeToPush.fillStyle=tempFillStyle;
					nodeToPush.x=xOffset;
					nodeToPush.y=yOffset;
					nodeToPush.letterSpacing=letterSpacing;
					nodeToPush.text=node.text;
					nodeToPush.underlineWidth=tempUnderlineWidth;
					refreshX && (node.x=xOffset);
					if (letterSpacing){
						var lettersX=[];
						var m=node.text.length;
						nodeToPush.lettersX=lettersX;
						for (var j=0;j < m;j++){
							var word=node.text.charAt(j);
							lettersX.push(xOffset);
							xOffset+=format.measureText(word).width;
						}
					}
					else
					xOffset+=nodeWidth;
				}
			}
			Laya.CONCHVER && (this._modle_.textStrs(this.conchNodes));
		}

		__proto__.checkActiveScroll=function(){
			if (this._selectable &&
				(!this._autoSize || this._autoSize=="none")&&
			(this._textWidth > this._width ||
			this._textHeight > this._height)&& this._type !="static" && !this._scroller){
				this._scrollV=1;
				this._scroller=new Timer(100);
				this._scroller.addEventListener(/*iflash.events.TimerEvent.TIMER*/"timer",BIND$(this,this.onTextScroll),false,0,true);
				this.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.onTextMouseDown),false,0,true);
			}
		}

		__proto__.onTextMouseDown=function(e){
			if (this._scroller){
				this._scroller.start();
				this._mouseDownX=this.mouseX;
				this._mouseDownY=this.mouseY;
			}
			Stage.stage.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.onTextMouseUp));
		}

		__proto__.onTextMouseUp=function(e){
			Stage.stage.removeEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.onTextMouseUp));
			this._scroller && this._scroller.stop();
		}

		__proto__.onTextScroll=function(e){
			if (this._lines.length==0)
				return;
			var hSpeed=this.mouseX-this._mouseDownX;
			var vDir=0;
			if (this.mouseY==this._mouseDownY)
				vDir=0;
			else if (this.mouseY < this._mouseDownY)
			vDir=1;
			else
			vDir=-1;
			this.scrollVWithoutRender(this._scrollV+vDir);
			this.scrollHWithoutRender(this.viewport[0]+hSpeed);
			this.engine_layout();
		}

		__proto__.updateViewportSize=function(){
			if(this.autoSize !='none' && this.autoSize){
				this.viewport[2]=this._wordWrap ? this._width :this._textWidth+2+2+1;
				this.viewport[3]=this._textHeight+TextField.TOP_PADDING+2;
				if(this._autoSize=="center"){
					if(this._priority==1){
						_super.prototype._$set_x.call(this,(this._userSetX || 0)+(this._width-this._textWidth-2-2)/2+(this.tempBound ? this.tempBound.x :0));
						if(this._wordWrap){
							_super.prototype._$set_x.call(this,this._userSetX+(this.tempBound ? this.tempBound.x :0));
						}
					}
					else{
						_super.prototype._$set_x.call(this,this._userSetX-this._textWidth/2+(this.tempBound ? this.tempBound.x :0));
					}
				}
			}
			else{
				this.viewport[2]=this._width;
				this.viewport[3]=this._height;
			}
			this._modle_.size(this.viewport[2]+5,this.viewport[3]+10);
		}

		__proto__.engine_clear=function(clearInputValue){
			this.nodes.clear();
			this.conchNodes && this.conchNodes.clear();
			Laya.CONCHVER && this._modle_.textStrs(this.conchNodes);
			this._lines.length=0;
			this._numLines=1;
			this._textWidth=0;
			this._textHeight=0;
			this._text='';
			this._htmlText=null;
			this._charsToRender=null;
			this._nodeIndex=0;
			var idx=TextField.TextsToRender.indexOf(this);
			if (idx >-1)
				TextField.TextsToRender.splice(idx,1);
			if (this._type=='input' && clearInputValue){
				Browser.input.value='';
				if (TextField.onWindows)
					this.updateCaret(-1);
			}
		}

		__proto__.conchDispathInput=function(){
			this.dispatchEvent(new TextEvent(/*iflash.events.TextEvent.TEXT_INPUT*/"textInput"));
			this.text=Browser.input.value;
			this.dispatchEvent(new Event(/*iflash.events.Event.CHANGE*/"change"));
		}

		__proto__.appendText=function(newText){
			if (this._text)
				newText=this._text+newText;
			this._originFormats.length=0;
			this._text=newText.toString();
			this._nodeIndex=0;
			this._originFormats.push({begin:0,end:this._text.length,format:this._df});
			this.createFormats();
			this.addToRender();
		}

		__proto__.getCharBoundaries=function(charIndex,workInternally){
			(workInternally===void 0)&& (workInternally=false);
			if (charIndex >=this._text.length || charIndex < 0)
				return null;
			workInternally || this.renderThis();
			var result=new Rectangle();
			var line=this._lines[this.getLineIndexOfChar(charIndex)];
			charIndex-=line.begin;
			var node=this.getNodeFromLineByIndex(charIndex,line);
			charIndex-=node.firstCharIndex;
			var format=node.format;
			var metrics=format.measureText(node.text.substring(0,charIndex));
			result.x=node.x+metrics.width;
			var char=node.text.charAt(charIndex);
			metrics=format.measureText(char);
			result.y=line.height-metrics.height+line.y;
			result.width=metrics.width;
			result.height=metrics.height;
			return result;
		}

		__proto__.getCharIndexAtPoint=function(x,y,workForCaret){
			(workForCaret===void 0)&& (workForCaret=false);
			if (!this._text || this._text=="" || this._text.length==0)
				return 0;
			this.renderThis();
			x+=this.viewport[0];
			y+=this.viewport[1];
			var charIndex=0;
			if (y < this._textHeight){
				var line;
				var i=this._scrollV ? this._scrollV-1 :0;
				for (i;i < this._bottomScrollV;i++){
					line=this._lines[i];
					if (y < line.y+line.height){
						break ;
					}
				}
			}
			if (!line){
				if (workForCaret)
					line=this._lines[this._lines.length-1];
				else
				return-1;
			}
			if (x > line.width+line.nodes[0].x){
				if (workForCaret){
					if (this._text.charAt(line.end)=="\n"){
						return line.end;
					}
					return line.end+1;
				}
				return-1;
			};
			var nodes=line.nodes;
			var node;
			var format;
			var tempX=0;
			var tempWid=0;
			var len=nodes.length;
			var find=false;
			for (i=0;i < len;i++){
				node=nodes[i];
				format=node.format;
				tempX=node.x;
				var numChars=node.text.length;
				if(!numChars)return line.end;
				for (var j=0;j < numChars;j++){
					var char=node.text[j];
					if (char=="\n" && workForCaret)
						return line.end;
					tempWid=format.measureText(char).width;
					tempX+=tempWid;
					charIndex++;
					if (tempX > x){
						find=true;
						tempX-=(format.letterSpacing)? format.letterSpacing :0;
						return workForCaret ? ((tempX-(tempWid >> 1))< x ? charIndex+line.begin :charIndex+line.begin-1):(charIndex+line.begin-1);
					}
				}
			}
			return-1;
		}

		__proto__.getFirstCharInParagraph=function(charIndex){
			return 0;
		}

		__proto__.getImageReference=function(id){
			return null;
		}

		__proto__.getLineIndexAtPoint=function(x,y){
			this.renderThis();
			var charIndex=this.getCharIndexAtPoint(x,y);
			return this.getLineIndexOfChar(charIndex);
		}

		__proto__.getLineIndexOfChar=function(charIndex){
			if (charIndex < 0 || charIndex >=this._text.length)
				return-1;
			this.renderThis();
			var len=this._lines.length;
			var line;
			for (var i=0;i < len;i++){
				line=this._lines[i];
				if (charIndex >=line.begin && charIndex <=line.end)
					return i;
			}
			return this._lines.length-1;
		}

		__proto__.getLineLength=function(lineIndex){
			this.renderThis();
			return this._lines[lineIndex].text.length;
		}

		__proto__.getLineMetrics=function(lineIndex){
			this.renderThis();
			if (lineIndex < 0 || lineIndex >=this._lines.length)
				return new TextLineMetrics(0,0,this._df.size+TextFormat.HEI_OFF,0,0,0);
			var line=this._lines[lineIndex];
			var x=line.nodes ? line.nodes[0].x :0;
			var wid=line.width;
			var hei=line.height;
			var ascent=0;
			var descent=0;
			var leading=line.maxLeading;
			return new TextLineMetrics(x,wid,hei,ascent,descent,leading);
		}

		__proto__.getLineOffset=function(lineIndex){
			this.renderThis();
			return this._lines[lineIndex].begin;
		}

		__proto__.getLineText=function(lineIndex){
			this.renderThis();
			return this._lines[lineIndex].text;
		}

		__proto__.getParagraphLength=function(charIndex){
			return 0;
		}

		__proto__.getTextFormat=function(beginIndex,endIndex){
			(beginIndex===void 0)&& (beginIndex=-1);
			(endIndex===void 0)&& (endIndex=-1);
			if (beginIndex==-1 && endIndex==-1)
				return this._df.clone();
			var format;
			if (beginIndex !=-1 && endIndex !=-1){
				for (var i=this._originFormats.length-1;i >=0;i--){
					format=this._originFormats[i];
					if (format.begin==beginIndex && format.end==endIndex)
						return format.format.clone();
				}
				return null;
			}
			if (beginIndex !=-1 && endIndex==-1){
				for (i=this._originFormats.length-1;i >=0;i--){
					format=this._originFormats[i];
					if (beginIndex >=format.begin && beginIndex < format.end)
						return format.format;
				}
			}
			return null;
		}

		__proto__.replaceText=function(beginIndex,endIndex,newText){
			var forepart=this._text.substring(0,beginIndex);
			var endpart=this._text.substring(endIndex);
			this._text=forepart+newText+endpart;
			var format;
			for (var i=0,len=this._originFormats.length;i < len;i++){
				format=this._originFormats[i];
				if (format.begin <=beginIndex && format.end >=beginIndex){
					format.end+=newText.length-(endIndex-beginIndex);
				}
			}
			this.createFormats();
			this.addToRender();
		}

		__proto__.setSelection=function(beginIndex,endIndex){
			Browser.input.setSelectionRange(beginIndex,endIndex);
		}

		__proto__.setTextFormat=function(format,beginIndex,endIndex){
			if (!this._text || !this._text.length)
				return;
			this._formats=[];
			if (arguments.length==1){
				beginIndex=0;
				endIndex=this.text.length;
			}
			else if (arguments.length==2){
				endIndex=beginIndex+1;
			}
			this.addToRender();
			var tempFormat;
			for (var i=this._originFormats.length-1;i >=0;i--){
				tempFormat=this._originFormats[i];
				if (tempFormat.begin==beginIndex && tempFormat.end==endIndex){
					this._originFormats[i].format=format;
					this.createFormats();
					return;
				}
			}
			this.insertFormt(format,beginIndex,endIndex);
			this.createFormats();
		}

		__proto__.numberSortCallback=function(a,b){
			return a > b ? 1 :-1;
		}

		__proto__.createFormats=function(){
			this._formats.length=0;
			iflash.text.TextField.FormatIndices.push(0,this._text.length);
			iflash.text.TextField.FormatIndices.sort(BIND$(this,this.numberSortCallback));
			var lastValue=iflash.text.TextField.FormatIndices[iflash.text.TextField.FormatIndices.length-1];
			for (var i=iflash.text.TextField.FormatIndices.length-2;i >=0;i--){
				if (iflash.text.TextField.FormatIndices[i]==lastValue || iflash.text.TextField.FormatIndices[i] > this._text.length)
					iflash.text.TextField.FormatIndices.splice(i,1);
				lastValue=iflash.text.TextField.FormatIndices[i];
			}
			if(iflash.text.TextField.FormatIndices[iflash.text.TextField.FormatIndices.length-1] > this._text.length)
				iflash.text.TextField.FormatIndices.pop();
			var end=iflash.text.TextField.FormatIndices.length-1;
			for (i=0;i < end;i++){
				var relateFormats=this.getRelateTextForamts(iflash.text.TextField.FormatIndices[i]);
				this._formats.push({format:this.mixTextFormats(relateFormats),begin:TextField.FormatIndices[i],end:TextField.FormatIndices[i+1]});
			}
			this.addToRender();
		}

		__proto__.getBottomScrollV=function(startLine){
			if (this._lines.length==0 || startLine > this._lines.length)
				return 0;
			if (this._lines.length==1)
				return 1;
			if (this._textHeight < this._height)
				return this._lines.length;
			var totalLines=this._lines.length;
			for (var i=startLine-1;i < totalLines;i++){
				if (this._lines[i].y+this._lines[i].height > this._height+this.viewport[1])
					return i;
			}
			return totalLines;
		}

		__proto__.getRelateTextForamts=function(index){
			var result=[];
			var len=this._originFormats.length;
			for (var i=0;i < len;i++){
				var format=this._originFormats[i];
				if (index >=format.begin && index < format.end){
					result.push(format.format);
				}
			}
			return result;
		}

		__proto__.mixTextFormats=function(formats){
			var format;
			var result=formats[formats.length-1].clone();
			for (var i=formats.length-2;i >=0;i--){
				format=formats[i];
				result._align=(!result._align || result._align=="left")? format._align :result._align;
				result._bold=result._bold || format._bold;
				result._color=result._color || format._color;
				result._font=result._font || format._font;
				result._italic=result._italic || format._italic;
				result._leading=result._leading || format._leading;
				result._leftMargin=result._leftMargin || format._leftMargin;
				result._letterSpacing=result._letterSpacing || format._letterSpacing;
				result._size=result._size || format._size;
				result._underline=result._underline || format._underline;
			}
			result._strokeColor=this.strokeColor;
			return result;
		}

		__proto__.stuffEnough=function(value,format,leftMargin){
			(leftMargin===void 0)&& (leftMargin=true);
			return value+(leftMargin && format.leftMargin ? format.leftMargin :0)+(format.blockIndent ? format.blockIndent :0)+(format.rightMargin ? format.rightMargin :0)<=this._width-2;
		}

		__proto__.engine_onTextInput=function(e){
			if (this._lastPressKey==/*iflash.ui.Keyboard.DELETE*/46){
				this.engine_clear(false);
				this._formats[this._formats.length-1].end--;
				this._text=Browser.input.value;
				if (this._text !="")
					this.engine_updateStyle();
				this.updateCaret(this._caretIndex);
			}
			else if (this._lastPressKey==/*iflash.ui.Keyboard.BACKSPACE*/8 && this._caretIndex > 0){
				this.engine_clear(false);
				this._formats[this._formats.length-1].end--;
				this._text=Browser.input.value;
				if (this._text !="")
					this.engine_updateStyle();
				this.updateCaret(--this._caretIndex);
				if(DrawText.caret.y+1 < this.viewport[1]){
					this.scrollVWithoutRender(this._scrollV-1);
					this.engine_layout();
				}
				if(this.viewport[0]>0){
					if (DrawText.caret.x-this.viewport[0] < this._width-Number(this._df.size)*2)
						this.viewport[0]-=Number(this._df.size)*2;
				}
			}
			else if (this._lastPressKey==/*iflash.ui.Keyboard.ENTER*/13){
				if(this._multiline){
					DrawText.caret.y+=this._df.size+3;
					DrawText.caret.x=this._df.align=="right" ? 2 :this._df.align=="center" ? this._width / 2 :2+1;
					this.dispatchEvent(new TextEvent(/*iflash.events.TextEvent.TEXT_INPUT*/"textInput",false,false,'\n'));
					this.engine_clear(false);
					this._text=Browser.input.value;
					this._formats.length=0;
					this._formats.push({begin:0,end:this._text.length,format:this._df});
					this.engine_updateStyle();
					this.updateCaret(++this._caretIndex);
					this.checkAutoScrollV();
					this.dispatchEvent(new TextEvent(/*iflash.events.TextEvent.TEXT_INPUT*/"textInput",false,false,charsInput));
				}
				else{
					Browser.input.value=this._text;
					this.setHtmlInputCaret(this._caretIndex);
				}
			}
			else{
				var oldLen=this._text.length;
				var oldLines=this._lines.length;
				var newValue=Browser.input.value;
				var charsInput=newValue.substr(this._caretIndex,newValue.length-oldLen);
				if (charsInput.length && this._restrict){
					var matchs=newValue.match(this._restrict);
					if (!matchs)
						return;
					newValue=matchs.join("");
					if (newValue !=Browser.input.value){
						Browser.input.value=newValue;
						this.setHtmlInputCaret(this._caretIndex);
					}
				}
				this.dispatchEvent(new TextEvent(/*iflash.events.TextEvent.TEXT_INPUT*/"textInput",false,false,charsInput));
				var tempText=this.maxCharsLimit(newValue);
				if (this._maxChars && this._maxChars > 0 && this._text.length==tempText.length)
					return;
				this._caretIndex=Browser.input.selectionStart;
				if (TextField.onAndroid && (TextField.onQQBrowser || TextField.onUCBrowser))
					this._caretIndex+=charsInput.length;
				this.engine_clear(false);
				this._text=tempText.toString();
				this._formats.length=0;
				this._formats.push({begin:0,end:this._text.length,format:this._df});
				this.engine_updateStyle();
				this.updateCaret(this._caretIndex);
				this.checkAutoScrollV();
				this.checkAutoScrollH();
			}
			this.dispatchEvent(new Event(/*iflash.events.Event.CHANGE*/"change"));
		}

		__proto__.checkAutoScrollV=function(){
			if (DrawText.caret.y+DrawText.caret.height-this.viewport[1] > this._height-2){
				this.scrollVWithoutRender(this._scrollV+1);
				this.engine_layout();
				this._modle_.textView(this.viewport[0],this.viewport[1]);
			}
		}

		__proto__.checkAutoScrollH=function(){
			var charSize=Number(this._df.size);
			if (DrawText.caret.x-this.viewport[0] > this.viewport[2] &&
				(!this._autoSize || this._autoSize=="none")){
				this.viewport[0]+=charSize *2;
				this._modle_.textView(this.viewport[0],this.viewport[1]);
			}
		}

		__proto__.maxCharsLimit=function(text){
			if (this._maxChars > 0 && text.length > this._maxChars){
				if (this._text.length >=this._maxChars){
					if (text.length > this._text.length)
						text=this._text;
					else
					if (this._lastPressKey==/*iflash.ui.Keyboard.BACKSPACE*/8)
						this._caretIndex--;
				}
				else
				text=text.substr(0,this._maxChars);
				Browser.input.value=text;
				this.setHtmlInputCaret(this._caretIndex);
			}
			return text;
		}

		__proto__.onTextKeyDown=function(e){
			this._lastPressKey=Laya.CONCHVER ? e :e.keyCode;
			this.dispatchEvent(new KeyboardEvent(/*iflash.events.KeyboardEvent.KEY_DOWN*/"keyDown"));
			switch (e.keyCode){
				case /*iflash.ui.Keyboard.ENTER*/13:
					break ;
				case /*iflash.ui.Keyboard.HOME*/36:
				case /*iflash.ui.Keyboard.END*/35:
				case /*iflash.ui.Keyboard.UP*/38:
				case /*iflash.ui.Keyboard.DOWN*/40:
					/*__JS__ */window.event && (window.event.returnValue=false);
					break ;
				case /*iflash.ui.Keyboard.LEFT*/37:
					if (this._type==/*iflash.text.TextFieldType.INPUT*/"input" && this._caretIndex > 0){
						this.updateCaret(--this._caretIndex);
						DrawText.caret.count=0;
					}
					break ;
				case /*iflash.ui.Keyboard.RIGHT*/39:
					if (this._type==/*iflash.text.TextFieldType.INPUT*/"input" && this._caretIndex < this._text.length){
						this.updateCaret(++this._caretIndex);
						DrawText.caret.count=0;
					}
					break ;
				default :
					return;
				}
		}

		__proto__.replaceSelectedText=function(value){}
		__proto__.lyclone=function(){
			var result=new TextField();
			this.getTextResult(result);
			return result;
		}

		__proto__.getTextResult=function(result){
			result._autoSize=this._autoSize;
			result.maxChars=this.maxChars;
			result.border=this.border;
			result._multiline=this._multiline;
			result._textHeight=this._textHeight;
			result._textWidth=this._textWidth;
			result._width=this._width;
			result._height=this._height;
			if (this._wordWrap)
				result._wordWrap=this._wordWrap;
			result.type=this._type;
			if (this.tempBound)
				result.tempBound=this.tempBound;
			result.x=this.x;
			result.y=this.y;
			if (this._df !=TextField.DF)
				result._df=this._df.clone()
			if (this._htmlText)
				result.htmlText=this._htmlText;
			else
			result.text=this._text;
			result.strokeColor=this.strokeColor;
			result.strokeThickness=this.strokeThickness;
		}

		__proto__.updateCaret=function(index){
			DrawText.caret.count=0;
			if (this._text.length){
				var caretCharBound;
				if (index==this._text.length){
					if (this._text.charAt(index-1)=="\n"){
						caretCharBound=this.getCharBoundaries(this._lines[this._lines.length-2].begin,true);
						caretCharBound.y+=(this._df.leading ? this._df.leading :0)+this._df.size;
					}
					else{
						caretCharBound=this.getCharBoundaries(index-1,true);
						caretCharBound.x+=caretCharBound.width;
					}
				}
				else if(index==0){
					caretCharBound=this.getCharBoundaries(index,true);
				}
				else
				caretCharBound=this.getCharBoundaries(index);
				DrawText.caret.color=StringMethod.getColorString(Number(this._df.color));
				DrawText.caret.x=caretCharBound.x+1;
				DrawText.caret.y=caretCharBound.y;
				DrawText.caret.width=1;
				DrawText.caret.height=this._df.size;
			}
			else{
				DrawText.caret.color=StringMethod.getColorString(this._df.color);
				DrawText.caret.height=this._df.measureText("I").height;
				DrawText.caret.y=TextField.TOP_PADDING;
				if (this._df.align==/*iflash.text.TextFormatAlign.CENTER*/"center")
					DrawText.caret.x=this._width >> 1;
				else if (this._df.align==/*iflash.text.TextFormatAlign.RIGHT*/"right")
				DrawText.caret.x=this._width-2;
				else
				DrawText.caret.x=1+2;
			}
		}

		__proto__.parseHTMLText=function(xml){
			if(xml==null)return;
			var tagName=xml.nodeName;
			if (tagName=="#text" || tagName=="#cdata-section")
				this._text+=xml.textContent;
			else if (!xml.length){
				var startIndex=this._text.length;
				var format=new TextFormat();
				if (xml.childNodes && !xml.childNodes.length){
					if (xml.firstChild && xml.firstChild.nodeType==3)
						this._text+=xml.textContent;
				}
				else{
					this.parseHTMLText(xml.childNodes);
				};
				var getAtt=function (name){
					if (Laya.CONCHVER){
						var atts=xml.attributes;
						for (var i=atts.length-1;i >=0;i--){
							if (atts[i].nodeName==name || atts[i].nodeName==name.toUpperCase())
								return atts[i].nodeValue;
						}
					}
					else
					return xml.getAttribute(name)|| xml.getAttribute(name.toUpperCase());
				};
				tagName=tagName.toLowerCase();
				switch (tagName){
					case "b":
						format.bold=true;
						break ;
					case "br":
						this._text+="\n";
						break ;
					case "font":;
						var color=getAtt("color");
						if (color){
							format.color=String(color).replace("#","0x");
							format.color=LAYABOX.parseInt(format.color,16);
						};
						var face=getAtt("face");
						if (face)
							format.font=face;
						var size=getAtt("size");
						if (size){
							var firstChar=size.charAt(0);
							if (firstChar=="+")
								format.size=Number(format.size)+LAYABOX.parseInt(size);
							else if (firstChar=="-")
							format.size=Number(format.size)-LAYABOX.parseInt(size);
							else
							format.size=getAtt("size");
						}
						break ;
					case "i":
						format.italic=true;
						break ;
					case "p":;
						var align=getAtt("align");
						if (align)
							format.align=align;
						this._multiline && (this._text+="\n");
						break ;
					case "textformat":;
						var blockIndent=getAtt("blockindent");
						if (blockIndent)
							format.blockIndent=blockIndent;
						var indent=getAtt("indent");
						if (indent)
							format.indent=indent;
						var leading=getAtt("leading");
						if (leading)
							format.leading=leading;
						var leftmargin=getAtt("leftmargin");
						if (leftmargin)
							format.leftMargin=leftmargin;
						var rightmargin=getAtt("rightmargin");
						if (rightmargin)
							format.rightMargin=rightmargin;
						break ;
					case "u":
						format.underline=true;
						break ;
					case "a":;
						var href=getAtt("href");
						this._links || (this._links=[]);
						href || (href="");
						if (href.indexOf("event:")==0){
							var te=new TextEvent(/*iflash.events.TextEvent.LINK*/"link");
							te.text=href.substr(6);
							this._links.push({event:te});
						}
						else{
							this._links.push({event:href});
						}
						break ;
					case "img":
						break ;
					}
				if (tagName=="a"){
					this._links[this._links.length-1].begin=startIndex;
					this._links[this._links.length-1].end=this._text.length;
				}
				else
				this.insertFormt(format,startIndex,this._text.length,false);
			}
			else{
				var xmlLength=xml.length;
				if (xmlLength==1 && xml[0].nodeType==3){
					this._text+=xml[0].textContent;
				}
				else{
					for (var i=0;i < xmlLength;i++){
						this.parseHTMLText(xml[i]);
					}
				}
			}
		}

		__proto__.insertFormt=function(format,beginIndex,endIndex,usePush){
			(usePush===void 0)&& (usePush=true);
			var temp={begin:beginIndex,end:endIndex,format:format.clone()};
			if (usePush)
				this._originFormats.push(temp);
			else
			this._originFormats.unshift(temp);
			TextField.FormatIndices.push(beginIndex,endIndex);
		}

		__proto__._getBounds_=function(targetSpace,resultRect){
			if (!resultRect)
				resultRect=new Rectangle();
			resultRect.x=0;
			resultRect.y=0;
			resultRect.width=this._width;
			resultRect.height=this._height;
			if(this._autoSize && this._autoSize !="none"){
				if(!this._wordWrap)
					resultRect.width=this.textWidth+TextField.TOP_PADDING+2;
				resultRect.height=this.textHeight+TextField.TOP_PADDING+2;
			}
			return resultRect;
		}

		__proto__._hitTest_=function(_x,_y){
			if (!this.visible || !this.mouseEnabled)
				return null;
			if (!this._checkHitMask(_x,_y)){
				return null;
			}
			if (this._getBounds_(this,DisplayObject.HELPER_RECTANGLET).containsPoint(DisplayObject.HELPER_POINT.setTo(_x,_y))){
				return this;
			}
			else{
				return null;
			}
		}

		__proto__._paintChild_=function(context,x,y,w,h){
			this.renderThis();
			DrawText.drawBG(context,x,y,this);
			DrawText.printText(this,context,x,y);
		}

		__proto__.getLineIndex=function(line){
			for (var i=this._lines.length-1;i >=0;i--){
				if (this._lines[i]==line)
					return i;
			}
			return-1;
		}

		__proto__.getNodeFromLineByIndex=function(index,line){
			var nodes=line.nodes;
			var node;
			var len=nodes.length;
			for (var i=0;i < len;i++){
				node=nodes[i];
				if (index >=node.firstCharIndex && index <=node.lastCharIndex)
					return node;
			}
			return nodes[len-1];
		}

		__proto__.setHtmlInputCaret=function(caret){
			if(Laya.CONCHVER)
				Browser.input.setCursorPosition(caret);
			else
			Browser.input.setSelectionRange(caret,caret);
		}

		__proto__.scrollVWithoutRender=function(value){
			if (value < 0 || value > this._lines.length)
				return;
			if (this._maxScrollV > 1){
				var lastValue=this._scrollV;
				this._scrollV=Math.max(value,1);
				this._scrollV=Math.min(this._scrollV,this._maxScrollV);
				if (this._scrollV > this._maxScrollV)
					if (lastValue==this._scrollV)
				return;
				this.viewport[1]=this._lines[this._scrollV-1].y;
				this._bottomScrollV=this.getBottomScrollV(this._scrollV);
				this._modle_.textView(this.viewport[0],this.viewport[1]);
				this.dispatchEvent(new Event(/*iflash.events.Event.SCROLL*/"scroll"));
			}
			else{
				this._bottomScrollV=this._lines.length;
				this._scrollV=1;
				this.viewport[1]=0;
				this._modle_.textView(this.viewport[0],this.viewport[1]);
			}
		}

		__proto__.scrollHWithoutRender=function(value){
			if (value < 0)
				value=0;
			else if (value > this.maxScrollH)
			value=this.maxScrollH;
			if (this.viewport[0]==value)
				return;
			this.viewport[0]=value;
			this._modle_.textView(this.viewport[0],this.viewport[1]);
			this.dispatchEvent(new Event(/*iflash.events.Event.SCROLL*/"scroll"));
		}

		GETSET$(0,__proto__,'autoSize',function(){
			return this._autoSize;
			},function(value){
			this._priority=1;
			this._autoSize=value;
		});

		GETSET$(0,__proto__,'displayAsPassword',function(){
			return this._disAsPass;
			},function(value){
			this._disAsPass=value;
			this.addToRender();
		});

		GETSET$(0,__proto__,'background',function(){
			return this._background || false;
			},function(value){
			this._backgroundColor || (this._backgroundColor="#FFFFFF");
			this._background=value;
			(Laya.CONCHVER && value)&& (this._modle_.bgcolor(this._backgroundColor));
		});

		GETSET$(0,__proto__,'backgroundColor',function(){
			if (this._backgroundColor)
				return LAYABOX.parseInt("0x"+this._backgroundColor.substring(2),16);
			return 0xFFFFFF;
			},function(value){
			this._backgroundColor=StringMethod.getColorString(value);
			(Laya.CONCHVER && this._background)&& (this._modle_.bgcolor(this._backgroundColor));
		});

		GETSET$(0,__proto__,'caretIndex',function(){
			return this._caretIndex;
		});

		GETSET$(0,__proto__,'border',function(){
			return this._border || false;
			},function(value){
			this._borderColor || (this._borderColor="#000000");
			this._border=value;
			(Laya.CONCHVER && value)&& (this._modle_.border(this._borderColor));
		});

		GETSET$(0,__proto__,'embedFonts',function(){
			return false;
			},function(value){
		});

		GETSET$(0,__proto__,'text',function(){
			return this._text;
			},function(value){
			this._htmlText='';
			if(value==undefined){
				throw new Error("Parameter text must be non-null.");
			}
			if (value==""){
				if (this._type=="input")
					this.updateCaret(0);
				this.engine_clear(true);
				return;
			}
			this._text=value+'';
			this._nodeIndex=0;
			this.addToRender();
			this.viewport[0]=0;
			this._modle_.textView(this.viewport[0],this.viewport[1]);
			this._scrollV=1;
			this._originFormats.length=0;
			this._originFormats.push({begin:0,end:this._text.length,format:this._df});
			iflash.text.TextField.FormatIndices.length=0;
			this.createFormats();
			this._isNextLineNewParagraph=true;
		});

		GETSET$(0,__proto__,'condenseWhite',function(){
			return this._condenseWhite;
			},function(value){
			this._condenseWhite=value;
		});

		GETSET$(0,__proto__,'selectedText',function(){
			return this._selectable;
		});

		GETSET$(0,__proto__,'borderColor',function(){
			return LAYABOX.parseInt("0x"+this._borderColor.substring(2),16);
			},function(value){
			this._borderColor=StringMethod.getColorString(value);
			(Laya.CONCHVER && this._border)&& (this._modle_.border(this._borderColor));
		});

		GETSET$(0,__proto__,'scrollH',function(){
			return this.viewport[0];
			},function(value){
			this.scrollHWithoutRender(value);
			this.engine_layout();
		});

		GETSET$(0,__proto__,'bottomScrollV',function(){
			this.renderThis();
			return this._bottomScrollV;
		});

		GETSET$(0,__proto__,'defaultTextFormat',function(){
			return this._df.clone();
			},function(format){
			if (this._df==TextField.DF)
				this._df=new TextFormat();
			this._df.align=format.align;
			this._df.blockIndent=format.blockIndent;
			this._df.bold=format.bold;
			this._df.bullet=format.bold;
			this._df.color=format.color;
			this._df.display=format.display;
			this._df.font=format.font;
			this._df.indent=format.indent;
			this._df.italic=format.italic;
			this._df.leading=format.leading;
			this._df.leftMargin=format.leftMargin;
			this._df.letterSpacing=format.letterSpacing;
			this._df.rightMargin=format.rightMargin;
			this._df.size=format.size;
			this._df.tabStops=format.tabStops;
			this._df.target=format.target;
			this._df.underline=format.underline;
			this._df.url=format.url;
			if (this._type !="input" && this._text && this._text.length){
				this.addToRender();
				this.createFormats();
			}
		});

		GETSET$(0,__proto__,'htmlText',function(){
			return this._htmlText;
			},function(value){
			if (value=="" && this._text)
				this.engine_clear(true);
			this._links && (this._links.length=0);
			this._originFormats.length=0;
			this._htmlText=value;
			this._text="";
			if (!this._htmlText || !this._htmlText.length){
				this.nodes.clear();
				this.conchNodes && this.conchNodes.clear();
				Laya.CONCHVER && (this._modle_.textStrs(this.conchNodes));
				return;
			}
			this.addToRender();
			if(Laya.CONCHVER){
				if(/^\x20+$/g.test(value)){
					this.text=value;
					return;
				}
			}
			value="<data>"+value+"</data>";
			value=value.replace(/(\<br\>|\n)/g,"<br/>");
			if (this._condenseWhite)
				value=value.replace(/(\s)+/g,'$1');
			/*__JS__ */var xml=(new DOMParser()).parseFromString(value,'text/xml');;
			if (!Laya.CONCHVER){
				/*__JS__ */if(!xml.childNodes[0].textContent)return;
			}
			/*__JS__ */var data=xml.childNodes[0].childNodes;
			this.parseHTMLText(/*__JS__ */data);
			if (Laya.CONCHVER)
				this._text=TextField.decodeFromEntities(this._text);
			this._originFormats.unshift({begin:0,end:this._text.length,format:this._df});
			iflash.text.TextField.FormatIndices.length=0;
			this.createFormats();
			this._isNextLineNewParagraph=true;
		});

		GETSET$(0,__proto__,'length',function(){
			return this._text ? this._text.length :0;
		});

		GETSET$(0,__proto__,'maxChars',function(){
			return this._maxChars;
			},function(value){
			this._maxChars=value;
		});

		GETSET$(0,__proto__,'maxScrollH',function(){
			if (!this._textWidth)
				return 0;
			this.renderThis();
			return Math.max(0,this._textWidth-(this._width-1-2-2));
		});

		GETSET$(0,__proto__,'maxScrollV',function(){
			this.renderThis();
			return this._maxScrollV ? this._maxScrollV :1;
		});

		GETSET$(0,__proto__,'multiline',function(){
			return this._multiline;
			},function(value){
			this._multiline=value;
		});

		GETSET$(0,__proto__,'numLines',function(){
			this.renderThis();
			if (!this._lines || this._lines.length==0)
				return 1;
			return this._lines.length;
		});

		GETSET$(0,__proto__,'restrict',function(){
			if (Laya.CONCHVER)
				return this._restrict;
			else
			return !this._restrict ? "" :this._restrict.source;
			},function(value){
			if (Laya.CONCHVER)
				this._restrict=value;
			else{
				if (!value){
					this._restrict=null;
					return;
				}
				if (!(/^\[.+\]$/.test(value)))
					value="["+value+"]";
				this._restrict=new RegExp(value,"g");
			}
		});

		GETSET$(0,__proto__,'scrollV',function(){
			return this._scrollV ? this._scrollV :1;
			},function(value){
			this.scrollVWithoutRender(value);
			this.engine_layout();
		});

		GETSET$(0,__proto__,'useRichTextClipboard',function(){
			return false;
			},function(value){
		});

		GETSET$(0,__proto__,'_filters',null,function(value){
			var a=value[0];
			this.strokeColor=StringMethod.getColorString(a.color);
			this.strokeThickness=a.blurX;
		});

		GETSET$(0,__proto__,'selectable',function(){
			return this._selectable;
			},function(value){
			this._selectable=value;
			if (!value && this._scroller){
				this._scroller.running && this._scroller.stop();
				this._scroller.removeEventListener(/*iflash.events.TimerEvent.TIMER*/"timer",BIND$(this,this.onTextScroll));
				this._scroller=null;
			}
		});

		GETSET$(0,__proto__,'selectionBeginIndex',function(){
			return this._selectionBeginIndex;
		});

		GETSET$(0,__proto__,'y',function(){
			return _super.prototype._$get_y.call(this)-(this.tempBound ? this.tempBound.y :0);
			},function(value){
			_super.prototype._$set_y.call(this,value+(this.tempBound ? this.tempBound.y :0));
		});

		GETSET$(0,__proto__,'selectionEndIndex',function(){
			return this._selectionEndIndex;
		});

		GETSET$(0,__proto__,'sharpness',function(){
			return 0;
			},function(value){
		});

		GETSET$(0,__proto__,'textColor',function(){
			return this._textColor;
			},function(value){
			if (value > 0xFFFFFF)
				value=Number("0x"+value.toString(16).substr(2));
			if (this._df==TextField.DF)
				this._df=new TextFormat();
			if (this._originFormats[0])
				this._originFormats[0].format=this._df;
			this._textColor=value;
			this._df.color=this._textColor;
			if (this._text && this._text.length > 0){
				this.createFormats();
				this.addToRender();
			}
		});

		GETSET$(0,__proto__,'textHeight',function(){
			this.renderThis();
			return this._textHeight;
		});

		GETSET$(0,__proto__,'thickness',function(){
			return 0;
			},function(value){
		});

		GETSET$(0,__proto__,'textWidth',function(){
			this.renderThis();
			return this._textWidth;
		});

		GETSET$(0,__proto__,'type',function(){
			return this._type;
			},function(value){
			this._type=value;
			if (this._type=="input"){
				this._caretIndex=0;
			}
		});

		GETSET$(0,__proto__,'wordWrap',function(){
			return this._wordWrap || false;
			},function(value){
			if (this._wordWrap !=value)
				this.addToRender();
			this._wordWrap=value;
		});

		GETSET$(0,__proto__,'width',function(){
			this.renderThis();
			if (this._wordWrap)
				return this._width;
			return (this._autoSize && this._autoSize !="none")? this._textWidth+(2+2)*2 :this._width;
			},function(value){
			if (value==this._width || value <=0)
				return;
			this._width=value;
			this.viewport[2]=value;
			this._modle_.size(this.viewport[2],this.viewport[3]+10);
			this.addToRender();
		});

		GETSET$(0,__proto__,'height',function(){
			this.renderThis();
			return (this._autoSize && this._autoSize !="none")? this._textHeight+2+2 :this._height;
			},function(value){
			if (value==this._height || value <=0)
				return;
			this._height=value;
			this.viewport[3]=value;
			this._modle_.size(this.viewport[2],this.viewport[3]+10);
			this.addToRender();
		});

		GETSET$(0,__proto__,'x',function(){
			return _super.prototype._$get_x.call(this)-(this.tempBound ? this.tempBound.x :0);
			},function(value){
			this._priority=0;
			this._userSetX=value;
			_super.prototype._$set_x.call(this,value+(this.tempBound ? this.tempBound.x :0));
			if(this._autoSize=='center'){
			}
		});

		GETSET$(0,__proto__,'filters',_super.prototype._$get_filters,function(filters){
			if (!filters)
				return;
			var strokeFilter;
			for (var i=filters.length-1;i >=0;i--){
				if (((filters[i])instanceof iflash.filters.GlowFilter )){
					strokeFilter=filters[i];
					filters.splice(i,1);
					break ;
				}
			}
			if (strokeFilter){
				this.strokeColor=StringMethod.getColorString(strokeFilter.color);
				this.strokeThickness=(strokeFilter.blurX / 5)*3+1;
				if (this._text && this._text.length){
					for (i=this._formats.length-1;i >=0;i--)
					this._formats[i].format._strokeColor=this.strokeColor;
				}
			}
			else{
				this.strokeColor=null;
				this.strokeThickness=null;
			}
			_super.prototype._$set_filters.call(this,filters);
		});

		GETSET$(0,__proto__,'gridFitType',function(){
			return '';
			},function(value){
		});

		GETSET$(0,__proto__,'textInteractionMode',function(){
			return null
		});

		GETSET$(0,__proto__,'alwaysShowSelection',function(){
			return false;
			},function(value){
		});

		GETSET$(0,__proto__,'mouseWheelEnabled',function(){
			return false
			},function(value){
		});

		GETSET$(0,__proto__,'styleSheet',function(){
			return null;
			},function(value){
		});

		TextField.renderTexts=function(){
			var len=TextField.TextsToRender.length;
			if (len==0)
				return;
			for (var i=len-1;i >=0;i--){
				var t=TextField.TextsToRender.pop();
				t.engine_updateStyle();
			}
		}

		TextField.isFontCompatible=function(fontName,fontStyle){
			return true;
		}

		TextField.decodeFromEntities=function(str){
			return str.replace(/\&#?\w{2,6};/g,function(__args){
				var args=arguments;
				return TextField.Entities[args[0]];
			});
		}

		TextField.LINE_WIDTH=1;
		TextField.LEFT_PADDING=2;
		TextField.RIGHT_PADDING=2;
		TextField.BOTTOM_PADDING=2;
		TextField.PLATFORM=null
		TextField.onAndroid=false;
		TextField.onQQBrowser=false;
		TextField.onUCBrowser=false;
		TextField.onWindows=false;
		TextField.FormatIndices=[];
		TextField.TextsToRender=[];
		STATICATTR$(TextField,
		['TOP_PADDING',function(){return this.TOP_PADDING=/*__JS__ */Laya.CONCHVER?-5:2;},'DF',function(){return this.DF=new TextFormat("Times New Roman",12,0x000000,false,false,false,null,null,"left",null,null,null,null);},'FontOffset',function(){return this.FontOffset={
				"微软雅黑":3,
				"Microsoft YaHei":3
				};},'Entities',function(){return this.Entities={"&nbsp;":" ","&#160;":" ","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&amp;":"&","&amp;":"&","&quot;":"\"","&#34;":"\"","&apos;":"'",
				"&#39;":"'","&cent;":"￠","&#162;":"￠","&pound;":"￡","&#163;":"￡","&yen;":"￥","&#165;":"￥","&euro;":"€","&#8364;":"€","&sect;":"§","&#167;":"§","&copy;":"?","&#169;":"?",
				"&reg;":"?","&#174;":"?","&trade;":"?","&#8482;":"?","&times;":"×","&#215;":"×","&divide;":"÷","&#247;":"÷"};}
		]);
		return TextField;
	})(InteractiveObject)


	//file:///d:/projects/layadocument/pandarun/src/mx/core/flexbitmap.as
	var FlexBitmap=/*mx.core.FlexBitmap*/(function(_super){
		function FlexBitmap(bitmapData,pixelSnapping,smoothing){
			(pixelSnapping===void 0)&& (pixelSnapping="auto");
			(smoothing===void 0)&& (smoothing=false);
			FlexBitmap._SUPERC_.call(this,bitmapData,pixelSnapping,smoothing);
			try{
				this.name=NameUtil.createUniqueName(this);
			}
			catch(e){
			}
		}

		CLASS$(FlexBitmap,'mx.core.FlexBitmap',true,false,_super);
		var __proto__=FlexBitmap.prototype;
		__proto__.toString=function(){
			return NameUtil.displayObjectToString(this);
		}

		FlexBitmap.VERSION="4.5.1.21328";
		FlexBitmap.__init$__=function(){
			/*namespace*/;
		}

		return FlexBitmap;
	})(Bitmap)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/sprite.as
	var Sprite=/*iflash.display.Sprite*/(function(_super){
		function Sprite(){
			this._graphics=null;
			this._dragRect_=null;
			this._prelocationX_=0;
			this._prelocationY_=0;
			this._sc9Y_=1;
			this._sc9X_=1;
			this._hitArea=null;
			Sprite._SUPERC_.call(this);
		}

		CLASS$(Sprite,'iflash.display.Sprite',true,false,_super);
		var __proto__=Sprite.prototype;
		__proto__._paintGraphics_=function(context,x,y,w,h){
			if (this._graphics){
				var grapics=this._graphics;
				if(grapics.isReady()){
					grapics._canvas_.paint(context,x,y,w,h);
				}
				this._paintChild_(context,x,y,w,h);
			}
			else
			this._paintChild_(context,x,y,w,h);
		}

		__proto__.startDrag=function(lockCenter,bounds){
			(lockCenter===void 0)&& (lockCenter=false);
			this._dragRect_=bounds;
			this.stage.addEventListener(/*iflash.events.Event.ENTER_FRAME*/"enterFrame",BIND$(this,this.__drag__));
			if(lockCenter){
				this._prelocationX_=0;
				this._prelocationY_=0;
				}else{
				this._prelocationX_=EventManager._stageX-this.x;
				this._prelocationY_=EventManager._stageY-this.y;
			}
			Sprite._startedDrag_=true;
			this.__drag__();
		}

		__proto__.stopDrag=function(){
			this.stage&&this.stage.removeEventListener(/*iflash.events.Event.ENTER_FRAME*/"enterFrame",BIND$(this,this.__drag__));
			this._dragRect_=null;
			Sprite._startedDrag_=false;
		}

		__proto__.__drag__=function(e){
			if(!Sprite._startedDrag_)return;
			this.x=EventManager._stageX-this._prelocationX_;
			this.y=EventManager._stageY-this._prelocationY_;
			if(this._dragRect_){
				if(this.x>this._dragRect_.width+this._dragRect_.x)
					this.x=this._dragRect_.width+this._dragRect_.x;
				if(this.y>this._dragRect_.height+this._dragRect_.y)
					this.y=this._dragRect_.height+this._dragRect_.y;
				if(this.x<this._dragRect_.x)
					this.x=this._dragRect_.x;
				if(this.y<this._dragRect_.y)
					this.y=this._dragRect_.y;
			}
		}

		__proto__._lyToBody_=function(){
			this.updateScaleData();
			_super.prototype._lyToBody_.call(this);
		}

		__proto__._hitTest_=function(x,y){
			if(!this.visible)return null;
			var target=_super.prototype._hitTest_.call(this,x,y);
			if(target)return target;
			return this.graphicsHited(x,y);
		}

		__proto__.graphicsHited=function(x,y){
			if(this._graphics){
				if (!this._checkHitMask(x,y)){return null;}
					if (!this._checkHitScrollRect(x,y)){return null;}
				if (this._private_._scrollRect_){x+=this._private_._scrollRect_.x;y+=this._private_._scrollRect_.y;}
					DisplayObject.HELPER_RECTANGLET.setTo(this._graphics.x,this._graphics.y,this._graphics.width*this.scaleX,this._graphics.height*this.scaleY);
				if(DisplayObject.HELPER_RECTANGLET.contains(x,y)){
					return this;
				}
			}
			return null;
		}

		__proto__.hitAreaMouseHandler=function(event){
			this.dispatchEvent(new MouseEvent(event.type));
		}

		__proto__._getBounds_=function(targetSpace,resultRect){
			if(!resultRect)
				resultRect=new Rectangle();
			_super.prototype._getBounds_.call(this,targetSpace,resultRect);
			if(this._graphics){
				DisplayObject.HELPER_RECTANGLET_ALT.setTo(this._graphics.x,this._graphics.y,this._graphics.width,this._graphics.height);
				if(DisplayObject.HELPER_RECTANGLET_ALT.width&&DisplayObject.HELPER_RECTANGLET_ALT.height){
					if(this.numChildren)
						resultRect._union_(DisplayObject.HELPER_RECTANGLET_ALT);
					else
					resultRect.setTo(DisplayObject.HELPER_RECTANGLET_ALT.x,DisplayObject.HELPER_RECTANGLET_ALT.y,DisplayObject.HELPER_RECTANGLET_ALT.width,DisplayObject.HELPER_RECTANGLET_ALT.height);
				}
			}
			return resultRect;
		}

		GETSET$(0,__proto__,'graphics',function(){if(!this._graphics)this._graphics=new Graphics(this);
			return this._graphics;
		});

		GETSET$(0,__proto__,'buttonMode',function(){
			return false;
		},LAYAFNVOID/*function(value){}*/);

		GETSET$(0,__proto__,'width',_super.prototype._$get_width,function(w){
			if(w<0)return;
			if(this.scale9Data){
				var c=this._childs_[0];
				c&&c.scale9Data&&(c.width=w);
				this._width_=w
			}
			else _super.prototype._$set_width.call(this,w);
		});

		GETSET$(0,__proto__,'useHandCursor',function(){
			return (this._type_&0x80)!=0;
			},function(value){
			if(value)
				this._type_|=0x80;
			else
			this._type_&=~0x80;
		});

		GETSET$(0,__proto__,'dropTarget',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'height',_super.prototype._$get_height,function(h){
			if(h<0)return;
			if(this.scale9Data){
				var c=this._childs_[0];
				c&&c.scale9Data&&(c.height=h);
				this._height_=h;
			}
			else _super.prototype._$set_height.call(this,h);
		});

		GETSET$(0,__proto__,'hitArea',function(){
			return this._hitArea;
			},function(value){
			if (this._hitArea){
				this._hitArea.removeEventListener(/*iflash.events.MouseEvent.CLICK*/"click",BIND$(this,this.hitAreaMouseHandler));
				this._hitArea.removeEventListener(/*iflash.events.MouseEvent.DOUBLE_CLICK*/"doubleClick",BIND$(this,this.hitAreaMouseHandler));
				this._hitArea.removeEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.hitAreaMouseHandler));
				this._hitArea.removeEventListener(/*iflash.events.MouseEvent.MOUSE_MOVE*/"mouseMove",BIND$(this,this.hitAreaMouseHandler));
				this._hitArea.removeEventListener(/*iflash.events.MouseEvent.MOUSE_OUT*/"mouseOut",BIND$(this,this.hitAreaMouseHandler));
				this._hitArea.removeEventListener(/*iflash.events.MouseEvent.MOUSE_OVER*/"mouseOver",BIND$(this,this.hitAreaMouseHandler));
				this._hitArea.removeEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.hitAreaMouseHandler));
			}
			this._hitArea=value;
			this.mouseEnabled=this._hitArea !=null ? false :true;
			if (this._hitArea){
				this._hitArea.addEventListener(/*iflash.events.MouseEvent.CLICK*/"click",BIND$(this,this.hitAreaMouseHandler));
				this._hitArea.addEventListener(/*iflash.events.MouseEvent.DOUBLE_CLICK*/"doubleClick",BIND$(this,this.hitAreaMouseHandler));
				this._hitArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.hitAreaMouseHandler));
				this._hitArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_MOVE*/"mouseMove",BIND$(this,this.hitAreaMouseHandler));
				this._hitArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_OUT*/"mouseOut",BIND$(this,this.hitAreaMouseHandler));
				this._hitArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_OVER*/"mouseOver",BIND$(this,this.hitAreaMouseHandler));
				this._hitArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.hitAreaMouseHandler));
			}
		});

		GETSET$(0,__proto__,'scaleY',function(){
			return this.scale9Data?this._sc9Y_:_super.prototype._$get_scaleY.call(this);
			},function(value){
			if(this.scale9Data){
				var c=this._childs_[0];
				c&&c.scale9Data&&(c.scaleY=value);
				this._sc9Y_=value;
				this._height_ *=value;
			}
			else _super.prototype._$set_scaleY.call(this,value);
		});

		GETSET$(0,__proto__,'scaleX',function(){
			return this.scale9Data?this._sc9X_:_super.prototype._$get_scaleX.call(this);
			},function(value){
			if(this.scale9Data){
				var c=this._childs_[0];
				c&&c.scale9Data&&(c.scaleX=value);
				this._sc9X_=value;
				this._width_ *=value;
			}
			else _super.prototype._$set_scaleX.call(this,value);
		});

		Sprite._startedDrag_=false;
		return Sprite;
	})(DisplayObjectContainer)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/loader.as
	var Loader=/*iflash.display.Loader*/(function(_super){
		function Loader(){
			this._contentLoaderInfo=null;
			this.__content__=null;
			this.__element__=null;
			this._bitmapData=null;
			this._resUrl="";
			this.shapeRes=null;
			this.preIndex=0;
			this.preLoader=[];
			Loader._SUPERC_.call(this);
			this._contentLoaderInfo=LoaderInfo.create(this._getID_);
			this._contentLoaderInfo.loader=this;
		}

		CLASS$(Loader,'iflash.display.Loader',true,false,_super);
		var __proto__=Loader.prototype;
		__proto__.onSetResUrlHandler=function(evt){
			this._resUrl=evt.lyData.url;
		}

		__proto__.disposeLoader=function(){
			this.unload();
			var resMapDic=this._contentLoaderInfo._resourceDic_;
			for(var key in resMapDic){
				var clas=resMapDic[key];
				if((clas instanceof iflash.display.MovieClip )){
					Runnner.template.splice(Runnner.template.indexOf(clas.runner),1);
					var reDomain=this._contentLoaderInfo._reDomain_;
					if(reDomain){
						if(reDomain._resMapDic_[key])
							delete reDomain._resMapDic_[key];
					}
				}
				resMapDic[key]=null;
			}
			this._contentLoaderInfo._applicationDomain._resMapDic_=null;
			this._contentLoaderInfo._applicationDomain=null;
			this._contentLoaderInfo._resourceDic_ && (this._contentLoaderInfo._resourceDic_=null);
			this._contentLoaderInfo._reDomain_=null;
			this._contentLoaderInfo && (delete LoaderInfo._loaderInfos_[this._contentLoaderInfo.__id__]);
			this._eventListener_ && (this._eventListener_=null);
			this._contentLoaderInfo=null;
		}

		__proto__.load=function(request,context){
			var _$this=this;
			this._checkloaderInfo();
			var index=(request.url).lastIndexOf("?");
			this._contentLoaderInfo.lyurl=request.url;
			this._contentLoaderInfo.__fileurl=request.url;
			var urlStr=Method.formatUrlType(request.url);
			request.url=Method.formatUrl(request.url);
			if(!context){
				context=new LoaderContext(false,new ApplicationDomain());
			}
			this._contentLoaderInfo._reDomain_=context.applicationDomain;
			this.contains(this.__content__)&&this.removeChild(this.__content__);
			switch (urlStr){
				case "jpg":
				case "png":
				case "gif":
				case "jng":
				case ".":
					this._bitmapData=new BitmapData();
					var data=Browser.document.createElement("image");
					data.onload=function (__args){
						var args=arguments;
						if (Laya.HTMLVER&&!Laya.CONCHVER&&urlStr=="jng"){
							data=Method._JpgToPng(data);
							_$this._bitmapData.setType(/*iflash.display.BitmapData.CANVAS*/1);
							_$this._bitmapData.setCanvas(data);
						}else _$this._bitmapData.setImage(data);
						_$this.__content__=new Bitmap(_$this._bitmapData);
						_$this._contentLoaderInfo.__content__=_$this.__content__;
						_$this._contentLoaderInfo.height=_$this.__content__.height;
						_$this._contentLoaderInfo.width=_$this.__content__.width;
						_$this.addChild(_$this.__content__);
						_$this.__element__=data;
						_$this.contentLoaderInfo.dispatchEvent(new Event(/*iflash.events.Event.INIT*/"init",false,false,_$this.__content__));
						_$this.contentLoaderInfo.dispatchEvent(new Event(/*iflash.events.Event.COMPLETE*/"complete",false,false,_$this.__content__));
						_$this.dispatchEvent(new Event(/*iflash.events.Event.COMPLETE*/"complete"));
					};
					data.onerror=function (__args){
						var args=arguments;
						var io=new IOErrorEvent(/*iflash.events.IOErrorEvent.IO_ERROR*/"ioError");
						io.text="找不到"+data.src;
						_$this.contentLoaderInfo.dispatchEvent(io);
					};
					data.src=request.url;
					break ;
				case "swf":
				case "swp":
				case "cvt":
					Stage.USE_SMALL ? this.loadSwf_Small(request.url,urlStr):this.loadSwf(request.url);
					break ;
				default :
					this.contentLoaderInfo.dispatchEvent(new IOErrorEvent(/*iflash.events.IOErrorEvent.IO_ERROR*/"ioError"));
					break ;
				}
		}

		__proto__.close=LAYAFNVOID/*function(){}*/
		__proto__.unload=function(){
			if(this.__content__){
				this.removeChild(this.__content__);
				this.__content__._removeEvents_();
				this.__content__=null;
			}
			if(this.parent){
				this.parent._type_|=0x4000;
				this.parent.lyRemoveChildAt(this.childIndexOf(this));
			}
		}

		__proto__._checkloaderInfo=function(){
			var t=this._contentLoaderInfo;
			this._contentLoaderInfo=LoaderInfo.create(this._getID_);
			this._contentLoaderInfo.loader=this;
			this._contentLoaderInfo._getEvents_(t);
			t=null;
		}

		__proto__.loadBytes=function(data,context){
			this._checkloaderInfo();
			var _this=this;
			this.contains(this.__content__)&&this.removeChild(this.__content__);
			if((data instanceof Array)){
			}
			else if((data instanceof iflash.utils.ByteArray )){
				data.position=0;
				var fileHeadType=data.readUTF();
				var tmpBytes=new ByteArray();
				if(fileHeadType !="swf"){
					throw "un support img binary!";
				}
				else{
					context&&(this._contentLoaderInfo._reDomain_=context.applicationDomain);
					var fileUrl=data.readUTF();
					var filetype=fileHeadType;
					data.readBytes(tmpBytes,0,tmpBytes.bytesAvailable);
					Stage.USE_SMALL ? this.loadSwf_Small(fileUrl,filetype,tmpBytes):this.loadSwf(fileUrl.substring(0,fileUrl.lastIndexOf("."+filetype)),tmpBytes);
				}
			}
			else{
				this._bitmapData=new BitmapData();
				this._bitmapData.setImage(data);
				this.__content__=this.contentLoaderInfo.__content__=new Bitmap(this._bitmapData);
				this.addChild(this.__content__);
				this.addEventListener(/*iflash.events.Event.ENTER_FRAME*/"enterFrame",BIND$(this,this.onEnterFrame));
			}
		}

		__proto__.getFileType=function(fileData){
			var b0=fileData.readUnsignedByte();
			var b1=fileData.readUnsignedByte();
			var fileType="unknown";
			if(b0==66 && b1==77){
				fileType="BMP";
			}
			else if(b0==255 && b1==216){
				fileType="JPG";
				}else if(b0==137 && b1==80){
				fileType="PNG";
				}else if(b0==71 && b1==73){
				fileType="GIF";
			}
			return fileType;
		}

		__proto__._buildLoaderContext=function(context){
			if(context==null){
				context=new LoaderContext();
			}
			if(context.applicationDomain==null){
				context.applicationDomain=new ApplicationDomain(ApplicationDomain.currentDomain);
			}
			return context;
		}

		__proto__.onEnterFrame=function(evt){
			this.removeEventListener(/*iflash.events.Event.ENTER_FRAME*/"enterFrame",BIND$(this,this.onEnterFrame));
			this.contentLoaderInfo.dispatchEvent(new iflash.events.Event(/*iflash.events.Event.COMPLETE*/"complete",false,false));
		}

		__proto__.unloadAndStop=function(gc){
			(gc===void 0)&& (gc=true);
			this.unload();
		}

		__proto__.deleteKey=function(arr){
			for(var i in arr){
				delete arr[i];
			}
			arr.length=0;
		}

		__proto__.loadSwf=function(url,tmpBytes){
			this._contentLoaderInfo.onload=iflash.method.bind(this,this.onLoadeComplete);
			if(tmpBytes){
				this._contentLoaderInfo.setUrl(url);
				this._contentLoaderInfo.setByteArray(tmpBytes);
			}else
			this._contentLoaderInfo.src=url;
		}

		__proto__.loadSwf_Small=function(url,urltype,tmpBytes){
			var _$this=this;
			var $this=this;
			if(!Loader.imgLoader){
				Loader.imgLoader=Browser.document.createElement("image");
			}
			else{
				this._contentLoaderInfo.onload=iflash.method.bind($this,this.onLoadeComplete);
				LoaderInfo.minibitmapData=new BitmapData();
				LoaderInfo.minibitmapData.setImage(Loader.imgLoader);
				if(tmpBytes){
					this._contentLoaderInfo.setUrl(url.substring(0,url.lastIndexOf("."+urltype)));
					this._contentLoaderInfo.setByteArray(tmpBytes);
				}else
				this._contentLoaderInfo.src=url;
				return;
			}
			Loader.imgLoader.onload=function (){
				_$this._contentLoaderInfo.onload=iflash.method.bind($this,_$this.onLoadeComplete);
				LoaderInfo.minibitmapData=new BitmapData();
				LoaderInfo.minibitmapData.setImage(Loader.imgLoader);
				if(tmpBytes){
					_$this._contentLoaderInfo.setUrl(url.substring(0,url.lastIndexOf("."+urltype)));
					_$this._contentLoaderInfo.setByteArray(tmpBytes);
				}else
				{_$this._contentLoaderInfo.src=url;}
				Loader.imgLoader=null;
				LoaderInfo.minibitmapData=null;
			};
			Loader.imgLoader.onerror=function (){
				_$this.contentLoaderInfo.dispatchEvent(new IOErrorEvent(/*iflash.events.IOErrorEvent.IO_ERROR*/"ioError"));
				Loader.imgLoader=null;
			};
			var charIndex=url.lastIndexOf("."+urltype);
			Loader.imgLoader.src=url.substring(0,charIndex)+"/small.png";
		}

		__proto__.onLoadeComplete=function(__args){
			var args=arguments;
			this.addChild(this._contentLoaderInfo.__content__);
			this.__content__=this.contentLoaderInfo.__content__;
			if(this.preLoader.length>0){
				this.onPreLoader();
				}else {
				this.contentLoaderInfo.dispatchEvent(new Event(/*iflash.events.Event.INIT*/"init"));
				this.contentLoaderInfo.dispatchEvent(new Event(/*iflash.events.Event.COMPLETE*/"complete"));
			}
		}

		__proto__.onPreLoader=function(){
			Runnner.preResCollection=[];
			for (var i=0;i < this.preLoader.length;i++){
				var obj=this.contentLoaderInfo.applicationDomain.newInstance(this.preLoader[i]);
				if((obj instanceof iflash.display.MovieClip )){
					obj.runner.getPreRes(this.contentLoaderInfo);
				}
				if((obj instanceof iflash.display.Shape )){
					Runnner.preResCollection.push(res);
				}
				if((obj instanceof iflash.display.LyImageElement )){
					Runnner.preResCollection.push(res);
				}
			};
			var arr=Runnner.preResCollection;
			this.preIndex=0;
			while(Runnner.preResCollection.length>0){
				var res=Runnner.preResCollection.pop();
				if((res instanceof iflash.display.Shape )){
					this.preIndex++;
					res._image_._image_.onload=iflash.method.bind(this,this.onPreComplete);
					res._image_._image_.src=res._image_.src;
				}
				if((res instanceof iflash.display.LyImageElement )){
					this.preIndex++;
					res._image_.onload=iflash.method.bind(this,this.onPreComplete);
					res._image_.src=res._image_.src;
				}
			}
		}

		__proto__.onPreComplete=function(obj){
			this.preIndex--;
			if(this.preIndex <=0){
				this.contentLoaderInfo.dispatchEvent(new Event(/*iflash.events.Event.COMPLETE*/"complete"));
			}
		}

		GETSET$(0,__proto__,'contentLoaderInfo',function(){
			return this._contentLoaderInfo;
		});

		GETSET$(0,__proto__,'_getID_',function(){
			return++Loader.__ID__;
		});

		GETSET$(0,__proto__,'content',function(){
			return this.__content__;
		});

		GETSET$(0,__proto__,'element',function(){
			return this.__element__;
		});

		Loader.removeNameChar=function(fileName){
			var urls=fileName.split("/");
			var str,i=1,size=urls.length;
			while (i < size){
				str=urls[i];
				if (str==null)break ;
				if (str==''){
					urls.splice(i,1);
					continue ;
				}
				i+=1;
			}
			fileName=urls.join("/");
			return fileName;
		}

		Loader.preswfAsset=function(arr){
			Loader.preSwf=Loader.preSwf.concat(arr);
		}

		Loader.__isPNG=function(bytes){
			bytes.position=0;
			return (bytes.readByte ()==0x89 && bytes.readByte ()==0x50 && bytes.readByte ()==0x4E && bytes.readByte ()==0x47 && bytes.readByte ()==0x0D && bytes.readByte ()==0x0A && bytes.readByte ()==0x1A && bytes.readByte ()==0x0A);
		}

		Loader.__ID__=0;
		Loader.preSwf=[];
		Loader.imgLoader=null;
		return Loader;
	})(DisplayObjectContainer)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/stage.as
	var Stage=/*iflash.display.Stage*/(function(_super){
		function Stage(){
			this.contentsScaleFactor=1;
			this._useActivateEventCount_=0;
			this._infoFlag=true;
			this._algin="";
			this.currentFocus=null;
			this._isInvalidate=false;
			this._tmctr_=null;
			this._bgc_=0xffffff;
			this._bgc2_="#ffffff";
			this.autoOrients=true;
			this.visibilityChange="hidden";
			this.visibilityState="visibilityState";
			this.stage3Ds=([new Stage3D(),new Stage3D(),new Stage3D(),new Stage3D()]);
			this._scaleMode_=/*iflash.display.StageScaleMode.SHOW_ALL*/"showAll";
			Stage._SUPERC_.call(this);
			this._width_=EventDispatcher.window.innerWidth;
			this._height_=EventDispatcher.window.innerHeight;
			this._tmctr_=TimerCtrl.__DEFAULT__;
		}

		CLASS$(Stage,'iflash.display.Stage',true,false,_super);
		var __proto__=Stage.prototype;
		__proto__.setOrientationEx=function(type){
			Laya.document.setOrientationEx(type);
		}

		__proto__.setSize=function(w,h){
			Laya.document.size(w,h);
		}

		__proto__.invalidate=function(){
			this._isInvalidate=true;
		}

		__proto__.size=function(width,height){
			Laya.document.size(width,height);
		}

		__proto__._hitTest_=function(x,y){
			var target=_super.prototype._hitTest_.call(this,x,y);
			if (!target)
				target=this;
			return target;
		}

		__proto__.sendRender=function(){
			if(this._isInvalidate){
				this._isInvalidate=false;
				this.lyDispatchEvent(/*iflash.events.Event.RENDER*/"render");
			}
		}

		__proto__.addEventListener=function(type,listener,useCapture,priority,useWeakReference){
			(useCapture===void 0)&& (useCapture=false);
			(priority===void 0)&& (priority=0);
			(useWeakReference===void 0)&& (useWeakReference=false);
			if(type==/*iflash.events.Event.ACTIVATE*/"activate" || type==/*iflash.events.Event.DEACTIVATE*/"deactivate"){
				if(this.hasEventListener(type))return;
				if(this._useActivateEventCount_==0){
					this.addVisibilityChangeEvent();
				}
				this._useActivateEventCount_++;
			}
			iflash.events.EventDispatcher.prototype.addEventListener.call(this,type,listener,useCapture,priority,useWeakReference);
		}

		__proto__.removeEventListener=function(type,listener,useCapture){
			(useCapture===void 0)&& (useCapture=false);
			if(type==/*iflash.events.Event.ACTIVATE*/"activate" || type==/*iflash.events.Event.DEACTIVATE*/"deactivate"){
				if(!this.hasEventListener(type))return;
				this._useActivateEventCount_--;
				if(this._useActivateEventCount_==0){
					this.removeVisibilityChangeEvent();
				}
			}
			iflash.events.EventDispatcher.prototype.removeEventListener.call(this,type,listener,useCapture);
		}

		__proto__.visibilitySysEvtHandler=function(e){
			var evt=new Event(Browser.document[this.visibilityState]=="hidden"? /*iflash.events.Event.DEACTIVATE*/"deactivate":/*iflash.events.Event.ACTIVATE*/"activate",e.bubbles,e.cancelable);
			this.dispatchEvent(evt);
		}

		__proto__.addVisibilityChangeEvent=function(){
			var document=Browser.document;
			if ("hidden" in document){
				this.visibilityChange="visibilitychange";
				this.visibilityState="visibilityState";
				}else if ("mozHidden" in document){
				this.visibilityChange="mozvisibilitychange";
				this.visibilityState="mozVisibilityState";
				}else if ("msHidden" in document){
				this.visibilityChange="msvisibilitychange";
				this.visibilityState="msVisibilityState";
				}else if ("webkitHidden" in document){
				this.visibilityChange="webkitvisibilitychange";
				this.visibilityState="webkitVisibilityState";
			}
			Browser.document.addEventListener(this.visibilityChange,BIND$(this,this.visibilitySysEvtHandler));
		}

		__proto__.removeVisibilityChangeEvent=function(){
			Browser.document.removeEventListener(this.visibilityChange,BIND$(this,this.visibilitySysEvtHandler));
		}

		__proto__.setAspectRatio=function(newAspectRatio){
			switch(newAspectRatio){
				case /*iflash.display.StageAspectRatio.PORTRAIT*/"portrait":
					IFlash.setAutoOrients(false);
					EventDispatcher.document.setOrientationEx(0);
					this.dispatchEvent(new StageOrientationEvent(/*iflash.events.StageOrientationEvent.ORIENTATION_CHANGE*/"orientationChange"));
					break ;
				case /*iflash.display.StageAspectRatio.LANDSCAPE*/"landscape":
					IFlash.setAutoOrients(false);
					EventDispatcher.document.setOrientationEx(1);
					this.dispatchEvent(new StageOrientationEvent(/*iflash.events.StageOrientationEvent.ORIENTATION_CHANGE*/"orientationChange"));
					break ;
				case /*iflash.display.StageAspectRatio.ANY*/"any":
					IFlash.setAutoOrients(true);
					break ;
				}
		}

		GETSET$(0,__proto__,'displayState',function(){
			return "";
			},function(val){
		});

		GETSET$(0,__proto__,'focus',function(){
			return this.currentFocus
			},function(val){
			if ((val instanceof iflash.text.TextField ))
				val["onTextFocus"](null);
			this.currentFocus=val;
		});

		GETSET$(0,__proto__,'showDefaultContextMenu',function(){
			return false
			},function(val){
		});

		GETSET$(0,__proto__,'stageWidth',function(){
			return this._scaleMode_==/*iflash.display.StageScaleMode.NO_SCALE*/"noScale"?EventDispatcher.window.innerWidth:this.width;
		});

		GETSET$(0,__proto__,'allowsFullScreen',function(){
			return false;
		});

		GETSET$(0,__proto__,'allowsFullScreenInteractive',function(){
			return false;
		});

		GETSET$(0,__proto__,'showInfo',null,function(value){
			if (value !=this._infoFlag){
				Laya.config.showInfo=value;
				Laya.SHOW_FPS=value;
				Laya.conch && Laya.conch.ShowFPS(value,Laya.conch.m_pFps);
			}
		});

		GETSET$(0,__proto__,'width',function(){
			return this._width_;
			},function(w){
			this._width_=w;
			this._modle_.size(this._width_,this._height_);
		});

		GETSET$(0,__proto__,'stageHeight',function(){
			return this._scaleMode_==/*iflash.display.StageScaleMode.NO_SCALE*/"noScale"?EventDispatcher.window.innerHeight:this.height;
		});

		GETSET$(0,__proto__,'scaleMode',function(){
			return this._scaleMode_;
			},function(value){
			var isChange=value !=this._scaleMode_;
			this._scaleMode_=value;
			if(isChange && Laya.window){
				Laya.window.lyDispatchEvent(/*iflash.events.Event.RESIZE*/"resize");
			}
		});

		GETSET$(0,__proto__,'height',function(){
			return this._height_;
			},function(h){
			this._height_=h;
			this._modle_.size(this._width_,this._height_);
		});

		GETSET$(0,__proto__,'color',function(){return this._bgc_},function(value){
			this.bgcolor=value;
		});

		GETSET$(0,__proto__,'bgcolor',null,function(value){
			if((typeof value=='string')){
				var v=value.replace("#","");
				/*__JS__ */v=parseInt(v,16);;
				this._bgc_=v;
				if (isNaN(this._bgc_))this._bgc_=0xffffff;
				this._bgc2_=value;
			}
			else{
				this._bgc_=value;
				if (isNaN(this._bgc_))this._bgc_=0xffffff;
				this._bgc2_=StringMethod.getColorString(this._bgc_);
			}
			if(!Laya.CONCHVER){/*__JS__ */window.document.body.style.backgroundColor=this._bgc2_;}
				if (value=="-1"){
				this._modle_.bgcolor("none");
			}
			else{
				this._modle_.bgcolor(this._bgc2_);
			}
		});

		GETSET$(0,__proto__,'autoScaleDifference',null,function(value){
			Laya.document.adapter.autoScaleDifference=value;
		});

		GETSET$(0,__proto__,'frameRate',function(){
			return Browser.frameRate;
			},function(value){
			Browser.frameRate=value;
		});

		GETSET$(0,__proto__,'align',function(){
			return this._algin;
			},function(value){
			var isChange=value !=this._algin;
			this._algin=value;
			if(isChange && Laya.window){
				Laya.window.lyDispatchEvent(/*iflash.events.Event.RESIZE*/"resize");
			}
		});

		GETSET$(0,__proto__,'stageFocusRect',function(){
			return false;
		},LAYAFNVOID/*function(param1){}*/);

		GETSET$(0,__proto__,'quality',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'fullScreenWidth',function(){
			return EventDispatcher.window.fullScreenWidth;
		});

		GETSET$(0,__proto__,'fullScreenHeight',function(){
			return EventDispatcher.window.fullScreenHeight;
		});

		GETSET$(1,Stage,'stage',function(){
			return Stage._stage ? Stage._stage :(Stage._stage=new Stage());
		},iflash.display.DisplayObjectContainer._$SET_stage);

		GETSET$(1,Stage,'supportsOrientationChange',function(){
			return true;
		},iflash.display.DisplayObjectContainer._$SET_supportsOrientationChange);

		Stage.USE_SMALL=true;
		Stage.__frameRate__=16;
		Stage._stage=null;
		return Stage;
	})(DisplayObjectContainer)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/engine/textline.as
	var TextLine=/*iflash.text.engine.TextLine*/(function(_super){
		function TextLine(){
			this.userData=null;
			TextLine._SUPERC_.call(this);
			this.getMirrorRegion=/*__JS__ */$null;
		}

		CLASS$(TextLine,'iflash.text.engine.TextLine',true,false,_super);
		var __proto__=TextLine.prototype;
		__proto__.dump=LAYAFNSTR/*function(){return ""}*/
		__proto__.flushAtomData=LAYAFNVOID/*function(){}*/
		__proto__.getAtomBidiLevel=LAYAFN0/*function(atomIndex){return 0}*/
		__proto__.getAtomBounds=LAYAFNNULL/*function(atomIndex){return null}*/
		__proto__.getAtomCenter=LAYAFN0/*function(atomIndex){return 0}*/
		__proto__.getAtomGraphic=LAYAFNNULL/*function(atomIndex){return null}*/
		__proto__.getAtomIndexAtCharIndex=LAYAFN0/*function(charIndex){return 0}*/
		__proto__.getAtomIndexAtPoint=LAYAFN0/*function(stageX,stageY){return 0}*/
		__proto__.getAtomTextBlockBeginIndex=LAYAFN0/*function(atomIndex){return 0}*/
		__proto__.getAtomTextBlockEndIndex=LAYAFN0/*function(atomIndex){return 0}*/
		__proto__.getAtomTextRotation=LAYAFNSTR/*function(atomIndex){return ""}*/
		__proto__.getAtomWordBoundaryOnLeft=LAYAFNFALSE/*function(atomIndex){return false}*/
		__proto__.getBaselinePosition=LAYAFN0/*function(baseline){return 0}*/
		GETSET$(0,__proto__,'ascent',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'atomCount',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'focusRect',null,LAYAFNVOID/*function(focusRect){}*/);
		GETSET$(0,__proto__,'contextMenu',_super.prototype._$get_contextMenu,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'textBlockBeginIndex',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'hasTabs',LAYAFNFALSE/*function(){return false}*/);
		GETSET$(0,__proto__,'descent',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'mirrorRegions',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'totalAscent',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'hasGraphicElement',LAYAFNFALSE/*function(){return false}*/);
		GETSET$(0,__proto__,'nextLine',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'previousLine',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'rawTextLength',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'specifiedWidth',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'tabChildren',_super.prototype._$get_tabChildren,LAYAFNVOID/*function(enable){}*/);
		GETSET$(0,__proto__,'tabEnabled',_super.prototype._$get_tabEnabled,LAYAFNVOID/*function(enabled){}*/);
		GETSET$(0,__proto__,'tabIndex',_super.prototype._$get_tabIndex,LAYAFNVOID/*function(index){}*/);
		GETSET$(0,__proto__,'textBlock',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'textHeight',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'textWidth',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'totalDescent',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'totalHeight',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'unjustifiedTextWidth',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'validity',LAYAFNSTR/*function(){return ""}*/,LAYAFNVOID/*function(value){}*/);
		TextLine.MAX_LINE_WIDTH=1000000;
		return TextLine;
	})(DisplayObjectContainer)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/text/statictext.as
	var StaticText=/*iflash.text.StaticText*/(function(_super){
		function StaticText(){
			StaticText._SUPERC_.call(this);
		}

		CLASS$(StaticText,'iflash.text.StaticText',true,false,_super);
		var __proto__=StaticText.prototype;
		__proto__.lyclone=function(){
			var result=new StaticText();
			result.type="static";
			this.getTextResult(result);
			return result;
		}

		return StaticText;
	})(TextField)


	//file:///d:/projects/layadocument/pandarun/src/mx/core/bitmapasset.as
	var BitmapAsset=/*mx.core.BitmapAsset*/(function(_super){
		function BitmapAsset(bitmapData,pixelSnapping,smoothing){
			this.layoutFeaturesClass=null;
			this.layoutFeatures=null;
			this._height=NaN;
			this._layoutDirection="ltr";
			(pixelSnapping===void 0)&& (pixelSnapping="auto");
			(smoothing===void 0)&& (smoothing=false);
			var appDomain=null;
			BitmapAsset._SUPERC_.call(this,bitmapData,pixelSnapping,smoothing);
			if(BitmapAsset.FlexVersionClass==null){
				appDomain=ApplicationDomain.currentDomain;
				if(appDomain.hasDefinition("mx.core::FlexVersion")){
					BitmapAsset.FlexVersionClass=(appDomain.getDefinition("mx.core::FlexVersion"));
				}
			}
			if((BitmapAsset.FlexVersionClass)&& (BitmapAsset.FlexVersionClass["compatibilityVersion"] >=BitmapAsset.FlexVersionClass["VERSION_4_0"])){
				this.addEventListener(/*iflash.events.Event.ADDED*/"added",BIND$(this,this.addedHandler));
			}
		}

		CLASS$(BitmapAsset,'mx.core.BitmapAsset',true,false,_super);
		var __proto__=BitmapAsset.prototype;
		LAYABOX.implements(__proto__,{"mx.core.IFlexAsset":true,"mx.core.IFlexDisplayObject":true,"mx.core.ILayoutDirectionElement":true})
		__proto__.invalidateLayoutDirection=function(){
			var mirror=false;
			var p=this.parent;
			while(p){
				if(LAYABOX.typeof(p,'mx.core.ILayoutDirectionElement')){
					mirror=(!(this._layoutDirection==null))&& (!((p).layoutDirection==null))&& (!(this._layoutDirection==(p).layoutDirection));
					if((mirror)&& (this.layoutFeatures==null)){
						this.initAdvancedLayoutFeatures();
						if(this.layoutFeatures !=null){
							this.layoutFeatures.mirror=mirror;
							this.validateTransformMatrix();
						}
					}
					else if((!mirror)&& (this.layoutFeatures)){
						this.layoutFeatures.mirror=mirror;
						this.validateTransformMatrix();
						this.layoutFeatures=null;
					}
					break ;
				}
				p=p.parent;
			}
		}

		__proto__.move=function(x,y){
			this.x=x;
			this.y=y;
		}

		__proto__.setActualSize=function(newWidth,newHeight){
			this.width=newWidth;
			this.height=newHeight;
		}

		__proto__.addedHandler=function(event){
			this.invalidateLayoutDirection();
		}

		__proto__.initAdvancedLayoutFeatures=function(){
			var appDomain=null;
			var features=null;
			if(this.layoutFeaturesClass==null){
				appDomain=ApplicationDomain.currentDomain;
				if(appDomain.hasDefinition("mx.core::AdvancedLayoutFeatures")){
					this.layoutFeaturesClass=(appDomain.getDefinition("mx.core::AdvancedLayoutFeatures"));
				}
				if(BitmapAsset.MatrixUtilClass==null){
					if(appDomain.hasDefinition("mx.utils::MatrixUtil")){
						BitmapAsset.MatrixUtilClass=(appDomain.getDefinition("mx.utils::MatrixUtil"));
					}
				}
			}
			if(this.layoutFeaturesClass !=null){
				features=new this.layoutFeaturesClass();
				features.layoutScaleX=this.scaleX;
				features.layoutScaleY=this.scaleY;
				features.layoutScaleZ=this.scaleZ;
				features.layoutRotationX=this.rotationX;
				features.layoutRotationY=this.rotationY;
				features.layoutRotationZ=this.rotation;
				features.layoutX=this.x;
				features.layoutY=this.y;
				features.layoutZ=this.z;
				features.layoutWidth=this.width;
				this._height=this.height;
				this.layoutFeatures=features;
			}
		}

		__proto__.validateTransformMatrix=function(){
			if(this.layoutFeatures !=null){
				if(this.layoutFeatures.is3D){
					this.transform.matrix3D=this.layoutFeatures.computedMatrix3D;
				}
				else{
					this.transform.matrix=this.layoutFeatures.computedMatrix;
				}
			}
		}

		GETSET$(0,__proto__,'x',function(){
			return this.layoutFeatures==null?_super.prototype._$get_x.call(this):this.layoutFeatures.layoutX;
			},function(value){
			if(this.x==value){
				return;
			}
			if(this.layoutFeatures==null){
				_super.prototype._$set_x.call(this,value);
			}
			else{
				this.layoutFeatures.layoutX=value;
				this.validateTransformMatrix();
			}
		});

		GETSET$(0,__proto__,'y',function(){
			return this.layoutFeatures==null?_super.prototype._$get_y.call(this):this.layoutFeatures.layoutY;
			},function(value){
			if(this.y==value){
				return;
			}
			if(this.layoutFeatures==null){
				_super.prototype._$set_y.call(this,value);
			}
			else{
				this.layoutFeatures.layoutY=value;
				this.validateTransformMatrix();
			}
		});

		GETSET$(0,__proto__,'rotationZ',function(){
			return this.layoutFeatures==null?_super.prototype._$get_rotationZ.call(this):this.layoutFeatures.layoutRotationZ;
			},function(value){
			if(this.rotationZ==value){
				return;
			}
			if(this.layoutFeatures==null){
				_super.prototype._$set_rotationZ.call(this,value);
			}
			else{
				this.layoutFeatures.layoutRotationZ=value;
				this.validateTransformMatrix();
			}
		});

		GETSET$(0,__proto__,'z',function(){
			return this.layoutFeatures==null?_super.prototype._$get_z.call(this):this.layoutFeatures.layoutZ;
			},function(value){
			if(this.z==value){
				return;
			}
			if(this.layoutFeatures==null){
				_super.prototype._$set_z.call(this,value);
			}
			else{
				this.layoutFeatures.layoutZ=value;
				this.validateTransformMatrix();
			}
		});

		GETSET$(0,__proto__,'width',function(){
			var p=null;
			if(this.layoutFeatures==null){
				return _super.prototype._$get_width.call(this);
			}
			if(BitmapAsset.MatrixUtilClass !=null){
				p=BitmapAsset.MatrixUtilClass["transformSize"](this.layoutFeatures.layoutWidth,this._height,this.transform.matrix);
			}
			return p?p.x:_super.prototype._$get_width.call(this);
			},function(value){
			if(this.width==value){
				return;
			}
			if(this.layoutFeatures==null){
				_super.prototype._$set_width.call(this,value);
			}
			else{
				this.layoutFeatures.layoutWidth=value;
				this.layoutFeatures.layoutScaleX=!(this.measuredWidth==0)?value / this.measuredWidth:0;
				this.validateTransformMatrix();
			}
		});

		GETSET$(0,__proto__,'height',function(){
			var p=null;
			if(this.layoutFeatures==null){
				return _super.prototype._$get_height.call(this);
			}
			if(BitmapAsset.MatrixUtilClass !=null){
				p=BitmapAsset.MatrixUtilClass["transformSize"](this.layoutFeatures.layoutWidth,this._height,this.transform.matrix);
			}
			return p?p.y:_super.prototype._$get_height.call(this);
			},function(value){
			if(this.height==value){
				return;
			}
			if(this.layoutFeatures==null){
				_super.prototype._$set_height.call(this,value);
			}
			else{
				this._height=value;
				this.layoutFeatures.layoutScaleY=!(this.measuredHeight==0)?value / this.measuredHeight:0;
				this.validateTransformMatrix();
			}
		});

		GETSET$(0,__proto__,'rotation',function(){
			return this.layoutFeatures==null?_super.prototype._$get_rotation.call(this):this.layoutFeatures.layoutRotationZ;
			},function(value){
			if(this.rotation==value){
				return;
			}
			if(this.layoutFeatures==null){
				_super.prototype._$set_rotation.call(this,value);
			}
			else{
				this.layoutFeatures.layoutRotationZ=value;
				this.validateTransformMatrix();
			}
		});

		GETSET$(0,__proto__,'scaleY',function(){
			return this.layoutFeatures==null?_super.prototype._$get_scaleY.call(this):this.layoutFeatures.layoutScaleY;
			},function(value){
			if(this.scaleY==value){
				return;
			}
			if(this.layoutFeatures==null){
				_super.prototype._$set_scaleY.call(this,value);
			}
			else{
				this.layoutFeatures.layoutScaleY=value;
				this._height=Math.abs(value)*this.measuredHeight;
				this.validateTransformMatrix();
			}
		});

		GETSET$(0,__proto__,'rotationX',function(){
			return this.layoutFeatures==null?_super.prototype._$get_rotationX.call(this):this.layoutFeatures.layoutRotationX;
			},function(value){
			if(this.rotationX==value){
				return;
			}
			if(this.layoutFeatures==null){
				_super.prototype._$set_rotationX.call(this,value);
			}
			else{
				this.layoutFeatures.layoutRotationX=value;
				this.validateTransformMatrix();
			}
		});

		GETSET$(0,__proto__,'rotationY',function(){
			return this.layoutFeatures==null?_super.prototype._$get_rotationY.call(this):this.layoutFeatures.layoutRotationY;
			},function(value){
			if(this.rotationY==value){
				return;
			}
			if(this.layoutFeatures==null){
				_super.prototype._$set_rotationY.call(this,value);
			}
			else{
				this.layoutFeatures.layoutRotationY=value;
				this.validateTransformMatrix();
			}
		});

		GETSET$(0,__proto__,'scaleX',function(){
			return this.layoutFeatures==null?_super.prototype._$get_scaleX.call(this):this.layoutFeatures.layoutScaleX;
			},function(value){
			if(this.scaleX==value){
				return;
			}
			if(this.layoutFeatures==null){
				_super.prototype._$set_scaleX.call(this,value);
			}
			else{
				this.layoutFeatures.layoutScaleX=value;
				this.layoutFeatures.layoutWidth=Math.abs(value)*this.measuredWidth;
				this.validateTransformMatrix();
			}
		});

		GETSET$(0,__proto__,'scaleZ',function(){
			return this.layoutFeatures==null?_super.prototype._$get_scaleZ.call(this):this.layoutFeatures.layoutScaleZ;
			},function(value){
			if(this.scaleZ==value){
				return;
			}
			if(this.layoutFeatures==null){
				_super.prototype._$set_scaleZ.call(this,value);
			}
			else{
				this.layoutFeatures.layoutScaleZ=value;
				this.validateTransformMatrix();
			}
		});

		GETSET$(0,__proto__,'layoutDirection',function(){
			return this._layoutDirection;
			},function(value){
			if(value==this._layoutDirection){
				return;
			}
			this._layoutDirection=value;
			this.invalidateLayoutDirection();
		});

		GETSET$(0,__proto__,'measuredHeight',function(){
			if(this.bitmapData){
				return this.bitmapData.height;
			}
			return 0;
		});

		GETSET$(0,__proto__,'measuredWidth',function(){
			if(this.bitmapData){
				return this.bitmapData.width;
			}
			return 0;
		});

		BitmapAsset.VERSION="4.5.1.21328";
		BitmapAsset.FlexVersionClass=null
		BitmapAsset.MatrixUtilClass=null
		BitmapAsset.__init$__=function(){
			/*namespace*/;;;
		}

		return BitmapAsset;
	})(FlexBitmap)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/embedsymbol.as
	var EmbedSymbol=/*iflash.display.EmbedSymbol*/(function(_super){
		function EmbedSymbol(){
			this._loader=null;
			this._swfUrl=null;
			this._symbol=null;
			EmbedSymbol._SUPERC_.call(this);
		}

		CLASS$(EmbedSymbol,'iflash.display.EmbedSymbol',true,false,_super);
		var __proto__=EmbedSymbol.prototype;
		__proto__.load=function(swfUrl,symbol){
			this._swfUrl=swfUrl;
			this._symbol=symbol;
			if(symbol && this.hasClass(symbol)){
				this.createAsset();
				}else {
				this._loader=new Loader();
				this._loader.contentLoaderInfo.addEventListener(/*iflash.events.Event.COMPLETE*/"complete",BIND$(this,this.onComplete));
				this._loader.contentLoaderInfo.addEventListener(/*iflash.events.IOErrorEvent.IO_ERROR*/"ioError",BIND$(this,this.onError));
				this._loader.load(new URLRequest(swfUrl),EmbedSymbol._loaderContent);
			}
		}

		__proto__.onComplete=function(e){
			if (Boolean(this._symbol)){
				if (this.hasClass(this._symbol)){
					this.createAsset();
				}
				if (this._loader){
					this.clearLoader();
				}
				}else {
				this.addChild(this._loader);
			}
		}

		__proto__.clearLoader=function(){
			this._loader.unloadAndStop();
			this._loader.contentLoaderInfo.removeEventListener(/*iflash.events.Event.COMPLETE*/"complete",BIND$(this,this.onComplete));
			this._loader.contentLoaderInfo.removeEventListener(/*iflash.events.IOErrorEvent.IO_ERROR*/"ioError",BIND$(this,this.onError));
			this._loader=null;
		}

		__proto__.onError=function(e){
			console.log("IO Error:"+this._swfUrl);
		}

		__proto__.createAsset=function(){
			var res=this.getAsset(this._symbol);
			if ((res instanceof iflash.display.BitmapData )){
				var display=new Bitmap(res);
				}else {
				display=res;
			}
			this.addChild(display);
		}

		__proto__.hasClass=function(name){
			return EmbedSymbol._domain.hasDefinition(name);
		}

		__proto__.getClass=function(name){
			if (this.hasClass(name)){
				return EmbedSymbol._domain.getDefinition2(name);
			}
			return null;
		}

		__proto__.getAsset=function(name){
			var assetClass=this.getClass(name);
			if (assetClass !=null){
				return new assetClass();
			}
			return null;
		}

		STATICATTR$(EmbedSymbol,
		['_domain',function(){return this._domain=ApplicationDomain.currentDomain;},'_loaderContent',function(){return this._loaderContent=new LoaderContext(false,ApplicationDomain.currentDomain);}
		]);
		return EmbedSymbol;
	})(Sprite)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/movieclip.as
	var MovieClip=/*iflash.display.MovieClip*/(function(_super){
		function MovieClip(){
			this._interval_=60;
			this._preFrame_=0;
			this._preTime_=0;
			this.runner=null;
			this._scriptList_=[];
			this._animData_=new AnimationData();
			MovieClip._SUPERC_.call(this);}
		CLASS$(MovieClip,'iflash.display.MovieClip',true,false,_super);
		var __proto__=MovieClip.prototype;
		__proto__._lyMCDispose=function(mc){
			var num=mc.numChildren;
			var child;
			var ly;
			while(num){
				child=mc.getChildAt(num-1);
				if((child instanceof iflash.display.MovieClip )){
					child.stop();
					if(child._private_.onupdate){child._private_.onupdate.deleted=true;};
					child.runner=null;
					this._lyMCDispose(child);
					}else if((child instanceof iflash.display.Shape )){
					ly=child._image_;
					ly=null;
				}
				num--;
			}
			mc.runner=null;
		}

		__proto__._onupdate_=function(tm,tmgo,o){
			if(this.isPlaying){
				if ((tm-this._preTime_)>=this.interval){
					this._scriptList_[this.currentFrame] && this._scriptList_[this.currentFrame].call(this);
					this._preTime_=tm;
					this.runner._updata_(this);
				}
			}
			return true;
		}

		__proto__.addFrameScript=function(__rest){
			var rest=arguments;
			for (var i=0,sz=rest.length;i < sz;i+=2){
				this._addFrameScript_(rest[i],rest[i+1]);
			}
		}

		__proto__._addFrameScript_=function(index,fn){
			this._scriptList_[index+1]=fn;
			if(index+1==this.currentFrame){
				this._scriptList_[this.currentFrame] && this._scriptList_[this.currentFrame].call(this);
			}
		}

		__proto__.gotoAndPlay=function(frame,scene){
			this._gotoAndPlay_(frame,scene);
			this._animData_.isStop=false;
		}

		__proto__._gotoAndPlay_=function(frame,scene){
			if((typeof frame=='string')){
				frame=int(this._animData_.labs[frame]);
				this.runner.gotoAndPlay(frame,this);
				}else{
				this.runner.gotoAndPlay(frame-1,this);
			}
			this._scriptList_[this.currentFrame] && this._scriptList_[this.currentFrame].call(this);
		}

		__proto__.gotoAndStop=function(frame,scene){
			if(this.runner==null)return;
			if((typeof frame=='string')){
				frame=int(this._animData_.labs[frame]);
				this.runner.gotoAndStop(frame,this);
				}else{
				if(frame>this.totalFrames){
					frame=this.totalFrames;
				}
				this.runner.gotoAndStop(frame-1,this);
			}
			this._scriptList_[this.currentFrame] && this._scriptList_[this.currentFrame].call(this);
		}

		__proto__.nextFrame=function(){
			this.runner.gotoAndStop(this._animData_.currentFrame+1,this);
		}

		__proto__.play=function(){
			this.gotoAndPlay(this.currentFrame+1);
		}

		__proto__.stop=function(){
			if(this.runner)
				this.runner.stop(this);
		}

		__proto__.prevScene=LAYAFNVOID/*function(){}*/
		__proto__.nextScene=LAYAFNVOID/*function(){}*/
		__proto__.addFrameTimer=function(fn){
			return Stage.stage._tmctr_.addFrameTimer(fn,this);
		}

		__proto__.addChild=function(child){
			if(this._type_&0x10&&this.numChildren){
				this.sortChildsByZIndex();
				var disp=this.getChildAt(this.numChildren-1);
				child.zIndex=disp.zIndex+1;
			}
			return iflash.display.DisplayObjectContainer.prototype.addChild.call(this,child);
		}

		__proto__.addChildAt=function(child,index){
			if(this._type_&0x10&&this.numChildren){
				this.sortChildsByZIndex();
				var disp=this.getChildAt(index);
				child.zIndex=disp.zIndex-1;
				if(index>0){
					if(child.zIndex<this.getChildAt(index-1).zIndex){
						var i=0;
						while(i<index-1)
						{this.getChildAt(i).zIndex--;i++;}
					}
				}
			}
			return iflash.display.DisplayObjectContainer.prototype.addChildAt.call(this,child,index);
		}

		__proto__._lyToBody_=function(){
			_super.prototype._lyToBody_.call(this);
			this._preTime_=0;
			if(this.runner){
				this.onupdate=this._onupdate_;
				this._private_.onupdate.deleted=false;
			}
		}

		__proto__._lyUnToBody_=function(){
			iflash.display.DisplayObjectContainer.prototype._lyUnToBody_.call(this);
			if(this._private_.onupdate){this._private_.onupdate.deleted=true;};
		}

		__proto__.stopAll=function(mc){
			var i=mc.numChildren;
			while(i){
				var m=mc.getChildAt(i-1);
				m&&(m.stop(),this.stopAll(m));
				i--;
			}
		}

		__proto__.lyclone=function(){
			var movie=new MovieClip();
			if(this.scale9Data)movie.scale9Data={x1:this.scale9Data.x1,y1:this.scale9Data.y1,x2:this.scale9Data.x2,y2:this.scale9Data.y2};
			movie._animData_=this._animData_.lyclone();
			movie.runner=this.runner;
			movie._interval_=this._interval_;
			movie.__id__=this.__id__;
			movie.charId=this.charId;
			movie.characterId=this.characterId;
			movie._type_|=(this._type_& /*iflash.display.DisplayObject.TYPE_CREATE_FROM_TAG*/0x10);
			movie.gotoAndPlay(1);
			movie.width=movie.width;
			movie.height=movie.height;
			movie.sortChildsByZIndex();
			return movie;
		}

		GETSET$(0,__proto__,'onupdate',null,function(fn){
			if(this._private_.onupdate)(this._private_.onupdate.deleted=true);
			this._private_.onupdate=this.addFrameTimer(fn);
		});

		GETSET$(0,__proto__,'interval',function(){
			return Stage.__frameRate__;
			},function(value){
			this._interval_=value;
		});

		GETSET$(0,__proto__,'currentFrame',function(){
			var value=this._animData_.currentFrame+1;
			if(value>this.totalFrames)value=this.totalFrames;
			return value<1?1:value;
		});

		GETSET$(0,__proto__,'enabled',LAYAFNTRUE/*function(){return true;}*/,LAYAFNVOID/*function(value){}*/);
		GETSET$(0,__proto__,'totalFrames',function(){
			return this._animData_.totalFrame;
		});

		GETSET$(0,__proto__,'currentLabel',function(){
			var index=this.currentFrame-1;
			var label;
			var frame=0;
			var arr={};
			for (var key in this._animData_.labs){
				label=key;
				frame=int(this._animData_.labs[key]);
				if(index==frame){
					return label;
				}
				arr[frame]=label;
			}
			label=null;
			while(label==null){
				label=arr[index];
				index--;
				if(index==-1)break ;
			}
			return label;
		});

		GETSET$(0,__proto__,'isPlaying',function(){
			return !this._animData_.isStop;
		});

		GETSET$(0,__proto__,'framesLoaded',LAYAFN0/*function(){return 0}*/);
		GETSET$(0,__proto__,'currentFrameLabel',function(){
			var index=this.currentFrame-1;
			var label;
			var frame=0;
			for (var key in this._animData_.labs){
				label=key;
				frame=int(this._animData_.labs[key]);
				if(index==frame){
					return label;
				}
			}
			return null;
		});

		GETSET$(0,__proto__,'currentScene',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'currentLabels',function(){
			var labs=this._animData_.labs,arr=[];
			for (var key in labs){
				var fl=new FrameLabel();
				fl.name=key;
				fl.frame=int(labs[key])+1;
				arr.push(fl);
			}
			return arr;
		});

		GETSET$(0,__proto__,'scenes',LAYAFNNULL/*function(){return null}*/);
		GETSET$(0,__proto__,'trackAsMenu',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(value){}*/);
		MovieClip.USE_LINK_CLASS=true;
		return MovieClip;
	})(Sprite)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/shaderjob.as
	var ShaderJob=/*iflash.display.ShaderJob*/(function(_super){
		function ShaderJob(__a){
			ShaderJob._SUPERC_.call(this);
		}

		CLASS$(ShaderJob,'iflash.display.ShaderJob',true,false,_super);
		var __proto__=ShaderJob.prototype;
		__proto__.start=function(waitForCompletion){
			(waitForCompletion===void 0)&& (waitForCompletion=false);
		}

		return ShaderJob;
	})(Sprite)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/simplebutton.as
	var SimpleButton=/*iflash.display.SimpleButton*/(function(_super){
		function SimpleButton(upState,overState,downState,hitTestState){
			this._enabled=true;
			SimpleButton._SUPERC_.call(this);
			this.addEventListener(/*iflash.events.MouseEvent.MOUSE_OUT*/"mouseOut",BIND$(this,this._onmouseOut_));
			this.addEventListener(/*iflash.events.MouseEvent.MOUSE_OVER*/"mouseOver",BIND$(this,this._onmouseOver_));
			this.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this._onmouseDown_));
			this.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this._onmouseUp_));
			this.mouseChildren=false;
		}

		CLASS$(SimpleButton,'iflash.display.SimpleButton',true,false,_super);
		var __proto__=SimpleButton.prototype;
		__proto__._onmouseOut_=function(e){this.gotoAndStop(1);}
		__proto__.switchState=function(state){this.gotoAndStop(state);}
		__proto__._onmouseUp_=function(e){this.gotoAndStop(1);}
		__proto__._onmouseDown_=function(e){this.gotoAndStop(3);}
		__proto__._onmouseOver_=function(e){this.gotoAndStop(2);}
		__proto__.lyclone=function(){
			var movie=new SimpleButton();
			movie._animData_=this._animData_.lyclone();
			movie.runner=this.runner;
			movie.__id__=this.__id__;
			movie._interval_=this._interval_;
			movie.width=this.width;
			movie.height=this.height;
			movie._type_|=0x10;
			movie.gotoAndStop(1);
			return movie;
		}

		GETSET$(0,__proto__,'trackAsMenu',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(param1){}*/);
		GETSET$(0,__proto__,'useHandCursor',LAYAFNFALSE/*function(){return false}*/,LAYAFNVOID/*function(param1){}*/);
		GETSET$(0,__proto__,'downState',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(param1){}*/);
		GETSET$(0,__proto__,'enabled',function(){return this._enabled;},function(param1){
			this._enabled=param1;
		});

		GETSET$(0,__proto__,'upState',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(param1){}*/);
		GETSET$(0,__proto__,'overState',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(param1){}*/);
		GETSET$(0,__proto__,'hitTestState',LAYAFNNULL/*function(){return null}*/,LAYAFNVOID/*function(param1){}*/);
		return SimpleButton;
	})(MovieClip)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/swf/classs/mc.as
	var MC2=/*iflash.display.swf.classs.MC*/(function(_super){
		function MC(){
			MC._SUPERC_.call(this);
			var movieClip=this["__data__"];
			this._animData_=movieClip._animData_.lyclone();
			this.runner=movieClip.runner;
			this._interval_=movieClip._interval_;
			this._type_|=0x10;
			this.__id__=movieClip.__id__;
			this.gotoAndPlay(1);
		}

		CLASS$(MC,'iflash.display.swf.classs.MC',true,false,_super,'MC2');
		return MC;
	})(MovieClip)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash/display/swf/classs/sb.as
	var SB=/*iflash.display.swf.classs.SB*/(function(_super){
		function SB(upState,overState,downState,hitTestState){
			SB._SUPERC_.call(this);
			var movieClip=this["__data__"];
			this._animData_=movieClip._animData_.lyclone();
			this.runner=movieClip.runner;
			this.runner=movieClip.runner;
			this._interval_=movieClip._interval_;
			this._type_|=0x10;
			this.__id__=movieClip.__id__;
			this.gotoAndStop(1);
		}

		CLASS$(SB,'iflash.display.swf.classs.SB',true,false,_super);
		return SB;
	})(SimpleButton)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/jsonparse.jas
	var JSONParse=(function(){
		function JSONParse(){
			/*__JS__ */if(LAYABOX.__JSON__)return;
			/*__JS__ */LAYABOX.__JSON__=window.JSON;
			/*__JS__ */window.JSON=JSONParse;
		}

		CLASS$(JSONParse,'JSONParse',true,true);
		JSONParse.parse=function(val){
			var ret=null;
			try {
				return /*__JS__ */LAYABOX.__JSON__.parse(val);
			}
			catch(ex){
				try {
					/*__JS__ */eval('ret='+val);
					return ret;
				}
				catch(e){
					throw new Error("Could not parse JSON: "+e.message);
					return null;
				}
			}
			return null;
		}

		JSONParse.stringify=function(obj){
			return /*__JS__ */LAYABOX.__JSON__.stringify(obj);
		}

		return JSONParse;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/qname.jas
	var QName=(function(){
		function QName(uri,localName){
			this._uri=null;
			this._localName=null;
			this._uri=uri;
			this._localName=localName
		}

		CLASS$(QName,'QName',true,false);
		var __proto__=QName.prototype;
		__proto__.toString=function(){
			return (this.uri==null ? "*" :this.uri)+"::"+this.localName;
		}

		GETSET$(0,__proto__,'uri',function(){
			if(this._uri==null)
				return null;
			else if(this._uri=="")
			return "";
			else if((typeof this._uri=='string'))
			return this._uri;
			return this._uri+"";
		});

		GETSET$(0,__proto__,'localName',function(){
			if(this._localName==null)
				return null;
			else if(this._localName=="")
			return "";
			else if((typeof this._localName=='string'))
			return this._localName;
			return this._localName+"";
		});

		return QName;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/uint.jas
	var uint=(function(){
		function uint(value,offset){
			(value===void 0)&& (value=0);
			(offset===void 0)&& (offset=0);
			if(!value)return 0;
			if(LAYABOX.typeof(value,iflash.utils.BigInteger)){
				if (value.compareTo(uint._CIRCLE)>=0 && value.compareTo(uint.ZERO)< 0)
					return value.add(uint.CIRCLE);
				else if (value.compareTo(uint._CIRCLE)< 0){
					return uint(value.mod(uint.CIRCLE));
				}
				else if (value.compareTo(4294967295)> 0){
					value=value.mod(uint.CIRCLE);
				}
				return value;
			}
			else{
				value=LAYABOX.parseInt(value);
				if(value>=-4294967295-1&&value<0)
					return value+4294967295+1+offset;
				else if(value<-4294967295-1)
				return uint(value%(4294967295+1))+offset
				else if(value>4294967295)
				value=value%(4294967295+1)+offset;
				return value;
			}
		}

		CLASS$(uint,'uint',true,false);
		var __proto__=uint.prototype;
		__proto__.toString=function(radix){
			(radix===void 0)&& (radix=10);
			return Number(this).toString(radix);
		}

		__proto__.valueOf=function(){
			return this;
		}

		__proto__.toExponential=function(p){
			(p===void 0)&& (p=0);
			return Number(this).toExponential(p);
		}

		__proto__.toPrecision=function(p){
			(p===void 0)&& (p=0);
			return Number(this).toPrecision(p);
		}

		__proto__.toFixed=function(p){
			(p===void 0)&& (p=0);
			return Number(this).toFixed(p);
		}

		uint.MAX_VALUE=4294967295;
		uint.MAX_UINT=4294967295;
		uint.length=1;
		STATICATTR$(uint,
		['_MAX_UINT',function(){return this._MAX_UINT=new iflash.utils.BigInteger("-4294967295");},'ZERO',function(){return this.ZERO=new iflash.utils.BigInteger("0");},'CIRCLE',function(){return this.CIRCLE=new iflash.utils.BigInteger("4294967296");},'_CIRCLE',function(){return this._CIRCLE=new iflash.utils.BigInteger("-4294967296");}
		]);
		return uint;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/mx/utils/stringutil.as
	var StringUtil=/*mx.utils.StringUtil*/(function(){
		function StringUtil(){};
		CLASS$(StringUtil,'mx.utils.StringUtil',true,true);
		StringUtil.trim=function(str){
			if (str==null){
				return '';
			};
			var startIndex=0;
			while (StringUtil.isWhitespace(str.charAt(startIndex))){
				++startIndex;
			};
			var endIndex=str.length-1;
			while (StringUtil.isWhitespace(str.charAt(endIndex))){
				--endIndex;
			}
			if (endIndex >=startIndex){
				return str.slice(startIndex,endIndex+1);
			}
			else{
				return "";
			}
		}

		StringUtil.trimArrayElements=function(value,delimiter){
			if (value !="" && value !=null){
				var items=value.split(delimiter);
				var len=items.length;
				for (var i=0;i < len;i++){
					items[i]=mx.utils.StringUtil.trim(items[i]);
				}
				if (len > 0){
					value=items.join(delimiter);
				}
			}
			return value;
		}

		StringUtil.isWhitespace=function(character){
			switch (character){
				case " " :
				case "\t" :
				case "\r" :
				case "\n" :
				case "\f" :
					return true;
				default :
					return false;
				}
		}

		StringUtil.substitute=function(str,__rest){
			var rest=[];for(var i=1,sz=arguments.length;i<sz;i++)rest.push(arguments[i]);
			if (str==null){
				return '';
			};
			var len=rest.length;
			var args;
			if (len==1 && ((rest[0])instanceof Array)){
				args=rest [0];
				len=args.length;
			}
			else{
				args=rest;
			}
			for (var i=0;i < len;i++){
				str=str.replace(new RegExp("\\{"+i+"\\}","g"),args[i]);
			}
			return str;
		}

		return StringUtil;
	})()


	//file:///d:/projects/layadocument/pandarun/src/data.as
	var Data=(function(){
		function Data(){
			this.bamboo=0;
			this.bestScore=0;
			this.scoreRecordList=null;
			this.shoots=0;
			this.milk=0;
			this.amulet=0;
			this.consumption=0;
			this.prevUserName="Player Name";
			this.achievement=0;
			this.share=SharedObject.getLocal("panda");
			;
			this.scoreRecordList=/*new vector.<>*/[
			{"name":"","score":""},
			{"name":"","score":""},
			{"name":"","score":""},
			{"name":"","score":""},
			{"name":"","score":""}];
			if (this.share.data.rank==null){
				this.share.clear();
				this.share.setProperty("rank",this.scoreRecordList);
			}
			if (this.share.data.prevUserName==null){
				this.share.setProperty("prevUserName",this.prevUserName);
			}
		}

		CLASS$(Data,'Data',true,true);
		var __proto__=Data.prototype;
		__proto__.save=function(){
			this.share.setProperty("s1",this.bamboo);
			this.share.setProperty("s2",this.bestScore);
			this.share.setProperty("s3",this.shoots);
			this.share.setProperty("s4",this.milk);
			this.share.setProperty("s5",this.amulet);
			this.share.setProperty("s6",this.consumption);
			this.share.setProperty("s7",this.achievement);
			this.share.setProperty("rank",this.scoreRecordList);
			this.share.setProperty("prevUserName",this.prevUserName);
		}

		__proto__.load=function(){
			this.bamboo=int(this.share.data.s1);
			this.bestScore=int(this.share.data.s2);
			this.shoots=int(this.share.data.s3);
			this.milk=int(this.share.data.s4);
			this.amulet=int(this.share.data.s5);
			this.consumption=int(this.share.data.s6);
			this.achievement=int(this.share.data.s7);
			this.scoreRecordList=(this.share.data.rank)? this.share.data.rank :new Array;
			if (this.share.data.prevUserName !=null){
				this.prevUserName=this.share.data.prevUserName;
			}
		}

		return Data;
	})()


	//file:///d:/projects/layadocument/pandarun/src/game/achieve.as
	var Achieve=/*game.Achieve*/(function(){
		function Achieve(start){
			this.panda=null;
			this.data=null;
			this.closeStep=false;
			this.richComplete=false;
			this.deposit=20000;
			this.totalIncome=50000;
			this.shooterComplete=false;
			this.numHits=30;
			this.marathonComplete=false;
			this.distance=42195;
			this.allEasyComplete=false;
			this.easyJourney=2000;
			this.lastItemLocation=0;
			this.lastShoots=0;
			this.lastMilk=0;
			this.lastAmulet=0;
			this.gongfuComplete=false;
			this.gongfuJourney=300;
			this.startLocation=0;
			this.gongfuMilk=0;
			this.mmmCompelte=false;
			this.bambooTarget=500;
			this.shootsTarget=80;
			this.nearMissComplete=false;
			this.nearMissY=640;
			this.icon=null;
			this.count=0;
			this.bgBmp=null;
			this.startFunc=null;
			this.IntroClass=null;
			this.infro=null;
			this.cross=null;
			this.startArea=new Sprite();
			this.icon=new Bitmap();
			this.bgBmp=new Bitmap();
			this.IntroClass=/*new vector.<>*/[Achieve.EpicEscapeIntro,Achieve.ExpertShooterIntro,Achieve.MarathonIntro,Achieve.PieceOfCakeIntro,Achieve.KungfuPandaIntro,Achieve.MillionaireIntro];
			this.infro=new Bitmap();
			this.cross=new Achieve.CloseButton();
			;
			this.startArea.addChild(new Bitmap(GameUI.btnAreaSrc2));
			this.startFunc=start;
			this.hidePanel();
		}

		CLASS$(Achieve,'game.Achieve',true,true);
		var __proto__=Achieve.prototype;
		LAYABOX.implements(__proto__,{"interf.ISteper":true})
		__proto__.reset=function(){
			this.lastItemLocation=0;
			this.startLocation=0;
		}

		__proto__.close=function(){
			this.closeStep=true;
		}

		__proto__.open=function(){
			this.closeStep=false;
			this.setComplete();
		}

		__proto__.setComplete=function(){
			this.richComplete=(this.data.achievement & 1)==1;
			this.shooterComplete=(this.data.achievement & 2)==2;
			this.marathonComplete=(this.data.achievement & 4)==4;
			this.allEasyComplete=(this.data.achievement & 8)==8;
			this.gongfuComplete=(this.data.achievement & 16)==16;
			this.nearMissComplete=(this.data.achievement & 32)==32;
		}

		__proto__.step=function(){
			if(this.closeStep){
				return;
			}
			if(!this.richComplete){
				this.rich();
			}
			if(!this.shooterComplete){
				this.shooter();
			}
			if(!this.marathonComplete){
				this.marathon();
			}
			if(!this.allEasyComplete){
				this.easy();
			}
			if(!this.gongfuComplete){
				this.gongfu();
			}
			if(!this.nearMissComplete){
				this.nearMiss();
			}
		}

		__proto__.rich=function(){
			if((this.panda.numBamboo > this.deposit)|| (this.panda.numBamboo+this.panda.consumption > this.totalIncome)){
				this.richComplete=true;
				this.showCompletePanel("大富翁");
			}
		}

		__proto__.shooter=function(){
			if(this.panda.numHits > this.numHits){
				this.shooterComplete=true;
				this.showCompletePanel("神枪手");
			}
		}

		__proto__.marathon=function(){
			if(this.panda.runningDistance > this.distance){
				this.marathonComplete=true;
				this.showCompletePanel("马拉松");
			}
		}

		__proto__.easy=function(){
			if((this.lastMilk > this.panda.numMilk)|| (this.lastAmulet > this.panda.numAmulet)|| (this.lastShoots > this.panda.numShoots)){
				this.lastItemLocation=this.panda.runningDistance;
			}
			this.lastMilk=this.panda.numMilk;
			this.lastAmulet=this.panda.numAmulet;
			this.lastShoots=this.panda.numShoots;
			if(this.panda.runningDistance-this.lastItemLocation > this.easyJourney){
				this.allEasyComplete=true;
				this.showCompletePanel("小菜一碟");
			}
		}

		__proto__.gongfu=function(){
			if((!this.panda.isGongfu)|| (this.gongfuMilk > this.panda.numMilk)){
				this.startLocation=this.panda.runningDistance;
			}
			if(this.panda.runningDistance-this.startLocation > this.gongfuJourney){
				this.gongfuComplete=true;
				this.showCompletePanel("功夫熊猫");
			}
		}

		__proto__.makingMachine=function(){
			if((this.panda.eatBamboo > this.bambooTarget)&& (this.panda.eatShoots > this.shootsTarget)){
				this.mmmCompelte=true;
				this.showCompletePanel("赚钱机器");
			}
		}

		__proto__.nearMiss=function(){
			if(this.panda.rect.y > this.nearMissY){
				this.panda.nearMiss=true;
			}
			if((this.panda.nearMiss)&& (this.panda.isRunning())){
				this.nearMissComplete=true;
				this.showCompletePanel("九死一生");
			}
		}

		__proto__.showCompletePanel=function(name){
			switch(name){
				case "九死一生":
					this.icon.bitmapData=new Achieve.EpicEscape().bitmapData;
					break ;
				case "神枪手":
					this.icon.bitmapData=new Achieve.ExpertShooter().bitmapData;
					break ;
				case "马拉松":
					this.icon.bitmapData=new Achieve.Marathon().bitmapData;
					break ;
				case "小菜一碟":
					this.icon.bitmapData=new Achieve.PieceOfCake().bitmapData;
					break ;
				case "功夫熊猫":
					this.icon.bitmapData=new Achieve.KungfuPanda().bitmapData;
					break ;
				case "大富翁":
					this.icon.bitmapData=new Achieve.Millionaire().bitmapData;
					break ;
				}
			this.icon.x=800-this.icon.width >> 1;
			this.icon.y=480-this.icon.height;
			this.icon.parent.addChild(this.icon);
			this.count++;
			this.icon.visible=true;
			this.data.achievement=int(this.richComplete)+(int(this.shooterComplete)<< 1)+(int(this.marathonComplete)<< 2)+(int(this.allEasyComplete)<< 3)+(int(this.gongfuComplete)<< 4)+(int(this.nearMissComplete)<< 5);
			this.data.save();
			iflash.utils.setTimeout(BIND$(this,this.hideCompletePanel),5000);
		}

		__proto__.hideCompletePanel=function(){
			if(--this.count==0){
				this.icon.visible=false;
			}
		}

		__proto__.showAs=function(dpoc){
			dpoc.addChild(this.bgBmp);
			dpoc.addChild(this.infro);
			dpoc.addChild(this.cross);
			dpoc.addChild(this.icon);
			dpoc.addChild(this.startArea);
			this.bgBmp.visible=false;
			this.infro.visible=false;
			this.cross.visible=false;
			this.icon.visible=false;
			this.startArea.y=394;
			this.startArea.x=31;
			this.startArea.alpha=0;
			this.startArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.mouseDown));
			this.startArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.start));
		}

		__proto__.mouseDown=function(e){
			e.target.alpha=0.3;
		}

		__proto__.start=function(e){
			this.hidePanel();
			this.startArea.alpha=0;
			this.startArea.visible=false;
			this.startFunc();
		}

		__proto__.showPanel=function(){
			this.setComplete();
			this.startArea.alpha=0;
			this.startArea.visible=true;
			this.bgBmp.bitmapData=new GameUI.Panel().bitmapData;
			var rect=new Rectangle(0,0,800,480);
			var dest=new Point();
			this.bgBmp.bitmapData.copyPixels(new Achieve.BgBmp().bitmapData,rect,dest,null,null,true);
			rect.width=170;
			rect.height=170;
			if(this.richComplete){
				dest.x=483;
				dest.y=273;
				this.bgBmp.bitmapData.copyPixels(new Achieve.Millionaire().bitmapData,rect,dest,null,null,true);
			}
			if(this.shooterComplete){
				dest.x=314;
				dest.y=122;
				this.bgBmp.bitmapData.copyPixels(new Achieve.ExpertShooter().bitmapData,rect,dest,null,null,true);
			}
			if(this.marathonComplete){
				dest.x=482;
				dest.y=126;
				this.bgBmp.bitmapData.copyPixels(new Achieve.Marathon().bitmapData,rect,dest,null,null,true);
			}
			if(this.allEasyComplete){
				dest.x=147;
				dest.y=272;
				this.bgBmp.bitmapData.copyPixels(new Achieve.PieceOfCake().bitmapData,rect,dest,null,null,true);
			}
			if(this.gongfuComplete){
				dest.x=314;
				dest.y=271;
				this.bgBmp.bitmapData.copyPixels(new Achieve.KungfuPanda().bitmapData,rect,dest,null,null,true);
			}
			if(this.nearMissComplete){
				dest.x=148;
				dest.y=130;
				this.bgBmp.bitmapData.copyPixels(new Achieve.EpicEscape().bitmapData,rect,dest,null,null,true);
			}
			this.bgBmp.visible=true;
			if(this.bgBmp.stage !=null){
				this.bgBmp.stage.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.press));
			}
		}

		__proto__.hidePanel=function(){
			if(this.bgBmp.stage !=null){
				this.bgBmp.stage.removeEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.press));
			}
			if(this.bgBmp.bitmapData !=null){
				this.bgBmp.bitmapData.dispose();
			}
			this.bgBmp.visible=false;
			this.infro.visible=false;
			this.cross.visible=false;
			this.icon.visible=false;
		}

		__proto__.press=function(evt){
			var x=evt.stageX;
			var y=evt.stageY;
			if((x > 154)&& (x < 314)&& (y > 148)&& (y < 298)){
				this.showIntro(0);
			}
			else if((x > 340)&& (x < 460)&& (y > 140)&& (y < 275)){
				this.showIntro(1);
			}
			else if((x > 490)&& (x < 625)&& (y > 143)&& (y < 278)){
				this.showIntro(2);
			}
			else if((x > 172)&& (x < 292)&& (y > 313)&& (y < 423)){
				this.showIntro(3);
			}
			else if((x > 330)&& (x < 460)&& (y > 303)&& (y < 433)){
				this.showIntro(4);
			}
			else if((x > 503)&& (x < 628)&& (y > 305)&& (y < 425)){
				this.showIntro(5);
			}
			else{
				return;
			}
			evt.target.removeEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.press));
		}

		__proto__.showIntro=function(index){
			this.infro.bitmapData=new this.IntroClass[index]().bitmapData;
			this.infro.x=800-this.infro.width >> 1;
			this.infro.y=(480-this.infro.height >> 1)+50;
			this.infro.visible=true;
			this.cross.x=this.infro.x+this.infro.width-this.cross.width / 2;
			this.cross.y=this.infro.y-this.cross.width / 2;
			this.cross.visible=true;
			if(this.infro.stage !=null){
				this.infro.stage.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.hideIntro));
			}
		}

		__proto__.hideIntro=function(evt){
			evt.target.removeEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.hideIntro));
			evt.target.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.press));
			this.infro.visible=false;
			this.cross.visible=false;
		}

		STATICATTR$(Achieve,
		['EpicEscape',function(){return this.EpicEscape=Achieve_EpicEscape;},'ExpertShooter',function(){return this.ExpertShooter=Achieve_ExpertShooter;},'Marathon',function(){return this.Marathon=Achieve_Marathon;},'PieceOfCake',function(){return this.PieceOfCake=Achieve_PieceOfCake;},'KungfuPanda',function(){return this.KungfuPanda=Achieve_KungfuPanda;},'Millionaire',function(){return this.Millionaire=Achieve_Millionaire;},'BgBmp',function(){return this.BgBmp=Achieve_BgBmp;},'EpicEscapeIntro',function(){return this.EpicEscapeIntro=Achieve_EpicEscapeIntro;},'ExpertShooterIntro',function(){return this.ExpertShooterIntro=Achieve_ExpertShooterIntro;},'KungfuPandaIntro',function(){return this.KungfuPandaIntro=Achieve_KungfuPandaIntro;},'MarathonIntro',function(){return this.MarathonIntro=Achieve_MarathonIntro;},'MillionaireIntro',function(){return this.MillionaireIntro=Achieve_MillionaireIntro;},'PieceOfCakeIntro',function(){return this.PieceOfCakeIntro=Achieve_PieceOfCakeIntro;},'CloseButton',function(){return this.CloseButton=Achieve_CloseButton;}
		]);
		return Achieve;
	})()


	//file:///d:/projects/layadocument/pandarun/src/game/board.as
	var Board=/*game.Board*/(function(){
		function Board(max,frist){
			this._next=null;
			this._max=0;
			this._space=0;
			this.shakePre=NaN;
			this.shakeY=NaN;
			this.shaking=false;
			this.enemy=null;
			this.rect=new Rectangle();
			this.dpo=new Bitmap();
			(max===void 0)&& (max=1);
			(frist===void 0)&& (frist=true);
			var p=null;
			;
			this._max=max;
			if(frist){
				p=this;
				while(--max > 0){
					p._next=new Board(max,false);
					p=p._next;
				}
				p._next=this;
			}
		}

		CLASS$(Board,'game.Board',true,true);
		var __proto__=Board.prototype;
		LAYABOX.implements(__proto__,{"interf.ISteper":true})
		__proto__.showAs=function(dpoc){
			dpoc.addChild(this.dpo);
		}

		__proto__.step=function(){
			var board=this;
			var i=0;
			while(i < this._max){
				board.shakeEffect();
				board=board.next;
				i++;
			}
		}

		__proto__.shakeEffect=function(){
			if(this.shaking){
				if(this.shakePre < Math.PI){
					this.shakePre=Math.min(Math.PI,this.shakePre+0.35);
					this.dpo.y=this.rect.y=this.shakeY+15 *Math.sin(this.shakePre);
					if((!(this.enemy==null))&& (this.enemy.type==/*game.Enemy.Snake*/0)){
						this.enemy.dpo.y=this.rect.y-this.enemy.rect.height;
					}
				}
				else{
					this.shaking=false;
				}
			}
		}

		__proto__.shake=function(){
			this.shaking=true;
			this.shakePre=0;
			this.shakeY=this.rect.y;
		}

		__proto__.reset=function(x,w){
			if(w > 0){
				this.buildData(x,w);
				this.buildBitmap(w);
				this.updateView();
			}
		}

		__proto__.resetForHelp=function(x,y){
			this.rect.x=x;
			this.rect.y=y;
			this.rect.width=15 *2+(13-1)*150;
			this._space=0;
			this.buildBitmap(13-1);
			this.updateView();
		}

		__proto__.updateView=function(){
			this.dpo.x=this.rect.x;
			this.dpo.y=this.rect.y;
		}

		__proto__.buildData=function(x,w){
			this.rect.y=280+int(Math.random()*4)*40;
			this.rect.x=x;
			this.rect.width=15 *2+w *150;
			this._space=(int(Math.random()*(14-3))+3)*50;
		}

		__proto__.buildBitmap=function(w){
			this.dpo.bitmapData=Board._bitmapData[w];
			var bitmapData=this.dpo.bitmapData;
			var rect=new Rectangle();
			var point=new Point();
			bitmapData.lock();
			rect.height=75;
			rect.width=15;
			rect.x=0;
			point.x=0;
			bitmapData.copyPixels(Board.src,rect,point);
			rect.x=150 *3+15;
			point.x=15+w *150;
			bitmapData.copyPixels(Board.src,rect,point);
			rect.width=150;
			var i=0;
			while(i < w){
				point.x=i *150+15;
				rect.x=150 *int(Math.random()*3)+15;
				bitmapData.copyPixels(Board.src,rect,point);
				i++;
			}
			bitmapData.unlock();
		}

		GETSET$(0,__proto__,'next',function(){
			return this._next;
		});

		GETSET$(0,__proto__,'max',function(){
			return this._max;
		});

		GETSET$(0,__proto__,'right',function(){
			return this._space+this.rect.right;
		});

		Board.init=function(){
			var i=0;
			while(i < 13){
				Board._bitmapData.push(new BitmapData(15 *2+150 *i,75));
				i++;
			}
		}

		Board.y_base=280;
		Board.y_unit=40;
		Board.y_limit=4;
		Board.img_height=75;
		Board.marginal=15;
		Board.unit=150;
		Board.limit=13;
		Board.space_unit=50;
		Board.space_min=3;
		Board.space_max=14;
		Board.max=15 *2+150 *13;
		Board._bitmapData=[];
		STATICATTR$(Board,
		['BoardBmp',function(){return this.BoardBmp=Board_BoardBmp;},'src',function(){return this.src=new Board.BoardBmp().bitmapData;}
		]);
		return Board;
	})()


	//file:///d:/projects/layadocument/pandarun/src/game/enemy.as
	var Enemy=/*game.Enemy*/(function(){
		function Enemy(max){
			this._type=0;
			this._next=null;
			this._max=1;
			this.isBruised=false;
			this.probability=null;
			this.effStart=0;
			this.effBmp=null;
			this.clearTime=0;
			this.effecting=false;
			this.clearBmp=null;
			this.rect=new Rectangle(0,0,76,78);
			this.dpo=new Bitmap();
			(max===void 0)&& (max=-1);
			;
			var p=null;
			this.probability=/*new vector.<>*/[0.8,0.9,0.97,0.985,1];
			this.effBmp=new Bitmap();
			this.clearBmp=new Bitmap();
			this._max=max;
			if(max > 0){
				p=this;
				while(--max > 0){
					p._next=new Enemy();
					p=p._next;
				}
				p._next=this;
			}
			this.reset(0,0);
		}

		CLASS$(Enemy,'game.Enemy',true,true);
		var __proto__=Enemy.prototype;
		LAYABOX.implements(__proto__,{"interf.ISteper":true})
		__proto__.step=function(){
			var enemy=this;
			var i=0;
			while(i < this._max){
				enemy.updateBitmapData();
				enemy.effStep();
				enemy=enemy.next;
				i++;
			}
		}

		__proto__.bruise=function(){
			this.isBruised=true;
			this.disappearEff();
		}

		__proto__.showAs=function(dpoc){
			dpoc.addChild(this.dpo);
			dpoc.addChild(this.effBmp);
			dpoc.addChild(this.clearBmp);
		}

		__proto__.reset=function(x,boradY){
			this.rect.x=x;
			this.rect.y=boradY-this.rect.height;
			this.buildData();
			this.buildBitmap();
		}

		__proto__.resetForHelp=function(x,boradY){
			this.rect.x=x+800;
			this.rect.y=boradY-this.rect.height;
			this._type=int(Math.random()*3);
			this.isBruised=false;
			this.buildBitmap();
		}

		__proto__.buildData=function(){
			switch(null){
				case 1:
					this.rect.y=this.rect.y-150;
					break ;
				case 2:
					this.rect.y=this.rect.y-int(Math.random()*3)*150;
					break ;
				}
			this.isBruised=false;
		}

		__proto__.buildBitmap=function(){
			this.dpo.bitmapData=Enemy._bitmapData[this.type][0];
			this.dpo.x=this.rect.x;
			this.dpo.y=this.rect.y;
			this.dpo.visible=true;
			this.effBmp.x=this.rect.x-20;
			this.effBmp.y=this.rect.y-10;
			this.effBmp.visible=false;
			this.clearBmp.x=this.rect.x-25;
			this.clearBmp.y=this.rect.y-24;
			this.clearBmp.visible=false;
		}

		__proto__.disappearEff=function(){
			if(this._type==2){
				this.dpo.visible=false;
			}
			this.effBmp.visible=true;
			this.effStart=vo.gameTime;
		}

		__proto__.updateBitmapData=function(){
			var frame=0;
			this.dpo.bitmapData=Enemy._bitmapData[this.type][int(vo.gameTime / 83.3)% 3];
			if(this.effBmp.visible){
				if(this._type==2){
					frame=int((vo.gameTime-this.effStart)/ 50);
					if(frame > 3){
						this.effBmp.visible=false;
						this.dpo.visible=false;
					}
					else{
						this.effBmp.bitmapData=Enemy.bombEffBmpds[frame];
					}
				}
				else{
					this.effBmp.visible=false;
				}
			}
		}

		__proto__.clear=function(){
			this.isBruised=true;
			this.dpo.visible=false;
			this.clearBmp.visible=true;
			this.effecting=true;
			this.clearTime=vo.gameTime;
		}

		__proto__.effStep=function(){
			if(!this.effecting){
				return;
			};
			var frame=int((vo.gameTime-this.clearTime)/ 17.8);
			if(frame < 0){
				return;
			}
			if(frame < 3){
				this.clearBmp.bitmapData=Food.getEffBmpds(frame);
			}
			else{
				this.clearBmp.alpha=1-0.2 *(frame-3);
			}
			if(frame > 8){
				this.clearBmp.visible=this.effecting=false;
			}
		}

		GETSET$(0,__proto__,'type',function(){
			return this._type;
		});

		GETSET$(0,__proto__,'next',function(){
			return this._next;
		});

		GETSET$(0,__proto__,'max',function(){
			return this._max;
		});

		Enemy.init=function(){
			var i=0;
			var j=0;
			var bmpd=null;
			var rect=new Rectangle(0,0,76,78);
			var dest=new Point();
			i=0;
			while(i < 3){
				rect.y=rect.height *i;
				j=0;
				while(j < 3){
					rect.x=rect.width *j;
					bmpd=new BitmapData(rect.width,rect.height);
					bmpd.copyPixels(Enemy.src,rect,dest);
					Enemy._bitmapData[i].push(bmpd);
					j++;
				}
				i++;
			}
			rect.width=108;
			rect.height=95;
			rect.x=rect.y=0;
			i=0;
			while(i < 4){
				bmpd=new BitmapData(rect.width,rect.height);
				rect.x=rect.width *i;
				bmpd.copyPixels(Enemy.effSrc,rect,dest);
				Enemy.bombEffBmpds.push(bmpd);
				i++;
			}
		}

		Enemy.Snake=0;
		Enemy.Raven=1;
		Enemy.Bomb=2;
		Enemy.numTypes=3;
		Enemy.snakeBmpds=[];
		Enemy.ravenBmpds=[];
		Enemy.bombBmpds=[];
		Enemy.bombEffBmpds=[];
		Enemy.numFrames=3;
		STATICATTR$(Enemy,
		['MonsterBmp',function(){return this.MonsterBmp=Enemy_MonsterBmp;},'src',function(){return this.src=new Enemy.MonsterBmp().bitmapData;},'_bitmapData',function(){return this._bitmapData=/*new vector.<>*/[Enemy.snakeBmpds,Enemy.ravenBmpds,Enemy.bombBmpds];},'EffBmp',function(){return this.EffBmp=Enemy_EffBmp;},'effSrc',function(){return this.effSrc=new Enemy.EffBmp().bitmapData;}
		]);
		return Enemy;
	})()


	//file:///d:/projects/layadocument/pandarun/src/game/food.as
	var Food=/*game.Food*/(function(){
		function Food(max){
			this._next=null;
			this.isEated=false;
			this._type=0;
			this._max=1;
			this.effecting=false;
			this.startTime=0;
			this.rect=new Rectangle(0,0,52,52);
			this.dpo=new Bitmap();
			this.effBmp=new Bitmap();
			(max===void 0)&& (max=-1);
			;
			var p=null;
			this._max=max;
			if (max > 0){
				p=this;
				while (--max > 0){
					p._next=new Food();
					p=p._next;
				}
				p._next=this;
				this.reset(1000,480);
			}
		}

		CLASS$(Food,'game.Food',true,true);
		var __proto__=Food.prototype;
		LAYABOX.implements(__proto__,{"interf.ISteper":true})
		__proto__.step=function(){
			var food=this;
			var i=0;
			while (i < this._max){
				if (food.effecting){
					food.effStep();
				}
				food=food.next;
				i++;
			}
		}

		__proto__.eat=function(){
			this.dpo.visible=false;
			this.isEated=true;
			this.effecting=true;
			this.startTime=vo.gameTime;
			Food.effSound.play();
		}

		__proto__.showAs=function(dpoc){
			dpoc.addChild(this.dpo);
			dpoc.addChild(this.effBmp);
		}

		__proto__.reset=function(x,y){
			this.rect.x=x;
			this.rect.y=y;
			this.buildData();
			this.buildBitmap();
		}

		__proto__.buildData=function(){
			this.isEated=false;
			this._type=Food.randomData();
		}

		__proto__.buildBitmap=function(){
			this.dpo.bitmapData=Food._bitmapData[this._type];
			this.dpo.x=this.rect.x;
			this.dpo.y=this.rect.y;
			this.dpo.visible=true;
			this.effBmp.bitmapData=null;
			this.effBmp.x=this.rect.x-37;
			this.effBmp.y=this.rect.y-37;
			this.effBmp.alpha=1;
			this.effBmp.visible=true;
		}

		__proto__.effStep=function(){
			var frame=int((vo.gameTime-this.startTime)/ 17.8);
			if (frame < 0){
				return;
			}
			if (frame < 3){
				this.effBmp.bitmapData=Food._effBmpds[frame];
			}
			else{
				this.effBmp.alpha=1-0.2 *(frame-3);
			}
			if (frame > 8){
				this.effBmp.visible=this.effecting=false;
			}
		}

		GETSET$(0,__proto__,'next',function(){
			return this._next;
		});

		GETSET$(0,__proto__,'type',function(){
			return this._type;
		});

		GETSET$(0,__proto__,'max',function(){
			return this._max;
		});

		GETSET$(1,Food,'shootsBmpd',function(){
			return Food._bitmapData[1];
		});

		Food.oldRandomData=function(){
			var r=Math.random();
			var i=0;
			while (i < 5){
				if (r < Food.probability[i]){
					return i;
				}
				i++;
			}
			return 0;
		}

		Food.randomData=function(){
			var t=0;
			var r=0;
			var i=0;
			if (Food.random_Postion >=Food._listLen){
				Food.random_Postion=0;
			}
			if (Food.random_Postion==0){
				i=0;
				while (i < Food._listLen){
					r=int(Math.random()*Food._listLen);
					t=Food._list[r];
					Food._list[r]=Food._list[i];
					Food._list[i]=t;
					i++;
				}
			}
			return Food._list[Food.random_Postion++] || 0;
		}

		Food.buildRandomData=function(){
			Food._list[0]=Food._list[3]=2;
			Food._list[1]=Food._list[4]=3;
			Food._list[2]=Food._list[5]=4;
			var i=2;
			while (++i < 20){
				Food._list[i]=1;
			}
		}

		Food.getEffBmpds=function(i){
			return Food._effBmpds[i];
		}

		Food.init=function(){
			var bmpd=null;
			var rect=new Rectangle(0,0,52,52);
			var dest=new Point();
			var i=0;
			while (i < 5){
				bmpd=new BitmapData(rect.width,rect.height);
				rect.x=rect.width *i;
				bmpd.copyPixels(Food.src,rect,dest);
				Food._bitmapData.push(bmpd);
				i++;
			}
			rect.width=rect.height=126;
			var j=0;
			while (j < 3){
				bmpd=new BitmapData(rect.width,rect.height);
				rect.x=rect.width *j;
				bmpd.copyPixels(Food.effsrc,rect,dest);
				Food._effBmpds.push(bmpd);
				j++;
			}
			Food.buildRandomData();
		}

		Food.Bamboo=0;
		Food.Shoots=1;
		Food.Mushroom=2;
		Food.StrongFast=3;
		Food.StrongJump=4;
		Food.Milk=5;
		Food.Amulet=6;
		Food.numTypes=5;
		Food.random_Postion=0;
		Food._listLen=100;
		Food._bitmapData=[];
		Food._effBmpds=[];
		STATICATTR$(Food,
		['probability',function(){return this.probability=/*new vector.<>*/[0.8,0.9,0.97,0.985,1];},'_list',function(){return this._list=new NEWVECTOR$(Food._listLen);},'FoodBmp',function(){return this.FoodBmp=Food_FoodBmp;},'src',function(){return this.src=new Food.FoodBmp().bitmapData;},'EffectBmp',function(){return this.EffectBmp=Food_EffectBmp;},'effsrc',function(){return this.effsrc=new Food.EffectBmp().bitmapData;},'effSound',function(){return this.effSound=new EatSound();}
		]);
		return Food;
	})()


	//file:///d:/projects/layadocument/pandarun/src/game/ground.as
	var Ground=/*game.Ground*/(function(){
		function Ground(){
			this.bg1=null;
			this.bg2=null;
			this.bg3=null;
			this.bg4=null;
			this.bg5=null;
			this.fg1=null;
			this.fg2=null;
			this.ylist=null;
			this.bg1_normal=null;
			this.bg2_normal=null;
			this.bg3_normal=null;
			this.bg4_normal=null;
			this.bg5_normal=null;
			this.fg1_normal=null;
			this.fg2_normal=null;
			this.bg1_blur=null;
			this.bg2_blur=null;
			this.bg3_blur=null;
			this.bg4_blur=null;
			this.bg5_blur=null;
			this.fg1_blur=null;
			this.fg2_blur=null;
			this.blur=false;
			this.scene=null;
			this.type=1;
			this.delay=NaN;
			this.prevTime=0;
			this.auto=true;
			this.sound1playing=false;
			this.sound2playing=false;
			this._max=1;
			this._e=null;
			var normalSrc=null;
			var blurSrc=null;
			var rect=null;
			this.ylist=/*new vector.<>*/[210,250,370,220,460,525,500];
			this._e=new Shape();
			;
			var str=Capabilities.version.substr(0,3);
			this.type=str=="IOS"?2:1;
			var dest=new Point();
			normalSrc=new Ground.BG1Bmp().bitmapData;
			blurSrc=new Ground.BG1Bmp2().bitmapData;
			this.bg1_normal=new BitmapData(normalSrc.width+800,normalSrc.height);
			this.bg1_blur=new BitmapData(normalSrc.width+800,normalSrc.height);
			rect=normalSrc.rect;
			dest.x=0;
			this.bg1_normal.copyPixels(normalSrc,rect,dest);
			this.bg1_blur.copyPixels(blurSrc,rect,dest);
			dest.x=normalSrc.width;
			this.bg1_normal.copyPixels(normalSrc,rect,dest);
			this.bg1_blur.copyPixels(blurSrc,rect,dest);
			this.bg1=new Bitmap(this.bg1_normal);
			normalSrc.dispose();
			blurSrc.dispose();
			normalSrc=new Ground.BG2Bmp().bitmapData;
			blurSrc=new Ground.BG2Bmp2().bitmapData;
			this.bg2_normal=new BitmapData(normalSrc.width+800,normalSrc.height);
			this.bg2_blur=new BitmapData(normalSrc.width+800,normalSrc.height);
			rect=normalSrc.rect;
			dest.x=0;
			this.bg2_normal.copyPixels(normalSrc,rect,dest);
			this.bg2_blur.copyPixels(blurSrc,rect,dest);
			dest.x=normalSrc.width;
			this.bg2_normal.copyPixels(normalSrc,rect,dest);
			this.bg2_blur.copyPixels(blurSrc,rect,dest);
			this.bg2=new Bitmap(this.bg2_normal);
			normalSrc.dispose();
			blurSrc.dispose();
			normalSrc=new Ground.BG3Bmp().bitmapData;
			blurSrc=new Ground.BG3Bmp2().bitmapData;
			this.bg3_normal=new BitmapData(normalSrc.width+800,normalSrc.height);
			this.bg3_blur=new BitmapData(normalSrc.width+800,normalSrc.height);
			rect=normalSrc.rect;
			dest.x=0;
			this.bg3_normal.copyPixels(normalSrc,rect,dest);
			this.bg3_blur.copyPixels(blurSrc,rect,dest);
			dest.x=normalSrc.width;
			this.bg3_normal.copyPixels(normalSrc,rect,dest);
			this.bg3_blur.copyPixels(blurSrc,rect,dest);
			this.bg3=new Bitmap(this.bg3_normal);
			normalSrc.dispose();
			blurSrc.dispose();
			this.bg4_normal=new Ground.Tree1Bmp().bitmapData;
			this.bg4_blur=new Ground.Tree1Bmp2().bitmapData;
			this.bg4=new Bitmap(this.bg4_normal);
			normalSrc=new Ground.Tree2Bmp().bitmapData;
			blurSrc=new Ground.Tree2Bmp2().bitmapData;
			this.bg5_normal=new BitmapData(1400,normalSrc.height,true,0);
			this.bg5_blur=new BitmapData(1400,normalSrc.height,true,0);
			rect=normalSrc.rect;
			var i=0;
			while(i < 4){
				dest.x=350 *i;
				this.bg5_normal.copyPixels(normalSrc,rect,dest,null,null,true);
				this.bg5_blur.copyPixels(blurSrc,rect,dest,null,null,true);
				i++;
			}
			this.bg5=new Bitmap(this.bg5_normal);
			normalSrc.dispose();
			blurSrc.dispose();
			normalSrc=new Ground.GrassBmp().bitmapData;
			blurSrc=new Ground.GrassBmp2().bitmapData;
			this.fg1_normal=new BitmapData(normalSrc.width *3,normalSrc.height);
			this.fg1_blur=new BitmapData(normalSrc.width *3,normalSrc.height);
			rect=normalSrc.rect;
			i=0;
			while(i < 3){
				dest.x=normalSrc.width *i;
				this.fg1_normal.copyPixels(normalSrc,rect,dest);
				this.fg1_blur.copyPixels(blurSrc,rect,dest);
				i++;
			}
			this.fg1=new Bitmap(this.fg1_normal);
			normalSrc.dispose();
			blurSrc.dispose();
			normalSrc=new Ground.FlowerBmp().bitmapData;
			blurSrc=new Ground.FlowerBmp2().bitmapData;
			this.fg2_normal=new BitmapData(normalSrc.width *3,normalSrc.height);
			this.fg2_blur=new BitmapData(normalSrc.width *3,normalSrc.height);
			rect=normalSrc.rect;
			i=0;
			while(i < 3){
				dest.x=normalSrc.width *i;
				this.fg2_normal.copyPixels(normalSrc,rect,dest);
				this.fg2_blur.copyPixels(blurSrc,rect,dest);
				i++;
			}
			this.fg2=new Bitmap(this.fg2_normal);
			normalSrc.dispose();
			blurSrc.dispose();
			this.initY();
		}

		CLASS$(Ground,'game.Ground',true,true);
		var __proto__=Ground.prototype;
		LAYABOX.implements(__proto__,{"interf.ISteper":true})
		__proto__.initY=function(){
			this.bg1.y=this.ylist[0];
			this.bg2.y=this.ylist[1];
			this.bg3.y=this.ylist[2];
			this.bg4.y=this.ylist[3];
			this.bg5.y=this.ylist[4];
			this.fg1.y=this.ylist[5];
			this.fg2.y=this.ylist[6];
		}

		__proto__.bulr=function(){
			this.blur=true;
			this.bg1.bitmapData=this.bg1_blur;
			this.bg2.bitmapData=this.bg2_blur;
			this.bg3.bitmapData=this.bg3_blur;
			this.bg4.bitmapData=this.bg4_blur;
			this.bg5.bitmapData=this.bg5_blur;
			this.fg1.bitmapData=this.fg1_blur;
			this.fg2.bitmapData=this.fg2_blur;
		}

		__proto__.normal=function(){
			if(this.blur){
				this.blur=false;
				this.bg1.bitmapData=this.bg1_normal;
				this.bg2.bitmapData=this.bg2_normal;
				this.bg3.bitmapData=this.bg3_normal;
				this.bg4.bitmapData=this.bg4_normal;
				this.bg5.bitmapData=this.bg5_normal;
				this.fg1.bitmapData=this.fg1_normal;
				this.fg2.bitmapData=this.fg2_normal;
				return;
			}
		}

		__proto__.step=function(){
			this.updateX();
			this.updateY();
		}

		__proto__.updateY=function(){
			if(this.scene.dpoc.y >=0){
				this.bg1.y=this.ylist[0]+this.scene.dpoc.y / 4;
				this.bg2.y=this.ylist[1]+this.scene.dpoc.y / 4;
				this.bg3.y=this.ylist[2]+this.scene.dpoc.y / 4;
				this.bg4.y=this.ylist[3]+this.scene.dpoc.y / 2;
				this.bg5.y=this.ylist[4]+this.scene.dpoc.y / 2;
				this.fg1.y=this.ylist[5]+this.scene.dpoc.y;
				this.fg2.y=this.ylist[6]+this.scene.dpoc.y;
			}
			else if(this.type==1){
				this.bg1.y=this.ylist[0]+this.scene.dpoc.y;
				this.bg2.y=this.ylist[1]+this.scene.dpoc.y;
				this.bg3.y=this.ylist[2]+this.scene.dpoc.y;
				this.bg4.y=this.ylist[3]+this.scene.dpoc.y;
				this.bg5.y=this.ylist[4]+this.scene.dpoc.y;
				this.fg1.y=this.ylist[5]+this.scene.dpoc.y;
				this.fg2.y=this.ylist[6]+this.scene.dpoc.y;
			}
		}

		__proto__.updateX=function(){
			var currTime=iflash.utils.getTimer();
			this.delay=(currTime-this.prevTime)/ 1000;
			this.prevTime=currTime;
			if(!this.auto){
				this.delay=vo.frameDelay;
			}
			this.bg1.x=this.bg1.x-this.delay *30;
			if(this.bg1.x < 800-this.bg1.width){
				this.bg1.x=0;
			}
			this.bg2.x=this.bg2.x-this.delay *60;
			if(this.bg2.x < 800-this.bg2.width){
				this.bg2.x=0;
			}
			this.bg3.x=this.bg3.x-this.delay *120;
			if(this.bg3.x < 800-this.bg3.width){
				this.bg3.x=0;
			}
			this.bg4.x=this.bg4.x-this.delay *150;
			if(this.bg4.x <-500){
				this.bg4.x=800;
			}
			this.bg5.x=this.bg5.x-this.delay *180;
			if(this.bg5.x <-400){
				this.bg5.x=-50;
			}
			this.fg1.x=this.fg1.x-this.delay *400;
			if(this.fg1.x <-522){
				this.fg1.x=0;
			}
			this.fg2.x=this.fg2.x-this.delay *500;
			if(this.fg2.x <-464){
				this.fg2.x=0;
			}
		}

		__proto__.sound=function(){
			if(vo.gameTime-this.prevTime > 5000){
				if(!this.sound1playing){
					this.sound1playing=true;
				}
				this.prevTime=vo.gameTime;
			}
		}

		__proto__.showAs=function(dpoc){
			if(this.type==1){
				dpoc.addChild(this.bg1);
				dpoc.addChild(this.bg2);
				dpoc.addChild(this.bg3);
				dpoc.addChild(this.bg4);
				dpoc.addChild(this.bg5);
				dpoc.addChild(this.fg1);
				dpoc.addChild(this.fg2);
			}
			else{
				dpoc.addChild(this.bg2);
			}
		}

		__proto__.startAlone=function(){
			this._e.addEventListener(/*iflash.events.Event.ENTER_FRAME*/"enterFrame",BIND$(this,this.stepAlone));
			this.prevTime=iflash.utils.getTimer();
			this.initY();
			this.normal();
		}

		__proto__.stepAlone=function(p){
			this.updateX();
		}

		__proto__.stopAlone=function(){
			this._e.removeEventListener(/*iflash.events.Event.ENTER_FRAME*/"enterFrame",BIND$(this,this.stepAlone));
		}

		GETSET$(0,__proto__,'max',function(){
			return this._max;
		});

		Ground.android=1;
		Ground.ios=2;
		STATICATTR$(Ground,
		['BG1Bmp2',function(){return this.BG1Bmp2=Ground_BG1Bmp2;},'BG2Bmp2',function(){return this.BG2Bmp2=Ground_BG2Bmp2;},'BG3Bmp2',function(){return this.BG3Bmp2=Ground_BG3Bmp2;},'Tree1Bmp2',function(){return this.Tree1Bmp2=Ground_Tree1Bmp2;},'Tree2Bmp2',function(){return this.Tree2Bmp2=Ground_Tree2Bmp2;},'GrassBmp2',function(){return this.GrassBmp2=Ground_GrassBmp2;},'FlowerBmp2',function(){return this.FlowerBmp2=Ground_FlowerBmp2;},'BG1Bmp',function(){return this.BG1Bmp=Ground_BG1Bmp;},'BG2Bmp',function(){return this.BG2Bmp=Ground_BG2Bmp;},'BG3Bmp',function(){return this.BG3Bmp=Ground_BG3Bmp;},'Tree1Bmp',function(){return this.Tree1Bmp=Ground_Tree1Bmp;},'Tree2Bmp',function(){return this.Tree2Bmp=Ground_Tree2Bmp;},'GrassBmp',function(){return this.GrassBmp=Ground_GrassBmp;},'FlowerBmp',function(){return this.FlowerBmp=Ground_FlowerBmp;}
		]);
		return Ground;
	})()


	//file:///d:/projects/layadocument/pandarun/src/game/help.as
	var Help=/*game.Help*/(function(){
		function Help(goStart){
			this.panda=null;
			this.scene=null;
			this.engine=null;
			this.btnBack=null;
			this.startFunc=null;
			this.bitmap=null;
			this.stepFunc=null;
			this.nextStep=null;
			this.passFunc=null;
			this.retryFunc=null;
			this.retryStep=null;
			this.nextLock=false;
			this.board=null;
			this.sceneLevel=0;
			this.bitmap=new Bitmap();
			;
			this.startFunc=goStart;
		}

		CLASS$(Help,'game.Help',true,true);
		var __proto__=Help.prototype;
		LAYABOX.implements(__proto__,{"interf.ISteper":true})
		__proto__.showAs=function(dpoc){
			this.bitmap.visible=false;
			dpoc.addChild(this.bitmap);
			var tmpBMP=new Bitmap(new BitmapData(41,48,true,0));
			tmpBMP.bitmapData=Help.src3;
			tmpBMP.x=20;
			tmpBMP.y=10;
			this.btnBack=new Sprite();
			this.btnBack.addChild(tmpBMP);
			dpoc.addChild(this.btnBack);
			this.btnBack.addEventListener(/*iflash.events.MouseEvent.CLICK*/"click",BIND$(this,this.backHandler));
			this.btnBack.visible=false;
		}

		__proto__.backHandler=function(event){
			this.btnBack.visible=false;
			this.bitmap.visible=false;
			this.panda.disctrl=false;
			this.stepFunc=null;
			this.engine.stop();
			this.startFunc();
		}

		__proto__.step=function(){
			if(this.stepFunc !=null){
				this.stepFunc();
			}
		}

		__proto__.start=function(){
			Help.init();
			this.step1();
			this.btnBack.visible=true;
			this.bitmap.visible=true;
			this.panda.disctrl=true;
			this.bitmap.y=480-this.bitmap.height;
			this.bitmap.x=800-this.bitmap.width >> 1;
		}

		__proto__.close=function(){
			this.bitmap.visible=false;
		}

		__proto__.next=function(e){
			if((this.helping)&& (!this.nextLock)){
				this.nextStep();
			}
		}

		__proto__.step1=function(){
			this.nextLock=false;
			this.bitmap.bitmapData=Help.bmpds[3];
			this.stepFunc=this.auto_step1;
			this.nextStep=this.step2;
			this.board=this.panda.board;
			this.scene.updateForHelp(2);
		}

		__proto__.auto_step1=function(){
			if((this.panda.board.rect.right-this.panda.rect.right < 500)&& (this.panda.isRunning())){
				this.engine.pause();
			}
		}

		__proto__.step2=function(){
			this.retryFunc=this.step2;
			this.bitmap.bitmapData=Help.bmpds[4];
			this.retryStep=this.stepFunc=this.auto_step2;
			this.passFunc=this.pass_step2;
			this.nextStep=this.nextForYou;
			this.scene.updateForHelp(this.sceneLevel=2);
			this.board=null;
			this.nextLock=true;
			this.engine.play();
		}

		__proto__.auto_step2=function(){
			this.checkUnlock1();
			if((this.panda.board.rect.right-this.panda.rect.right < 150)&& (this.panda.isRunning())){
				this.panda.jump();
			}
		}

		__proto__.pass_step2=function(){
			if(this.board==null){
				this.board=this.panda.board;
			}
			if(this.board !=this.panda.board){
				this.goodJob(BIND$(this,this.step3));
			}
		}

		__proto__.step3=function(){
			this.retryFunc=this.step3;
			this.bitmap.bitmapData=Help.bmpds[5];
			this.retryStep=this.stepFunc=this.auto_step3;
			this.passFunc=this.pass_step3;
			this.nextStep=this.nextForYou;
			this.scene.updateForHelp(this.sceneLevel=3);
			this.board=null;
			this.nextLock=true;
			this.engine.play();
		}

		__proto__.auto_step3=function(){
			this.checkUnlock1();
			if(this.panda.willFly){
				return;
			}
			if(this.panda.isRunning()){
				if(this.panda.board.rect.right-this.panda.rect.right < 100){
					this.panda.jump();
				}
			}
			else if(this.panda.board.rect.right-this.panda.rect.right <-150){
				this.panda.somersault();
			}
		}

		__proto__.pass_step3=function(){
			if(this.board==null){
				this.board=this.panda.board;
			}
			if(this.board !=this.panda.board){
				this.goodJob(BIND$(this,this.step4));
			}
		}

		__proto__.step4=function(){
			this.bitmap.bitmapData=Help.bmpds[6];
			this.nextStep=this.step4_1;
		}

		__proto__.step4_1=function(){
			this.bitmap.bitmapData=Help.bmpds[7];
			this.nextStep=this.step4_2;
		}

		__proto__.step4_2=function(){
			this.retryFunc=this.step4_2;
			this.bitmap.bitmapData=Help.bmpds[8];
			this.retryStep=this.stepFunc=this.auto_step4;
			this.passFunc=this.pass_step4;
			this.nextStep=this.nextForYou;
			this.scene.updateForHelp(this.sceneLevel=4);
			this.board=null;
			this.nextLock=true;
			this.panda.sp=/*game.Panda.sp*/1000;
			this.engine.play();
		}

		__proto__.auto_step4=function(){
			this.checkUnlock1();
			if(this.panda.isRunning()){
				if(this.panda.board.rect.right-this.panda.rect.right < 100){
					this.panda.jump();
				}
			}
			else if(this.panda.rect.x-this.panda.board.rect.right > 1000){
				this.panda.unfly();
			}
			else if(this.panda.rect.x-this.panda.board.rect.right > 500){
				if(this.panda.willFly){
					this.panda.fly();
				}
			}
			else if(this.panda.rect.x-this.panda.board.rect.right > 150){
				if(!this.panda.willFly){
					this.panda.somersault();
				}
			}
		}

		__proto__.pass_step4=function(){
			if(this.board==null){
				this.board=this.panda.board;
			}
			if(this.board !=this.panda.board){
				this.goodJob(BIND$(this,this.step5));
			}
		}

		__proto__.step5=function(){
			this.bitmap.bitmapData=Help.bmpds[9];
			this.nextStep=this.step5_1;
		}

		__proto__.step5_1=function(){
			this.retryFunc=this.step5_1;
			this.bitmap.bitmapData=Help.bmpds[10];
			this.nextStep=this.nextForYou;
			this.retryStep=this.stepFunc=this.auto_step5;
			this.passFunc=this.pass_step5;
			this.scene.updateForHelp(this.sceneLevel=5);
			this.board=null;
			this.nextLock=true;
			this.panda.numShoots=3;
			this.engine.play();
		}

		__proto__.auto_step5=function(){
			this.checkUnlock1();
			if((this.panda.board.rect.right-this.panda.rect.right < 180)&& (this.panda.isRunning())){
				this.board=this.panda.board;
				this.panda.jump();
			}
			if(this.panda.board.enemy !=null){
				if(this.panda.board.enemy.rect.x-this.panda.rect.right < 500){
					if(!this.panda.shooting){
						this.panda.shoot();
					}
				}
			}
		}

		__proto__.pass_step5=function(){
			if((this.panda.board.enemy.rect.x > this.panda.rect.x)&& (this.panda.board.enemy.isBruised)){
				this.congratulation();
			}
		}

		__proto__.congratulation=function(){
			this.bitmap.bitmapData=Help.bmpds[11];
			this.nextStep=this.quit;
			this.stepFunc=this.autoStep;
			this.panda.disctrl=true;
		}

		__proto__.autoStep=function(){
			if((this.panda.board.rect.right-this.panda.rect.right < 180)&& (this.panda.isRunning())){
				this.board=this.panda.board;
				this.panda.jump();
			}
			if(this.panda.board.enemy !=null){
				if((!this.panda.board.enemy.isBruised)&& (this.panda.board.enemy.rect.x-this.panda.rect.right < 500)){
					if(!this.panda.shooting){
						this.panda.shoot();
					}
				}
			}
		}

		__proto__.quit=function(){
			if(this.bitmap.stage !=null){
				this.bitmap.stage.removeEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.next));
			}
			this.bitmap.visible=false;
			this.panda.disctrl=false;
			this.stepFunc=null;
			this.engine.stop();
			this.startFunc();
		}

		__proto__.nextForYou=function(){
			this.bitmap.bitmapData=Help.bmpds[0];
			this.stepFunc=null;
			this.nextStep=this.ctrlForYou;
		}

		__proto__.ctrlForYou=function(){
			this.bitmap.bitmapData=null;
			this.panda.disctrl=false;
			this.stepFunc=this.passFunc;
			this.board=null;
			this.engine.play();
		}

		__proto__.goodJob=function(next){
			this.bitmap.bitmapData=Help.bmpds[1];
			this.nextStep=next;
			this.stepFunc=this.goodJobStep;
			this.panda.disctrl=true;
			this.nextLock=true;
		}

		__proto__.goodJobStep=function(){
			this.checkUnlock1();
		}

		__proto__.checkUnlock1=function(){
			if(this.board==null){
				this.board=this.panda.board;
			}
			if((this.panda.rect.x-this.panda.board.rect.x > 1000)&& (!(this.board==this.panda.board))){
				this.engine.pause();
				this.nextLock=false;
				this.board=null;
			}
		}

		__proto__.retry=function(){
			this.bitmap.bitmapData=Help.bmpds[2];
			this.nextStep=this.stepAgain;
			this.nextLock=false;
		}

		__proto__.stepAgain=function(){
			this.bitmap.bitmapData=null;
			this.retryFunc();
			this.engine.start();
			this.panda.start();
			this.panda.disctrl=true;
			this.nextLock=true;
		}

		GETSET$(0,__proto__,'helping',function(){
			return this.bitmap.visible;
		});

		Help.init=function(){
			var bmpd=null;
			var src1=new Help.HelpBmp1().bitmapData;
			var src2=new Help.HelpBmp2().bitmapData;
			var rect=new Rectangle(0,0,src1.width,src1.height / 6);
			var dest=new Point();
			var i=0;
			while(i < 6){
				bmpd=new BitmapData(rect.width,rect.height);
				rect.y=rect.height *i;
				bmpd.copyPixels(src1,rect,dest);
				Help.bmpds[i]=bmpd;
				bmpd=new BitmapData(rect.width,rect.height);
				bmpd.copyPixels(src2,rect,dest);
				Help.bmpds[i+6]=bmpd;
				i++;
			}
			src1.dispose();
			src2.dispose();
			src1=null;
			src2=null;
		}

		STATICATTR$(Help,
		['HelpBmp1',function(){return this.HelpBmp1=Help_HelpBmp1;},'HelpBmp2',function(){return this.HelpBmp2=Help_HelpBmp2;},'BtnBackBmp',function(){return this.BtnBackBmp=Help_BtnBackBmp;},'src3',function(){return this.src3=new Help.BtnBackBmp().bitmapData;},'bmpds',function(){return this.bmpds=NEWVECTOR$(12,null);}
		]);
		return Help;
	})()


	//file:///d:/projects/layadocument/pandarun/src/game/panda.as
	var Panda=/*game.Panda*/(function(){
		function Panda(){
			this.numBamboo=0;
			this.numShoots=3;
			this.strongFast=-10000;
			this.strongJump=-5000;
			this.mallShoots=0;
			this.numMilk=3;
			this.numAmulet=0;
			this.sp=1000;
			this.consumption=0;
			this.board=null;
			this.enemy=null;
			this.food=null;
			this.shoots=null;
			this.sound1=null;
			this.data=null;
			this.ground=null;
			this.scene=null;
			this.physicsHiter=null;
			this._max=1;
			this.nearMiss=false;
			this.startX=0;
			this.prev=null;
			this.acc=2000;
			this.shakePre=NaN;
			this.shaking=false;
			this.shakeY=NaN;
			this.xacc=200;
			this.xsc=500;
			this.xasc=800;
			this.fasting=false;
			this._lastTx=0;
			this.eatBamboo=0;
			this.eatShoots=0;
			this.bruising=false;
			this.cacheUpdateFrame=null;
			this.lockCtrlTime=0;
			this.bombing=false;
			this.smoke=null;
			this.somersaulting=false;
			this.numHits=0;
			this._disctrl=false;
			this.leftEnemy=null;
			this.a_down=false;
			this.frameBmpds=null;
			this.updateBitmapData=null;
			this.startTime=0;
			this.fastEff=null;
			this.flyEffBmp=null;
			this.rect=new Rectangle(0,0,79,92);
			this.speed=new Point(500,0);
			this.dpo=new Bitmap();
			this.physicsHiter=this.runHiter;
			this.prev=new Point();
			this.updateBitmapData=this.runFrame;
			this.fastEff=new Bitmap();
			this.flyEffBmp=new Bitmap();
			;
		}

		CLASS$(Panda,'game.Panda',true,true);
		var __proto__=Panda.prototype;
		LAYABOX.implements(__proto__,{"interf.IGameElm":true})
		__proto__.allStep=function(){
			this.step();
		}

		__proto__.init=function(board,food,enemy,shoots,ground,scene){
			this.board=board;
			this.food=food;
			this.enemy=enemy;
			this.shoots=shoots;
			this.ground=ground;
			this.scene=scene;
			this.dpo.bitmapData=Panda.runBmpds[0];
			this.dpo.visible=false;
		}

		__proto__.start=function(){
			this.dpo.visible=true;
			this.dpo.y=this.rect.y=this.board.rect.y-this.rect.height;
			this.dpo.x=this.startX=this.rect.x=this.board.rect.x;
			this.somersaulting=false;
			this.physicsHiter=this.runHiter;
			this.updateBitmapData=this.runFrame;
			this.sp=/*CLASS CONST:game.Panda.sp*/1000;
			this.strongFast=-10000;
			this.strongJump=-5000;
			this.lockCtrlTime=-500;
			this.numHits=0;
			this.eatBamboo=0;
			this.eatShoots=0;
			this.nearMiss=false;
			this.shaking=false;
			this.a_down=false;
			this.bombing=false;
			this.bruising=false;
			this.speed.y=0;
			this.speed.x=this.xsc;
		}

		__proto__.showAs=function(dpoc){
			dpoc.addChild(this.dpo);
			dpoc.addChild(this.flyEffBmp);
			dpoc.addChild(this.fastEff);
		}

		__proto__.step=function(){
			this.running();
			this.physicsHiter();
			this.foodHiter();
			this.enemyHiter();
			this.updateView();
			this.effView();
		}

		__proto__.shake=function(){
			this.shaking=true;
			this.shakePre=0;
			this.shakeY=this.rect.y;
		}

		__proto__.running=function(){
			if (this.bombing){
				return;
			}
			this.fasting=vo.gameTime-this.strongFast < 10000;
			if (!this.fasting){
				this.ground.normal();
			};
			var tx=this.fasting ? this.xasc :this.xsc;
			tx=tx+int(vo.gameTime / 20000)*20;
			if (tx < this.speed.x){
				this.speed.x=this.speed.x-this.xacc *vo.frameDelay;
				if (tx > this.speed.x){
					this.speed.x=tx;
				}
			}
			else{
				this.speed.x=tx;
			}
			this.prev.x=this.rect.x;
			this.rect.x=this.prev.x+vo.frameDelay *this.speed.x;
			if (tx !=this._lastTx){
				this._lastTx=tx;
				this.scene.speedUp(this.rect.x+500);
			}
		}

		__proto__.runHiter=function(){
			if (this.sp < /*CLASS CONST:game.Panda.sp*/1000){
				this.sp=this.sp+vo.frameDelay *50;
				if (this.sp > /*CLASS CONST:game.Panda.sp*/1000){
					this.sp=/*CLASS CONST:game.Panda.sp*/1000;
				}
			}
			if (this.rect.x > this.board.rect.right){
				this.physicsHiter=this.fallHiter;
			}
			else if (this.shaking){
				if (this.shakePre < Math.PI){
					this.shakePre=Math.min(Math.PI,this.shakePre+0.35);
					this.rect.y=this.shakeY+15 *Math.sin(this.shakePre);
				}
				else{
					this.shaking=false;
				}
			}
		}

		__proto__.fallHiter=function(){
			this.falling();
			this.flyDetector();
			this.boardHiter();
			this.autoItems();
		}

		__proto__.flyHiter=function(){
			if (this.sp > 0){
				this.sp=this.sp+vo.frameDelay *-200;
				if (this.sp < 0){
					this.sp=0;
					this.sound1.stopFlySound();
					this.physicsHiter=this.fallHiter;
					return;
				};
				var power=0;
				if (vo.gameTime-this.strongJump < 5000){
					power=-50;
				}
				if (this.speed.y==power-250){
					this.rect.y=this.prev.y+this.speed.y *vo.frameDelay;
					this.prev.y=this.rect.y;
				}
				else{
					this.speed.y=this.speed.y-100;
					if (this.speed.y < power-250){
						this.speed.y=power-250;
						this.flyHiter();
					}
					else{
						this.falling();
						this.boardHiter();
					}
				}
				return;
			}
			this.sound1.stopFlySound();
			this.physicsHiter=this.fallHiter;
		}

		__proto__.falling=function(){
			this.prev.y=this.rect.y;
			this.speed.y=this.speed.y+this.acc *vo.frameDelay;
			this.rect.y=this.prev.y+this.speed.y *vo.frameDelay;
		}

		__proto__.boardHiter=function(){
			var i=0;
			while (i < /*vo.Mem.numBoards*/5){
				if ((this.rect.bottom > this.board.rect.top)&& (this.prev.y+this.rect.height <=this.board.rect.top)&& (this.rect.right > this.board.rect.left)&& (this.rect.left < this.board.rect.right)){
					return this.stand();
				}
				this.board=this.board.next;
				i++;
			}
		}

		__proto__.foodHiter=function(){
			var i=0;
			while (i < /*vo.Mem.numFoods*/10){
				if ((!this.food.isEated)&& (this.rect.intersects(this.food.rect))){
					return this.eating();
				}
				this.food=this.food.next;
				i++;
			}
		}

		__proto__.enemyHiter=function(){
			var i=0;
			while (i < /*vo.Mem.numEnemys*/3){
				if ((!this.enemy.isBruised)&& (this.rect.intersects(this.enemy.rect))){
					return this.bruise();
				}
				this.enemy=this.enemy.next;
				i++;
			}
		}

		__proto__.eating=function(){
			this.food.eat();
			switch (this.food.type){
				case /*game.Food.Bamboo*/0:
					this.numBamboo++;
					this.eatBamboo++;
					break ;
				case /*game.Food.Shoots*/1:
					this.numShoots++;
					this.eatShoots++;
					break ;
				case /*game.Food.Mushroom*/2:
					this.sp=Math.min(this.sp+200,/*CLASS CONST:game.Panda.sp*/1000);
					break ;
				case /*game.Food.StrongFast*/3:
					this.strongFast=vo.gameTime;
					this.blur();
					break ;
				case /*game.Food.StrongJump*/4:
					this.strongJump=vo.gameTime;
					break ;
				}
		}

		__proto__.blur=function(){
			this.ground.bulr();
		}

		__proto__.bruise=function(){
			this.enemy.bruise();
			switch (this.enemy.type){
				case /*game.Enemy.Snake*/0:
				case /*game.Enemy.Raven*/1:
					this.bruise2();
					break ;
				case /*game.Enemy.Bomb*/2:
					this.bomb();
					break ;
				}
		}

		__proto__.bruise2=function(){
			if (this.sp > 100){
				this.sp=100;
			}
			this.bruising=true;
			this.startTime=vo.gameTime;
			this.lockCtrlTime=vo.gameTime;
			this.cacheUpdateFrame=this.updateBitmapData;
			this.updateBitmapData=this.bruiseFrame;
		}

		__proto__.bomb=function(){
			this.bombing=(this.numAmulet < 1);
			if (this.numAmulet < 1){
				this.startTime=vo.gameTime;
				this.speed.y=-500;
				this.physicsHiter=this.falling;
				this.updateBitmapData=this.bombFrame;
			}
			else{
				this.data.amulet=--this.numAmulet;
				this.data.save();
			}
		}

		__proto__.isRunning=function(){
			return this.physicsHiter==this.runHiter;
		}

		__proto__.isFalling=function(){
			return this.physicsHiter==this.fallHiter;
		}

		__proto__.stand=function(){
			this.physicsHiter=this.runHiter;
			this.somersaulting=false;
			if (this.updateBitmapData==this.bruiseFrame){
				this.cacheUpdateFrame=this.runFrame;
			}
			else if (this.speed.y > 1000){
				this.startTime=vo.gameTime;
				this.updateBitmapData=this.rollFrame;
			}
			else{
				this.updateBitmapData=this.runFrame;
			}
			this.speed.y=0;
			this.rect.y=this.board.rect.y-this.rect.height;
			this.shake();
			this.board.shake();
			Panda.standSound.play();
		}

		__proto__.jump=function(){
			Panda.jumpSound.play();
			var power=0;
			if (vo.gameTime-this.strongJump < 5000){
				power=-200;
			}
			this.physicsHiter=this.fallHiter;
			this.speed.y=power-880;
			this.startTime=vo.gameTime;
			this.updateBitmapData=this.jumpFrame;
			this.smoke.show(this.rect.x,this.rect.bottom);
		}

		__proto__.somersault=function(){
			Panda.jumpSound.play();
			var power=0;
			if (vo.gameTime-this.strongJump < 5000){
				power=-200;
			}
			this.speed.y=power-800;
			this.startTime=vo.gameTime;
			this.somersaulting=true;
			this.updateBitmapData=this.somersaultFrame;
		}

		__proto__.flyDetector=function(){
			if ((this.a_down)&& (this.somersaulting)&& (vo.gameTime-this.startTime > 600)){
				this.fly();
			}
		}

		__proto__.fly=function(){
			if (this.sp > 0){
				this.sound1.playFlySound();
				this.physicsHiter=this.flyHiter;
				this.updateBitmapData=this.flyFrame;
			}
			else{
				this.sound1.stopFlySound();
			}
		}

		__proto__.unfly=function(){
			this.sound1.stopFlySound();
			this.physicsHiter=this.fallHiter;
		}

		__proto__.autoItems=function(){
			if ((this.sp < 50)&& (this.numMilk > 0)){
				this.sp=this.sp+500;
				this.data.milk=--this.numMilk;
				this.data.save();
			}
		}

		__proto__.shoot=function(){
			var hasTarget=false;
			var i=0;
			while (i < /*vo.Mem.numEnemys*/3){
				if (this.enemy.rect.x > this.rect.x){
					this.shoots.start(this,this.enemy);
					this.shoots=this.shoots.next;
					hasTarget=true;
					this.numHits++;
					return;
				}
				this.enemy=this.enemy.next;
				i++;
			}
			if (!hasTarget){
				this.shoots.start(this);
				this.shoots=this.shoots.next;
			}
		}

		__proto__.a=function(){
			if (this.disctrl){
				return;
			}
			this.a_down=true;
			if (this.physicsHiter==this.runHiter){
				this.jump();
			}
			else if (this.somersaulting){
				this.fly();
			}
			else{
				this.somersault();
			}
		}

		__proto__.b=function(){
			if (this.disctrl){
				return;
			}
			if (this.numShoots > 0){
				this.numShoots--;
				this.shoot();
			}
		}

		__proto__.ca=function(){
			this.a_down=false;
			if (this.physicsHiter==this.flyHiter){
				this.unfly();
			}
		}

		__proto__.cb=function(){}
		__proto__.updateView=function(){
			this.updateBitmapData();
			this.dpo.x=this.rect.x;
			this.dpo.y=this.rect.y;
		}

		__proto__.runFrame=function(){
			var bmpds=this.fasting ? Panda.fastBmpds :Panda.runBmpds;
			this.dpo.bitmapData=bmpds[int(vo.gameTime / 50)% 8];
		}

		__proto__.jumpFrame=function(){
			var frame=(vo.gameTime-this.startTime)/ 83.3;
			frame=Math.max(0,Math.min(int(frame),7));
			this.dpo.bitmapData=Panda.jumpBmpds[frame];
		}

		__proto__.somersaultFrame=function(){
			var frame=(vo.gameTime-this.startTime)/ 83.3;
			this.dpo.bitmapData=Panda.somersaultBmpds[Math.min(int(frame),7)];
		}

		__proto__.flyFrame=function(){
			this.dpo.bitmapData=Panda.flyBmpds[int(vo.gameTime / 25)% 8];
		}

		__proto__.rollFrame=function(){
			var frame=(vo.gameTime-this.startTime)/ 83.3;
			this.dpo.bitmapData=Panda.rollBmpds[Math.min(int(frame),7)];
			if (frame > 7){
				this.updateBitmapData=this.runFrame;
			}
		}

		__proto__.bombFrame=function(){
			var frame=(vo.gameTime-this.startTime)/ 83.3;
			this.dpo.bitmapData=Panda.bombBmpds[Math.min(int(frame),7)];
			if (frame > 7){
				return;
			}
		}

		__proto__.bruiseFrame=function(){
			var frame=(vo.gameTime-this.startTime)/ 50;
			this.dpo.bitmapData=Panda.bruiseBmpds[Math.min(int(frame),7)];
			if (frame > 7){
				this.updateBitmapData=this.cacheUpdateFrame;
			}
		}

		__proto__.effView=function(){
			var frame=int(vo.gameTime / 83.3)% 4;
			this.fastEff.bitmapData=Panda.speedEffBmpds[int(frame)];
			this.fastEff.x=this.rect.x-30;
			this.fastEff.y=this.rect.y;
			this.fastEff.visible=this.fasting;
			this.flyEffBmp.bitmapData=Panda.flyEffBmpds[int(vo.gameTime / 83.3)% 4];
			this.flyEffBmp.x=this.rect.x-10;
			this.flyEffBmp.y=this.rect.y+4;
			this.flyEffBmp.visible=this.updateBitmapData==this.flyFrame;
		}

		__proto__.over=function(){}
		GETSET$(0,__proto__,'isGongfu',function(){
			return this.updateBitmapData==this.flyFrame;
		});

		GETSET$(0,__proto__,'max',function(){
			return this._max;
		});

		GETSET$(0,__proto__,'runningDistance',function(){
			return (this.rect.x-this.startX)/ 50;
		});

		GETSET$(0,__proto__,'willFly',function(){
			return this.somersaulting;
		});

		GETSET$(0,__proto__,'flying',function(){
			return this.physicsHiter==this.flyHiter;
		});

		GETSET$(0,__proto__,'shooting',function(){
			var shoots=this.shoots;
			var i=0;
			while (i < /*vo.Mem.numShoots*/10){
				if (shoots.running){
					return true;
				}
				shoots=shoots.next;
				i++;
			}
			return false;
		});

		GETSET$(0,__proto__,'disctrl',function(){
			return (this._disctrl)|| (this.bombing)|| (vo.gameTime < this.lockCtrlTime+350);
			},function(value){
			this._disctrl=value;
		});

		Panda.init=function(){
			var bmpd=null;
			var i=0;
			var src=new Panda.PandaBmp().bitmapData;
			Panda.runBmpds=[];
			Panda.jumpBmpds=[];
			Panda.somersaultBmpds=[];
			Panda.flyBmpds=[];
			Panda.bombBmpds=[];
			Panda.rollBmpds=[];
			Panda.speedEffBmpds=[];
			Panda.flyEffBmpds=[];
			Panda.bruiseBmpds=[];
			Panda.fastBmpds=[];
			var rect=new Rectangle(0,0,79,93);
			var point=new Point();
			rect.width=99;
			rect.height=84;
			i=0;
			while (i < 4){
				rect.x=rect.width *i;
				bmpd=new BitmapData(99,84);
				bmpd.copyPixels(Panda.flyEffSrc,rect,point);
				Panda.flyEffBmpds.push(bmpd);
				i++;
			}
			rect.width=79;
			rect.height=93;
			i=0;
			while (i < 4){
				rect.x=rect.width *i;
				bmpd=new BitmapData(rect.width,rect.height);
				bmpd.copyPixels(Panda.speedEffSrc,rect,point);
				Panda.speedEffBmpds.push(bmpd);
				i++;
			}
			i=0;
			while (i < 8){
				bmpd=new BitmapData(rect.width,rect.height);
				rect.x=rect.width *i;
				bmpd.copyPixels(src,rect,point);
				Panda.runBmpds.push(bmpd);
				i++;
			}
			rect.y=rect.height;
			i=0;
			while (i < 8){
				bmpd=new BitmapData(rect.width,rect.height);
				rect.x=rect.width *i;
				bmpd.copyPixels(src,rect,point);
				Panda.jumpBmpds.push(bmpd);
				i++;
			}
			rect.y=rect.height *2;
			i=0;
			while (i < 8){
				bmpd=new BitmapData(rect.width,rect.height);
				rect.x=rect.width *i;
				bmpd.copyPixels(src,rect,point);
				Panda.somersaultBmpds.push(bmpd);
				i++;
			}
			rect.y=rect.height *3;
			i=0;
			while (i < 8){
				bmpd=new BitmapData(rect.width,rect.height);
				rect.x=rect.width *i;
				bmpd.copyPixels(src,rect,point);
				Panda.flyBmpds.push(bmpd);
				i++;
			}
			rect.y=rect.height *4;
			i=0;
			while (i < 8){
				bmpd=new BitmapData(rect.width,rect.height);
				rect.x=rect.width *i;
				bmpd.copyPixels(src,rect,point);
				Panda.bombBmpds.push(bmpd);
				i++;
			}
			rect.y=rect.height *5;
			i=0;
			while (i < 8){
				bmpd=new BitmapData(rect.width,rect.height);
				rect.x=rect.width *i;
				bmpd.copyPixels(src,rect,point);
				Panda.rollBmpds.push(bmpd);
				i++;
			}
			rect.y=rect.height *6;
			i=0;
			while (i < 8){
				bmpd=new BitmapData(rect.width,rect.height);
				rect.x=rect.width *i;
				bmpd.copyPixels(src,rect,point);
				Panda.bruiseBmpds.push(bmpd);
				i++;
			}
			rect.y=rect.height *7;
			i=0;
			while (i < 8){
				bmpd=new BitmapData(rect.width,rect.height);
				rect.x=rect.width *i;
				bmpd.copyPixels(src,rect,point);
				Panda.fastBmpds.push(bmpd);
				i++;
			}
			src.dispose();
			src=null;
		}

		Panda.sp=1000;
		Panda.runBmpds=null
		Panda.jumpBmpds=null
		Panda.somersaultBmpds=null
		Panda.flyBmpds=null
		Panda.bombBmpds=null
		Panda.rollBmpds=null
		Panda.speedEffBmpds=null
		Panda.flyEffBmpds=null
		Panda.bruiseBmpds=null
		Panda.fastBmpds=null
		STATICATTR$(Panda,
		['PandaBmp',function(){return this.PandaBmp=Panda_PandaBmp;},'SpeedEffBmp',function(){return this.SpeedEffBmp=Panda_SpeedEffBmp;},'speedEffSrc',function(){return this.speedEffSrc=new Panda.SpeedEffBmp().bitmapData;},'FlyEffBmp',function(){return this.FlyEffBmp=Panda_FlyEffBmp;},'flyEffSrc',function(){return this.flyEffSrc=new Panda.FlyEffBmp().bitmapData;},'standSound',function(){return this.standSound=new DownSound();},'jumpSound',function(){return this.jumpSound=new JumpSound();},'flySound',function(){return this.flySound=new FlySound();}
		]);
		return Panda;
	})()


	//file:///d:/projects/layadocument/pandarun/src/game/scene.as
	var Scene1=/*game.Scene*/(function(){
		function Scene(){
			this.panda=null;
			this.enemy=null;
			this.board=null;
			this.food=null;
			this.width=800;
			this.height=480;
			this.updateBroad=null;
			this._max=1;
			this.bmpc=null;
			this.dpoc=new Sprite();
			;
		}

		CLASS$(Scene,'game.Scene',true,true,null,'Scene1');
		var __proto__=Scene.prototype;
		LAYABOX.implements(__proto__,{"interf.ISteper":true})
		__proto__.step=function(){
			if(this.panda.rect.y < 80){
				this.dpoc.y=80-this.panda.rect.y;
			}
			else if(this.panda.rect.y > 325){
				this.dpoc.y=325-this.panda.rect.y;
				if(this.dpoc.y <-185){
					this.dpoc.y=-185;
				}
			}
			else{
				this.dpoc.y=0;
			}
			if(this.panda.rect.x > 180){
				this.dpoc.x=180-this.panda.rect.x;
			}
			this.updateBroad();
		}

		__proto__.nextBoard=function(){
			this.board.next.reset(this.board.right,10);
			return this.board=this.board.next;
		}

		__proto__.nextBoardForHelp=function(){
			this.board.next.resetForHelp(this.board.right,this.board.rect.x);
			return this.board=this.board.next;
		}

		__proto__.updateBroadForRandom=function(){
			var w=0;
			var x2=0;
			var x1=0;
			var y=0;
			if(this.board.rect.right < this.right){
				w=int(Math.random()*(/*game.Board.limit*/13-1))+1;
				this.board.next.reset(this.board.right,w);
				this.board=this.board.next;
				if(Math.random()< 0.1+vo.gameTime / 300000){
					x2=this.board.rect.x+int(Math.random()*(this.board.rect.width-this.enemy.rect.width));
					this.enemy.next.reset(x2,this.board.rect.y);
					this.enemy=this.enemy.next;
					this.panda.leftEnemy=this.enemy.next;
					this.board.enemy=this.enemy;
				}
				else{
					this.board.enemy=null;
				}
			}
			if(this.food.rect.right < this.right){
				x1=this.food.rect.x+100+int(Math.random()*8)*50;
				y=int(Math.random()*3)*50;
				this.food.next.reset(x1,this.board.rect.y-100-y);
				this.food=this.food.next;
			}
		}

		__proto__.updateBroadForEasy=function(){}
		__proto__.normalUpdate=function(){
			this.updateBroad=this.updateBroadForRandom;
		}

		__proto__.updateForHelp=function(level){
			if((level < 1)|| (level > 10)){
				return;
			}
			this.updateBroad=this["updateBroadForHelp_"+level];
		}

		__proto__.updateBroadForHelp_1=function(){
			if(this.board.rect.right < this.right){
				this.board.next.resetForHelp(this.board.rect.right,this.board.rect.y);
				this.board=this.board.next;
				this.board.enemy=null;
			}
		}

		__proto__.updateBroadForHelp_2=function(){
			if(this.board.rect.right < this.right){
				this.board.next.resetForHelp(this.board.rect.right+150,this.board.rect.y);
				this.board=this.board.next;
				this.board.enemy=null;
			}
		}

		__proto__.updateBroadForHelp_3=function(){
			if(this.board.rect.right < this.right){
				this.board.next.resetForHelp(this.board.rect.right+500,this.board.rect.y);
				this.board=this.board.next;
				this.board.enemy=null;
			}
		}

		__proto__.updateBroadForHelp_4=function(){
			if(this.board.rect.right < this.right){
				this.board.next.resetForHelp(this.board.rect.right+1000,this.board.rect.y);
				this.board=this.board.next;
				this.board.enemy=null;
			}
		}

		__proto__.updateBroadForHelp_5=function(){
			if(this.board.rect.right < this.right){
				this.board.next.resetForHelp(this.board.rect.right+150,this.board.rect.y);
				this.board=this.board.next;
				this.enemy.next.resetForHelp(this.board.rect.x,this.board.rect.y);
				this.enemy=this.enemy.next;
				this.panda.leftEnemy=this.enemy.next;
				this.board.enemy=this.enemy;
			}
		}

		__proto__.buildSpdUpBmp=function(){
			this.bmpc=new BitmapClip(Scene.spdUpBmpd,4,7,32);
		}

		__proto__.speedUp=function(x){
			this.bmpc.y=155;
			this.bmpc.x=x;
			this.bmpc.playOnce();
			this.dpoc.addChild(this.bmpc);
		}

		GETSET$(0,__proto__,'max',function(){
			return this._max;
		});

		GETSET$(0,__proto__,'right',function(){
			return 800-this.dpoc.x;
		});

		STATICATTR$(Scene,
		['SpdUpBmp',function(){return this.SpdUpBmp=Scene_SpdUpBmp;},'spdUpBmpd',function(){return this.spdUpBmpd=new Scene.SpdUpBmp().bitmapData;}
		]);
		return Scene;
	})()


	//file:///d:/projects/layadocument/pandarun/src/game/shoots.as
	var Shoots=/*game.Shoots*/(function(){
		function Shoots(max){
			this._max=1;
			this._next=null;
			this.panda=null;
			this.target=null;
			this.acc=2000;
			this.running=false;
			this.enemy=null;
			this.dpo=new Bitmap(Food.shootsBmpd);
			this.rect=new Rectangle(0,0,52,52);
			this.speed_conf=new Point(350,-600);
			this.speed=new Point();
			(max===void 0)&& (max=1);
			var p=null;
			;
			this._max=max;
			if(max > 0){
				p=this;
				while(--max > 0){
					p._next=new Shoots();
					p=p._next;
				}
				p._next=this;
			}
			this.dpo.visible=false;
		}

		CLASS$(Shoots,'game.Shoots',true,true);
		var __proto__=Shoots.prototype;
		LAYABOX.implements(__proto__,{"interf.ISteper":true})
		__proto__.start=function(p1,p2){
			var t=NaN;
			this.panda=p1;
			this.target=p2;
			this.running=this.dpo.visible=true;
			this.dpo.rotation=0;
			this.speed.x=this.panda.speed.x+this.speed_conf.x;
			this.rect.x=this.dpo.x=p1.rect.x;
			this.rect.y=this.dpo.y=p1.rect.y;
			if(p2 !=null){
				t=(p2.rect.x-p1.rect.x)/ this.speed.x;
				this.speed.y=(p2.rect.y-p1.rect.y-0.5 *this.acc *t *t)/ t;
			}
			else{
				this.speed.y=this.panda.speed.y+this.speed_conf.y;
			}
		}

		__proto__.step=function(){
			var shoots=this;
			var i=0;
			while(i < this._max){
				if(shoots.running){
					shoots.physics();
				}
				shoots=shoots.next;
				i++;
			}
		}

		__proto__.physics=function(){
			this.speed.y=this.speed.y+vo.frameDelay *this.acc;
			this.dpo.y=this.rect.y=this.rect.y+this.speed.y *vo.frameDelay;
			this.dpo.x=this.rect.x=this.rect.x+this.speed.x *vo.frameDelay;
			this.dpo.rotation=this.dpo.rotation+180 *vo.frameDelay;
			var i=0;
			while(i < /*vo.Mem.numEnemys*/3){
				if(this.rect.y > 600){
					this.running=false;
					return;
				}
				if((this.rect.intersects(this.enemy.rect))&& (!this.enemy.isBruised)){
					this.running=this.dpo.visible=false;
					this.enemy.clear();
					return;
				}
				this.enemy=this.enemy.next;
				i++;
			}
		}

		__proto__.showAs=function(dpoc){
			dpoc.addChild(this.dpo);
		}

		GETSET$(0,__proto__,'max',function(){
			return this._max;
		});

		GETSET$(0,__proto__,'next',function(){
			return this._next;
		});

		return Shoots;
	})()


	//file:///d:/projects/layadocument/pandarun/src/game/smoke.as
	var Smoke=/*game.Smoke*/(function(){
		function Smoke(max,frist){
			this._next=null;
			this._max=0;
			this.dpo=null;
			this.startTime=0;
			this.running=false;
			this.a=0;
			(max===void 0)&& (max=1);
			(frist===void 0)&& (frist=true);
			;
			var p=null;
			this.dpo=new Bitmap(Smoke.src);
			this._max=max;
			if(frist){
				p=this;
				while(--max > 0){
					p._next=new Smoke(max,false);
					p=p._next;
				}
				p._next=this;
			}
		}

		CLASS$(Smoke,'game.Smoke',true,true);
		var __proto__=Smoke.prototype;
		LAYABOX.implements(__proto__,{"interf.ISteper":true})
		__proto__.showAs=function(dpoc){
			this.dpo.visible=false;
			dpoc.addChild(this.dpo);
		}

		__proto__.show=function(x,y){
			this.startTime=vo.gameTime;
			this.dpo.bitmapData=Smoke.frame[0];
			this.dpo.x=x-50;
			this.dpo.y=y-this.dpo.height;
			this.dpo.visible=true;
		}

		__proto__.step=function(){
			var f=0;
			var smoke=this;
			var i=0;
			while(i < this._max){
				if(smoke.dpo.visible){
					f=int((vo.gameTime-smoke.startTime)/ 50);
					if(f > 3){
						smoke.dpo.visible=false;
					}
					else{
						smoke.dpo.bitmapData=Smoke.frame[f];
					}
				}
				smoke=smoke._next;
				i++;
			}
		}

		GETSET$(0,__proto__,'next',function(){
			return this._next;
		});

		GETSET$(0,__proto__,'max',function(){
			return this._max;
		});

		Smoke.init=function(){
			var bmpd=null;
			var rect=new Rectangle(0,0,93,24);
			var dest=new Point();
			var i=0;
			while(i < 5){
				bmpd=new BitmapData(rect.width,rect.height);
				rect.x=rect.width *i;
				bmpd.copyPixels(Smoke.src,rect,dest);
				Smoke.frame.push(bmpd);
				i++;
			}
		}

		Smoke.frame=[];
		STATICATTR$(Smoke,
		['BoardBmp',function(){return this.BoardBmp=Smoke_BoardBmp;},'src',function(){return this.src=new Smoke.BoardBmp().bitmapData;}
		]);
		return Smoke;
	})()


	//file:///d:/projects/layadocument/pandarun/src/interf/fpsgame.as
	var FpsGame=/*interf.FpsGame*/(function(){
		function FpsGame(steper,ctrl){
			this._startTime=0;
			this._pauseTotal=0;
			this._pauseTime=0;
			this._playing=false;
			this._isPause=false;
			this._overTime=0;
			this._current=0;
			this._delay=0;
			this.steper=null;
			this.ctrl=null;
			this._e=new Shape();
			;
			this.steper=steper;
			this.ctrl=ctrl;
		}

		CLASS$(FpsGame,'interf.FpsGame',true,true);
		var __proto__=FpsGame.prototype;
		__proto__.step=function(e){
			var time=iflash.utils.getTimer()-this._startTime-this._pauseTotal;
			this._delay=time-this._current;
			this._current=time;
			this.steper.step();
		}

		__proto__.start=function(){
			this._e.addEventListener(/*iflash.events.Event.ENTER_FRAME*/"enterFrame",BIND$(this,this.step));
			this._current=this._pauseTime=this._pauseTotal=0;
			this._startTime=iflash.utils.getTimer();
			this._isPause=false;
			this._playing=true;
			this.ctrl.ctrlStart();
		}

		__proto__.pause=function(){
			if ((!this._playing)|| (this._isPause)){
				return;
			}
			this._isPause=true;
			this._e.removeEventListener(/*iflash.events.Event.ENTER_FRAME*/"enterFrame",BIND$(this,this.step));
			this._pauseTime=iflash.utils.getTimer();
			this.ctrl.ctrlPause();
		}

		__proto__.play=function(){
			if ((this._playing)&& (this._isPause)){
				this._isPause=false;
				this._e.addEventListener(/*iflash.events.Event.ENTER_FRAME*/"enterFrame",BIND$(this,this.step));
				this._pauseTotal=this._pauseTotal+(iflash.utils.getTimer()-this._pauseTime);
				this.ctrl.ctrlStart();
				return;
			}
		}

		__proto__.stop=function(){
			this._e.removeEventListener(/*iflash.events.Event.ENTER_FRAME*/"enterFrame",BIND$(this,this.step));
			this._overTime=iflash.utils.getTimer();
			this.ctrl.ctrlPause();
			this._playing=false;
		}

		GETSET$(0,__proto__,'currTime',function(){
			return this._current;
		});

		GETSET$(0,__proto__,'delay',function(){
			return this._delay;
		});

		GETSET$(0,__proto__,'pausing',function(){
			return this._isPause;
		});

		return FpsGame;
	})()


	//file:///d:/projects/layadocument/pandarun/src/mx/utils/nameutil.as
	var NameUtil=/*mx.utils.NameUtil*/(function(){
		function NameUtil(){
			;
		}

		CLASS$(NameUtil,'mx.utils.NameUtil',true,true);
		NameUtil.createUniqueName=function(object){
			if(!object){
				return null;
			};
			var name=iflash.utils.getQualifiedClassName(object);
			var index=name.indexOf("::");
			if(index !=-1){
				name=name.substr(index+2);
			};
			var charCode=name.charCodeAt(name.length-1);
			if((charCode >=48)&& (charCode <=57)){
				name=name+"_";
			}
			return name+NameUtil.counter++;
		}

		NameUtil.displayObjectToString=function(displayObject){
			var result=null;
			var o=null;
			var s=null;
			var indices=null;
			try{
				o=displayObject;
				while(o !=null){
					if((o.parent)&& (o.stage)&& (o.parent==o.stage)){
						break ;
					}
					s=("id" in o)&& (o["id"])?o["id"]:o.name;
					if(LAYABOX.typeof(o,'mx.core.IRepeaterClient')){
						indices=(o).instanceIndices;
						if(indices){
							s=s+("["+indices.join("][")+"]");
						}
					}
					result=result==null?s:s+"."+result;
					o=o.parent;
				}
			}
			catch(e){
			}
			return result;
		}

		NameUtil.getUnqualifiedClassName=function(object){
			var name=null;
			if((typeof object=='string')){
				name=object;
			}
			else{
				name=iflash.utils.getQualifiedClassName(object);
			};
			var index=name.indexOf("::");
			if(index !=-1){
				name=name.substr(index+2);
			}
			return name;
		}

		NameUtil.VERSION="4.5.1.21328";
		NameUtil.counter=0;
		NameUtil.__init$__=function(){
			/*namespace*/;
		}

		return NameUtil;
	})()


	//file:///d:/projects/layadocument/pandarun/src/tdh/adsys/adbox.as
	var AdBox=/*tdh.adsys.AdBox*/(function(){
		function AdBox(id,dpoc,bottom,url){
			this.projId=null;
			this.sprite=null;
			this.tf=null;
			this.bottom=false;
			this.width=0;
			this.height=50;
			this._sysInfo=null;
			this._startAppTime=NaN;
			this.depot=null;
			this.list=null;
			this.currMsg=null;
			this.urlLoader=new URLLoader();
			this.urlRequest=new URLRequest();
			this.local=SharedObject.getLocal("AdBox_v1.0");
			this._serverDate=new Date();
			(bottom===void 0)&& (bottom=false);
			(url===void 0)&& (url="http://www.9ria.com/m");
			this.sprite=new Sprite();
			this.tf=new TextField();
			this.depot=new Dictionary();
			this.list=[];
			;
			this.projId=id;
			this.bottom=bottom;
			this.viewInit(dpoc);
			this.connInit(url);
			this.listenerInit();
		}

		CLASS$(AdBox,'tdh.adsys.AdBox',true,true);
		var __proto__=AdBox.prototype;
		__proto__.viewInit=function(dpoc){
			this.tf.autoSize=/*iflash.text.TextFieldAutoSize.CENTER*/"center";
			this.tf.selectable=this.sprite.visible=false;
			this.tf.defaultTextFormat=new TextFormat(null,32,16777215);
			this.sprite.addEventListener(/*iflash.events.MouseEvent.CLICK*/"click",BIND$(this,this.toUrl));
			if(dpoc !=null){
				this.showAs(dpoc);
			}
		}

		__proto__.showAs=function(dpoc){
			dpoc.addChild(this.sprite);
			if(dpoc.stage !=null){
				this.sprite.graphics.clear();
				this.width=dpoc.stage.stageWidth;
				this.sprite.graphics.beginFill(0,0.5);
				this.sprite.graphics.drawRect(0,0,this.width,this.height);
				this.sprite.addChild(this.tf);
				if(this.bottom){
					this.sprite.y=dpoc.stage.stageHeight-this.height;
				}
			}
		}

		__proto__.connInit=function(url){}
		__proto__.connComplete=function(e){
			var msg=null;
			var id=null;
			var start=NaN;
			var past=NaN;
			var delay=0;
			var loop=0;
			var time=0;
			var content=null;
			var url=null;
			var xml=new XML(this.urlLoader.data);
			this._startAppTime=Number(xml.getAttribute('date'))*1000-iflash.utils.getTimer();
			var macId=xml.getAttribute('macId');
			var len=/*if err,please use iflash.method.xmlLength()*/xml.txt.length();
			MacInfo._get(this.projId).id=macId;
			var i=0;
			while(i < len){
				id=String(xml.txt[i].getAttribute('id'));
				msg=this.depot[id]=this.depot[id] || new AdMsg();
				msg.id=id;
				if(msg.id !=""){
					start=Number(xml.txt[i].getAttribute('date'))*1000;
					if(start !=0){
						msg.start=new Date(start);
					}
					else if(msg.start==null){
						msg.start=new Date(this._startAppTime);
					}
					past=Number(xml.txt[i].getAttribute('past'))*1000;
					if(past !=0){
						msg.past=new Date(past);
					}
					delay=int(xml.txt[i].getAttribute('delay'))*1000;
					if(delay > 0){
						msg.delay=delay;
					}
					loop=int(xml.txt[i].getAttribute('loop'));
					if(loop !=0){
						msg.loop=loop;
					}
					time=int(xml.txt[i].getAttribute('time'))*1000;
					if(time !=0){
						msg.time=time;
					}
					content=xml.txt[i];
					if(content !=""){
						msg.text=content;
					}
					url=String(xml.txt[i].getAttribute('url'));
					if(url !=""){
						msg.url=url;
					}
				}
				i++;
			}
		}

		__proto__.toUrl=function(e){
			if((!(this.currMsg==null))&& (!(this.currMsg.url.indexOf("http://")==-1))){
				this.urlRequest.data=null;
				this.urlRequest.url=this.currMsg.url;
				this.urlRequest;;
			}
		}

		__proto__.listenerInit=function(){
			this.sprite.addEventListener(/*iflash.events.Event.ENTER_FRAME*/"enterFrame",BIND$(this,this.listener));
		}

		__proto__.listener=function(e){
			var msg=null;
			this._serverDate.time=this._startAppTime+iflash.utils.getTimer();
			var $each_msg;
			/*for each*/for($each_msg in this.depot){
				msg=this.depot[$each_msg];
				if(msg.start < this._serverDate){
					delete this.depot[msg.id];
					true;
					this.list.unshift(msg);
					this.currMsg=msg;
					this.text=this.currMsg.text;
					this.sprite.visible=true;
				}
			}
			if(this.currMsg==null){
				if((this.list.length > 0)&& (this.list[0].start < this._serverDate)){
					this.currMsg=this.list[0];
					this.text=this.currMsg.text;
					this.sprite.visible=true;
				}
			}
			else if(this.currMsg.start.time+this.currMsg.time < this._serverDate.time){
				this.sprite.visible=false;
				if(--this.currMsg.loop > 0){
					this.list.push(this.currMsg);
				}
				this.list.shift();
				if(this.list.length > 0){
					this.list[0].start.time=this._serverDate.time+this.list[0].delay;
				}
				this.currMsg=null;
			}
		}

		GETSET$(0,__proto__,'serverDate',function(){
			return this._serverDate;
		});

		GETSET$(0,__proto__,'text',null,function(value){
			this.tf.htmlText=value;
			this.tf.x=this.width-this.tf.width >> 1;
			this.tf.y=this.height-this.tf.height >> 1;
		});

		return AdBox;
	})()


	//file:///d:/projects/layadocument/pandarun/src/tdh/adsys/admsg.as
	var AdMsg=/*tdh.adsys.AdMsg*/(function(){
		function AdMsg(){
			this.id=null;
			this.start=null;
			this.past=null;
			this.time=10000;
			this.loop=0;
			this.delay=20000;
			this.text="";
			this.url="";
			this.loop=uint(-1);
			;
		}

		CLASS$(AdMsg,'tdh.adsys.AdMsg',true,true);
		return AdMsg;
	})()


	//file:///d:/projects/layadocument/pandarun/src/tdh/adsys/macinfo.as
	var MacInfo=/*tdh.adsys.MacInfo*/(function(){
		function MacInfo(){
			this.so=null;
			;
		}

		CLASS$(MacInfo,'tdh.adsys.MacInfo',true,true);
		var __proto__=MacInfo.prototype;
		GETSET$(0,__proto__,'id',function(){
			return this.so.data.macId;
			},function(value){
			this.so.setProperty("macId",value);
		});

		MacInfo._get=function(projId){
			var info=MacInfo.mem[projId]=MacInfo.mem[projId] || new MacInfo();
			if(info.so==null){
				info.so=SharedObject.getLocal(projId);
			}
			return info;
		}

		STATICATTR$(MacInfo,
		['mem',function(){return this.mem=new Dictionary();}
		]);
		return MacInfo;
	})()


	//file:///d:/projects/layadocument/pandarun/src/tdh/utils/bitmapint.as
	var BitmapInt=/*tdh.utils.BitmapInt*/(function(){
		function BitmapInt(bitmapData){
			this.src=null;
			this.cache=null;
			this._width=0;
			this._height=0;
			this.reference=true;
			this.autoWH=false;
			this._value=0;
			this._useSPrite=false;
			this.sprite=new Sprite();
			this.bitmap=new Bitmap();
			;
			this.cache=[];
			this.bitmapData=bitmapData;
		}

		CLASS$(BitmapInt,'tdh.utils.BitmapInt',true,true);
		var __proto__=BitmapInt.prototype;
		__proto__.clearSrc=function(){
			this.src.dispose();
			var i=0;
			while (i < 9){
				this.cache[i].dispose();
				i++;
			}
		}

		__proto__.showAs=function(parent,useSprite){
			(useSprite===void 0)&& (useSprite=false);
			this._useSPrite=useSprite
			if (this._useSPrite){
				this.sprite.addChild(this.bitmap);
				parent.addChild(this.sprite);
			}
			else{
				parent.addChild(this.bitmap);
			}
		}

		GETSET$(0,__proto__,'bitmapData',null,function(value){
			var i=0;
			if (value !=null){
				this.src=this.reference ? value :value.clone();
				this._width=this.src.width / 10;
				this._height=this.src.height;
				i=1;
				while (i < 10){
					this.cache.push(new BitmapData(this._width *i,this._height));
					i++;
				}
			}
		});

		GETSET$(0,__proto__,'value',function(){
			return this._value;
			},function(value){
			var rect=null;
			var dest=null;
			var i=0;
			var p=0;
			var a=0;
			var b=0;
			var len=0;
			if (this._value==value){
				return;
			}
			if (this.src !=null){
				rect=new Rectangle(0,0,this._width,this._height);
				dest=new Point();
				if (value==0){
					this.bitmap.bitmapData=this.cache[0];
					this.bitmap.bitmapData.copyPixels(this.src,rect,dest);
					this._value=value;
					return;
				}
				i=10;
				while (i > 0){
					p=Math.pow(10,i-1);
					if (value >=p){
						len=i;
						this.bitmap.bitmapData=this.cache[i-1];
						break ;
					}
					i--;
				}
				while (--i >-1){
					p=Math.pow(10,i);
					a=int(value / p % 10);
					dest.x=(len-i-1)*this._width;
					rect.x=a *this._width;
					this.bitmap.bitmapData.copyPixels(this.src,rect,dest);
				}
			}
			this._value=value;
		});

		GETSET$(0,__proto__,'x',function(){
			return this._useSPrite ? this.sprite.x :this.bitmap.x;
			},function(value){
			if (this._useSPrite){
				this.sprite.x=value;
			}
			else{
				this.bitmap.x=value;
			}
		});

		GETSET$(0,__proto__,'y',function(){
			return this._useSPrite ? this.sprite.y :this.bitmap.y;
			},function(value){
			if (this._useSPrite){
				this.sprite.y=value;
			}
			else{
				this.bitmap.y=value;
			}
		});

		GETSET$(0,__proto__,'width',function(){
			return this.bitmap.width;
		});

		GETSET$(0,__proto__,'visible',function(){
			return this._useSPrite ? this.sprite.visible :this.bitmap.visible;
			},function(value){
			this.bitmap.visible=this.sprite.visible=value;
		});

		return BitmapInt;
	})()


	//file:///d:/projects/layadocument/pandarun/src/ui/about.as
	var About=/*ui.About*/(function(){
		function About(start){
			this.startFunc=null;
			this.dpo=new Bitmap();
			this.startArea=new Sprite();
			;
			this.startArea.addChild(new Bitmap(GameUI.btnAreaSrc2));
			this.startFunc=start;
			this.visible=false;
		}

		CLASS$(About,'ui.About',true,true);
		var __proto__=About.prototype;
		__proto__.showAs=function(dpoc){
			dpoc.addChild(this.dpo);
			dpoc.addChild(this.startArea);
			this.startArea.y=394;
			this.startArea.x=31;
			this.startArea.alpha=0;
			this.startArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.mosueDown));
			this.startArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.start));
		}

		__proto__.mosueDown=function(e){
			e.target.alpha=0.3;
		}

		__proto__.start=function(e){
			this.dpo.visible=false;
			this.startArea.alpha=0;
			this.startArea.visible=false;
			this.startFunc();
		}

		GETSET$(0,__proto__,'visible',null,function(value){
			this.startArea.visible=this.dpo.visible=value;
			if(value){
				this.dpo.bitmapData=new GameUI.Panel().bitmapData;
				this.dpo.bitmapData.copyPixels(new About.AboutBmp().bitmapData,new Rectangle(0,0,800,480),new Point(),null,null,true);
			}
			else if(this.dpo.bitmapData !=null){
				this.dpo.bitmapData.dispose();
			}
		});

		STATICATTR$(About,
		['AboutBmp',function(){return this.AboutBmp=About_AboutBmp;}
		]);
		return About;
	})()


	//file:///d:/projects/layadocument/pandarun/src/ui/gamesound.as
	var GameSound=/*ui.GameSound*/(function(){
		function GameSound(){
			this.bgSoundChannel=null;
			this.bgSound=null;
			this.flySoundChannel=null;
			this.flySound=null;
			this.bgSound=new BgSound();
			this.flySound=new FlySound();
			;
		}

		CLASS$(GameSound,'ui.GameSound',true,true);
		var __proto__=GameSound.prototype;
		__proto__.playBGSound=function(){
			if(this.bgSoundChannel==null){
				this.bgSoundChannel=this.bgSound.play(0,/*int.MAX_VALUE*/2147483647);
			}
		}

		__proto__.stopBGSound=function(){
			if(this.bgSoundChannel !=null){
				this.bgSoundChannel.stop();
				this.bgSoundChannel=null;
			}
		}

		__proto__.playFlySound=function(){
			if(this.flySoundChannel==null){
				this.flySoundChannel=this.flySound.play(0,/*int.MAX_VALUE*/2147483647);
			}
		}

		__proto__.stopFlySound=function(){
			if(this.flySoundChannel !=null){
				this.flySoundChannel.stop();
				this.flySoundChannel=null;
			}
		}

		return GameSound;
	})()


	//file:///d:/projects/layadocument/pandarun/src/ui/gameui.as
	var GameUI=/*ui.GameUI*/(function(){
		function GameUI(goStart){
			this.goStartFunc=null;
			this.panda=null;
			this.sound1=null;
			this.play=null;
			this.spnum=1000;
			this.sp_w=233;
			this.numBamboo=0;
			this.numShoots=0;
			this.numMilk=0;
			this.numAmulet=0;
			this.score=null;
			this.bamboo=null;
			this.shootsHL=null;
			this.shoots=null;
			this.milkHL=null;
			this.milk=null;
			this.amuletHL=null;
			this.amulet=null;
			this.engine=null;
			this.welcome=null;
			this.header=new GameUI.HeaderBmp();
			this.sp=new GameUI.SPBmp();
			this.jumpBtn=new GameUI.JumpBtn();
			this.attackBtn=new GameUI.AttackBtn();
			this.flyBtn=new GameUI.FlyBtn();
			this.pauseBmp=new GameUI.PauseBmp();
			this.playArea=new Sprite();
			this.replayArea=new Sprite();
			this.quitArea=new Sprite();
			;
			this.score=new BitmapInt(GameUI.numSrc1);
			this.bamboo=new BitmapInt(GameUI.numSrc1);
			this.shootsHL=new BitmapClip(GameUI.shineSrc,-7);
			this.shoots=new BitmapInt(GameUI.numSrc3);
			this.milkHL=new BitmapClip(GameUI.shineSrc,-7);
			this.milk=new BitmapInt(GameUI.numSrc3);
			this.amuletHL=new BitmapClip(GameUI.shineSrc,-7);
			this.amulet=new BitmapInt(GameUI.numSrc3);
			this.playArea.addChild(new Bitmap(GameUI.btnAreaSrc1));
			this.replayArea.addChild(new Bitmap(GameUI.btnAreaSrc1));
			this.quitArea.addChild(new Bitmap(GameUI.btnAreaSrc2));
			this.goStartFunc=goStart;
		}

		CLASS$(GameUI,'ui.GameUI',true,true);
		var __proto__=GameUI.prototype;
		LAYABOX.implements(__proto__,{"interf.ISteper":true})
		__proto__.showAs=function(dpoc){
			this.header.x=21;
			this.header.y=9;
			dpoc.addChild(this.header);
			this.sp.x=87;
			this.sp.y=25;
			dpoc.addChild(this.sp);
			this.score.y=85;
			this.score.showAs(dpoc);
			this.bamboo.y=30;
			this.bamboo.showAs(dpoc);
			this.shoots.y=92;
			this.shoots.showAs(dpoc);
			this.shootsHL.x=435;
			this.shootsHL.y=20;
			this.shootsHL.hideAndStop();
			dpoc.addChild(this.shootsHL);
			this.milk.y=92;
			this.milk.showAs(dpoc);
			this.milkHL.x=513;
			this.milkHL.y=20;
			this.milkHL.hideAndStop();
			dpoc.addChild(this.milkHL);
			this.amulet.y=92;
			this.amulet.showAs(dpoc);
			this.amuletHL.x=356;
			this.amuletHL.y=20;
			this.amuletHL.hideAndStop();
			dpoc.addChild(this.amuletHL);
			this.jumpBtn.x=this.flyBtn.x=50;
			this.jumpBtn.y=this.flyBtn.y=350;
			dpoc.addChild(this.jumpBtn);
			dpoc.addChild(this.flyBtn);
			this.attackBtn.x=800-88-50;
			this.attackBtn.y=350;
			dpoc.addChild(this.attackBtn);
			this.pauseBmp.visible=false;
			dpoc.addChild(this.pauseBmp);
			this.playArea.x=222;
			this.playArea.y=164;
			this.playArea.alpha=0;
			dpoc.addChild(this.playArea);
			this.replayArea.x=439;
			this.replayArea.y=164;
			this.replayArea.alpha=0;
			dpoc.addChild(this.replayArea);
			this.quitArea.x=24;
			this.quitArea.y=393;
			this.quitArea.alpha=0;
			dpoc.addChild(this.quitArea);
			this.visible=false;
			this.pauseBmp.visible=this.playArea.visible=false;
			this.replayArea.visible=this.quitArea.visible=false;
			this.playArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.hl));
			this.replayArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.hl));
			this.quitArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.hl));
			this.playArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.goplay));
			this.replayArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.replay));
			this.quitArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.quit));
		}

		__proto__.step=function(){
			if (this.panda.sp !=this.spnum){
				this.spnum=this.panda.sp;
				this.sp.width=this.sp_w *this.spnum / /*game.Panda.sp*/1000;
			}
			if (this.panda.willFly){
				this.jumpBtn.visible=false;
				this.flyBtn.visible=true;
			}
			else{
				this.jumpBtn.visible=true;
				this.flyBtn.visible=false;
			}
			if (this.panda.numBamboo !=this.numBamboo){
				this.setBamboo(this.numBamboo=this.panda.numBamboo);
			}
			if (this.panda.numShoots !=this.numShoots){
				this.setShoots(this.numShoots=this.panda.numShoots);
			}
			if (this.panda.numMilk !=this.numMilk){
				this.setMilk(this.numMilk=this.panda.numMilk);
			}
			if (this.panda.numAmulet !=this.numAmulet){
				this.setAmulet(this.numAmulet=this.panda.numAmulet);
			}
			this.setScore(this.panda.runningDistance);
		}

		__proto__.startInit=function(amulet,shoots,milk){
			this.numAmulet=amulet;
			this.amulet.value=amulet;
			this.amulet.x=379;
			this.numShoots=shoots;
			this.shoots.value=shoots;
			this.shoots.x=460;
			this.numMilk=milk;
			this.milk.value=milk;
			this.milk.x=540;
		}

		__proto__.setScore=function(num){
			this.score.value=num;
			this.score.x=760-this.score.width;
		}

		__proto__.setBamboo=function(num){
			this.bamboo.value=num;
			this.bamboo.x=760-this.bamboo.width;
		}

		__proto__.setShoots=function(num){
			this.shoots.value=num;
			this.shoots.x=460;
			this.shootsHL.visible=true;
			this.shootsHL.playOnce(true);
		}

		__proto__.setMilk=function(num){
			this.milk.value=num;
			this.milk.x=540;
			this.milkHL.visible=true;
			this.milkHL.playOnce(true);
		}

		__proto__.setAmulet=function(num){
			this.amulet.value=num;
			this.amulet.x=379;
			this.amuletHL.visible=true;
			this.amuletHL.playOnce(true);
		}

		__proto__.pauseDown=function(e){}
		__proto__.pauseUp=function(p){}
		__proto__.pause=function(){
			this.playArea.alpha=this.replayArea.alpha=this.quitArea.alpha=0;
			this.pauseBmp.visible=this.playArea.visible=true;
			this.replayArea.visible=this.quitArea.visible=true;
		}

		__proto__.goplay=function(e){
			this.pauseBmp.visible=this.playArea.visible=false;
			this.replayArea.visible=this.quitArea.visible=false;
			if (this.panda.flying){
				this.sound1.playFlySound();
			}
			this.sound1.playBGSound();
			this.engine.play();
		}

		__proto__.replay=function(e){
			this.pauseBmp.visible=this.playArea.visible=false;
			this.replayArea.visible=this.quitArea.visible=false;
			this.engine.stop();
			this.panda.start();
			this.sound1.playBGSound();
			this.engine.start();
		}

		__proto__.quit=function(e){
			this.pauseBmp.visible=this.playArea.visible=false;
			this.replayArea.visible=this.quitArea.visible=false;
			this.engine.stop();
			this.goStartFunc();
		}

		__proto__.hl=function(e){
			e.target.alpha=1;
		}

		__proto__.a=function(){
			this.jumpBtn.y=351;
			this.flyBtn.y=351;
		}

		__proto__.b=function(){
			this.attackBtn.y=351;
		}

		__proto__.ca=function(){
			this.jumpBtn.y=350;
			this.flyBtn.y=350;
		}

		__proto__.cb=function(){
			this.attackBtn.y=350;
		}

		GETSET$(0,__proto__,'visible',function(){
			return this.header.visible;
			},function(value){
			this.header.visible=this.sp.visible=this.score.visible=value;
			this.bamboo.visible=this.amulet.visible=this.shoots.visible=value;
			this.milk.visible=this.flyBtn.visible=value;
			this.jumpBtn.visible=this.attackBtn.visible=value;
			this.shootsHL.visible=this.milkHL.visible=this.amuletHL.visible=value;
		});

		STATICATTR$(GameUI,
		['HeaderBmp',function(){return this.HeaderBmp=GameUI_HeaderBmp;},'SPBmp',function(){return this.SPBmp=GameUI_SPBmp;},'Num1Bmp',function(){return this.Num1Bmp=GameUI_Num1Bmp;},'numSrc1',function(){return this.numSrc1=new GameUI.Num1Bmp().bitmapData;},'Num2Bmp',function(){return this.Num2Bmp=GameUI_Num2Bmp;},'numSrc2',function(){return this.numSrc2=new GameUI.Num2Bmp().bitmapData;},'Num3Bmp',function(){return this.Num3Bmp=GameUI_Num3Bmp;},'numSrc3',function(){return this.numSrc3=new GameUI.Num3Bmp().bitmapData;},'JumpBtn',function(){return this.JumpBtn=GameUI_JumpBtn;},'AttackBtn',function(){return this.AttackBtn=GameUI_AttackBtn;},'FlyBtn',function(){return this.FlyBtn=GameUI_FlyBtn;},'BtnArea1',function(){return this.BtnArea1=GameUI_BtnArea1;},'btnAreaSrc1',function(){return this.btnAreaSrc1=new GameUI.BtnArea1().bitmapData;},'BtnArea2',function(){return this.BtnArea2=GameUI_BtnArea2;},'btnAreaSrc2',function(){return this.btnAreaSrc2=new GameUI.BtnArea2().bitmapData;},'PauseBmp',function(){return this.PauseBmp=GameUI_PauseBmp;},'pauseSrc',function(){return this.pauseSrc=new GameUI.PauseBmp().bitmapData;},'ItemShineBmp',function(){return this.ItemShineBmp=GameUI_ItemShineBmp;},'shineSrc',function(){return this.shineSrc=new GameUI.ItemShineBmp().bitmapData;},'Panel',function(){return this.Panel=GameUI_Panel;}
		]);
		return GameUI;
	})()


	//file:///d:/projects/layadocument/pandarun/src/ui/store.as
	var Store=/*ui.Store*/(function(){
		function Store(start,welcomeFunc){
			this.panda=null;
			this.data=null;
			this.dpo=null;
			this.startFunc=null;
			this.welcomeFunc=null;
			this.back=new Sprite();
			this.amuletBuy=new Sprite();
			this.shootBuy=new Sprite();
			this.milkBuy=new Sprite();
			this.amuletPrice=new BitmapInt(GameUI.numSrc3);
			this.shootPrice=new BitmapInt(GameUI.numSrc3);
			this.milkPrice=new BitmapInt(GameUI.numSrc3);
			this.priceList=[];
			this.bambooNum=new BitmapInt(GameUI.numSrc1);
			this.amuletNum=new BitmapInt(GameUI.numSrc3);
			this.shootNum=new BitmapInt(GameUI.numSrc3);
			this.milkNum=new BitmapInt(GameUI.numSrc3);
			this.dpo=new Store.StoreBmp();
			;
			this.back.addChild(new Bitmap(GameUI.btnAreaSrc2));
			this.amuletBuy.graphics.beginFill(16777215);
			this.amuletBuy.graphics.drawRoundRect(0,0,218,67,20,20);
			this.shootBuy.graphics.beginFill(16777215);
			this.shootBuy.graphics.drawRoundRect(0,0,218,67,20,20);
			this.milkBuy.graphics.beginFill(16777215);
			this.milkBuy.graphics.drawRoundRect(0,0,218,67,20,20);
			this.startFunc=start;
			this.welcomeFunc=welcomeFunc;
			this.priceList.push(198,26,99);
		}

		CLASS$(Store,'ui.Store',true,true);
		var __proto__=Store.prototype;
		__proto__.showAs=function(dpoc){
			this.dpo.visible=false;
			this.dpo.x=(800-this.dpo.width)/ 2;
			this.dpo.y=(480-this.dpo.height)/ 2;
			dpoc.addChild(this.dpo);
			this.amuletPrice.showAs(dpoc);
			this.amuletPrice.value=this.priceList[0];
			this.amuletPrice.x=410-this.amuletPrice.width;
			this.amuletPrice.y=170;
			this.shootPrice.showAs(dpoc);
			this.shootPrice.value=this.priceList[1];
			this.shootPrice.x=410-this.shootPrice.width;
			this.shootPrice.y=247;
			this.milkPrice.showAs(dpoc);
			this.milkPrice.value=this.priceList[2];
			this.milkPrice.x=410-this.milkPrice.width;
			this.milkPrice.y=327;
			this.bambooNum.y=20;
			this.bambooNum.showAs(dpoc);
			this.amuletNum.x=this.shootNum.x=this.milkNum.x=675;
			this.amuletNum.y=170;
			this.shootNum.y=247;
			this.milkNum.y=327;
			this.amuletNum.showAs(dpoc);
			this.shootNum.showAs(dpoc);
			this.milkNum.showAs(dpoc);
			this.amuletPrice.visible=this.shootPrice.visible=this.milkPrice.visible=this.amuletNum.visible=this.shootNum.visible=this.milkNum.visible=this.bambooNum.visible=false;
			this.bambooNum.value=0;
			this.amuletNum.value=0;
			this.shootNum.value=0;
			this.milkNum.value=0;
			this.back.alpha=0;
			this.back.x=16;
			this.back.y=403;
			dpoc.addChild(this.back);
			this.amuletBuy.x=90;
			this.amuletBuy.y=150;
			this.amuletBuy.alpha=0;
			dpoc.addChild(this.amuletBuy);
			this.shootBuy.x=90;
			this.shootBuy.y=227;
			this.shootBuy.alpha=0;
			dpoc.addChild(this.shootBuy);
			this.milkBuy.x=90;
			this.milkBuy.y=305;
			this.milkBuy.alpha=0;
			dpoc.addChild(this.milkBuy);
			this.back.visible=this.amuletBuy.visible=this.shootBuy.visible=this.milkBuy.visible=false;
			this.back.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.mosueDown));
			this.back.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.returnWelcome));
		}

		__proto__.mosueDown=function(e){
			e.target.alpha=0.3;
			(e.currentTarget).addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.mouseUp));
		}

		__proto__.mouseUp=function(e){
			e.currentTarget.alpha=0;
			(e.currentTarget).removeEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.mouseUp));
		}

		__proto__.returnWelcome=function(e){
			this.dpo.visible=this.back.visible=false;
			this.amuletPrice.visible=this.shootPrice.visible=this.milkPrice.visible=this.amuletNum.visible=this.shootNum.visible=this.milkNum.visible=this.bambooNum.visible=this.amuletBuy.visible=this.shootBuy.visible=this.milkBuy.visible=false;
			this.dpo.bitmapData.dispose();
			this.dpo.bitmapData=null;
			this.welcomeFunc();
		}

		__proto__.buyProps=function(e){
			var tmpBambooNum=0;
			switch(e.currentTarget){
				case this.amuletBuy:
					tmpBambooNum=this.panda.numBamboo;
					if((tmpBambooNum=tmpBambooNum-this.priceList[0])>=0){
						this.panda.numAmulet++;
						this.panda.numBamboo=this.panda.numBamboo-this.priceList[0];
						this.panda.consumption=this.panda.consumption+this.priceList[0];
						this.amuletNum.value=this.data.amulet=this.panda.numAmulet;
					}
					break ;
				case this.shootBuy:
					tmpBambooNum=this.panda.numBamboo;
					if((tmpBambooNum=tmpBambooNum-this.priceList[1])>=0){
						this.panda.numShoots++;
						this.panda.numBamboo=this.panda.numBamboo-this.priceList[1];
						this.panda.consumption=this.panda.consumption+this.priceList[1];
						this.shootNum.value=this.data.shoots=this.panda.numShoots;
					}
					break ;
				case this.milkBuy:
					tmpBambooNum=this.panda.numBamboo;
					if((tmpBambooNum=tmpBambooNum-this.priceList[2])>=0){
						this.panda.numMilk++;
						this.panda.numBamboo=this.panda.numBamboo-this.priceList[2];
						this.panda.consumption=this.panda.consumption+this.priceList[2];
						this.milkNum.value=this.data.milk=this.panda.numMilk;
					}
					break ;
				}
			this.bambooNum.value=this.data.bamboo=this.panda.numBamboo;
			this.bambooNum.x=750-this.bambooNum.width;
			this.data.save();
		}

		__proto__.show=function(){
			this.dpo.bitmapData=new Store.StoreBmp().bitmapData;
			this.back.alpha=0;
			this.dpo.visible=true;
			this.back.visible=this.amuletBuy.visible=this.shootBuy.visible=this.milkBuy.visible=true;
			this.bambooNum.value=this.panda.numBamboo;
			this.bambooNum.x=750-this.bambooNum.width;
			this.amuletNum.value=this.panda.numAmulet;
			this.shootNum.value=this.panda.numShoots;
			this.milkNum.value=this.panda.numMilk;
			this.amuletPrice.visible=this.shootPrice.visible=this.milkPrice.visible=this.amuletNum.visible=this.shootNum.visible=this.milkNum.visible=this.bambooNum.visible=true;
			this.data.bamboo=this.panda.numBamboo;
			this.data.amulet=this.panda.numAmulet;
			this.data.shoots=this.panda.numShoots;
			this.data.milk=this.panda.numMilk;
			this.data.save();
		}

		STATICATTR$(Store,
		['StoreBmp',function(){return this.StoreBmp=Store_StoreBmp;}
		]);
		return Store;
	})()


	//file:///d:/projects/layadocument/pandarun/src/ui/welcome.as
	var Welcome=/*ui.Welcome*/(function(){
		function Welcome(start,rank,store,help,about,acv){
			this.startFunc=null;
			this.rankFunc=null;
			this.storeFunc=null;
			this.helpFunc=null;
			this.aboutFunc=null;
			this.acvFunc=null;
			this.dpo=new Bitmap();
			this.startArea=new Sprite();
			this.storeArea=new Sprite();
			this.helpArea=new Sprite();
			this.rankArea=new Sprite();
			this.aboutArea=new Sprite();
			this.acvArea=new Sprite();
			;
			this.startArea.addChild(new Bitmap(GameUI.btnAreaSrc1));
			this.storeArea.addChild(new Bitmap(GameUI.btnAreaSrc2));
			this.helpArea.addChild(new Bitmap(GameUI.btnAreaSrc2));
			this.rankArea.addChild(new Bitmap(GameUI.btnAreaSrc2));
			this.aboutArea.addChild(new Bitmap(GameUI.btnAreaSrc2));
			this.acvArea.addChild(new Bitmap(GameUI.btnAreaSrc2));
			this.startFunc=start;
			this.rankFunc=rank;
			this.storeFunc=store;
			this.helpFunc=help;
			this.aboutFunc=about;
			this.acvFunc=acv;
		}

		CLASS$(Welcome,'ui.Welcome',true,true);
		var __proto__=Welcome.prototype;
		__proto__.showAs=function(dpoc){
			dpoc.addChild(this.dpo);
			this.startArea.x=362;
			this.startArea.y=228;
			this.startArea.alpha=0;
			dpoc.addChild(this.startArea);
			this.rankArea.x=525;
			this.rankArea.y=394;
			this.rankArea.alpha=0;
			dpoc.addChild(this.rankArea);
			this.storeArea.x=609;
			this.storeArea.y=394;
			this.storeArea.alpha=0;
			dpoc.addChild(this.storeArea);
			this.helpArea.x=698;
			this.helpArea.y=394;
			this.helpArea.alpha=0;
			dpoc.addChild(this.helpArea);
			this.acvArea.x=119;
			this.acvArea.y=394;
			this.acvArea.alpha=0;
			dpoc.addChild(this.acvArea);
			this.aboutArea.x=31;
			this.aboutArea.y=394;
			this.aboutArea.alpha=0;
			dpoc.addChild(this.aboutArea);
			this.rankArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.mouseDown));
			this.rankArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.rank));
			this.startArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.mouseDown));
			this.startArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.start));
			this.storeArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.mouseDown));
			this.storeArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.store));
			this.helpArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.mouseDown));
			this.helpArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.help));
			this.aboutArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.mouseDown));
			this.aboutArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.about));
			this.acvArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.mouseDown));
			this.acvArea.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.acv));
		}

		__proto__.mouseDown=function(e){
			e.target.alpha=0.3;
		}

		__proto__.rank=function(e){
			this.dpo.visible=false;
			this.rankArea.alpha=0;
			this.rankArea.visible=false;
			this.rankFunc();
		}

		__proto__.start=function(e){
			this.dpo.visible=false;
			this.startArea.alpha=0;
			this.startArea.visible=false;
			this.startFunc();
		}

		__proto__.store=function(e){
			this.storeArea.alpha=0;
			this.storeArea.visible=false;
			this.storeFunc();
		}

		__proto__.help=function(e){
			this.helpArea.alpha=0;
			this.helpArea.visible=false;
			this.helpFunc();
		}

		__proto__.about=function(e){
			this.aboutArea.alpha=0;
			this.aboutArea.visible=false;
			this.aboutFunc();
		}

		__proto__.acv=function(e){
			this.acvArea.alpha=0;
			this.acvArea.visible=false;
			this.acvFunc();
		}

		GETSET$(0,__proto__,'visible',null,function(value){
			this.dpo.visible=this.startArea.visible=this.aboutArea.visible=value;
			this.rankArea.visible=this.storeArea.visible=value;
			this.acvArea.visible=this.helpArea.visible=value;
			if(value){
				this.dpo.bitmapData=new Welcome.StartBmp().bitmapData;
			}
			else if(this.dpo.bitmapData !=null){
				this.dpo.bitmapData.dispose();
			}
		});

		STATICATTR$(Welcome,
		['StartBmp',function(){return this.StartBmp=Welcome_StartBmp;}
		]);
		return Welcome;
	})()


	//file:///d:/projects/layadocument/pandarun/src/vo/mem.as
	var Mem=/*vo.Mem*/(function(){
		function Mem(){
			;
		}

		CLASS$(Mem,'vo.Mem',true,true);
		Mem.numBoards=5;
		Mem.numFoods=10;
		Mem.numSmoke=1;
		Mem.numEnemys=3;
		Mem.numShoots=10;
		return Mem;
	})()


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/argumenterror.jas
	var ArgumentError=(function(_super){
		function ArgumentError(message){
			ArgumentError._SUPERC_.call(this);
			(message===void 0)&& (message="");
		}

		CLASS$(ArgumentError,'ArgumentError',true,true,Error);
		return ArgumentError;
	})(Error)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/rangeerror.jas
	var RangeError=(function(_super){
		function RangeError(message){
			RangeError._SUPERC_.call(this);
			(message===void 0)&& (message="");
		}

		CLASS$(RangeError,'RangeError',true,true,Error);
		return RangeError;
	})(Error)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/mx/events/propertychangeevent.as
	var PropertyChangeEvent=/*mx.events.PropertyChangeEvent*/(function(_super){
		function PropertyChangeEvent(type,bubbles,cancelable,kind,property,oldValue,newValue,source){
			this.kind=null;
			this.newValue=null;
			this.oldValue=null;
			this.property=null;
			this.source=null;
			(bubbles===void 0)&& (bubbles=false);
			(cancelable===void 0)&& (cancelable=false);
			PropertyChangeEvent._SUPERC_.call(this,type,bubbles,cancelable);
			this.kind=kind;
			this.property=property;
			this.oldValue=oldValue;
			this.newValue=newValue;
			this.source=source;
		}

		CLASS$(PropertyChangeEvent,'mx.events.PropertyChangeEvent',true,false,_super);
		var __proto__=PropertyChangeEvent.prototype;
		__proto__.clone=function(){
			return new PropertyChangeEvent(this.type,this.bubbles,this.cancelable,this.kind,this.property,this.oldValue,this.newValue,this.source);
		}

		PropertyChangeEvent.createUpdateEvent=function(source,property,oldValue,newValue){
			var event=new PropertyChangeEvent("propertyChange");
			event.kind="update";
			event.oldValue=oldValue;
			event.newValue=newValue;
			event.source=source;
			event.property=property;
			return event;
		}

		PropertyChangeEvent.event=function(source,property,oldValue,newValue){
			source.dispatchEvent(PropertyChangeEvent.createUpdateEvent(source,property,oldValue,newValue));
		}

		PropertyChangeEvent.PROPERTY_CHANGE="propertyChange";
		return PropertyChangeEvent;
	})(Event)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflash.as
	var IFlash=(function(_super){
		function IFlash(sprite){
			this.stage=null;
			IFlash._sprite_=sprite;
			IFlash._SUPERC_.call(this,sprite);
		}

		CLASS$(IFlash,'IFlash',true,false,_super);
		var __proto__=IFlash.prototype;
		__proto__._onInit_=function(){
			EventManager.stage=this.stage=Stage.stage;
			Capabilities.initScreenResolutionXY();
			var fn=IFlash.__beforInit__;
			(fn!=null)&&fn();
			if (IFlash.__width__ > 0 && IFlash.__height__ > 0)Laya.document.size(IFlash.__width__,IFlash.__height__);
			EventManager.stage=this.stage=Stage.stage;
			Laya.window.addEventListener(/*iflash.events.Event.RESIZE*/"resize",BIND$(this,this._resize_));
			this.stage.bgcolor=IFlash.__bgColor;
			this.stage.setOrientationEx(IFlash.__setOrientationEx);
			this.stage.showInfo=IFlash.__showInfo;
			this.stage.frameRate=IFlash.__frameRate;
			IFlash._sprite_=IFlash._sprite_ || (new IFlashMain());
			if (IFlash._sprite_ && !IFlash._sprite_.parent && IFlash.__loadResource__==null){
				this.stage.addChild(IFlash._sprite_);
			}
			IFlash.__loadResource__ && IFlash.__StartLoadResource__();
			var body=Laya.window.document.body;
			/*__JS__ */Laya.CONCHVER&&conch.editborder.pos(-body.x+5,-body.y+5);
			/*__JS__ */Laya.CONCHVER&&conch.editborder.size(Laya.window.innerWidth-10,80/body.scaleY-5);
		}

		__proto__._resize_=function(e){
			e._lysetTarget(this.stage);
			this.stage.dispatchEvent(e);
		}

		GETSET$(1,IFlash,'isRuningOnAccelerator',function(){
			return Laya.CONCHVER;
		},iflash.laya.ILaya._$SET_isRuningOnAccelerator);

		IFlash.preSwfAssets=function(assets){
			Loader.preswfAsset(assets);
		}

		IFlash.setAutoDetect=function(value){
			AudioElement.disableAutoDetect=value;
		}

		IFlash.setSize=function(width,height){
			IFlash.__width__=width;
			IFlash.__height__=height;
			Stage.stage.width=IFlash.__width__;
			Stage.stage.height=IFlash.__height__;
			if(Laya.document.body){
				Laya.document.body.width=IFlash.__width__;
				Laya.document.body.height=IFlash.__height__;
			}
		}

		IFlash.regBeforInit=function(callback){
			IFlash.__beforInit__=callback;
		}

		IFlash.setBgcolor=function(value){
			IFlash.__bgColor=value;
			Stage.stage.bgcolor=value;
		}

		IFlash.setOrientationEx=function(value){
			IFlash.__setOrientationEx=value;
			Stage.stage.setOrientationEx(value);
		}

		IFlash.setAutoOrients=function(autoOrients){
			(autoOrients===void 0)&& (autoOrients=true);
			Stage.stage.autoOrients=autoOrients;
		}

		IFlash.showInfo=function(value){
			IFlash.__showInfo=value;
			Stage.stage.showInfo=value;
		}

		IFlash.frameRate=function(value){
			IFlash.__frameRate=value;
			Stage.stage.frameRate=value;
		}

		IFlash.Start=function(){
			/*__JS__ */Function.prototype.BIND$=function (o){var f=(o.__closures_laya__ || DEFUNENUMPTY$(o,'__closures_laya__',{}))[this.__$BiD___ || (this.__$BiD___=LAYABOX.bindid++)];if (f){return f;}var method=this;var len=this.length;switch (len){case 1:f=function (a){return method.apply(o,arguments);};break;case 2:f=function (a,b){return method.apply(o,arguments);};break;case 3:f=function (a,b,c){return method.apply(o,arguments);};break;case 4:f=function (a,b,c,d){return method.apply(o,arguments);};break;case 5:f=function (a,b,c,d,e){return method.apply(o,arguments);};break;case 6:f=function (a,b,c,d,e,f){return method.apply(o,arguments);};break;case 7:f=function (a,b,c,d,e,f,g){return method.apply(o,arguments);};break;case 8:f=function (a,b,c,d,e,f,g,h){return method.apply(o,arguments);};break;case 9:f=function (a,b,c,d,e,f,g,h,i){return method.apply(o,arguments);};break;case 10:f=function (a,b,c,d,e,f,g,h,i,j){return method.apply(o,arguments);};break;default:f=function (){return method.apply(o,arguments);};}o.__closures_laya__[this.__$BiD___]=f;return f;};;
			/*__JS__ */LAYABOX.getInterfaceDefinitionByName=function (name){var words=name.split('.');var o=window;for (var i=0;i < words.length;i++){o=o[words[i]];if(!o){return null}}return o;};
			new JSONParse();
			Laya.document.body=new Body();
			var R=Register,A=AnimationCreate;
			R.regClass(/*iflash.laya.runner.DataType.LYIMAGELEMENT*/51,LyImageElement);
			R.regClass(/*iflash.laya.runner.DataType.SHAPE*/52,Shape);
			R.regClass(/*iflash.laya.runner.DataType.SHAPE*/52,Shape);
			R.regClass(/*iflash.laya.runner.DataType.BITMAPDATA*/53,BitmapData);
			R.regClass(/*iflash.laya.runner.DataType.BITMAP*/54,Bitmap);
			R.regClass(/*iflash.laya.runner.DataType.SPRITE*/55,Sprite);
			R.regClass(/*iflash.laya.runner.DataType.MOVIECLIP*/56,MovieClip);
			R.regClass(/*iflash.laya.runner.DataType.BUTTON*/58,SimpleButton);
			R.regClass(/*iflash.laya.runner.DataType.TEXTFIELD*/57,TextField);
			R.regClass(/*iflash.laya.runner.DataType.STATICTEXTFIELD*/59,StaticText);
			R.regFunction(/*iflash.laya.runner.DataType.REMOVE_ALL*/151,A.removeAll,2,false,/*iflash.laya.runner.DataType.NULL*/0,/*iflash.laya.runner.DataType.NULL*/0);
			R.regFunction(/*iflash.laya.runner.DataType.SET_INSTANCE_NAME*/152,A.setInstanceName,3,false,/*iflash.laya.runner.DataType.NULL*/0,/*iflash.laya.runner.DataType.SHORT*/4,/*iflash.laya.runner.DataType.STRING*/6);
			R.regFunction(/*iflash.laya.runner.DataType.REMOVE_INSTANCE_NAME*/153,A.removeInstanceName,3,false,/*iflash.laya.runner.DataType.NULL*/0,/*iflash.laya.runner.DataType.SHORT*/4,/*iflash.laya.runner.DataType.STRING*/6);
			R.regFunction(/*iflash.laya.runner.DataType.NEW_OBJECT*/154,A.newObject,4,false,/*iflash.laya.runner.DataType.NULL*/0,/*iflash.laya.runner.DataType.SHORT*/4,/*iflash.laya.runner.DataType.SHORT*/4,/*iflash.laya.runner.DataType.STRING*/6);
			R.regFunction(/*iflash.laya.runner.DataType.ADD_CHILD*/155,A.addChild,3,false,/*iflash.laya.runner.DataType.NULL*/0,/*iflash.laya.runner.DataType.SHORT*/4,/*iflash.laya.runner.DataType.SHORT*/4);
			R.regFunction(/*iflash.laya.runner.DataType.REMOVE_CHILD*/156,A.removeChild,2,false,/*iflash.laya.runner.DataType.NULL*/0,/*iflash.laya.runner.DataType.SHORT*/4);
			R.regFunction(/*iflash.laya.runner.DataType.SET_TRANSFORM*/157,A.setTransform,9,false,/*iflash.laya.runner.DataType.NULL*/0,/*iflash.laya.runner.DataType.SHORT*/4,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5);
			R.regFunction(/*iflash.laya.runner.DataType.POS*/158,A.pos,4,false,/*iflash.laya.runner.DataType.NULL*/0,/*iflash.laya.runner.DataType.SHORT*/4,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5);
			R.regFunction(/*iflash.laya.runner.DataType.EMPTY*/159,A.empty,2,false,/*iflash.laya.runner.DataType.NULL*/0,/*iflash.laya.runner.DataType.NULL*/0);
			R.regFunction(/*iflash.laya.runner.DataType.SET_ALPHA*/160,A.setAlpha,3,false,/*iflash.laya.runner.DataType.CURRENT*/9,/*iflash.laya.runner.DataType.SHORT*/4,/*iflash.laya.runner.DataType.FLOAT*/5);
			R.regFunction(/*iflash.laya.runner.DataType.SET_VISIBLE*/161,A.setVisible,3,false,/*iflash.laya.runner.DataType.CURRENT*/9,/*iflash.laya.runner.DataType.SHORT*/4,/*iflash.laya.runner.DataType.BOOL*/14);
			R.regFunction(/*iflash.laya.runner.DataType.INIT_LYIMAGELEMENT_CMD*/162,A.initLyImage,4,false,/*iflash.laya.runner.DataType.CURRENT*/9,/*iflash.laya.runner.DataType.SHORT*/4,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5);
			R.regFunction(/*iflash.laya.runner.DataType.INIT_SHAPE_CMD*/163,A.initShap,3,false,/*iflash.laya.runner.DataType.CURRENT*/9,/*iflash.laya.runner.DataType.ID*/1,/*iflash.laya.runner.DataType.MATRIX*/13);
			R.regFunction(/*iflash.laya.runner.DataType.INIT_SHAPE2ADDCMD*/167,A.initShape2Add,5,false,/*iflash.laya.runner.DataType.CURRENT*/9,/*iflash.laya.runner.DataType.SHORT*/4,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.MATRIX*/13);
			R.regFunction(/*iflash.laya.runner.DataType.INIT_MOVIECLIP_CMD*/164,A.initMovie,6,false,/*iflash.laya.runner.DataType.CURRENT*/9,/*iflash.laya.runner.DataType.TEMPLATE_ID*/11,/*iflash.laya.runner.DataType.BYTE*/8,/*iflash.laya.runner.DataType.BYTE*/8,/*iflash.laya.runner.DataType.SHORT*/4,/*iflash.laya.runner.DataType.ARRAY*/12);
			R.regFunction(/*iflash.laya.runner.DataType.INIT_BUTTON_CMD*/166,A.initButton,6,false,/*iflash.laya.runner.DataType.CURRENT*/9,/*iflash.laya.runner.DataType.TEMPLATE_ID*/11,/*iflash.laya.runner.DataType.BYTE*/8,/*iflash.laya.runner.DataType.BYTE*/8,/*iflash.laya.runner.DataType.SHORT*/4,/*iflash.laya.runner.DataType.ARRAY*/12);
			R.regFunction(/*iflash.laya.runner.DataType.INIT_TEXTFIELD_CMD*/165,A.initText,14,false,/*iflash.laya.runner.DataType.CURRENT*/9,
			/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5,
			/*iflash.laya.runner.DataType.BOOL*/14,/*iflash.laya.runner.DataType.BOOL*/14,/*iflash.laya.runner.DataType.BOOL*/14,
			/*iflash.laya.runner.DataType.BYTE*/8,/*iflash.laya.runner.DataType.STRING*/6,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.STRING*/6);
			R.regFunction(/*iflash.laya.runner.DataType.INIT_STATICTEXTFIELDCMD*/168,A.initStaticText,14,false,/*iflash.laya.runner.DataType.CURRENT*/9,
			/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.FLOAT*/5,
			/*iflash.laya.runner.DataType.BOOL*/14,/*iflash.laya.runner.DataType.BOOL*/14,/*iflash.laya.runner.DataType.BOOL*/14,
			/*iflash.laya.runner.DataType.BYTE*/8,/*iflash.laya.runner.DataType.STRING*/6,/*iflash.laya.runner.DataType.FLOAT*/5,/*iflash.laya.runner.DataType.STRING*/6);
			Laya.window.resizeTo(Browser.window.innerWidth,Browser.window.innerHeight);
			Laya.CONCHVER && /*__JS__ */conchConfig.textBaseline(2);
		}

		IFlash.__StartLoadResource__=function(){
			var len=IFlash.__loadResource__.length;
			for(var i=0;i<len;i++){
				var loader=new Loader();
				loader.contentLoaderInfo.addEventListener(/*iflash.events.Event.COMPLETE*/"complete",IFlash.__onLoad__);
				loader.load(new URLRequest(IFlash.__loadResource__[i]),new LoaderContext(false,ApplicationDomain.currentDomain));
			}
		}

		IFlash.__onLoad__=function(e){
			IFlash.__resourceCount__++;
			if(IFlash.__loadResource__.length==IFlash.__resourceCount__){
				IFlash.__resourceCount__=0;
				IFlash.__loadResource__=null;
				Stage.stage.addChild(IFlash._sprite_);
			}
		}

		IFlash.LoadResource=function(files){
			IFlash.__loadResource__=files;
		}

		IFlash.Run=function(sprite,w,h){
			if(IFlash.__width__ <=0){
				IFlash.__width__=w;
			}
			if(IFlash.__height__ <=0){
				IFlash.__height__=h;
			}
			new IFlash(sprite);
			Laya.ilaya._onInit_();
		}

		IFlash._sprite_=null
		IFlash.__loadResource__=null;
		IFlash.__width__=-1;
		IFlash.__height__=-1;
		IFlash.__beforInit__=null
		IFlash.IS_3D=false;
		IFlash.__bgColor=0xffffff;
		IFlash.__setOrientationEx=1;
		IFlash.__showInfo=true;
		IFlash.__frameRate=60;
		IFlash.__resourceCount__=0;
		IFlash.LYData={};
		return IFlash;
	})(ILaya)


	//file:///d:/projects/layadocument/pandarun/src/sound/bgsound.as
	var BgSound=/*sound.BgSound*/(function(_super){
		function BgSound(){
			BgSound._SUPERC_.call(this,new URLRequest("assets/sound/FlySound.mp3"));
		}

		CLASS$(BgSound,'sound.BgSound',true,false,_super);
		return BgSound;
	})(Sound)


	//file:///d:/projects/layadocument/pandarun/src/sound/deadsound.as
	var DeadSound=/*sound.DeadSound*/(function(_super){
		function DeadSound(){
			DeadSound._SUPERC_.call(this,new URLRequest("assets/sound/DeadSound.mp3"));
		}

		CLASS$(DeadSound,'sound.DeadSound',true,false,_super);
		return DeadSound;
	})(Sound)


	//file:///d:/projects/layadocument/pandarun/src/sound/downsound.as
	var DownSound=/*sound.DownSound*/(function(_super){
		function DownSound(){
			DownSound._SUPERC_.call(this,new URLRequest("assets/sound/DownSound.mp3"));
		}

		CLASS$(DownSound,'sound.DownSound',true,false,_super);
		return DownSound;
	})(Sound)


	//file:///d:/projects/layadocument/pandarun/src/sound/eatsound.as
	var EatSound=/*sound.EatSound*/(function(_super){
		function EatSound(){
			EatSound._SUPERC_.call(this,new URLRequest("assets/sound/FlySound.mp3"));
		}

		CLASS$(EatSound,'sound.EatSound',true,false,_super);
		return EatSound;
	})(Sound)


	//file:///d:/projects/layadocument/pandarun/src/sound/flysound.as
	var FlySound=/*sound.FlySound*/(function(_super){
		function FlySound(){
			FlySound._SUPERC_.call(this,new URLRequest("assets/sound/FlySound.mp3"));
		}

		CLASS$(FlySound,'sound.FlySound',true,false,_super);
		return FlySound;
	})(Sound)


	//file:///d:/projects/layadocument/pandarun/src/sound/jumpsound.as
	var JumpSound=/*sound.JumpSound*/(function(_super){
		function JumpSound(){
			JumpSound._SUPERC_.call(this,new URLRequest("assets/sound/JumpSound.mp3"));
		}

		CLASS$(JumpSound,'sound.JumpSound',true,false,_super);
		return JumpSound;
	})(Sound)


	//file:///d:/projects/layadocument/pandarun/src/tdh/utils/bitmapclip.as
	var BitmapClip=/*tdh.utils.BitmapClip*/(function(_super){
		var BitmapClipLabel;
		function BitmapClip(src,width,height,fps){
			this.fps=0;
			this._totalFrames=0;
			this._currFrames=0;
			this.cutRect=null;
			this.list=null;
			this.dict=null;
			this._playOnce=false;
			this._playOnceStartTime=0;
			this._hideAfterOver=false;
			this.setFrameIndex=0;
			this._currentLabel=null;
			(width===void 0)&& (width=-1);
			(height===void 0)&& (height=-1);
			(fps===void 0)&& (fps=24);
			var i=0;
			var length=0;
			var bmpd=null;
			var rect=null;
			this.list=[];
			this.dict=new Dictionary();
			BitmapClip._SUPERC_.call(this);
			this.cutRect=new Rectangle(0,0,width,height);
			this.fps=fps;
			if((src instanceof iflash.display.BitmapData )){
				width=src.width / Math.abs(width);
				height=src.height / Math.abs(height);
				this.bitmapData=src;
				this.gotoAndPlay(1);
			}
			else if((src instanceof Array)){
				length=src.length;
				i=0;
				while(i < length){
					this.bitmapData=src[i];
					i++;
				}
				this.gotoAndPlay(1);
			}
			else if((src instanceof iflash.display.MovieClip )){
				rect=new Rectangle(0,0,width,height);
				length=src.totalFrames;
				i=0;
				while(i < length){
					src.gotoAndStop(i);
					bmpd=new BitmapData(width,height);
					bmpd.draw(src,null,null,null,rect);
					this.pushFrameBmp(bmpd);
					i++;
				}
			}
		}

		CLASS$(BitmapClip,'tdh.utils.BitmapClip',true,false,_super);
		var __proto__=BitmapClip.prototype;
		__proto__.pushFrameBmp=function(bitmapData){
			if(this.setFrameIndex < this.list.length){
				this.list[this.setFrameIndex++]=bitmapData;
			}
			else{
				this.setFrameIndex=this._totalFrames=this.list.push(bitmapData);
			}
		}

		__proto__.onFrame=function(e){
			if((this.visible==false)|| (this.stage==null)){
				this.stop();
			}
			else if(this._playOnce){
				this.playOnceOnFrame();
			}
			else{
				this.playOnFrame();
			}
		}

		__proto__.playOnFrame=function(){
			var frame=iflash.utils.getTimer()/ (1000 / this.fps);
			var bl=this.dict[this._currentLabel];
			if(bl==null){
				frame=frame % this._totalFrames;
			}
			else{
				frame=frame % (bl.to-bl.from)+bl.from;
			}
			_super.prototype._$set_bitmapData.call(this,this.list[this._currFrames=frame]);
		}

		__proto__.register=function(label,from,to){
			(to===void 0)&& (to=4.294967295E9);
			var $label=null;
			$label=this.dict[label]=this.dict[label] || new BitmapClipLabel();
			$label.from=from;
			$label.to=Math.min(this._totalFrames,to);
		}

		__proto__.play=function(label){
			this._currentLabel=label;
			if(!this.hasEventListener(/*iflash.events.Event.ENTER_FRAME*/"enterFrame")){
				this.addEventListener(/*iflash.events.Event.ENTER_FRAME*/"enterFrame",BIND$(this,this.onFrame));
			}
		}

		__proto__.stop=function(){
			this.removeEventListener(/*iflash.events.Event.ENTER_FRAME*/"enterFrame",BIND$(this,this.onFrame));
		}

		__proto__.hideAndStop=function(){
			this.stop();
			this.visible=false;
		}

		__proto__.showAndPlay=function(){
			this.play();
			this.visible=true;
		}

		__proto__.gotoAndPlay=function(frame){
			if((frame > 0)&& (frame < this._totalFrames)){
				_super.prototype._$set_bitmapData.call(this,this.list[this._currFrames=frame-1]);
			}
			this.play();
		}

		__proto__.gotoAndStop=function(frame){
			if((frame > 0)&& (frame < this._totalFrames)){
				_super.prototype._$set_bitmapData.call(this,this.list[this._currFrames=frame-1]);
			}
			this.stop();
		}

		__proto__.nextFrame=function(){
			if(this._currFrames+1 < this._totalFrames){
				_super.prototype._$set_bitmapData.call(this,this.list[++this._currFrames]);
			}
		}

		__proto__.prevFrame=function(){
			if(this._currFrames-1 > 0){
				_super.prototype._$set_bitmapData.call(this,this.list[--this._currFrames]);
			}
		}

		__proto__.playOnce=function(hideAfterOver,label){
			(hideAfterOver===void 0)&& (hideAfterOver=false);
			this._currentLabel=label;
			this._playOnce=true;
			this._playOnceStartTime=iflash.utils.getTimer();
			this._hideAfterOver=hideAfterOver;
			if(!this.hasEventListener(/*iflash.events.Event.ENTER_FRAME*/"enterFrame")){
				this.addEventListener(/*iflash.events.Event.ENTER_FRAME*/"enterFrame",BIND$(this,this.onFrame));
			}
		}

		__proto__.playOnceOnFrame=function(){
			var t=iflash.utils.getTimer()-this._playOnceStartTime;
			var frame=int(t / (1000 / this.fps));
			var bl=this.dict[this._currentLabel];
			var totalFrames=this._totalFrames;
			if(bl !=null){
				totalFrames=bl.to;
				frame=frame+bl.from;
			}
			if(frame < totalFrames){
				_super.prototype._$set_bitmapData.call(this,this.list[frame]);
				this._currFrames=frame;
			}
			else{
				this._playOnce=false;
				if(this._hideAfterOver){
					this.hideAndStop();
				}
				else{
					this.stop();
				}
				this.dispatchEvent(new Event(/*iflash.events.Event.COMPLETE*/"complete"));
			}
		}

		__proto__.dispose=function(){
			var bmpd=null;
			var $each_bmpd;
			/*for each*/for($each_bmpd in this.list){
				bmpd=this.list[$each_bmpd];
				bmpd.dispose();
			}
			this.list.splice(0,this._totalFrames);
			this._totalFrames=this._currFrames=0;
		}

		GETSET$(0,__proto__,'bitmapData',_super.prototype._$get_bitmapData,function(value){
			var bmpd=null;
			var x=0;
			var dest=new Point(0,0);
			var yLen=value.width / this.cutRect.width;
			var xLen=value.height / this.cutRect.height;
			var y=0;
			while(y < yLen){
				this.cutRect.y=this.cutRect.height *y;
				x=0;
				while(x < xLen){
					this.cutRect.x=this.cutRect.width *x;
					bmpd=new BitmapData(this.cutRect.width,this.cutRect.height);
					bmpd.copyPixels(value,this.cutRect,dest);
					this.pushFrameBmp(bmpd);
					x++;
				}
				y++;
			}
		});

		BitmapClip.__init$__=function(){
			BitmapClipLabel=(function(){
				function BitmapClipLabel(){
					this.from=0;
					this.to=0;
					;
				}
				CLASS$(BitmapClipLabel,'',true,true);
				return BitmapClipLabel;
			})()
		}

		return BitmapClip;
	})(Bitmap)


	//file:///c:/users/吉少鑫/appdata/local/layaflash/tools/lib2.0/libs/iflash/src/iflashmain.as
	var IFlashMain=(function(_super){
		function IFlashMain(){
			IFlashMain._SUPERC_.call(this);
			if (this.stage)this.init();
			else this.addEventListener(/*iflash.events.Event.ADDED_TO_STAGE*/"addedToStage",BIND$(this,this.init));
		}

		CLASS$(IFlashMain,'IFlashMain',true,false,_super);
		var __proto__=IFlashMain.prototype;
		__proto__.init=function(e){
			this.removeEventListener(/*iflash.events.Event.ADDED_TO_STAGE*/"addedToStage",BIND$(this,this.init));
		}

		return IFlashMain;
	})(Sprite)


	//file:///d:/projects/layadocument/pandarun/src/game.as
	var Game=(function(_super){
		function Game(){
			this.core=null;
			this.enemy=null;
			this.board=null;
			this.food=null;
			this.panda=null;
			this.shoots=null;
			this.scene=null;
			this.ground=null;
			this.smoke=null;
			this.help=null;
			this.achieve=null;
			this.gui=null;
			this.welcome=null;
			this.over=null;
			this.store=null;
			this.rank=null;
			this.about=null;
			this.data=null;
			this.sound1=null;
			this.engine=null;
			this._max=0;
			this.half=800;
			this.prevMouseX=0;
			this.fullScreenCtrlA=false;
			Game._SUPERC_.call(this);
			if(this.stage)
				this.init();
			else
			this.addEventListener(/*iflash.events.Event.ADDED_TO_STAGE*/"addedToStage",BIND$(this,this.init));
		}

		CLASS$(Game,'Game',true,false,_super);
		var __proto__=Game.prototype;
		LAYABOX.implements(__proto__,{"interf.ISteper":true,"interf.ICtrl":true})
		__proto__.init=function(event){
			IFlash.setSize(800,500);
			IFlash.setOrientationEx(1);
			IFlash.setBgcolor("#83e8ff");
			IFlash.showInfo(true);
			var loader=new Loader();
			loader.contentLoaderInfo.addEventListener(/*iflash.events.Event.COMPLETE*/"complete",BIND$(this,this.initGame));
			loader.load(new URLRequest("assets/pandaRun.swf"),new LoaderContext(false,ApplicationDomain.currentDomain));
		}

		__proto__.initGame=function(event){
			var i=0;
			this.stage.scaleMode=/*iflash.display.StageScaleMode.EXACT_FIT*/"exactFit";
			Board.init();
			Panda.init();
			Food.init();
			Enemy.init();
			Smoke.init();
			Help.init();
			this.panda=new Panda();
			this.scene=new Scene1();
			this.board=new Board(/*vo.Mem.numBoards*/5);
			this.food=new Food(/*vo.Mem.numFoods*/10);
			this.enemy=new Enemy(/*vo.Mem.numEnemys*/3);
			this.shoots=new Shoots(/*vo.Mem.numShoots*/10);
			this.ground=new Ground();
			this.smoke=new Smoke(/*vo.Mem.numSmoke*/1);
			this.gui=new GameUI(BIND$(this,this.goStart));
			this.help=new Help(BIND$(this,this.goStart));
			this.achieve=new Achieve(BIND$(this,this.goStart));
			this.welcome=new Welcome(BIND$(this,this.goPlay),BIND$(this,this.goRank),BIND$(this,this.goStore),BIND$(this,this.goHelp),BIND$(this,this.goAbout),BIND$(this,this.goAcv));
			this.over=new GameOver(BIND$(this,this.goPlay),BIND$(this,this.goStore),BIND$(this,this.goStart));
			this.store=new Store(BIND$(this,this.goPlay),BIND$(this,this.goStart));
			this.about=new About(BIND$(this,this.goStart));
			this.rank=new GameRank(BIND$(this,this.goStart));
			this.core=/*new vector.<>*/[this.panda,this.scene,this.enemy,this.board,this.food,this.shoots,this.ground,this.gui,this.smoke,this.help,this.achieve];
			this.data=new Data();
			this.data.load();
			this.sound1=new GameSound();
			this.panda.numBamboo=this.data.bamboo;
			this.panda.mallShoots=this.data.shoots;
			this.panda.numMilk=Math.max(1,this.data.milk);
			this.panda.numAmulet=Math.max(1,this.data.amulet);
			this.panda.consumption=this.data.consumption;
			this.panda.sound1=this.sound1;
			this.panda.data=this.data;
			this.scene.buildSpdUpBmp();
			this.scene.panda=this.panda;
			this.scene.board=this.board;
			this.scene.food=this.food;
			this.scene.enemy=this.enemy;
			this.gui.panda=this.panda;
			this.gui.sound1=this.sound1;
			this.store.panda=this.panda;
			this.store.data=this.data;
			this.over.panda=this.panda;
			this.over.data=this.data;
			this.rank.data=this.data;
			this.board.reset(0,10);
			this.panda.init(this.board,this.food,this.enemy,this.shoots,this.ground,this.scene);
			this.ground.scene=this.scene;
			this.ground.startAlone();
			this.ground.showAs(this);
			this.help.scene=this.scene;
			this.help.panda=this.panda;
			this.achieve.panda=this.panda;
			this.achieve.data=this.data;
			i=0;
			while (i < /*vo.Mem.numBoards*/5){
				this.board.showAs(this.scene.dpoc);
				this.board=this.board.next;
				i++;
			}
			i=0;
			while (i < /*vo.Mem.numFoods*/10){
				this.food.showAs(this.scene.dpoc);
				this.food=this.food.next;
				i++;
			}
			i=0;
			while (i < /*vo.Mem.numEnemys*/3){
				this.enemy.showAs(this.scene.dpoc);
				this.enemy=this.enemy.next;
				i++;
			}
			i=0;
			while (i < /*vo.Mem.numShoots*/10){
				this.shoots.enemy=this.enemy;
				this.shoots.showAs(this.scene.dpoc);
				this.shoots=this.shoots.next;
				i++;
			}
			i=0;
			while (i < /*vo.Mem.numSmoke*/1){
				this.panda.smoke=this.smoke;
				this.smoke.showAs(this.scene.dpoc);
				this.smoke=this.smoke.next;
				i++;
			}
			this.panda.showAs(this.scene.dpoc);
			this.scene.dpoc.visible=false;
			this.addChild(this.scene.dpoc);
			this.achieve.showAs(this);
			this.gui.showAs(this);
			this.gui.welcome=this.welcome;
			this.store.showAs(this);
			this.help.showAs(this);
			this.rank.showAs(this);
			this.about.showAs(this);
			this.welcome.showAs(this);
			this.over.showAs(this);
			this.goStart();
			this.engine=new FpsGame(this,this);
			this.gui.engine=this.engine;
			this.help.engine=this.engine;
		}

		__proto__.goPlay=function(){
			this.achieve.open();
			this.gameStart();
			this.scene.normalUpdate();
		}

		__proto__.goStart=function(){
			this.gui.visible=false;
			this.scene.dpoc.visible=false;
			this.about.visible=false;
			this.welcome.visible=true;
			this.ground.auto=true;
			this.ground.startAlone();
			this.sound1.stopBGSound();
		}

		__proto__.goRank=function(){
			this.scene.dpoc.visible=false;
			this.welcome.visible=false;
			this.about.visible=false;
			this.rank.visible=true;
			this.rank.show();
		}

		__proto__.goStore=function(){
			this.scene.dpoc.visible=false;
			this.welcome.visible=false;
			this.about.visible=false;
			this.store.show();
		}

		__proto__.goHelp=function(){
			this.achieve.close();
			this.help.start();
			this.gameStart();
			iflash.utils.setTimeout(iflash.method.bind(this.stage,this.stage.addEventListener),100,/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",iflash.method.bind(this.help,this.help.next));
		}

		__proto__.goAbout=function(){
			this.scene.dpoc.visible=false;
			this.welcome.visible=false;
			this.about.visible=true;
		}

		__proto__.goAcv=function(){
			this.scene.dpoc.visible=false;
			this.welcome.visible=false;
			this.achieve.showPanel();
		}

		__proto__.step=function(){
			var i=0;
			var o=null;
			vo.frameDelay=this.engine.delay / 1000;
			vo.gameTime=this.engine.currTime;
			var len=this.core.length;
			var $each_o;
			/*for each*/for($each_o in this.core){
				o=this.core[$each_o];
				o.step();
			}
			if (this.panda.rect.y > 680){
				this.gameOver();
			}
		}

		__proto__.gameStart=function(){
			this.about.visible=false;
			this.welcome.visible=false;
			this.gui.visible=true;
			this.scene.dpoc.visible=true;
			this.ground.auto=false;
			this.ground.stopAlone();
			this.ground.normal();
			this.achieve.reset();
			this.panda.start();
			this.engine.start();
			this.gui.startInit(this.panda.numAmulet,this.panda.numShoots,this.panda.numMilk);
			this.sound1.playBGSound();
		}

		__proto__.gameOver=function(){
			if (this.help.helping){
				this.help.retry();
			}
			else{
				this.gui.visible=false;
				this.over.show();
				this.sound1.stopBGSound();
			}
			this.engine.stop();
			this.ground.auto=true;
			this.panda.over();
			this.panda.board=this.scene.nextBoard();
			Game.overSound.play();
			this.sound1.stopFlySound();
		}

		__proto__.ctrl=function(e){
			if ((e.stageX < 75)&& (e.stageY < 65)){
				this.pause();
			}
			else if (this.fullScreenCtrlA){
				switch (e.type){
					case /*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown":
						this.ctrlA();
						break ;
					case /*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp":
						this.cancelA();
						break ;
					}
			}
			else{
				switch (e.type){
					case /*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown":
						if (this.half > e.stageX){
							this.ctrlA();
						}
						else{
							this.ctrlB();
						}
						this.prevMouseX=e.stageX;
						break ;
					case /*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp":
						if (this.half > e.stageX){
							this.cancelA();
						}
						else{
							this.cancelB();
						}
						break ;
					case /*iflash.events.MouseEvent.MOUSE_MOVE*/"mouseMove":
						if ((this.half > e.stageX)&& (this.half < this.prevMouseX)){
							this.ctrlA();
							this.cancelB();
						}
						else if ((this.half < e.stageX)&& (this.half > this.prevMouseX)){
							this.ctrlB();
							this.cancelA();
						}
						this.prevMouseX=e.stageX;
						break ;
					}
			}
		}

		__proto__.ctrlA=function(){
			this.panda.a();
			this.gui.a();
		}

		__proto__.ctrlB=function(){
			this.panda.b();
			this.gui.b();
		}

		__proto__.cancelA=function(){
			this.panda.ca();
			this.gui.ca();
		}

		__proto__.cancelB=function(){
			this.panda.cb();
			this.gui.cb();
		}

		__proto__.keyCtrl=function(e){
			if (e.keyCode==/*iflash.ui.Keyboard.HOME*/36){
				this.pause();
			}
			else if (e.keyCode==/*iflash.ui.Keyboard.BACK*/16777238){
				this.pause();
			}
			else{
				this.panda.b();
			}
		}

		__proto__.ctrlStart=function(){
			this.stage.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.ctrl));
			this.stage.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.ctrl));
			this.stage.addEventListener(/*iflash.events.KeyboardEvent.KEY_DOWN*/"keyDown",BIND$(this,this.keyCtrl));
			this.stage.addEventListener(/*iflash.events.Event.DEACTIVATE*/"deactivate",BIND$(this,this.onDeactivate));
		}

		__proto__.ctrlPause=function(){
			this.stage.removeEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.ctrl));
			this.stage.removeEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.ctrl));
			this.stage.removeEventListener(/*iflash.events.KeyboardEvent.KEY_DOWN*/"keyDown",BIND$(this,this.keyCtrl));
			this.stage.removeEventListener(/*iflash.events.Event.DEACTIVATE*/"deactivate",BIND$(this,this.onDeactivate));
		}

		__proto__.onDeactivate=function(e){
			this.pause();
		}

		__proto__.pause=function(){
			if (this.help.helping){
				return;
			}
			this.engine.pause();
			this.gui.pause();
			this.sound1.stopBGSound();
			this.sound1.stopFlySound();
		}

		GETSET$(0,__proto__,'max',function(){
			return this._max;
		});

		Game.HelpModel=0;
		Game.RandomModel=1;
		STATICATTR$(Game,
		['overSound',function(){return this.overSound=new DeadSound();}
		]);
		return Game;
	})(Sprite)


	//file:///d:/projects/layadocument/pandarun/src/ui/gameover.as
	var GameOver=/*ui.GameOver*/(function(_super){
		function GameOver(start,store,welcome){
			this.dpo=null;
			this.panda=null;
			this.data=null;
			this.startFunc=null;
			this.storeFunc=null;
			this.welcomFunc=null;
			this.btnBack=new Sprite();
			this.btnUpload=new Sprite();
			this.btnReplay=new Sprite();
			this.btnEnterStore=new Sprite();
			this.txtUserName=new TextField();
			this.txtFormat=new TextFormat(null,15,0,true);
			this.scoreBmp=new BitmapInt(GameUI.numSrc2);
			this.bambooBmp=new BitmapInt(GameUI.numSrc3);
			this.bestScoreBmp=new BitmapInt(GameUI.numSrc3);
			GameOver._SUPERC_.call(this);
			this.dpo=new Bitmap();
			this.btnBack.addChild(new GameOver.BtnBambooBmp());
			this.btnBack.alpha=0;
			this.btnUpload.addChild(new GameOver.BtnBambooBmp());
			this.btnUpload.alpha=0;
			this.btnReplay.addChild(new GameOver.BtnBambooBmp());
			this.btnReplay.alpha=0;
			this.btnEnterStore.addChild(new GameOver.BtnBambooBmp());
			this.btnEnterStore.alpha=0;
			this.txtUserName.width=200;
			this.txtUserName.setTextFormat(this.txtFormat);
			this.startFunc=start;
			this.storeFunc=store;
			this.welcomFunc=welcome;
		}

		CLASS$(GameOver,'ui.GameOver',true,false,_super);
		var __proto__=GameOver.prototype;
		__proto__.showAs=function(dpoc){
			this.txtUserName.text=this.data.prevUserName;
			this.dpo.visible=false;
			dpoc.addChild(this.dpo);
			this.scoreBmp.y=160;
			this.scoreBmp.showAs(dpoc);
			this.bestScoreBmp.y=260;
			this.bestScoreBmp.value=this.data.bestScore;
			this.bestScoreBmp.visible=false;
			this.bestScoreBmp.showAs(dpoc);
			this.bambooBmp.y=310;
			this.bambooBmp.showAs(dpoc);
			dpoc.addChild(this.txtUserName);
			this.txtUserName.type=/*iflash.text.TextFieldType.INPUT*/"input";
			this.txtUserName.x=235;
			this.txtUserName.y=405;
			this.txtUserName.visible=false;
			this.btnBack.visible=false;
			this.btnBack.x=23;
			this.btnBack.y=392;
			dpoc.addChild(this.btnBack);
			this.btnUpload.visible=false;
			this.btnUpload.x=174;
			this.btnUpload.y=367;
			dpoc.addChild(this.btnUpload);
			this.btnReplay.visible=false;
			this.btnReplay.x=502;
			this.btnReplay.y=367;
			dpoc.addChild(this.btnReplay);
			this.btnEnterStore.visible=false;
			this.btnEnterStore.x=593;
			this.btnEnterStore.y=367;
			dpoc.addChild(this.btnEnterStore);
			this.btnBack.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.mosueDown));
			this.btnBack.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.goWelcome));
			this.btnUpload.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.mosueDown));
			this.btnUpload.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.btnUploadHide));
			this.btnUpload.addEventListener(/*iflash.events.MouseEvent.CLICK*/"click",BIND$(this,this.uploadUserScore));
			this.btnReplay.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.mosueDown));
			this.btnReplay.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.replayGame));
			this.btnEnterStore.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.mosueDown));
			this.btnEnterStore.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.goStore));
		}

		__proto__.btnUploadHide=function(event){
			this.btnUpload.alpha=0;
		}

		__proto__.mosueDown=function(e){
			e.currentTarget.alpha=1;
		}

		__proto__.goWelcome=function(event){
			this.btnBack.alpha=0;
			this.hide();
			this.welcomFunc();
			this.data.prevUserName=this.txtUserName.text;
			this.data.save();
		}

		__proto__.replayGame=function(e){
			this.btnReplay.alpha=0;
			this.hide();
			this.startFunc();
			this.data.prevUserName=this.txtUserName.text;
			this.data.save();
		}

		__proto__.goStore=function(e){
			this.btnEnterStore.alpha=0;
			this.hide();
			this.storeFunc();
			this.data.prevUserName=this.txtUserName.text;
			this.data.save();
		}

		__proto__.hide=function(){
			this.dpo.visible=this.btnReplay.visible=false;
			this.btnEnterStore.visible=this.btnBack.visible=false;
			this.scoreBmp.visible=this.bestScoreBmp.visible=false;
			this.bambooBmp.visible=this.txtUserName.visible=false;
			this.dpo.bitmapData.dispose();
			this.dpo.bitmapData=null;
		}

		__proto__.show=function(){
			this.dpo.bitmapData=new GameOver.OverBmp().bitmapData;
			this.txtUserName.setTextFormat(this.txtFormat);
			this.btnUpload.alpha=this.btnReplay.alpha=this.btnEnterStore.alpha=0;
			this.btnUpload.visible=this.btnReplay.visible=this.btnEnterStore.visible=this.btnBack.visible=this.dpo.visible=true;
			this.scoreBmp.visible=this.bestScoreBmp.visible=this.bambooBmp.visible=this.txtUserName.visible=true;
			this.scoreBmp.value=this.panda.runningDistance;
			this.scoreBmp.x=600-this.scoreBmp.width;
			if (this.scoreBmp.value > this.data.bestScore){
				this.bestScoreBmp.value=this.data.bestScore=this.scoreBmp.value;
			}
			else{
				this.bestScoreBmp.value=this.data.bestScore;
			}
			this.bestScoreBmp.x=600-this.bestScoreBmp.width;
			this.bambooBmp.value=this.panda.numBamboo;
			this.bambooBmp.x=600-this.bambooBmp.width;
			this.data.bamboo=this.panda.numBamboo;
			this.data.save();
		}

		__proto__.uploadUserScore=function(e){
			var obj=null;
			this.btnUpload.alpha=0;
			this.btnUpload.visible=false;
			var i=0;
			while (i < this.data.scoreRecordList.length){
				if (this.scoreBmp.value >=Number(this.data.scoreRecordList[i].score)){
					if (this.scoreBmp.value >=Number(this.data.scoreRecordList[i].score)){
						obj={"name":"","score":String(this.scoreBmp.value)};
						if ((this.txtUserName.text=="Player Name")|| (this.txtUserName.text=="")){
							obj.name="Player";
						}
						else{
							obj.name=this.txtUserName.text;
						}
						this.data.scoreRecordList.splice(i,0,obj);
						this.data.scoreRecordList.pop();
						break ;
					}
				}
				i++;
			}
			this.data.prevUserName=this.txtUserName.text;
			this.data.save();
		}

		STATICATTR$(GameOver,
		['OverBmp',function(){return this.OverBmp=GameOver_OverBmp;},'BtnBambooBmp',function(){return this.BtnBambooBmp=GameUI_BtnArea2;}
		]);
		return GameOver;
	})(Sprite)


	//file:///d:/projects/layadocument/pandarun/src/ui/gamerank.as
	var GameRank=/*ui.GameRank*/(function(_super){
		function GameRank(welcomeFunc){
			this.data=null;
			this.dpo=null;
			this.RANK_NUM=5;
			this.rankName=null;
			this.rankScore=null;
			this.btnBack=null;
			this.welcomeFunc=null;
			GameRank._SUPERC_.call(this);
			this.dpo=new Bitmap();
			this.btnBack=new Sprite();
			this.btnBack.addChild(new Bitmap(GameUI.btnAreaSrc2));
			this.welcomeFunc=welcomeFunc;
			this.initRankList();
		}

		CLASS$(GameRank,'ui.GameRank',true,false,_super);
		var __proto__=GameRank.prototype;
		__proto__.show=function(){
			this.dpo.bitmapData=new GameRank.RankBmp().bitmapData;
			this.dpo.visible=this.btnBack.visible=this.rankName.visible=this.rankScore.visible=true;
			this.btnBack.alpha=0;
			this.updateRank();
		}

		__proto__.initRankList=function(){
			this.rankName=new TextField();
			this.rankScore=new TextField();
		}

		__proto__.showAs=function(dpoc){
			this.dpo.visible=this.btnBack.visible=this.rankName.visible=this.rankScore.visible=false;
			dpoc.addChild(this.dpo);
			dpoc.addChild(this.rankName);
			dpoc.addChild(this.btnBack);
			this.btnBack.alpha=0.3;
			this.btnBack.x=30;
			this.btnBack.y=393;
			this.btnBack.addEventListener(/*iflash.events.MouseEvent.MOUSE_DOWN*/"mouseDown",BIND$(this,this.mosueDown));
			this.btnBack.addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.returnWelcome));
			dpoc.addChild(this.rankScore);
			this.rankName.y=this.rankScore.y=200;
			this.rankName.x=180;
			this.rankScore.x=417;
		}

		__proto__.updateRank=function(){
			this.rankName.text="";
			this.rankScore.text="";
			var tmpFormat=new TextFormat(null,30,16777215,true);
			var i=0;
			while (i < this.RANK_NUM){
				if(this.data.scoreRecordList){
					this.rankName.appendText((this.data.scoreRecordList[i])? this.data.scoreRecordList[i].name+"\n" :"");
					this.rankScore.appendText((this.data.scoreRecordList[i])? this.data.scoreRecordList[i].score+"\n" :"0");
				}
				i++;
			}
			this.rankName.selectable=false;
			this.rankScore.selectable=false;
			this.rankName.autoSize=/*iflash.text.TextFieldAutoSize.LEFT*/"left";
			this.rankScore.autoSize=/*iflash.text.TextFieldAutoSize.LEFT*/"left";
			this.rankName.setTextFormat(tmpFormat);
			this.rankScore.setTextFormat(tmpFormat);
		}

		__proto__.mosueDown=function(e){
			e.target.alpha=0.3;
			(e.currentTarget).addEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.mouseUp));
		}

		__proto__.mouseUp=function(e){
			e.currentTarget.alpha=0;
			(e.currentTarget).removeEventListener(/*iflash.events.MouseEvent.MOUSE_UP*/"mouseUp",BIND$(this,this.mouseUp));
		}

		__proto__.returnWelcome=function(e){
			this.dpo.visible=this.btnBack.visible=this.rankName.visible=this.rankScore.visible=false;
			this.dpo.bitmapData.dispose();
			this.dpo.bitmapData=null;
			this.welcomeFunc();
		}

		STATICATTR$(GameRank,
		['RankBmp',function(){return this.RankBmp=GameRank_RankBmp;}
		]);
		return GameRank;
	})(Sprite)


	//file:///d:/projects/layadocument/pandarun/src/game/achieve_bgbmp.as
	var Achieve_BgBmp=/*game.Achieve_BgBmp*/(function(_super){
		function Achieve_BgBmp(){
			Achieve_BgBmp._SUPERC_.call(this);
		}

		CLASS$(Achieve_BgBmp,'game.Achieve_BgBmp',true,false,_super);
		return Achieve_BgBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/achieve_closebutton.as
	var Achieve_CloseButton=/*game.Achieve_CloseButton*/(function(_super){
		function Achieve_CloseButton(){
			Achieve_CloseButton._SUPERC_.call(this);
		}

		CLASS$(Achieve_CloseButton,'game.Achieve_CloseButton',true,false,_super);
		return Achieve_CloseButton;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/achieve_epicescape.as
	var Achieve_EpicEscape=/*game.Achieve_EpicEscape*/(function(_super){
		function Achieve_EpicEscape(){
			Achieve_EpicEscape._SUPERC_.call(this);
		}

		CLASS$(Achieve_EpicEscape,'game.Achieve_EpicEscape',true,false,_super);
		return Achieve_EpicEscape;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/achieve_epicescapeintro.as
	var Achieve_EpicEscapeIntro=/*game.Achieve_EpicEscapeIntro*/(function(_super){
		function Achieve_EpicEscapeIntro(){
			Achieve_EpicEscapeIntro._SUPERC_.call(this);
		}

		CLASS$(Achieve_EpicEscapeIntro,'game.Achieve_EpicEscapeIntro',true,false,_super);
		return Achieve_EpicEscapeIntro;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/achieve_expertshooter.as
	var Achieve_ExpertShooter=/*game.Achieve_ExpertShooter*/(function(_super){
		function Achieve_ExpertShooter(){
			Achieve_ExpertShooter._SUPERC_.call(this);
		}

		CLASS$(Achieve_ExpertShooter,'game.Achieve_ExpertShooter',true,false,_super);
		return Achieve_ExpertShooter;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/achieve_expertshooterintro.as
	var Achieve_ExpertShooterIntro=/*game.Achieve_ExpertShooterIntro*/(function(_super){
		function Achieve_ExpertShooterIntro(){
			Achieve_ExpertShooterIntro._SUPERC_.call(this);
		}

		CLASS$(Achieve_ExpertShooterIntro,'game.Achieve_ExpertShooterIntro',true,false,_super);
		return Achieve_ExpertShooterIntro;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/achieve_kungfupanda.as
	var Achieve_KungfuPanda=/*game.Achieve_KungfuPanda*/(function(_super){
		function Achieve_KungfuPanda(){
			Achieve_KungfuPanda._SUPERC_.call(this);
		}

		CLASS$(Achieve_KungfuPanda,'game.Achieve_KungfuPanda',true,false,_super);
		return Achieve_KungfuPanda;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/achieve_kungfupandaintro.as
	var Achieve_KungfuPandaIntro=/*game.Achieve_KungfuPandaIntro*/(function(_super){
		function Achieve_KungfuPandaIntro(){
			Achieve_KungfuPandaIntro._SUPERC_.call(this);
		}

		CLASS$(Achieve_KungfuPandaIntro,'game.Achieve_KungfuPandaIntro',true,false,_super);
		return Achieve_KungfuPandaIntro;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/achieve_marathon.as
	var Achieve_Marathon=/*game.Achieve_Marathon*/(function(_super){
		function Achieve_Marathon(){
			Achieve_Marathon._SUPERC_.call(this);
		}

		CLASS$(Achieve_Marathon,'game.Achieve_Marathon',true,false,_super);
		return Achieve_Marathon;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/achieve_marathonintro.as
	var Achieve_MarathonIntro=/*game.Achieve_MarathonIntro*/(function(_super){
		function Achieve_MarathonIntro(){
			Achieve_MarathonIntro._SUPERC_.call(this);
		}

		CLASS$(Achieve_MarathonIntro,'game.Achieve_MarathonIntro',true,false,_super);
		return Achieve_MarathonIntro;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/achieve_millionaire.as
	var Achieve_Millionaire=/*game.Achieve_Millionaire*/(function(_super){
		function Achieve_Millionaire(){
			Achieve_Millionaire._SUPERC_.call(this);
		}

		CLASS$(Achieve_Millionaire,'game.Achieve_Millionaire',true,false,_super);
		return Achieve_Millionaire;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/achieve_millionaireintro.as
	var Achieve_MillionaireIntro=/*game.Achieve_MillionaireIntro*/(function(_super){
		function Achieve_MillionaireIntro(){
			Achieve_MillionaireIntro._SUPERC_.call(this);
		}

		CLASS$(Achieve_MillionaireIntro,'game.Achieve_MillionaireIntro',true,false,_super);
		return Achieve_MillionaireIntro;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/achieve_pieceofcake.as
	var Achieve_PieceOfCake=/*game.Achieve_PieceOfCake*/(function(_super){
		function Achieve_PieceOfCake(){
			Achieve_PieceOfCake._SUPERC_.call(this);
		}

		CLASS$(Achieve_PieceOfCake,'game.Achieve_PieceOfCake',true,false,_super);
		return Achieve_PieceOfCake;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/achieve_pieceofcakeintro.as
	var Achieve_PieceOfCakeIntro=/*game.Achieve_PieceOfCakeIntro*/(function(_super){
		function Achieve_PieceOfCakeIntro(){
			Achieve_PieceOfCakeIntro._SUPERC_.call(this);
		}

		CLASS$(Achieve_PieceOfCakeIntro,'game.Achieve_PieceOfCakeIntro',true,false,_super);
		return Achieve_PieceOfCakeIntro;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/board_boardbmp.as
	var Board_BoardBmp=/*game.Board_BoardBmp*/(function(_super){
		function Board_BoardBmp(){
			Board_BoardBmp._SUPERC_.call(this);
		}

		CLASS$(Board_BoardBmp,'game.Board_BoardBmp',true,false,_super);
		return Board_BoardBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/enemy_effbmp.as
	var Enemy_EffBmp=/*game.Enemy_EffBmp*/(function(_super){
		function Enemy_EffBmp(){
			Enemy_EffBmp._SUPERC_.call(this);
		}

		CLASS$(Enemy_EffBmp,'game.Enemy_EffBmp',true,false,_super);
		return Enemy_EffBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/enemy_monsterbmp.as
	var Enemy_MonsterBmp=/*game.Enemy_MonsterBmp*/(function(_super){
		function Enemy_MonsterBmp(){
			Enemy_MonsterBmp._SUPERC_.call(this);
		}

		CLASS$(Enemy_MonsterBmp,'game.Enemy_MonsterBmp',true,false,_super);
		return Enemy_MonsterBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/food_effectbmp.as
	var Food_EffectBmp=/*game.Food_EffectBmp*/(function(_super){
		function Food_EffectBmp(){
			Food_EffectBmp._SUPERC_.call(this);
		}

		CLASS$(Food_EffectBmp,'game.Food_EffectBmp',true,false,_super);
		return Food_EffectBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/food_foodbmp.as
	var Food_FoodBmp=/*game.Food_FoodBmp*/(function(_super){
		function Food_FoodBmp(){
			Food_FoodBmp._SUPERC_.call(this);
		}

		CLASS$(Food_FoodBmp,'game.Food_FoodBmp',true,false,_super);
		return Food_FoodBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/ground_bg1bmp.as
	var Ground_BG1Bmp=/*game.Ground_BG1Bmp*/(function(_super){
		function Ground_BG1Bmp(){
			Ground_BG1Bmp._SUPERC_.call(this);
		}

		CLASS$(Ground_BG1Bmp,'game.Ground_BG1Bmp',true,false,_super);
		return Ground_BG1Bmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/ground_bg1bmp2.as
	var Ground_BG1Bmp2=/*game.Ground_BG1Bmp2*/(function(_super){
		function Ground_BG1Bmp2(){
			Ground_BG1Bmp2._SUPERC_.call(this);
		}

		CLASS$(Ground_BG1Bmp2,'game.Ground_BG1Bmp2',true,false,_super);
		return Ground_BG1Bmp2;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/ground_bg2bmp.as
	var Ground_BG2Bmp=/*game.Ground_BG2Bmp*/(function(_super){
		function Ground_BG2Bmp(){
			Ground_BG2Bmp._SUPERC_.call(this);
		}

		CLASS$(Ground_BG2Bmp,'game.Ground_BG2Bmp',true,false,_super);
		return Ground_BG2Bmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/ground_bg2bmp2.as
	var Ground_BG2Bmp2=/*game.Ground_BG2Bmp2*/(function(_super){
		function Ground_BG2Bmp2(){
			Ground_BG2Bmp2._SUPERC_.call(this);
		}

		CLASS$(Ground_BG2Bmp2,'game.Ground_BG2Bmp2',true,false,_super);
		return Ground_BG2Bmp2;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/ground_bg3bmp.as
	var Ground_BG3Bmp=/*game.Ground_BG3Bmp*/(function(_super){
		function Ground_BG3Bmp(){
			Ground_BG3Bmp._SUPERC_.call(this);
		}

		CLASS$(Ground_BG3Bmp,'game.Ground_BG3Bmp',true,false,_super);
		return Ground_BG3Bmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/ground_bg3bmp2.as
	var Ground_BG3Bmp2=/*game.Ground_BG3Bmp2*/(function(_super){
		function Ground_BG3Bmp2(){
			Ground_BG3Bmp2._SUPERC_.call(this);
		}

		CLASS$(Ground_BG3Bmp2,'game.Ground_BG3Bmp2',true,false,_super);
		return Ground_BG3Bmp2;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/ground_flowerbmp.as
	var Ground_FlowerBmp=/*game.Ground_FlowerBmp*/(function(_super){
		function Ground_FlowerBmp(){
			Ground_FlowerBmp._SUPERC_.call(this);
		}

		CLASS$(Ground_FlowerBmp,'game.Ground_FlowerBmp',true,false,_super);
		return Ground_FlowerBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/ground_flowerbmp2.as
	var Ground_FlowerBmp2=/*game.Ground_FlowerBmp2*/(function(_super){
		function Ground_FlowerBmp2(){
			Ground_FlowerBmp2._SUPERC_.call(this);
		}

		CLASS$(Ground_FlowerBmp2,'game.Ground_FlowerBmp2',true,false,_super);
		return Ground_FlowerBmp2;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/ground_grassbmp.as
	var Ground_GrassBmp=/*game.Ground_GrassBmp*/(function(_super){
		function Ground_GrassBmp(){
			Ground_GrassBmp._SUPERC_.call(this);
		}

		CLASS$(Ground_GrassBmp,'game.Ground_GrassBmp',true,false,_super);
		return Ground_GrassBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/ground_grassbmp2.as
	var Ground_GrassBmp2=/*game.Ground_GrassBmp2*/(function(_super){
		function Ground_GrassBmp2(){
			Ground_GrassBmp2._SUPERC_.call(this);
		}

		CLASS$(Ground_GrassBmp2,'game.Ground_GrassBmp2',true,false,_super);
		return Ground_GrassBmp2;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/ground_tree1bmp.as
	var Ground_Tree1Bmp=/*game.Ground_Tree1Bmp*/(function(_super){
		function Ground_Tree1Bmp(){
			Ground_Tree1Bmp._SUPERC_.call(this);
		}

		CLASS$(Ground_Tree1Bmp,'game.Ground_Tree1Bmp',true,false,_super);
		return Ground_Tree1Bmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/ground_tree1bmp2.as
	var Ground_Tree1Bmp2=/*game.Ground_Tree1Bmp2*/(function(_super){
		function Ground_Tree1Bmp2(){
			Ground_Tree1Bmp2._SUPERC_.call(this);
		}

		CLASS$(Ground_Tree1Bmp2,'game.Ground_Tree1Bmp2',true,false,_super);
		return Ground_Tree1Bmp2;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/ground_tree2bmp.as
	var Ground_Tree2Bmp=/*game.Ground_Tree2Bmp*/(function(_super){
		function Ground_Tree2Bmp(){
			Ground_Tree2Bmp._SUPERC_.call(this);
		}

		CLASS$(Ground_Tree2Bmp,'game.Ground_Tree2Bmp',true,false,_super);
		return Ground_Tree2Bmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/ground_tree2bmp2.as
	var Ground_Tree2Bmp2=/*game.Ground_Tree2Bmp2*/(function(_super){
		function Ground_Tree2Bmp2(){
			Ground_Tree2Bmp2._SUPERC_.call(this);
		}

		CLASS$(Ground_Tree2Bmp2,'game.Ground_Tree2Bmp2',true,false,_super);
		return Ground_Tree2Bmp2;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/help_btnbackbmp.as
	var Help_BtnBackBmp=/*game.Help_BtnBackBmp*/(function(_super){
		function Help_BtnBackBmp(){
			Help_BtnBackBmp._SUPERC_.call(this);
		}

		CLASS$(Help_BtnBackBmp,'game.Help_BtnBackBmp',true,false,_super);
		return Help_BtnBackBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/help_helpbmp1.as
	var Help_HelpBmp1=/*game.Help_HelpBmp1*/(function(_super){
		function Help_HelpBmp1(){
			Help_HelpBmp1._SUPERC_.call(this);
		}

		CLASS$(Help_HelpBmp1,'game.Help_HelpBmp1',true,false,_super);
		return Help_HelpBmp1;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/help_helpbmp2.as
	var Help_HelpBmp2=/*game.Help_HelpBmp2*/(function(_super){
		function Help_HelpBmp2(){
			Help_HelpBmp2._SUPERC_.call(this);
		}

		CLASS$(Help_HelpBmp2,'game.Help_HelpBmp2',true,false,_super);
		return Help_HelpBmp2;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/panda_flyeffbmp.as
	var Panda_FlyEffBmp=/*game.Panda_FlyEffBmp*/(function(_super){
		function Panda_FlyEffBmp(){
			Panda_FlyEffBmp._SUPERC_.call(this);
		}

		CLASS$(Panda_FlyEffBmp,'game.Panda_FlyEffBmp',true,false,_super);
		return Panda_FlyEffBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/panda_pandabmp.as
	var Panda_PandaBmp=/*game.Panda_PandaBmp*/(function(_super){
		function Panda_PandaBmp(){
			Panda_PandaBmp._SUPERC_.call(this);
		}

		CLASS$(Panda_PandaBmp,'game.Panda_PandaBmp',true,false,_super);
		return Panda_PandaBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/panda_speedeffbmp.as
	var Panda_SpeedEffBmp=/*game.Panda_SpeedEffBmp*/(function(_super){
		function Panda_SpeedEffBmp(){
			Panda_SpeedEffBmp._SUPERC_.call(this);
		}

		CLASS$(Panda_SpeedEffBmp,'game.Panda_SpeedEffBmp',true,false,_super);
		return Panda_SpeedEffBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/scene_spdupbmp.as
	var Scene_SpdUpBmp=/*game.Scene_SpdUpBmp*/(function(_super){
		function Scene_SpdUpBmp(){
			Scene_SpdUpBmp._SUPERC_.call(this);
		}

		CLASS$(Scene_SpdUpBmp,'game.Scene_SpdUpBmp',true,false,_super);
		return Scene_SpdUpBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/game/smoke_boardbmp.as
	var Smoke_BoardBmp=/*game.Smoke_BoardBmp*/(function(_super){
		function Smoke_BoardBmp(){
			Smoke_BoardBmp._SUPERC_.call(this);
		}

		CLASS$(Smoke_BoardBmp,'game.Smoke_BoardBmp',true,false,_super);
		return Smoke_BoardBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/about_aboutbmp.as
	var About_AboutBmp=/*ui.About_AboutBmp*/(function(_super){
		function About_AboutBmp(){
			About_AboutBmp._SUPERC_.call(this);
		}

		CLASS$(About_AboutBmp,'ui.About_AboutBmp',true,false,_super);
		return About_AboutBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/gameover_btnbamboobmp.as
	var GameOver_BtnBambooBmp=/*ui.GameOver_BtnBambooBmp*/(function(_super){
		function GameOver_BtnBambooBmp(){
			GameOver_BtnBambooBmp._SUPERC_.call(this);
		}

		CLASS$(GameOver_BtnBambooBmp,'ui.GameOver_BtnBambooBmp',true,false,_super);
		return GameOver_BtnBambooBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/gameover_overbmp.as
	var GameOver_OverBmp=/*ui.GameOver_OverBmp*/(function(_super){
		function GameOver_OverBmp(){
			GameOver_OverBmp._SUPERC_.call(this);
		}

		CLASS$(GameOver_OverBmp,'ui.GameOver_OverBmp',true,false,_super);
		return GameOver_OverBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/gamerank_rankbmp.as
	var GameRank_RankBmp=/*ui.GameRank_RankBmp*/(function(_super){
		function GameRank_RankBmp(){
			GameRank_RankBmp._SUPERC_.call(this);
		}

		CLASS$(GameRank_RankBmp,'ui.GameRank_RankBmp',true,false,_super);
		return GameRank_RankBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/gameui_attackbtn.as
	var GameUI_AttackBtn=/*ui.GameUI_AttackBtn*/(function(_super){
		function GameUI_AttackBtn(){
			GameUI_AttackBtn._SUPERC_.call(this);
		}

		CLASS$(GameUI_AttackBtn,'ui.GameUI_AttackBtn',true,false,_super);
		return GameUI_AttackBtn;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/gameui_btnarea1.as
	var GameUI_BtnArea1=/*ui.GameUI_BtnArea1*/(function(_super){
		function GameUI_BtnArea1(){
			GameUI_BtnArea1._SUPERC_.call(this);
		}

		CLASS$(GameUI_BtnArea1,'ui.GameUI_BtnArea1',true,false,_super);
		return GameUI_BtnArea1;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/gameui_btnarea2.as
	var GameUI_BtnArea2=/*ui.GameUI_BtnArea2*/(function(_super){
		function GameUI_BtnArea2(){
			GameUI_BtnArea2._SUPERC_.call(this);
		}

		CLASS$(GameUI_BtnArea2,'ui.GameUI_BtnArea2',true,false,_super);
		return GameUI_BtnArea2;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/gameui_flybtn.as
	var GameUI_FlyBtn=/*ui.GameUI_FlyBtn*/(function(_super){
		function GameUI_FlyBtn(){
			GameUI_FlyBtn._SUPERC_.call(this);
		}

		CLASS$(GameUI_FlyBtn,'ui.GameUI_FlyBtn',true,false,_super);
		return GameUI_FlyBtn;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/gameui_headerbmp.as
	var GameUI_HeaderBmp=/*ui.GameUI_HeaderBmp*/(function(_super){
		function GameUI_HeaderBmp(){
			GameUI_HeaderBmp._SUPERC_.call(this);
		}

		CLASS$(GameUI_HeaderBmp,'ui.GameUI_HeaderBmp',true,false,_super);
		return GameUI_HeaderBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/gameui_itemshinebmp.as
	var GameUI_ItemShineBmp=/*ui.GameUI_ItemShineBmp*/(function(_super){
		function GameUI_ItemShineBmp(){
			GameUI_ItemShineBmp._SUPERC_.call(this);
		}

		CLASS$(GameUI_ItemShineBmp,'ui.GameUI_ItemShineBmp',true,false,_super);
		return GameUI_ItemShineBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/gameui_jumpbtn.as
	var GameUI_JumpBtn=/*ui.GameUI_JumpBtn*/(function(_super){
		function GameUI_JumpBtn(){
			GameUI_JumpBtn._SUPERC_.call(this);
		}

		CLASS$(GameUI_JumpBtn,'ui.GameUI_JumpBtn',true,false,_super);
		return GameUI_JumpBtn;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/gameui_num1bmp.as
	var GameUI_Num1Bmp=/*ui.GameUI_Num1Bmp*/(function(_super){
		function GameUI_Num1Bmp(){
			GameUI_Num1Bmp._SUPERC_.call(this);
		}

		CLASS$(GameUI_Num1Bmp,'ui.GameUI_Num1Bmp',true,false,_super);
		return GameUI_Num1Bmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/gameui_num2bmp.as
	var GameUI_Num2Bmp=/*ui.GameUI_Num2Bmp*/(function(_super){
		function GameUI_Num2Bmp(){
			GameUI_Num2Bmp._SUPERC_.call(this);
		}

		CLASS$(GameUI_Num2Bmp,'ui.GameUI_Num2Bmp',true,false,_super);
		return GameUI_Num2Bmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/gameui_num3bmp.as
	var GameUI_Num3Bmp=/*ui.GameUI_Num3Bmp*/(function(_super){
		function GameUI_Num3Bmp(){
			GameUI_Num3Bmp._SUPERC_.call(this);
		}

		CLASS$(GameUI_Num3Bmp,'ui.GameUI_Num3Bmp',true,false,_super);
		return GameUI_Num3Bmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/gameui_panel.as
	var GameUI_Panel=/*ui.GameUI_Panel*/(function(_super){
		function GameUI_Panel(){
			GameUI_Panel._SUPERC_.call(this);
		}

		CLASS$(GameUI_Panel,'ui.GameUI_Panel',true,false,_super);
		return GameUI_Panel;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/gameui_pausebmp.as
	var GameUI_PauseBmp=/*ui.GameUI_PauseBmp*/(function(_super){
		function GameUI_PauseBmp(){
			GameUI_PauseBmp._SUPERC_.call(this);
		}

		CLASS$(GameUI_PauseBmp,'ui.GameUI_PauseBmp',true,false,_super);
		return GameUI_PauseBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/gameui_spbmp.as
	var GameUI_SPBmp=/*ui.GameUI_SPBmp*/(function(_super){
		function GameUI_SPBmp(){
			GameUI_SPBmp._SUPERC_.call(this);
		}

		CLASS$(GameUI_SPBmp,'ui.GameUI_SPBmp',true,false,_super);
		return GameUI_SPBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/store_storebmp.as
	var Store_StoreBmp=/*ui.Store_StoreBmp*/(function(_super){
		function Store_StoreBmp(){
			Store_StoreBmp._SUPERC_.call(this);
		}

		CLASS$(Store_StoreBmp,'ui.Store_StoreBmp',true,false,_super);
		return Store_StoreBmp;
	})(BitmapAsset)


	//file:///d:/projects/layadocument/pandarun/src/ui/welcome_startbmp.as
	var Welcome_StartBmp=/*ui.Welcome_StartBmp*/(function(_super){
		function Welcome_StartBmp(){
			Welcome_StartBmp._SUPERC_.call(this);
		}

		CLASS$(Welcome_StartBmp,'ui.Welcome_StartBmp',true,false,_super);
		return Welcome_StartBmp;
	})(BitmapAsset)


	iflash.net.classDic={};
	window.Fns = {};
	vo.frameDelay;
	iflash.utils.flash_proxy=null;
	vo.gameTime;
	LAYABOX.initClass([Browser,FlexBitmap,BitmapAsset,NameUtil,BitmapClip]);
	Laya.Main(function(){IFlash.Start();IFlash.Run(new Game(),-1,-1);});

//})(window,document,window.layaModule);
