0 Replies Latest reply on Jul 30, 2007 4:45 AM by sivudu

    need urgent help --- navigateToURL()

    sivudu Level 1
      Hi All,

      I have used navigateToURL() method in popup window. It's working
      properly in my system. If tried to access the same in other system's
      it's giving error like below:



      SecurityError: Error #2051: Security sandbox violation:
      file://C:\Documents and
      Settings\csiv\Desktop\VesselSchedule\bin\VesselSchedule.swf
      cannot evaluate scripting URLs within file://C:\Documents
      and
      Settings\csiv\Desktop\VesselSchedule\bin\VesselSchedule.html
      (allowScriptAccess is sameDomain).
      Attempted URL was javascript:var myWin; if(!myWin ||
      myWin.closed)
      {myWin = window.open
      (' http://www.google.com','mypop','width=895,
      height=550,toolbar=0,location=0,directories=0,status=0,menubar
      =0,
      scrollbars=0,resizable=0,top='+((screen.height/2)-(275))+',
      left='+((screen.width/2)-(447.5))+'')}else{myWin.focus();};
      void(0);.

      at global/flash.net::navigateToURL()
      at components::ScheduledVoyage/::openNewWindow()
      at components::ScheduledVoyage/___LinkButton1_click()


      and one more thing I have to inform all is if I copy the project
      on desktop and trying access the file it's giving same error. Please
      anybody help me to solve that bug. Really I am greatful to them.

      Thanks & Regards,
      Siva Kumar