Ver Mensaje Individual
  #34 (permalink)  
Antiguo 11/12/2001, 16:16
Chefi
 
Fecha de Ingreso: mayo-2001
Mensajes: 6
Antigüedad: 22 años, 11 meses
Puntos: 0
Re: Hagamos un TUTORIAL aqui mismo!!!!!

Bien, pondre mi granito de arena.
Mover MC con arrows keys.

1.- Crear el moviclip que deseamos mover.

2.- Seleccionar moviclip ( sin entrar dentro de el) y añadir el siguiente codigo (en la ventana de acciones):


onClipEvent (enterFrame) {
if (Key.isDown(key.Up)) {
_y -= 5;
}
if (Key.isDown(key.Down)) {
_y += 5;
}
if (Key.isDown(key.Left)) {
_x-= 5;
}
if (Key.isDown(key.Right)) {
_x+= 5;
}
}