# Internet Explorer Issue

**URL:** <https://forum.kirupa.com/t/internet-explorer-issue/281557>\
**Category:** flash\
**Created:** [February 10, 2009, 5:30pm UTC](https://forum.kirupa.com/t/internet-explorer-issue/281557 "2009-02-10T17:30:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shinkdog](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@shinkdog](https://forum.kirupa.com/u/shinkdog)\
**Post date:** [February 10, 2009, 5:30pm UTC](https://forum.kirupa.com/t/internet-explorer-issue/281557/1 "2009-02-10T17:30:30Z")

</div>

Hi,

I have an embedded flash movie that runs an AS function that runs a javascript function on the html page when you push a button. However, it only works in Firefox, Safari and Chrome. Is there a workaround for IE 6 & 7?

My javascript is:

```auto
<script>
        navArray = new Array();

        navArray["home"] = "../index.aspx";
        navArray["about"] = "../about.aspx";
        navArray["contact"] = "../contact.aspx";
        navArray["portfolio"] = "../portfolio.aspx";
        navArray["services"] = "../services.aspx";
        navArray["photogallery"] = "../photogallery.aspx";
        
        function navigate(which) {

            if (window.opener) {

                if (which == "contact" || which == "services")
                {
	                window.open (navArray[which], 'newWin')
                }
                else if (which == "photogallery" || which == "portfolio")
                {
	                window.location = (navArray[which]);
                }
                else 
                {
	                window.opener.location = navArray[which];
	                opener.window.focus();
                }
        	
            }
            else 
            {
                window.location = (navArray[which]);
            }	

        }

        function openerlink(url) 
        { 
            opener.location.href = urlbase + url; 
        }
</script>

```

My actionscript is:

```auto
import flash.external.ExternalInterface;
function homeLink(e:MouseEvent)
{
	ExternalInterface.call('navigate', 'home');
	ExternalInterface.call('window.close()');
	
}

```

Thanks for your help!
