I am having trouble getting the collision detection working for my portfolio site. I want it so that when one square is over another it moves to another location. This is because the squares are going to be buttons and i cant have buttons covering each other.
help would really be appreciated, i am going crazy trying to figure out what i am doing wrong! :puzzle:
here is a link to the files, the hit test function is in Square.as line 78.
http://www.dcem.net/dcemprob.zip
Thanks!
Dave