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
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,
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 =
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
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
5 matches
Mail list logo