17 Replies Latest reply on Aug 17, 2013 8:42 AM by kglad

    Failed code to open a pop-up with AS1 <edited by mod - kglad>

    braisremeseiro

      Hi,

       

      I have the following code:

       

      on (release) {

      h = 200;// height of the pop-up

      w = 160;// width of the pop-up

       

      getURL("javascript:NewWindow=window.open('../../grafico/sudespacho/mnprogram2.html','pop2' ,'width=160,height=200, toolbar=No,location= No,scrollbars=No,status=No,resizable=No,fullscreen =No,top='+0+', left='+720+'"+"');void(0);");

      }

       

      , and in Safari 5.0.6 it opens fine, however in other browsers the pop-up has some blank space in the height located at the bottom. Is possible to add a javascript or AS2 to resize the window?, Please, Can you help me to solve that incidence?.

       

      Regards.

       

      <moved from as3 forum by mod - kglad>