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-24 Thread Carl Welch
[EMAIL 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 kn

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 quick&dirty source now. Please be kind! :-) http://lizu.net/circle.swf http://lizu

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

2007-05-23 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 quick&dirty source now. Please be kind! :-) http://lizu.net/circle.swf http://lizu.net/circleSrc.zip it consists of the circle drag mechanism, but I t

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 posi

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

2007-05-23 Thread Jesse Graupmann
Trigonometry http://www.codylindley.com/Tutorials/trigonometry/ Trig Tutorial http://www.albinoblacksheep.com/flash/trig -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ash Warren Sent: Wednesday, May 23, 2007 9:58 AM To: flashcoders@chattyfig.figlea