| Refresh | Home EGTry.com

load local file from swf security violation and compiler options


-use-network=false

security violation message sample

***Security Sandbox Violation*** 
Connection to text.do halted - not permitted from file:///C:/my1/projects/flex/T_URLLoader/bin-debug/SendText.swf
SecurityError: Error #2148: 
SWF file file:///C:/my1/projects/flex/T_URLLoader/bin-debug/SendText.swf cannot access local resource text.do. 
Only local-with-filesystem and trusted local SWF files may access local resources


compiler options to allow to load local file

-use-network=false