Jump to content

mouse movement


Recommended Posts

if i got you right what you have to do is something like:

var mouseListener:Object = new Object();mouseListener.onMouseMove = function(){ if(x_mouse > 0){  this.currentFrame += 1; } if(x_mouse < 0){  this.currentFrame -= 1; }}

i'm not sure, because i didn't had the time to try. just saying from the top of my head.but it can't be much diffrent.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...