Flash Player8 ActiveX read local Chinese folder file error problem

Source: Internet
Author: User
active|activex| Error | problem | Chinese

This problem exists only with flash Player8 and above, if the SWF exists in the Chinese folder, and then the file is loaded into an application through ActiveX, then the Flash file will read the file error, because this problem must meet so many requirements, so, There are not many such problems.

Solution 1:
Load file with absolute path
Solution 2:
Execute the following code before flash loads the file:

  1. _global. URL = _root._url.slice (0, _root._url.lastindexof (\) +1), join _global before loading the file. URL, for example:
    _filepath = _global. URL + "Myfile.xml";


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.