0 Replies Latest reply on Nov 2, 2009 4:04 AM by breakeer

    Problem Sandbox Violation


      Hello I develop an application in AIR / Flash, which allows searching for video on youtube but I have a problem when displaying the swf from youtube an error is reported:
      [SWF] / v/7UB1NcZirTE - 1811 bytes after decompression
      [SWF] / yt/swf/cps-vfl129881.swf - 526,778 bytes after decompression
      *** Security Sandbox Violation ***
      SecurityDomain 'http://s.ytimg.com/yt/swf/cps-vfl129881.swf' tried to access incompatible context 'http://www.youtube.com/v/7UB1NcZirTE?f=videos&app=youtube_gdata'

      I add:
      Security.loadPolicyFile ( "http://i4.ytimg.com/crossdomain.xml");
      Security.loadPolicyFile ( "http://www.youtube.com/crossdomain.xml ");

      But that still does not work and after much research I have yet to find a solution so I ask your help.
      Thank you.