Hi guys i know this is probably very easily answered. But i have been stumped for a hour or so now.

So the Syntax error code keeps coming up on two different bits of coding i put in both very simple coding as well on for a but to link to a website and the other is for a clicktag for a banner. Bits of code below. (im using cs5 if that makes a difference?)

on(release) {
getURL("http://www.yourURLhere.com");
}

on (release) {
if (clickTAG.substr(0,5) == "http:") {
getURL(clickTAG,"_blank");
}
}

Any help would be very appreciated as i am totally stumped and cant find any coding on the net that looks different from what i already have. Thanks!