Ktu wrote: try using describeType() to find out whats in the class and if the method > has been compiled > > pEvent.target is a ContentLoaderInfo object right? You are using a Loader > object to load the swf right? >
Yes, pEvent.target is a ContentLoaderInfo object. I'm downloading the swf with this: private function loadSwf():void { var urlRequest:URLRequest = new URLRequest(url); loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, handleLoadComplete); loader.load(urlRequest); } and, in the handleLoadComplete handler, I'm getting the class with this: pEvent.target.applicationDomain.getDefinition("AssetLibrary") as Class; describeType() gives me some XML, but I don't see any of my public vars or functions in it. Now I'm really confused, because I can see all my public vars in the debugger, but not the public function. In the XML produced by describeType(), I don't see much of anything I'm expecting. The only methods it lists are the inherited public events. Cordially, Kerry Thompson _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders