- First you will have to draw the character and if you want you can make a movment
- Second you will have to highlight the character and pres F8 to convert as a symbol
- Third then while you have the character highlighted you press F9 for the actions.
- Forth you will have to copy this action script below.
speed=7;
}
onClipEvent(enterFrame){
if(Key.isDown(Key.RIGHT)){
_x+=speed;
}
if(Key.isDown(Key.LEFT)){
_x-=speed;
}
if(Key.isDown(Key.DOWN)){
_y+=speed;
}
if(Key.isDown(Key.UP)){
_y-=speed;
}
}
No hay comentarios:
Publicar un comentario