Question
Button's not working
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?
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?