Return to Snippet

Revision: 25935
at April 14, 2010 09:28 by adrianparr


Initial Code
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);
}

Initial URL

                                

Initial Description

                                

Initial Title
AS3 Trace LoaderInfo Properties

Initial Tags

                                

Initial Language
ActionScript 3