Re: [Flashcoders] Position objects evenly around ellipse

2006-03-17 Thread Danny Kodicek
Would anyone have a function, class, formula, idea whatever that would allow me to calculate X and Y values to place an n number of movie clips evenly spaced around an ellipse/oval shape? The number of clips can vary based on external data. The ellipse would also have to be calculated I

[Flashcoders] Position objects evenly around ellipse

2006-03-16 Thread Merrill, Jason
Would anyone have a function, class, formula, idea whatever that would allow me to calculate X and Y values to place an n number of movie clips evenly spaced around an ellipse/oval shape? The number of clips can vary based on external data. The ellipse would also have to be calculated I suppose,

Re: [Flashcoders] Position objects evenly around ellipse

2006-03-16 Thread Ryan Matsikas
I have some code I used in a project todo a similiar idea.. this should get you started.. puts the clips around a perfect circle.. you'll have to play with it a bit. var clipPosition:Number = 0; function setPosition(p_clip:MovieClip):Void { clipPosition += 60; var r:Number =

RE: [Flashcoders] Position objects evenly around ellipse

2006-03-16 Thread Merrill, Jason
To: Flashcoders mailing list Subject: Re: [Flashcoders] Position objects evenly around ellipse I have some code I used in a project todo a similiar idea.. this should get you started.. puts the clips around a perfect circle.. you'll have to play with it a bit. var clipPosition:Number = 0; function

Re: [Flashcoders] Position objects evenly around ellipse

2006-03-16 Thread Andy Johnston
Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Ryan Matsikas Sent: Thursday, March 16, 2006 7:01 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Position objects evenly around ellipse I have some code I used in a project todo a similiar idea