Actionscript newbie

Hi,

I’m new to Flash and I’m trying to learn action script by making simple games. One game I’m working on has a user-controlled object (a bug) moves from the bottom of the screen to the top (arrow keys). At the same time, moving across the screen, from left to right, are blocks the user must avoid hitting. Everything works great until the user-controlled bug hits hits a block. I used a hitTest command within an if statement. Everything executes when the condition is true (a hit) except the stop command…the movie keeps running. I have the entire script attached to the bug which is on the main timeline. The blocks that move across the screen move in their own timelines. Any help? (I don’t know if I’ve provided enough info.)

Scigolf

Here’s a function to stop all the movie of your animation pub40.ezboard.com/fkirupa…=523.topic

pom 0]

Hi,

Thanks for the code! It will definitely help!

Scigolf