7 Replies Latest reply on Aug 26, 2010 9:40 PM by welcomecan

    Security sandbox violation

    welcomecan

      Error #2044: Unhandled SecurityErrorEvent:. text=Error #2048: Security sandbox violation:

      http://istdocstor-1722772105/Flex_TestIST/TestFile.swf cannot load data from

      \\test-sql-01\DD\F8M\Root\New Text Document_20100323003136805.txt

       

      below my code

       

       

      DOWNLOAD_URL="\\test-sql-01\DD\F8M\Root\NewText Document_20100323003136805.txt"

       

      public

       

       

      function down_click():void

      {

       

       

       

      var urlRequest:URLRequest = new URLRequest(DOWNLOAD_URL);

      fileRef =

      new FileReference();

      fileRef.download(urlRequest, docname);

       

       

      }