e nel clip metti questo codice:
codice:
//----------------------- DESTRA E SINISTRA ------------------------------
onClipEvent (enterFrame) {
if(Key.isDown(Key.RIGHT)){ //D E S T R A
this._x+=15;} //VELOCITA' DESTRA
if(Key.isDown(Key.LEFT)){ //S I N I S T R A
this._x-=15;} //velocita verso sinistra
//--------------------- SU E GIU -------------------------------------------------------
if(Key.isDown(Key.UP)){ // S U
this._y-=15;} //velocità su
if(Key.isDown(Key.DOWN)){ // G I U
this._y+=15;} // VELOCITA' VERSO G I U
}
au revoir
by max