How to input sound - while hitTest

guys, i was wondering if anyone knows how to input sound using script, i want something to make a sound when it hits something else.

erm, specifically:

if (this.hitTest(_parent.MC)) {
//make sound script here//
}

oh yeah, please tell me where should i put this kind of sound, is it on the time line?

thanks