0 Replies Latest reply on Feb 19, 2009 9:43 AM by elpresidante

    Restrict browser using getURL

    elpresidante


      Hi,

      I'm experiencing trouble restricting a new pop-up browser window with my getURL code. In the code, I have a variable that receives the url value from an xml file. I tried to concatinate the variable within my getURL code, but it's not working. Does anyone have any suggestions?

      Here's my code:

      //BUTTON FUNCTION: GET URL
      this.image_mc.bttn.onRelease = function() {
      //getURL("javascript:window.open("+launchLink+", '_blank','width=533,height=800,toolbar=No,location=No,scrollbars=No,status=No,resizable=N o,fullscreen=No'); void(0);");
      getURL(launchLink, "_blank");
      };
      //ON THUMBNAIL PRESS FUNCTION (LOAD LARGE IMAGE)
      clickAction = function (obj) {
      this.image_mc.holder._alpha = 0;
      loadMovie(image[obj.ID], this.image_mc.holder);
      launchLink = url[obj.ID];
      txt_mc.txt.text = full_txt[obj.ID];
      };