Ver Mensaje Individual
  #1 (permalink)  
Antiguo 04/07/2010, 09:52
peluca999
 
Fecha de Ingreso: julio-2010
Mensajes: 2
Antigüedad: 13 años, 10 meses
Puntos: 0
Error 1046 es AS3 (no puedo asignar acciones)

Hola me salta el error cuando le quiero dar una funcion a un boton.
Location : Symbol 'fondo color'
Description: 1046: type was not found or was not a compile-time constant: btnoti.
El btmusica me anda perfecto.

Este es el codigo

btmusica.addEventListener (MouseEvent.CLICK, musica);

function musica (e:Event):void {
gotoAndPlay("111");
}


btnoti.addEventListener (MouseEvent.CLICK, noti);

function noti (e:Event):void {
gotoAndPlay("125");
}
gracias..
JM