Keith Reinfeld wrote:

> Have you tried calling the static function indirectly?
>
> // In the swf you are loading
> public function callInitAssets():void{
>        trace("\nLoadee:: callInitAssets() called");
>        initAssets();
> }
>
> // In the swf you are loading into
> private function handleLoadComplete(e:Event):void{
>        _assetLib = e.target.loader.contentLoaderInfo.content as MovieClip;
>        trace("_assetLib =",_assetLib);
>        _assetLib.callInitAssets();
> }


Thanks, Keith. I'll try that.

And thanks, Juan and John. I'll try some things, but at the moment I'm
leaning towards John's suggestion that the method isn't being compiled into
the class. I've looked at the class in the debugger, and I can see all the
public vars, but not the function. Juan, I'm assuming this is equivalent to
using describe as you suggested.

I'll try adding a call to the method in the class's constructor and see what
happens. I'll let you know what I find out.

Cordially,

Kerry Thompson
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to