# \*\*\* Security Sandbox Violation \*\*\*

**URL:** <https://forum.kirupa.com/t/security-sandbox-violation/322111>\
**Category:** Uncategorized\
**Created:** [May 11, 2011, 2:11am UTC](https://forum.kirupa.com/t/security-sandbox-violation/322111 "2011-05-11T02:11:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LOLFlash](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@LOLFlash](https://forum.kirupa.com/u/LOLFlash)\
**Post date:** [May 11, 2011, 2:11am UTC](https://forum.kirupa.com/t/security-sandbox-violation/322111/1 "2011-05-11T02:11:12Z")

</div>

Hi

I like Flash security :cool:

when I setting myUILoader.source=“filename.swf” all works  
but  
myUILoader.source=File.applicationDirectory.nativePath+"/filename.swf";

I have Sandbox problem when interacting with loaded swf

Any Suggestions, please.

I need load all swfs what in a folder.

Security.allowDomain("\*") doesn’t work…

A little reading gives me  
myUILoader.source=“app:/filename.swf” works

but what if I need to load from documentsDirectory ???
