I recently found a strange problem when debugging the flash builder 4.5 project in the Chrome browser, and always reported an error during debugging (even if there is only one application container in the mxml file) the prompt "Security Sandbox conflict Error #2148, cannot access the local resource file: // ***/bin-Debug/textlayout_2.0.0.232.swf ". After several times of restart and debugging, the Chrome browser crashes. After the crash, refresh the Chrome browser again and everything is normal. However, after the computer is restarted, this problem will be reproduced again. debugging with IE and FF browsers won't happen.
The cause of the error may be in the Data Access Model of flash in chrome, so I tried to add-use-network = false in the additional compilation parameter settings to prohibit access to the network, during the test, everything is normal, but this method is not a good method, because this requires that this additional compilation parameter be added for each newly created Project.
So I tried to test other methods and found that this problem can be ruled out in the other two cases:
1. Create a project in the default location such as c: \ Documents and Settings \ admin \ Adobe Flash builder 4.5. No errors will be reported during the test and everything will be normal.
2. Select "merge to code" in the "flex build path"-"library path"-"box and link" option and click "OK". No error will be reported during the test, everything is normal.
For the above two cases, why is there no error? I still don't know why. But for the two methods, the second method is more operable.
Http://www.cnblogs.com/liuzhong/archive/2011/06/29/2092960.html