Re: [Flashcoders] Need help creating an old-skool arc or circularscrollbar

2007-05-24 Thread Matthias Dittgen
Mark is true. Respect! :-) I used Math.atan(), too and if/else to know, in which quadrant of the circle the drag element is moved. I uploaded my quickdirty source now. Please be kind! :-) http://lizu.net/circle.swf http://lizu.net/circleSrc.zip it consists of the circle drag mechanism, but I

RE: [Flashcoders] Need help creating an old-skool arc or circularscrollbar

2007-05-24 Thread Ash Warren
: [Flashcoders] Need help creating an old-skool arc or circularscrollbar Mark is true. Respect! :-) I used Math.atan(), too and if/else to know, in which quadrant of the circle the drag element is moved. I uploaded my quickdirty source now. Please be kind! :-) http://lizu.net/circle.swf http://lizu.net

Re: [Flashcoders] Need help creating an old-skool arc or circularscrollbar

2007-05-24 Thread Carl Welch
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Dittgen Sent: Thursday, May 24, 2007 1:35 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Need help creating an old-skool arc or circularscrollbar Mark is true. Respect! :-) I used Math.atan(), too and if/else to know

Re: [Flashcoders] Need help creating an old-skool arc or circularscrollbar

2007-05-24 Thread Mark Winterhalder
On 5/24/07, Carl Welch [EMAIL PROTECTED] wrote: Seems to me you guys are doing this the hard way. Why not just draw a curved line (with the line tool) then use code to attach/snap the handle to the line, and then just use actionscript to track the Y position of the handle and scroll accordingly?

RE: [Flashcoders] Need help creating an old-skool arc or circularscrollbar

2007-05-23 Thread Jesse Graupmann
@chattyfig.figleaf.com Subject: [Flashcoders] Need help creating an old-skool arc or circularscrollbar A lng time ago it seems these things were all over flashkit etc. and now well not so much ;) Anyway, I wanted to create a scroller on an arc or radius like this example: http://s12987.gridserver.com

Re: [Flashcoders] Need help creating an old-skool arc or circularscrollbar

2007-05-23 Thread Mark Winterhalder
On 5/23/07, Jesse Graupmann [EMAIL PROTECTED] wrote: Trigonometry No need, apart from Math.atan2() to get the result -- assuming the anchor point of the container is in the middle, just normalize the vector from the centre to the mouse and then scale it to the desired radius, that's the