0 Replies Latest reply on Feb 27, 2008 5:49 AM by cruzfilipe

    Open local pdf file from flex projector

    cruzfilipe Level 1
      hi,
      I have the following problem:
      I have a web flex project than will want to use locally, so I create a projector from it. Everything is running fine, except the links for pdf's I have locally, they aren't opening.

      this is the code I'm using for opening the files:

      var u:URLRequest = new URLRequest("pdf/"+this.pdfFile);
      navigateToURL(u,"_blank");

      Is this code right? What's the main problem on this setup?
      And I can't use AIR for this, because then will be necessary an extra installer.

      Thanks in advance,
      Filipe