# Playing a sound when one object hits another?

**URL:** https://forum.kirupa.com/t/playing-a-sound-when-one-object-hits-another/267302
**Category:** flash
**Created:** [July 30, 2008, 3:36pm UTC](https://forum.kirupa.com/t/playing-a-sound-when-one-object-hits-another/267302 "2008-07-30T15:36:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![scott1969](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@scott1969](https://forum.kirupa.com/u/scott1969)
#### Post date: [July 30, 2008, 3:36pm UTC](https://forum.kirupa.com/t/playing-a-sound-when-one-object-hits-another/267302/1 "2008-07-30T15:36:05Z")

</div>

I am creating a kids game in AS 1 and want a “good” sound to play when a “good” object falls into the beavers basket and a “bad” sound to play when it falls into the basket.

What is the best way to handle this in AS 1?
