Kind of Hittest problem

Hi peeps,

When I dynamically / randomly attach movies to the stage I dont want my movies to overlap eachother… How to do this? I tried using hitTest but that didnt work for me, so I wrote some kind of hittest function myself… but that doesnt work right either… Can simebody help me?

fla file is attached!