Thanks Morten, that actually made it 23% faster :-) 2006/2/27, Morten Barklund TBWAPlay <[EMAIL PROTECTED]>: > Bart Wttewaall wrote: > > Thanks, > > > > I guess I needed a little nudge to actually get working on the method. > > If anyone sees a quicker method than the code below, then please say so. > > This would actually be one of the few places, where > Array.RETURNINDEXEDARRAY could be used - just create an array of the > angles (not objects with angle-attributes), sort using the > Array.RETURNINDEXEDARRAY-flag, and use this returned array as the array > for which to reorder the original array of points :) > > -- > Morten Barklund - Information Architect - TBWA\Play > Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark > Phone: +45 7027 2227 - Fax: +45 3369 1174 > _______________________________________________ > 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