Foreign English Flash+xml The whole station cannot display Chinese solution

Source: Internet
Author: User
Tags modify
How to make the original English flash source file in the entire station XML file display Chinese content? The following video gives us a detailed explanation of how to do this.

You can follow the video to explain the way to modify, or refer to the following tutorial to modify it.

XML can be used in Chinese.

If you want to let flash read XML containing Chinese, you need to read XML, add a line of sentences, there will be no garbled

System.usecodepage = true; AS2.0, use this line.

System.usecodepage = true; AS3.0 Use this

The first line of comments in an XML file can be

Save bit Unicode encoding and add in Flash Code: System.usecodepage =false;

The first line in the first frame, in fact, the default is also false, to be on the safe side

If you can not display Chinese, it is not a flash or flash code problems AH

Is it the problem with your dynamic Text property setting? Embed fonts Select Simplified Chinese

I solved the problem with one line of code, according to the tips from everyone upstairs. The source of the problem is that dynamic text cannot be displayed in a static mask, and the mask generated by the as code must be used:

This.setmask (mascara);

The code is placed on the timeline where the mask is located.

Of course, all the font settings to display dynamic text must be set to the Chinese font such as "XXFarEastFont-Arial" and choose "Use Device Fonts".

Solving this problem is really simple!

Set our dynamic text font to our commonly used fonts such as "XXFarEastFont-Arial"

And then embed there do not embed any fonts, if you embed fonts ~ you will generate a very large flash!

You can resolve the problem by setting the 90% steps above.

But there's still no way to show the dynamic text with the mask,

Here's an easy way to solve this problem is to add a filter to the animated text to make it OK.

It is best to remember that XML files are best used in UTF-8 format.



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.