1 Reply Latest reply on Mar 30, 2011 7:35 PM by _danada

    Opening file in flex


      Is it possible to open a file using relative/absolute path..I do see ways to browse/load the files but not to open a file with the given path..


      Thanks in advance

        • 1. Re: Opening file in flex

          The Adobe Flash player operates in a sandbox. This means it can't access files on the users's machine without explicit permission. You can do this by, as you said, browsing for a file using a FileRef (file reference).


          You can, however, access data placed on a server machine (relative to where your swf is stored), or across domains (swf on one server, data on the other). To access data across domains, you need a crossdomain.xml file placed on the server containing data that tells Flash what it can and cannot access.