A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Security Sandbox Violation!!

  1. #1
    Senior Member
    Join Date
    Sep 2007
    Location
    USA................. Posts: 87,683
    Posts
    337

    Security Sandbox Violation!!

    Hey, so I have this stupid little error I am not able to manage. I know there's a solution, but even after 30 mins. searchin on Google I can't find it!

    Alrite it's simple, I have a main movie that I'm running in flash cs3 when I click "Test Movie". Then that movie loads a swf movie from my website. That swf has actionscript and tries calling a function from my main movie. As soon as it attempts that, in my output this pops up:

    PHP Code:
    *** Security Sandbox Violation ***
    SecurityDomain 'http://www.trixmasta.com/...' tried to access incompatible context 'file:///C|/...' 

    I know there's this thing called System.security.allowDomain("*"), which allows any movie to talk to it. And i put it on the swf thats being loaded. But it still doesn't work!

    Anybody know how to do cross domain for local files, like the ones on your desktop? Or solve this problem?

    Thanks
    ...♠♣♦♥::Trickmaster::♥♦♣♠...
    ╔════════════════════╗
    ║------------------------- ║
    ║-- www.Trixmasta.com--- ║
    ║------------------------- ║
    ╚════════════════════╝

  2. #2
    Senior Member
    Join Date
    Sep 2007
    Location
    USA................. Posts: 87,683
    Posts
    337
    Can anyone help?
    ...♠♣♦♥::Trickmaster::♥♦♣♠...
    ╔════════════════════╗
    ║------------------------- ║
    ║-- www.Trixmasta.com--- ║
    ║------------------------- ║
    ╚════════════════════╝

  3. #3
    Senior Member
    Join Date
    Sep 2007
    Location
    USA................. Posts: 87,683
    Posts
    337
    Help please?
    ...♠♣♦♥::Trickmaster::♥♦♣♠...
    ╔════════════════════╗
    ║------------------------- ║
    ║-- www.Trixmasta.com--- ║
    ║------------------------- ║
    ╚════════════════════╝

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center