1 Reply Latest reply on Dec 23, 2007 8:22 AM by robdillon

    problem whe calling url from flash with JS

    motiejuss Level 1

      I am using this code to call new window from flash:

      button1.onPress = function(){
      getURL("javascript:window.open('files/pictures/gallery.html','Picture Gallery','width=650, height=550, top='+((screen.height/2)-(500))+',left='+((screen.width/2)-(600))+',toolbar=no, scrollbars=no, resizable=no, menubar=no, status=no, directories=no, location=no'); void(0);");

      When I play it on Firefox it's ok, but in IE 7 it doesn't work! It shows that is "error on page".

      Can somebody help me to solve this problem?