Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/05/2004, 05:09
mooguel
 
Fecha de Ingreso: diciembre-2002
Mensajes: 102
Antigüedad: 21 años, 3 meses
Puntos: 0
cómo reflejar horizontalmente un clip?

HOLA A TODOS
tengo este script para mover un muñeco con las flechas del cursor. consigo q se mueva hacia la izda y dcha, pero me gustaría que cuando se moviera hacia la izda, la película q tiene este script se reflejara horizontalmente, para que la orientación de la cara del muñeco fuera hacia la izda.
alguien sabe como hacer esto? no encuentro ninguna propiedad que lo haga
muchas gracias!!





onClipEvent (load) {
// sets initial speed
speed = 5;
}
onClipEvent (enterFrame) {
// Check for keys that are pressed, set direction and rotation
if (Key.isDown(Key.RIGHT) && !Key.isDown(Key.LEFT)) {
_x += speed;
_rotation = 0;
}

if (Key.isDown(Key.LEFT) && !Key.isDown(Key.RIGHT)) {
_x -= speed;
_rotation = 0;