# Simple code - Impossible problem!

**URL:** https://forum.kirupa.com/t/simple-code-impossible-problem/228934
**Category:** flash
**Created:** [June 12, 2007, 7:16pm UTC](https://forum.kirupa.com/t/simple-code-impossible-problem/228934 "2007-06-12T19:16:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![superbungalow](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@superbungalow](https://forum.kirupa.com/u/superbungalow)
#### Post date: [June 12, 2007, 7:16pm UTC](https://forum.kirupa.com/t/simple-code-impossible-problem/228934/1 "2007-06-12T19:16:50Z")

</div>

Alright, this seems so simple, I have a turret, and a health variable inside it. I have an explosion animation, in the turret movie clip at frame 10. At first, it is stopped, but then i write:

if(Health == 0){  
gotoAndPlay(10)  
}

But it goes to frame 10 and just stops. Any idea what the problem is? Any help would be appreciated. Also, if you would like the .fla, pm me your email and i will send it (it’s a bit big to upload)
