Hi, Mike,

The list helped me out last time by pointing me to getDefinitionByName().
You can instantiate a class from the library of a loaded swf with this
method. There are some issues sometimes with loaded swfs, as discussed in a
previous post:

http://readlist.com/lists/chattyfig.figleaf.com/flashcoders/4/24322.html

I notice them myself when I used the BulkLoader class:
http://code.google.com/p/bulk-loader/
but not when I loaded swfs manually myself.

I suspect it has to do with the applicationDomain property mentioned the
flashcoders post above. Does anyone have more insight about how
getDefinitionByName() can "see" through a hierarchy?

-jonathan



On Tue, Jul 8, 2008 at 7:21 PM, Mike Grunwald <[EMAIL PROTECTED]>
wrote:

> Hello all,
>
> I'm new to AS3  and using multiple SWFs in an application. I'm used to AS2
> and 1 or 2 SWFs at max.
>
> I'm using the GAIA framework (not sure if you're all familiar) which seems
> to rock so far!, but I'm confused on a couple issues:
>
> I have a few SWFs that load into one another (i.e., main/index/nav/page1).
> I would like to load a remote asset library into the index.swf (since this
> page never unloads) and access the contents of the library from page1.swf
> (and page2, page3, etc.).
> I can get everything to load fine and all my movieclip classes are
> accessible from the SWF that I load the remote library into.
> I just can't figure out how to target them to create new instances through
> the page1.swf?
>
> Does that even make sense???
>
> Any help would be greatly appreciated.
> Thanks in advance,
> _mike g.
>
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
-jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME 04101
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to