Give him some credit, he did say centered. You would have to included StageSize and browser window size in your evaluation. This of course depends on how you have embed your swf in the html.
Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramon Miguel M. Tayag Sent: Friday, 25 August 2006 12:59 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] dynamic spacing This is so simple you don't even have to ask the list... in that for loop just increment and set the mc's x / y. There's no complex algo behind it. On 8/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Anyone have an algorithm to space dynamically created movieClips > centered on the stage? I'm using attachMovie in a for loop to create > the clips based on an unknown number of items....usually 3-5 items > that are about 150px wide each. > > Thanks.. -- Ramon Miguel M. Tayag _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com