A policy file is required, but the CHECKPOLICYFILE flag is not set when this media is loaded

Source: Internet
Author: User

Loadercontext Properties of Checkpolicyfile:

If you load an image (JPEG, GIF, or PNG) from outside the domain where the calling SWF file is executing, and you expect to have access to the contents of the image from ActionScript, set this flag to true . Examples of accessing image content include referencing Loader.content properties to get the Bitmap object, and calling BitmapData.draw() methods to get a copy of the loaded image pixels. If you checkPolicyFile try to do one of these operations without specifying it at load time, you may get an SecurityError exception because the required policy files have not been downloaded.

A policy file is required, but the CHECKPOLICYFILE flag is not set when this media is loaded

Related Article

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.