load the SWF into a mc with an instance name and then after its ready
mcinstance.method();

On 8/28/07, Eric Lee <[EMAIL PROTECTED]> wrote:
>
> Hey List,
>
>
>
> I'm have a swf that contains several functions, and I'm loading it into
> another swf like this:
>
>
>
> var ldr:Loader = new Loader();
> var url:String = "content.swf";
> var urlReq:URLRequest = new URLRequest(url);
> ldr.load(urlReq);
> addChild(ldr);
>
>
>
> When it try to access a function by saying ldr.content.testFunction();,
> it throws an error for the possibly undefined function. Same applies
> when I'm trying to access variables within the loaded swf.
>
>
>
> Is there a way for me to gain access to functions/variables in the
> loaded swf? Or is there a better strategy for me to organize my website
> structure?
>
>
>
> Thanks!
>
>
>
> -Eric
>
>
>
> [EMAIL PROTECTED]
>
> _______________________________________________
> [email protected]
> 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
>
_______________________________________________
[email protected]
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

Reply via email to