if your movies are loaded into your main.swf, the movies have access to
classes and _root variable. So, you can use singleton, and call static
methods of classes defined in your main.swf from your games.swf.

Maybe, you can also give a look at <exclude.xml> They prevent the code of
your classes of being duplicated in main.swf and games.swf.

http://www.google.com/search?hl=pt-BR&q=exclude.xml+actionscript+classes&btnG=Pesquisar&meta=

[]'s
andrei


On 6/17/07, August Gresens <[EMAIL PROTECTED]> wrote:

Hello

Simple, quick question....

We are building a game that contains "mini games". We want to create the
mini games as separate swf files to load into our main swf.

We need the mini game swfs to send a message to the main swf that it has
finished.

>From reading the docs, one way to do this is by using the LocalConnection
method.

Is this the preferred method of doing this kind of thing? Or is there
another way?

Thanks,

August

--
---------------------------------------------------------
--------------------------------------------------------

August Gresens
Technical Director
Black Hammer Productions, NYC
[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