Hi,

I'm not quite sure which Forum I should be writing about ActionScript in but can someone help me with this:

I have a client that created a banner for our company and the ActionScript always receives a error message once live on the web...

The Error code was Error#1009 - which refers to a Button Click...

Here is the script of embedded code she gave me.

// ActionScript 3.0 
/* Requires * - Button symbol on Stage with instance name "myButton" */
myButton.addEventListener(MouseEvent.CLICK, buttonSymbol_click);
function buttonSymbol_click(evt:MouseEvent):void {
var clickTAG:String = loaderInfo.parameters.clickTAG;
// Check for malicious code injections, only use URLs if they begin with http: or https:
if ((clickTAG.substr(0, 5) == "http:") || (clickTAG.substr(0, 6) == "https:"))
{ 
var req:URLRequest = new URLRequest(clickTAG);
navigateToURL(req, "_blank");
}


}

Pleas advise!

Thanks
-programmer12