PDA

View Full Version : actionscript newbie


scigolf
03-19-2002, 05:00 PM
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

ilyaslamasse
03-19-2002, 05:01 PM
Here's a function to stop all the movie of your animation pub40.ezboard.com/fkirupa...=523.topic (http://pub40.ezboard.com/fkirupafrm19.showMessage?topicID=523.topic)

pom 0]

scigolf
03-22-2002, 11:18 AM
Hi,

Thanks for the code! It will definitely help!

Scigolf