0 Replies Latest reply on May 5, 2010 2:17 AM by yamenalhaj

    AIR:  Loading external Swf - sandbox violation


      Hello Mates ,

      I need a help ... an urgent one !!! i tried so hard to figured it out .. but i couldn't .. so I appreciate your help so much ..

      I'm developing an Air App using flash ... the app loads an external SWF file dynamically through an xml ... the SWF file has a movieclip that has a listener (ON click )

      function mouseDownHandler(event:MouseEvent):void {
      navigateToURL(new URLRequest(clickURL));


      everything is working fine until i click on this movieclip ... it displays the below message

      SecurityError: Error #2121: Security sandbox violation: navigateToURL: http://www.mydomain.com/maskot/avatar.swf cannot access http://www.yahoo.com. This may be worked around by calling Security.allowDomain.

      any help !!! because i really have a deadline !

      Thank you so much !