# Multiple Collision

**URL:** https://forum.kirupa.com/t/multiple-collision/57824
**Category:** flash
**Created:** [July 16, 2004, 12:16pm UTC](https://forum.kirupa.com/t/multiple-collision/57824 "2004-07-16T12:16:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![k\_david](https://avatars.discourse-cdn.com/v4/letter/k/7feea3/32.png) [@k\_david](https://forum.kirupa.com/u/k_david)
#### Post date: [July 16, 2004, 12:16pm UTC](https://forum.kirupa.com/t/multiple-collision/57824/1 "2004-07-16T12:16:15Z")

</div>

[font=Arial][size=2]Hi,[/size][/font]

[font=Arial][size=2]I am having a bit of a trouble working out collision with multiple objects. The point is, if a MC called “ball” collides with a wall on either left side or right side, it should stop. Same goes with top and bottom. Horizontally it is working fine, but vertically it just seems to get stuck.[/size][/font]  
[font=Arial][size=2]  
Could someone go through the attached file and throw some light on why this is happening.

P.S - The file uses Flash 4 syntax but is programmed using Flash MX.

K.David.

[/size][/font]

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 16, 2004, 5:44pm UTC](https://forum.kirupa.com/t/multiple-collision/57824/2 "2004-07-16T17:44:44Z")

</div>

When you get your char properties from the walls, they’re not onEnterFrame, so you only take the starting ones, not the constant, up-to-date ones…Also I don’t understand why your walls have 3 frames when they could have 1…
