Im actually pretty experienced in AS3 but I’m a complete noob at AS2:
I have a button that opens a url like so:
buttonA.onPress = navToPageA;
function navToPageA() {
getURL("http://www.urlA.com", "_blank");
}
Then it was decided that clicking anywhere BUT that button should also take you to a URL:
_root.onMouseDown = navToPageB;
function navToPageB() {
getURL("http://www.urlB.com", "_blank");
}
The problem is, when someone clicks the button, it opens urlA AND urlB! The button should only open urlA and anywhere else should only open urlB.
I have an idea what is happening because I have experience with AS3, but I can not seem to find a fix for this in AS2!