I am quite new to actionscript 3.0 but i’m sure this should be so simple.
The objective is to get the camera view to move when the mouse button is down.
Here I have managed to get the camera view to move forward using the UP arrow key:
cameraView.velocity = 0;
var fmovement = 0;
if (Key.isDown(Key.UP)) {fmovement += 10; cameraView.velocity += 2;}
else cameraView.velocity *= .95;
How can I change this to when the mouse click is down??? thanks in advance.