 <p>Try moving the check from the timeline to the onEnterFrame(). The way I see it, the check is only run if a key is down, so you'll never check it. I think you need to be checking if <code>life == 0</code> every frame.</p>