0 Replies Latest reply on Nov 2, 2009 5:51 AM by jake_flex

    FileReference#load() gives SecurityError #2000: No active security context

    jake_flex Level 2

      Hi,

       

      I'm trying to load and process a file in Flex. When calling FileReference#load() method, the data property is null. Wrapping the function call inside a try-catch block does not indicate any problems (no exceptions thrown).

       

      When running with the debugger, I get some information: The data property is set as <exception thrown by getter> and when I select that property, it shows "SecurityError: Error #2000: No active security context".

       

      I already tried wrapping the function call inside setTimeout() call as suggested in some threads I found through google, but that didn't have any effect.

       

      Anyone have other suggestions?

       

      Thanks.