Error #2148

The swf files that come with modular are compiled with the network-security sandbox. That means, the flash player can access network resources but only approved local resources. So we have to instruct the flash player that it should trust our directory were we have the modular application. There are two ways to do this:

Security Settings Manager

The first way is to add the modular application directory as a new location within the Security Settings Manager:

security settings manager
Here we my modular application is in to folder: /Users/mich/Flex Projects/modular_project

Flash Player Trust Directory

The second way is to add our directory in a .cfg file inside the Flash Player Trust directory which resides on Windows at: C:\windows\system32\Macromed\Flash\FlashPlayerTrust and on OSX at: /Library/Application Support/Macromedia/FlashPlayerTrust:

flash player trust dirctory
added new file flexprojects.cfg to the flash player trust dirctory that contains a list of my trusted folders

tl_files/modular_template/help_hint.pngA good practice is to trust your parent folder of all flash / flex projects because all subfolders are automatically also trusted. This way you have to setup only once for any project. So for example you use FlexBuilder/FlashBuilder you specify the workspace folder as trusted and any swf files with network-security sandbox have access to you local ressources within you workspace.

Comments

*
*
Please calculate 6 plus 5.*