Hello, I was having problems when loading some external Flash 9 alpha compiled swf's into my AS3 project. I got a "cannot write to read-only property on global$init" error. Fixed it by using a new domain for every call in my loadExternal method. Is this the right way of doing things ?
public function loadExternal(file:String):void { loader = new Loader(); domain = new ApplicationDomain(); context = new LoaderContext(false, domain); loader.contentLoaderInfo.addEventListener(Event.INIT ,handleInit,false,0,true); loader.load( new URLRequest( file ),context ); } _______________________________________________ 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