myloader.load(urlRequest, new LoaderContext(false,
ApplicationDomain.currentDomain));

-- 



> From: Helmut Granda <[email protected]>
> Reply-To: Flash Coders List <[email protected]>
> Date: Thu, 12 Mar 2009 12:11:26 -0500
> To: Flashcoders mailing list <[email protected]>
> Subject: [Flashcoders] GetDefenitionByName from loaded SWF
> 
> Hello All,
> I am trying to access properties from a child file. This is the set up:
> 
>> Parent
>>> loadedA.swf // gets loaded into Parent
>>> loadedB.swf // gets loaded into Parent
> 
> Parent has a static class called "ParentClass" and it has about 10 mutators
> that I want to access through the child movies being loaded (loadedA,
> loadedB).
> 
> After the files are being loaded I am using ApplicationDomain to let the
> child movies know where ParentClass lives since they do not get added to the
> display list until later but they need information that the ParentClass have
> to work properly and that is why they do have access to it.
> 
> So like I said, the child movies have access to ParentClass but all the
> properties return undefined or null.
> 
> Anyone has any recommendations?
> 
> TIA
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Advertising Age Global Agency of the Year 2008
Adweek Global Agency of the Year 2008


This e-mail is intended only for the named person or entity to which it is 
addressed and contains valuable 
business information that is proprietary, privileged, confidential and/or 
otherwise protected from disclosure.

If you received this e-mail in error, any review, use, dissemination, 
distribution or copying of this e-mail 
is strictly prohibited. Please notify us immediately of the error via e-mail to 
[email protected] and 
please delete the e-mail from your system, retaining no copies in any media. We 
appreciate your cooperation.

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

Reply via email to