views:

103

answers:

1

Is it possible to read the mouse key, like you do with Key.isDown(), ie. without setting up an unPress event/callback?

A: 

Yes. This is the code in as2:

this.onMouseDown = function() {

trace("mouseDown");

}

doamnaT