isn't there a simpler method? why must I bother with php?

I want to set a variable within the same flash file - just a button so that later on the timeline the variable can be called.

Using Externalinterface.call to javascript it is very easy, why is it not easy from one frame to another in flash?

using Externalinterface.call I just use

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

btn10.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler24);
function mouseDownHandler24(event:MouseEvent):void {
var idx:int = MPclassical.playlist.selectedIndex;
var lbl:String = MPclassical.playlist.selectedItem.label;
var format:String = "Trk";
var gnre:String = "Classical";
var type:String = "media";
ExternalInterface.call("MediaStop", idx, lbl, format, type, gnre);
}

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

and the variables idx, lbl, format, type and gnre are set.

How can I do the same but instead of sending to javascript, just send to another frame in flash? how do I set up some kind of catch function?


appreciated