1 Reply Latest reply on Jul 9, 2012 9:44 PM by ReDrUmNZ

    Security sandbox violation: BitmapData.draw

    Dada Studio

      Hello,

       

      I got this error:

       

      SecurityError: Error #2122: Security sandbox violation: BitmapData.draw: A policy file is required, but the checkPolicyFile flag was not set when this media was loaded. 

       

      when I try to draw a frame of a movie that is downloading from another server. Crossdomain.xml is set. Another Jpgs are correctly drawn but only a movie causes an error.

      I need to checkPolicyFile but where should I do this? I have no direct access  to Loader to set up LoaderContext(true) ...

       

       

      Thanks,

      Michal