Here is what I have a button with the same properties on up, over, down, hit. Then I go back to the timeline and I name the instance of the button the same as the button name. On the first frame of that button I add an 2.0 action with is this
on (release) {
getURL("http://www.example.com/", "_blank");
}
When I run the syntax checker it says this.
1087: Syntax error: extra characters found after end of program.
There are no hidden character as i have deleted all spaces and then replaced them. It was copied from stackoverflow.
I found out that I did not have it set to Action 2 in the publishing menu. That fixed the problem.