4 Replies Latest reply on Oct 10, 2007 8:44 AM by kglad

    setMask not working online

    strifedk Level 1
      Hi everyone...

      I hope there is someone who can demystify and solve the problem I'm having.

      I would like to load flashbanners in to other movies, like this:
      Movie on one domain loads a movie from another domain.
      Locally I get a Sandbox Security Violation notice

      *** Security Sandbox Violation ***
      SecurityDomain ' http://mini6.mcbtest.dk/cultbanner.swf' tried to access incompatible context 'file:///Z|/Flash%20Skin%20All/web/bannerTest.swf'

      and when i add System.security.allowDomain("*") to the top of my script it goes away.
      So thats all fine, but here's the problem, when I upload it to a server, my mask will not work.

      See movie here

      Hope somone can help, thanks

      My script: