Re: [Flashcoders] maths query

2009-02-06 Thread allandt bik-elliott (thefieldcomic.com)
thanks glen a On Thu, Feb 5, 2009 at 6:29 PM, Glen Pike postmas...@glenpike.co.uk wrote: Hi, It looks better than my deadzone calc's which take up a lot more code (I have 2 directions and a deadzone area in the middle and around the outside of the mouse area controlling the velocity),

[Flashcoders] maths query

2009-02-05 Thread allandt bik-elliott (thefieldcomic.com)
hi guys I'm working on a carousel and i have a quick question about adding a non-active area in the middle at the moment, the carousel will move forward and backward based on the mouse's position in relation to the center of the carousel but I'd like to widen that by nDeadzoneRadius here is the

Re: [Flashcoders] maths query

2009-02-05 Thread Glen Pike
Hi, It looks better than my deadzone calc's which take up a lot more code (I have 2 directions and a deadzone area in the middle and around the outside of the mouse area controlling the velocity), but you are welcome to compare below - I think mine is a bit more verbose, but I was trying