
10/02/2010, 14:26
|
| | Fecha de Ingreso: febrero-2010
Mensajes: 10
Antigüedad: 15 años Puntos: 0 | |
Respuesta: Consejos para boton AS3 RAD2_MC.addEventListener(MouseEvent.MOUSE_OVER, mouserad2);
function mouserad2(event:MouseEvent):void {
var timer:Timer=new Timer(1000,1);
timer.addEventListener(TimerEvent.TIMER, irFotograma);
timer.start();
RAD2_MC.addEventListener(MouseEvent.MOUSE_OUT, mouserad21);
function mouserad21(event:MouseEvent):void {
timer.stop();
}
}
function irFotograma(e:TimerEvent):void {
gotoAndPlay(20);
}
Aqui esta el resultado y totalmente funcional gracias por su ayuda |