# Problem with button in IE

**URL:** https://forum.kirupa.com/t/problem-with-button-in-ie/315044
**Category:** flash
**Created:** [October 15, 2010, 9:07pm UTC](https://forum.kirupa.com/t/problem-with-button-in-ie/315044 "2010-10-15T21:07:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![thaisfuchs](https://avatars.discourse-cdn.com/v4/letter/t/51bf81/32.png) [@thaisfuchs](https://forum.kirupa.com/u/thaisfuchs)
#### Post date: [October 15, 2010, 9:07pm UTC](https://forum.kirupa.com/t/problem-with-button-in-ie/315044/1 "2010-10-15T21:07:01Z")

</div>

Hi,

I have a button in a website that, when clicked, should go back to the last page visited by the user (in this case, it would go back from “[example.com/page](http://example.com/page)” to “[example.com](http://example.com)”). I’m using this code in a AS2 Flash button:

```auto
on (release) { getURL("javascript:history.go(-1)","_self"); }

```

This code works fine with Mozilla Firefox, but when I click the button in Internet Explorer, it goes back to the last page but it **also opens a new window** with the same page.

I’ve tried with this code too, but the same thing happens:

```auto
on (release) { getURL("example.com", "_self"); }

```

Does anybody knows how can I solve this problem? I’m really stuck here.  
Thank you!
