# Evil security sandbox violation~!

**URL:** <https://forum.kirupa.com/t/evil-security-sandbox-violation/288696>\
**Category:** flash\
**Created:** [May 19, 2009, 9:17pm UTC](https://forum.kirupa.com/t/evil-security-sandbox-violation/288696 "2009-05-19T21:17:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![csmaller](https://avatars.discourse-cdn.com/v4/letter/c/90ced4/32.png) [@csmaller](https://forum.kirupa.com/u/csmaller)\
**Post date:** [May 19, 2009, 9:17pm UTC](https://forum.kirupa.com/t/evil-security-sandbox-violation/288696/1 "2009-05-19T21:17:48Z")

</div>

I have browsed all over the posts before posting my question 🙂

heres the error that Im sure we’ve all seen instances of:

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: [http://devmobilerider.com/flash/snowboard-mag-player/PlayerFullControl.swf?vendor\_id=224&media\_id=6314&bgColor=1569D5&autoplay=0](http://devmobilerider.com/flash/snowboard-mag-player/PlayerFullControl.swf?vendor_id=224&media_id=6314&bgColor=1569D5&autoplay=0) cannot load data from [http://snowboard-mag.com/videoplayer/pre-roll.xml](http://snowboard-mag.com/videoplayer/pre-roll.xml).

I load the security file in the preloader.as class before I attempts to grab the xml (in the constructor of the preloader.as class):

private var testPolicyFile:String =“[http://snowboard-mag.com/crossdomain.xml](http://snowboard-mag.com/crossdomain.xml)”;  
(in init:)  
Security.loadPolicyFile(testPolicyFile);

Safari says that the crossdomain.xml file is there. I have tried loading a local crossdomain.xml as well. I am losing my mind. I have done this alot and have never had this problem. anybody?  
thanks  
Corey
