2 Replies Latest reply on Oct 22, 2010 2:36 PM by Chandra2034

    Setting Security.sandboxType in Flex through code

    Chandra2034

      Hi,

      I need to call JavaScript for that I need to set

      flash.system.Security.sandboxType as LOCAL_TRUSTED. Default value is LOCAL_WITH_NETWORK.

      I can change this setting by Global setting of Flash player by right click on application and clicking global settings.

      Question is how can I set it throguh coding so that my application work on every local system ?

       

      Objective is my Flex application will run from local system and will be called like C:\MSAPerMonWebClient\MSAPerMonWebClient.html and I need to access javascript written in .html file through flex swf.