add a public static var instance:ParentClass to the ParentClass file...

Then in the constructor, do instance = this;

Then you should be able to access everything by doing
ParentClass.instance.propertyName;

- Taka

On Thu, Mar 12, 2009 at 10:11 AM, Helmut Granda
<[email protected]> wrote:
> 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
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to