hi all,
I somehow always get myself cornered in some bad idea and once again come here in desperate need for help…
The idea is to load an undefined number (around 200) movieclips (filled with pictures) that are grouped by “family” (probably 30 groups). all this data being retrieved from a mysql database (via AMFPHP).
All of this brings up no problem of any sort.
Problems come up in the second stage of the process :
I want to place theses groups on the stage at a random position (easy) but I also want them not to overlap. I have tried to work something out with hitTest but I have miserably failed because whe I move one group out of collision, I have to check all of them again… and that brings flash into an almost endless loop that the previewer stops before it crashes my computer…
Of course, google has been of no help (maybe I don’t know the right vocabulary) and once again, kirupa is my last hope…
For the structural aspect of this question, I have a main MC containing all groups (group0, group1, group2, …) each group containing the pictures (pic0, pic1, pic2, …). I also have room on my stage since the main container is draggable…
I hope I’ve been clear and you can help me find a solution…
Regards
Sebastien