hello all!,
i have a main movie clip with this code:
onClipEvent (enterFrame) {
this.onRollOver = function() {
gotoAndPlay("Over");
_root.BTN_Over_Sound.start();
};
this.onRollOut = function() {
gotoAndPlay("Out");
};
this.onPress = function() {
_root.BTN_Click_Sound.start();
};
}
inside that mc i have 9 buttons they are also movie clips with the following code:
onClipEvent (load) {
var pressed = !true;
}
onClipEvent (enterFrame) {
var Mousex = _root._xmouse;
var Mousey = _root._ymouse;
if (this.hitTest(Mousex, Mousey) && pressed == !true) {
_root.BTN_Over_Sound.start();
pressed = true;
}
if (!this.hitTest(Mousex, Mousey) && pressed == true) {
pressed = !true;
}
}
on (release) {
getURL("http://www.google.com");
}
and for somr reason the getURL part is not working…:diss:
i’ve tried to do it with a function but when using a function all the buttons
are being activated instead of just the one i clicked
im using flash 8 maybe someone could help out here?
thanks a lot for looking guys…