The x and y coordinates are X = r * Cos(angle) Y = r * Sin(angle)
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Eric E. Dolecki Sent: Tuesday, March 17, 2009 9:15 AM To: Flash Coders List Subject: Re: [Flashcoders] Intersection on circle based on angle Jason, Could you elaborate please? Point.polar( length, angle ); I have the angle (say 0 degrees). The length would then be pixels from the center (ie. radius)? On Tue, Mar 17, 2009 at 9:53 AM, Merrill, Jason < [email protected]> wrote: > In AS3, Point.polar() > > > Jason Merrill > > Bank of America | Learning Performance Solutions Instructional > Technology & Media > > Monthly meetings on the Adobe Flash platform for rich media experiences - > join the Bank of America Flash Platform Community > > > > > -----Original Message----- > From: [email protected] [mailto: > [email protected]] On Behalf Of Eric E. Dolecki > Sent: Tuesday, March 17, 2009 9:17 AM > To: Flash Coders List > Subject: [Flashcoders] Intersection on circle based on angle > > I've done this before but can't find my file(s). I am currently googling > but > haven't found the answer yet (I'm sure it's out there, just need to > rediscover it). > I have a circle, registration at 0, 0. > If I have an angle from it's center, I'd like to get x,y where the angle > would intersect with the edge of the circle. I am basically drawing dots > around the outside of a circle (think mixing console knobs with a variable > number of detents). > > anyone have something handy? > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- http://ericd.net Interactive design and development _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

