Buenas este es mi primer tema. sorry alguna molestia
esta es mi pregunta...
 
estoy asiendo un juego y e logrado que el moviclip se mueva y q al hacer colicion con otro objeto se detenga con el siguiente script:
 
 
velocidad = 20;
rotacion=1;
coche.onEnterFrame = function() {
	with (coche) {
 
			if (Key.isDown(Key.RIGHT)) {
			if (!(fondo.hitTest(coche.getBounds(_root).xMax+veloc  idad, coche.getBounds(_root).yMin, true) || fondo.hitTest(coche.getBounds(_root).xMax+velocida  d, coche.getBounds(_root).yMax, true))) {
			coche._x += velocidad;
			}			
			if (rotacion == 1) {
			} else {
				rotacion = 1;
				_xscale = -_xscale;
			}
 
 
		}
		if (Key.isDown(Key.LEFT)) {
			if (!(fondo.hitTest(coche.getBounds(_root).xMin-velocidad, coche.getBounds(_root).yMin, true) || fondo.hitTest(coche.getBounds(_root).xMin-velocidad, coche.getBounds(_root).yMax, true))) {
			coche._x -= velocidad;
			}		
			if (rotacion == 2) {
			} else {
				rotacion = 2;
				_xscale = -_xscale;
			}
 
		}
	}
};
 
 
lo q no e logrado es q el personaje salte con la barra espaciadora y que al precionar acia adelante (TECLA DERECHA O IZQUIERDA) active el moviclip en el q se mueve 
 
en si lo q quiero saber es como ago para saltar y q cuando presione adelante o atras se active un moviclip
 
si alguien me puede ayudar XD gracias 
  
 
