Trying to run through Elad’s tutorial “Test Driven Development using Flash Builder 4 beta and FlexUnit” and I couldn’t run the most basic fail test because of the following error:
Error #2010: Local-with-filesystem SWF files are not permitted to use sockets.
My project properties have compilation arguments for -use-network=false. Turns out the solution is to configure your Flash Player to trust the swfs in the project’s /bin-debug directory
1) Goto http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
2) Under “Always trust files in these location”, add your project’s /bin-debug folder
3) Run tests again