I have one swf whose sole purpose is the loading of another swf and showing the progress of that load. There's currently a textfield in the fla which I use just to see progress and status of the load. The embedded code for it is as follows:
---------------------------------------- var loader:Loader = new Loader(); var ctxt:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain); loader.contentLoaderInfo.addEventListener("securityError", onLoaderError); loader.contentLoaderInfo.addEventListener("ioError", onLoaderError); loader.contentLoaderInfo.addEventListener("progress", onProgress); loader.contentLoaderInfo.addEventListener("init", onProgress); loader.load(new URLRequest("swf/frame.swf"),ctxt); addChild(loader); tError.text = ""; function onProgress(event:Event):void { tError.text = event.type + " " + event.target.bytesLoaded + ":" + event.target.bytesTotal; } function onLoaderError(event:Event):void { tError.text = "Load Failed: " + event.type; } ---------------------------------------- The frame.swf is 31000 bytes. At the moment, the only thing that shows up is: progress 31000:31000 annnnd...nothing. No init, and when I had a completeHandler before, no complete. For that matter, the fact that it just automatically goes to 31000:31000, with no in between steps has me a bit suspicious. I'm updated to the latest Flash Player 9 with the security settings correctly permitting access. Any ideas/insights into something I've missed? _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com