Skip to main content
Inspiring
October 25, 2008
Question

Button's not working

  • October 25, 2008
  • 1 reply
  • 294 views
This is the code I'm using:

antecedentes.addEventListener(MouseEvent.CLICK,GoToantecedentes3);
function GoToantecedentes3(e:Event):void {
gotoAndStop(7);
}

antecedentes.addEventListener(MouseEvent.MOUSE_OVER,GoToantecedentes);
function GoToantecedentes(e:Event):void {
gotoAndStop(2);
}

antecedentes.addEventListener(MouseEvent.MOUSE_OUT,GoToantecedentes2);
function GoToantecedentes2(e:Event):void {
gotoAndStop(1);
}

Over and out's working, but CLICK isn't taking me to Frame 7. Does anyone know why not?
This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
October 25, 2008
your code looks ok.