hey everybody i want to create an effect something like the famous helicopter game.
but when i write something like:
stage.addEventListener(MouseEvent.CLICK,thrust);
function thrust(e:Event) {
heli.y-=10;
}
:
it only goes up every time i click the mouse. i want it to continually go up when i hold down the mouse just like in the game.
any help would be much appreciated…