hi, just use one of these:
http://www.freeactionscript.com/cate...ion-detection/