ActionScript 3 AS3 Trace LoaderInfo属性

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ActionScript 3 AS3 Trace LoaderInfo属性相关的知识,希望对你有一定的参考价值。

loaderInfo.addEventListener(Event.INIT, onLoaderInfo_INIT); 

function onLoaderInfo_INIT(event:Event):void
{
	loaderInfo.removeEventListener(Event.INIT, onLoaderInfo_INIT); 
	
	trace("loaderInfo.actionScriptVersion: "+loaderInfo.actionScriptVersion);
	trace("loaderInfo.applicationDomain: "+loaderInfo.applicationDomain);
	//trace("loaderInfo.bytes: "+loaderInfo.bytes);
	trace("loaderInfo.bytesLoaded: "+loaderInfo.bytesLoaded);
	trace("loaderInfo.bytesTotal: "+loaderInfo.bytesTotal);
	trace("loaderInfo.childAllowsParent: "+loaderInfo.childAllowsParent);
	//trace("loaderInfo.constructor: "+loaderInfo.constructor);
	trace("loaderInfo.content: "+loaderInfo.content);
	trace("loaderInfo.contentType: "+loaderInfo.contentType);
	trace("loaderInfo.frameRate: "+loaderInfo.frameRate);
	trace("loaderInfo.height: "+loaderInfo.height);
	trace("loaderInfo.loader: "+loaderInfo.loader);
	trace("loaderInfo.loaderURL: "+loaderInfo.loaderURL);
	trace("loaderInfo.parameters: "+loaderInfo.parameters);
	trace("loaderInfo.parentAllowsChild: "+loaderInfo.parentAllowsChild);
	//trace("loaderInfo.prototype: "+loaderInfo.prototype);
	trace("loaderInfo.sameDomain: "+loaderInfo.sameDomain);
	trace("loaderInfo.sharedEvents: "+loaderInfo.sharedEvents);
	trace("loaderInfo.swfVersion: "+loaderInfo.swfVersion);
	trace("loaderInfo.url: "+loaderInfo.url);
	trace("loaderInfo.width: "+loaderInfo.width);
}

以上是关于ActionScript 3 AS3 Trace LoaderInfo属性的主要内容,如果未能解决你的问题,请参考以下文章

ActionScript 3 AS3 SWFtrospection(as3swf)

ActionScript 3 AS3 TextField和StyleSheet示例(在ActionScript中创建)

[ActionScript 3.0] AS3.0 水面波纹效果

ActionScript 3 AS3:使用SWFObject2和AS3传递变量

ActionScript 3 克隆数组(AS3)

ActionScript 3 AS3序列化