Flex error when accessing local files

Source: Internet
Author: User
Hi,

I created a project which has images involved. The program runs fine
In Flex workspace. But as I make a copy and place it on to anywhere
Else failed t the workspace, there is a security message comes up.

Have done some search as trying to create a crossdomain. xml file,
So far I have not been successful yet.

Is there any suggestion, pls!

Thanks!

This is probably because all flex SWFs are using local-with-network as
Default sandbox, hence it won't have access to the local files (including
Images), one suggested solution is to add extra compiler argument:

1. Project property> flex Compiler
2. Add this "-use-network = false" to "Additional compiler arguments" Field
3. Then recompile the SWF

See if this solve the security problem.

Jeremy.

Http://groups.google.com/group/riadev/browse_thread/thread/85cc05c49c5ec50a/9a50ac7d94defee8? Lnk = GST & Q = securityerror % 3A + error + % 232148 #9a50ac7d94defee8

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.