Re: [Flashcoders] sending simple messages between swf files

2007-06-17 Thread Andrei Thomaz
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 They prevent the code of your classes of being duplic

[Flashcoders] sending simple messages between swf files

2007-06-17 Thread August Gresens
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