1 Reply Latest reply on Dec 30, 2010 11:16 AM by Ned Murphy

    Linked website and pdf's don't open when tested in Dreamweaver

    merbeast Level 1

      As far as I can tell the AS 3 is to the T. But when I test it in dreamweaver some of the pdf's and all of the websites will not open. It says to make sure the path or file name is correct... but the names are perfectly fine. I'm running out of ideas on how to fix this, someone had suggested that it may be a security sandbox issue, but I don't know how to check that let alone fix it.

      I'd appreciate any input.


      Here are some of the code samples.


      menventures.addEventListener(MouseEvent.CLICK, menventuresurl)


      function menventuresurl (event:Event):void {
      var menventures:URLRequest = new URLRequest("http://www.menventures.com/");
      navigateToURL(menventures, "_self");
      trace("The menventures button was clicked");


      telltales.addEventListener(MouseEvent.CLICK, telltalespdf)

      function telltalespdf(ectObj:Event):void {
      var telltales:URLRequest = new URLRequest("pdf/LT-TellTales-9-10.pdf");
      flash.net.navigateToURL(telltales, "_blank");
      trace("the tell tales button was clicked");