if Canvas width and hieght is fixed, place images horizontally using a loop and finding the images by calculating the total width of images+gap, then by setting the y position of next group rows vertically and using the loop for remaining images. Hope this idea will help you.
On Sat, Apr 3, 2010 at 6:36 PM, Tajinder sandhu <[email protected]>wrote: > Please anybody help me,random xy placement of assets in canvas > > I have an arraycollection of images(each having different size) that I > would like to randomly place on the canvas which I've figured out,So i > need a script that can maintain horizontal and vertical gap properly > and use maximunm available space of canvas,please give me any idea. > This is really urgent please provide any idea. > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

