# Help me!

**URL:** <https://forum.kirupa.com/t/help-me/279465>\
**Category:** Uncategorized\
**Created:** [January 14, 2009, 10:49pm UTC](https://forum.kirupa.com/t/help-me/279465 "2009-01-14T22:49:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Animastor](https://avatars.discourse-cdn.com/v4/letter/a/a3d4f5/32.png) [@Animastor](https://forum.kirupa.com/u/Animastor)\
**Post date:** [January 14, 2009, 10:49pm UTC](https://forum.kirupa.com/t/help-me/279465/1 "2009-01-14T22:49:25Z")

</div>

:block:I have a flash file that I created (attatched it) called ballgame.fla . Its just an incomplete game I’m working. I created a bouncy ball that will explode (dont worry about that) when coming in contact with some spikes I created. Everything is perfect (I know a fair amount of AS/Flash knowledge so its not the instance’s names.) except when the hitTest() returns true, The ball just freezes instead of doing this (gotoAndPlay(2);). Here’s the script:

if (\_root.ball, hitTest(\_root.spikes)) {  
gotoAndPlay(2);  
}

ball (my bouncy ball :block:)  
spikes (I tinks day’r is pointies)

The only problem I got is with hitTest(); statements… they’re stupid… I’d rather define it myself… oh well… :devious:
