Ver Mensaje Individual
  #7 (permalink)  
Antiguo 07/05/2004, 05:16
Federico
 
Fecha de Ingreso: marzo-2003
Mensajes: 83
Antigüedad: 21 años
Puntos: 0
El codigo que tengo es este:

on (press) {

//Start Dragging Movieclip Behavior
startDrag(this);
//End Behavior


}
on (release) {

//Stop Dragging Movieclip Behavior
stopDrag();
//End Behavior

}

onClipEvent (keyDown) {
if (Key.isDown( key.LEFT)) {
this._rotation-=Math.floor((Math.random()*3)-5)
}
if (Key.isDown( key.RIGHT)) {
this._rotation+=Math.floor((Math.random()*3)-5)
}
if (Key.isDown( key.DOWN)) {
this._width+=Math.floor((Math.random()*3)-5)
this._height+=Math.floor((Math.random()*3)-5)
}
if (Key.isDown( key.UP)) {
this._width+=Math.floor((Math.random()*3)+5)
this._height+=Math.floor((Math.random()*3)+5)
}
}

Y el .fla completo, si me das una direccion te lo envio