![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
14/08/2003, 11:47
|
| | Fecha de Ingreso: abril-2002 Ubicación: Montevideo
Mensajes: 188
Antigüedad: 22 años, 9 meses Puntos: 0 | |
aa ahora comprendo que es lo que quieres hacer, dando a la tecla solo una vez que se ejecute la animación..¿no?
creo que esto si:
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT) && this._x<=490) {
i = 0;
}
if (i == 0) {
this._x += 2;
}
if (this._x>=490) {
i = 1;
}
}
salute |