well, there is a not at all easy way to do what you want. In ActionScript 2.0 there is an object called LocalConnection that allows two SWF files to send instructions to each other, without external code snippets like javascript.
this litle example will show you how to communicate two differents swf files, even if they are openned in different windows.
CODE
// This is the reiciving swf:
//creation of the textfield to display what other swf tells
this.createTextField("info_txt", 1, 10, 10, 100, 22);
info_txt.border = true;
//definning the object local connection
var receiving_lc:LocalConnection = new LocalConnection();
receiving_lc.showInfo = function(n1:Number, n2:Number)
{
info_txt.text = n1+n2;
};
receiving_lc.connect("lc_name");
The following SWF file sends the request to the first SWF file.
// the sending SWF:
var sending_lc:LocalConnection = new LocalConnection();
sending_lc.send("lc_name", "showInfo", 5, 7);
ok, as you see, you make your two swf files, one that reicives information, and one that sends it. first, in the reiciving swf you define a LocalConnection object configured to recieve information and do something with it with the functions you define, note that you can add the amount of functions that you want. After you would define the chanel in which the swfs will communicate, you make it with -receiving_lc.connect("lc_name"); -line
Now you have the reiciving swf, but you need the swf who will tell the reiciving swf what to do, in the code are two single lines that make that, and it's not hard to understand, first you define a sending localConnection object, and then tell it that communicate with other swf in a common channel, in this case the same channel for the reiciving swf("lc_name"),and then invoke the method you want in the reiciving swf with its respective parameters to execute.
this is a basic usage of localconnection object, because it has more useful methods and features, like restrict which dns can acces to your swf and security options. May be you can find helpful the flash docummentation, just type LocalConnection, and press f1 key over it, and it will display the class deffinition with its methods descriptions.
i hope you find it useful!
Comment/Reply (w/o sign-up)