# Whats wrong with this code?

**URL:** https://forum.kirupa.com/t/whats-wrong-with-this-code/84481
**Category:** flash
**Created:** [March 28, 2005, 2:50am UTC](https://forum.kirupa.com/t/whats-wrong-with-this-code/84481 "2005-03-28T02:50:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Robin105](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@Robin105](https://forum.kirupa.com/u/Robin105)
#### Post date: [March 28, 2005, 2:50am UTC](https://forum.kirupa.com/t/whats-wrong-with-this-code/84481/1 "2005-03-28T02:50:26Z")

</div>

ok wen i use this code i can only use it 3 times after i use it 3 times another one of these codes destorys it self how can i stop tat from hapend!!!

PLZ HELP!!

[size=3][color=black][color=red][font=Times New Roman][size=3][color=black]enemy.onEnterFrame=function(){[/color][/size][/font]

[font=Times New Roman][size=3][color=black]if(this.\_currentframe==10){[/color][/size][/font]

[font=Times New Roman][size=3][color=black]\_root.life.nextFrame()[/color][/size][/font]

[font=Times New Roman][size=3][color=black]}[/color][/size][/font]  
[font=Times New Roman][size=3][color=black])[/color][/size][/font]  
[/color][/color][/size]
