# Go for a flash file to another

**URL:** <https://forum.kirupa.com/t/go-for-a-flash-file-to-another/633707>\
**Category:** flash\
**Created:** [September 2, 2015, 9:03am UTC](https://forum.kirupa.com/t/go-for-a-flash-file-to-another/633707 "2015-09-02T09:03:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xooo](https://avatars.discourse-cdn.com/v4/letter/x/b782af/32.png) [@Xooo](https://forum.kirupa.com/u/Xooo)\
**Post date:** [September 2, 2015, 9:03am UTC](https://forum.kirupa.com/t/go-for-a-flash-file-to-another/633707/1 "2015-09-02T09:03:48Z")

</div>

Hi, I need your help. My project has several flash files. What I do is that when I click on a button that takes me to another file on Frame I directed. This I want to do it once already been published files . And what I want is that when you open one closed above me , so that I should not remain many open windows at the same time. I do not know if there will be any easy way to do it. I’ve tried :

salir\_btn.addEventListener ( MouseEvent.CLICK , salir ) ;  
salir function ( evt : MouseEvent ) : void  
{  
navigateToURL (new URLRequest ( " 2.html "));

}

But the problem is that I will open the files in different windows and end up just having repeated windows. Could anyone help ?  
Thank you very much , excuse my English .
