# HELP! Flash keeps opening hundreds of new tabs in the browser!

**URL:** <https://forum.kirupa.com/t/help-flash-keeps-opening-hundreds-of-new-tabs-in-the-browser/313257>\
**Category:** flash\
**Created:** [August 25, 2010, 5:34am UTC](https://forum.kirupa.com/t/help-flash-keeps-opening-hundreds-of-new-tabs-in-the-browser/313257 "2010-08-25T05:34:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pripir](https://avatars.discourse-cdn.com/v4/letter/p/ed655f/32.png) [@pripir](https://forum.kirupa.com/u/pripir)\
**Post date:** [August 25, 2010, 5:34am UTC](https://forum.kirupa.com/t/help-flash-keeps-opening-hundreds-of-new-tabs-in-the-browser/313257/1 "2010-08-25T05:34:59Z")

</div>

Hi Guys! I have found solution for my previous problem:

onClipEvent (load) {  
\_root.hitz = 0;  
this.\_alpha = 0;  
}  
onClipEvent (enterFrame) {  
this.\_y -= \_root.speedz;  
this.\_rotation += 7;  
if (this.\_y\<=-80) {  
this.\_alpha = 100;  
}  
if (this.\_y\<=-400 && \_root.hitz == 0) {  
gotoAndPlay(2);  
\_root.missed += 1;  
\_root.hitz = 1;  
}  
if (\_root.\_currentframe == 3) {  
\_parent.nextFrame();  
}  
if (\_root.score ==5) {  
getURL(clickTag, “\_blank”);  
}

}

but now I have a new one! After fifth click browser keeps opening hundreds of new tabs! I think it’s because flash keeps playing movie. There must be some kind of loop and every loop flash opens new tab. I tried to add stop(); in few different places but still no result. NO IDEA WHAT TO DO!!
