0 Replies Latest reply on Mar 21, 2011 10:39 AM by pawde3

    cannot open local file

    pawde3

      I am making a flash project that will be sent out on a cd.  On this project I have menus we one can open up .pdf files and .mp4 files.  The .pdf files I have on a server and have linked to the file via catalyst.  The .mp4 files are larger so I want to have them on the cd along with the flash program.  I am aware that you cannot link to a file with Catalyst alone; I have read were you have to import into flash builder and then find this script...

      function button_clickHandler_12():void

      {

      navigateToURL(

       

       

      new URLRequest( encodeURI(http://example.com)), "_self");

      }

       

      and replace it with...

       

       

      function button_clickHandler_12():void

      {

      navigateToURL(

       

      new URLRequest( encodeURI("/example.mp4")), "_self");

      }

       

      but I this is not working.  It will not open up the file and now I am not sure what to do.  Thanks for any and all help.