onClipEvent (keyDown ){
switch (Key.getCode()) {
case Key.RIGHT :
_root.pz_1._rotation = _root.pz_1._x * 180.15;
break;
case Key.DOWN :
_root.pz_1._rotation = _root.pz_1._x * 180.15*2;
break;
case Key.LEFT:
_root.pz_1._rotation = _root.pz_1._x * 180.16*3;
break;
case Key.UP :
_root.pz_1._rotation = _root.pz_1._x * 0;
break;
}
}
onClipEvent (mouseDown){
if(this.hitTest(_root._xmouse , _root._ymouse , false)){
this.startDrag();
this._alpha=50;
}
}
onClipEvent(mouseUp){
this.stopDrag();
this._alpha=100;
}
como le puedo hacer para que solo cuando seleccione cada pieza me haga estas acciones (me gire esa pieza)
necesito su ayuda porfavor!!!!
