Security Sandbox conflicts occur when debugging flex projects in chrome

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.