astralaaron Posted April 16, 2007 Share Posted April 16, 2007 what I want to do is when mousex + then go nextFramewhen mousex - go prevFrameanyone know ? Link to comment Share on other sites More sharing options...
Obi1-Cannabis Posted April 17, 2007 Share Posted April 17, 2007 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 More sharing options...
smiles Posted April 17, 2007 Share Posted April 17, 2007 what I want to do is when mousex + then go nextFramewhen mousex - go prevFrameanyone know ?the coordinate of mouse in comparison with which one ? Link to comment Share on other sites More sharing options...
astralaaron Posted April 17, 2007 Author Share Posted April 17, 2007 its for a 360Degrees picture, when it gets to last frame it needs to jump to the first and when it gets to the first it needs to jump to the last. Link to comment Share on other sites More sharing options...
smiles Posted April 19, 2007 Share Posted April 19, 2007 its for a 360Degrees picture, when it gets to last frame it needs to jump to the first and when it gets to the first it needs to jump to the last.it hurts my brain Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now