views:

430

answers:

0

hello,

i have a flex application that does a simple ExternalInterface.call("shareOptions"), which calls a shareOptions() javascript method and works absolutely fine with Mozilla and chrome, however when I test with IE i get the following error:

Error: [object Error] at flash.external::ExternalInterface$/_toAS() at flash.external::ExternalInterface$/call()

I looked at the adobe livedocs documentation but can't determine what the issue is with IE. is there something i'm missing?? if anyone knows, please let me know ASAP! thanks in advance.

private function shareOptions(event:MouseEvent):void{


       ExternalInterface.marshallExceptions = true;

    if (ExternalInterface.available){
        ExternalInterface.call("shareOptions");

        }
    }

the javascript

<script language="JavaScript" type="text/javascript">


function shareOptions() {

myWin = window.open('http://www.mysite.com/shareOptions.php','yeee!','width=640,height=690,toolbar=no,location=0,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=yes,x=500,y=500');
myWin.moveTo(300,300);

}
</script>