/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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); }