When you want to test the flex application to access local resources without hosting it on web server or in flex builder’s debug folder, the security error will be prompted.
Instead, we can add the “-use-network=false” parameter to the compiler option of the flex project to avoid such error.
However, the application cannot access Internet resources anymore once we add this parameter. Another security error will be prompted in this case.