# \[Flash CS4 AS2\] Collision detection on multiple objects

**URL:** <https://forum.kirupa.com/t/flash-cs4-as2-collision-detection-on-multiple-objects/320817>\
**Category:** flash\
**Created:** [April 2, 2011, 9:59am UTC](https://forum.kirupa.com/t/flash-cs4-as2-collision-detection-on-multiple-objects/320817 "2011-04-02T09:59:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![geekgirl1978](https://avatars.discourse-cdn.com/v4/letter/g/fbc32d/32.png) [@geekgirl1978](https://forum.kirupa.com/u/geekgirl1978)\
**Post date:** [April 2, 2011, 9:59am UTC](https://forum.kirupa.com/t/flash-cs4-as2-collision-detection-on-multiple-objects/320817/1 "2011-04-02T09:59:56Z")

</div>

Hi everyone

I’ve downloaded the source for the below tutorial as I’m wanting to adapt it for my own purposes. It almost does what I want it to do but sometimes, instead of the objects bouncing off each other, they seem to judder and pass over each other.

[http://www.kirupa.com/developer/actionscript/multiple\_collision3.htm](http://www.kirupa.com/developer/actionscript/multiple_collision3.htm)

Does anyone know how to change the code to solve this? I thought maybe it was because the objects aren’t squares but I’ve even tried putting a square graphic inside the movieclip and it still does the same thing.

Any help would be appreciated or even if anyone knows of any other tutorials could look at.
