Frame 1
function sendCommand(command, params) {
var _local3 = new LocalConnection();
var _local2 = _local3.send("rec_" + _root.sandboxID, "receiveEvent", command, params);
output = (("sendevent(" + event) + ") = ") + _local2;
return(response);
}
System.security.allowDomain("*");
if (_root.debug) {
output = "testsandbox = " + String(flash.external.ExternalInterface.call("testSandbox", "onload()"));
}
var receiving_lc = new LocalConnection();
receiving_lc.allowDomain = function (sd) {
return(true);
};
receiving_lc.sendEvent = function (event, params) {
js_response = flash.external.ExternalInterface.call("sandboxEvent", event, params);
output = (("sendevent(" + event) + ") = ") + js_response;
return(js_response);
};
receiving_lc.connect(_root.sandboxID);
flash.external.ExternalInterface.addCallback("sendCommand", this, sendCommand);
Symbol 2 MovieClip Frame 10
stop();