onMouseDown problems


my stage has two buttons on it named button1_mc and button2_mc with there identifier name set accordingly.

I have the actionscript

button1_mc.onMouseDown = function() {
getURL ("http://www.google.com", "_self")

button2_mc.onMouseDown = function() {
getURL ("http://www.newegg.com", "_self")

in my actions layer

the problem that is occuring is that clicking on each button ends up with a random opening of newegg or google. I can click button1 and sometimes it will open newegg and vice-versa.

I have also tried applying the correct code to the individual mc’s with onClipEvent.onMouseDown and the same thing occurs

any help would be appreciated.