Creating a Vertical Shooter game - how to stop the dragon

hi everyone, it’s my first time to this forum, hope it’ll put me out of my misery.I’ve borrowed the code fromCreating a Vertical Shooter game**
http://www.kirupa.com/developer/actionscript/vertical_shooter4.htm
**creating a shooter game as part of my uni (web) project. then here’s the problem - the dragon (target) doesn’t stop once it starts. I am aware there’s some kind of delete command to quit the loop, but being new to actionscript, and the project is due this Wednesday, I am desperate. can someone save me?:hangover:

Thanks heaps, Coral