I have a Flash AS2 application that is made up of many SWF files. I need to create an OnClick event in a container SWF that will work for every SWF called. I am trying to avoid adding code to every SWF (over 100).
Currently I can get access to the click in the container for the first SWF but when the second SWF is called it seems to overwrite the container.
this._lockroot = true;
this.onMouseUp = function(){
//if not on login
getURL("javascript:clickTest();");
};
//load swf
loadMovie("test.swf","_level2");
How do I make where a click in the container will be triggered even if the SWF inside the container calls another SWF?
This seemed so simple but has been a nightmare. Is it even possible?