Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




LoadVars And Chinese Fonts



i am using flash mx on mac computer...
i've been searching for answers for loading external text file (chinese words) to display on various browser... ..., but as attached files, chinese characters are not displayed ok on screen.

my setup is as attached... chinese words externally loaded in and masked

in my case, in order to display chinese words consistently on different browsers, what should i do :
1. on fla
2. on txt file

thanks in advance



ActionScript.org Forums > ActionScript Forums Group > ActionScript 1.0 (and below)
Posted on: 11-14-2005, 10:29 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

LoadVars And Chinese Fonts
i am using flash mx on mac computer...
i've been searching for answers for loading external text file (chinese words) to display on various browser... ..., but as attached files, chinese characters are not displayed ok on screen.

my setup is as attached... chinese words externally loaded in and masked

in my case, in order to display chinese words consistently on different browsers, what should i do :
1. on fla
2. on txt file

thanks in advance

Chinese Fonts
I have a presentation in the form of an swf (not exe) that is used on a CD rom.. all the important text is loaded dynamically via xml.

I have just been asked to make a Chinese version. Although I have no idea about Chinese I was thinking to just get the xml files translated. And have a link to load the chinese xmls instead of the english ones.

So my question is does anyone have any experience with this kind of thing? Anyone know any pitfalls I should avoid or might have trouble with? especially regarding chinese fonts...

Thanks

Chinese Fonts
Hi,
I basically need to be able to use chinese fonts in my application which needs to support several different languages. I currently store the fonts I need in a separate swf file and import this which works fine. However I have had no luck doing this with chinese fonts, does anyone know how to go about this?
I haven't really been able to find much useful information about how it is achieved, especially in as3.

Thanks in advance for any ideas

Chinese Fonts
i'm doing a site in simplified chinese and english, and i'm looking for a suitable chinese font. i'm using miniml fonts in english and am trying - with little success - to find something that will keep the visual style. any suggestions? thanks


supernaut

Chinese Fonts
Hi,
I basically need to be able to use chinese fonts in my application which needs to support several different languages. I currently store the fonts I need in a separate swf file and import this which works fine. However I have had no luck doing this with chinese fonts, does anyone know how to go about this?
I haven't really been able to find much useful information about how it is achieved, especially in as3.

Thanks in advance for any ideas

How To Input Chinese Fonts?
Can I know wats the procedure of insertinga chinese fonts?????

Chinese Pixel Fonts
Ok I'm in need of some information..

I have to convert my project into Chinese..
anybody know where to get some Chinese pixel fonts?

Using Japanese And Chinese Fonts Without Font Symbols.
Hi there,

Using japanese and chinese fonts without font symbols.
I use a V2 textArea component

fontSymbols in flash library + xml loading + css applying.
Works great, text is displayed correctly with the correct font and formating, bitmap fonts or anti-aliased.

But as you know if you dealt already with such a situation each font symbols adds a lot to the swf files (more than 1 meg +/ font symbol).


Instead of using font symbols, which embed the complete font, I've decided to test a workaround. The good classic method of using a dummy text field to which you define selected embed options.

So I have the following:
a dynamic text field with "abcJapanese font" with embed option japanese kana and kenji. Named : dummy_txt
a textarea component named test_cpn editable turned off and html turned off through Flash Gui.
code on frame 5:

ActionScript Code:
test_cpn.setStyle("embedFonts",true);
test_cpn.setStyle("fontFamily","イワタ中ゴシック");
test_cpn.setStyle("fontSize","13");
test_cpn.text="<u>test</u> あなたのブランドの雰囲気をあなたの独自性を尊重しながら作り出します。";

What I've tested:

A: dummy_txt with antialias for animation
---> works japanese font displays correctly in textarea component.
this works with japanese fonts which displays correctly in flash font selector or with unrecognized characters like those desplayed with squares.
B: dummy_txt with no antialias
---> nothing appears in textarea component.
C: dummy_txt with antialias for animation + test_cpn.html=true
---> nothing appears in textarea component.
D: dummy_txt with antialias for animation + test_cpn.editable=true
---> nothing appears in textarea component.

C et D seems to produce same results with regular occidental fonts. As soon as a modification is done to the text area nothing appears anymore...


Thank you in advance for your help.

Embedding Specific Characters For Japanese/chinese Fonts
Hi

I have a file which is reading unicode from an xml page.

I need to embed only the characters used - this includes some chinese and some japanese. I do not want to embed the entire font as the result is very very large and this is intended for a website.

I am working on a UK system.

Anyone have any solution other than installing a japanese version of flash on a japanese machine?

Thanks in advance.

How To Change From Traditional Chinese To Simplifed Chinese In Flash Mx?
dear experts...

i have encouter a huge challenge by trying to converting my tranditional chinese flash work into simplified flash work.

Can anyone help me at this point!!!!

i will be deeply appreciated.

thanks! love ya guys with all the help and support

Tweening Textfield With Embed Fonts And Loading Text Through LoadVars
Hi guys,
I am gonna ask the same question again regarding tweening in text fields.
I already read some Adobe documentation and I understood that text field has its property _alpha available just when it HAS embed FONTS,
So I supose if I want apply a tween class on a text field, I HAVE to have a embed font aplied in this text field... well, for now it is ok, because I did some experiments and everything worked good, but I need to use LoadVars to load my text from external file, and that is my deal.
Does anydoby know something regarding this issue, because I already tried a text fiels with TextFormat class aplied, and embed Fonts, but when I try to load my text from an external file, nothing happen !
You guys can check this site below and notice that thet ext field has a tween class aplied in "About Us", "Testimonials", "Pricing" and "Contact US"...

Do you guys think that they did not use a external text file for this option ?
Just writing all text directly in TextField.text propriety instead a external file ?

http://www.pictureperfectphotoonline.com/index2.php

A Bit Of Chinese, Anyone? LOL
Imagine you need to make a file that uses Chinese characters. And you don't speak Chinese, so you ask a friend of yours who is Chinese (or speaks and writes fluently Chinese, like Mira Sorvino) and you ask him or her to write the Chinese letters you need.

So here is a list of all the Chinese characters that Flash Unicode System can output on the screen. With its code.

If you download the file, try changing the "4" in the left combo box by another number, and then change the value of the right combo box and hit "GO". It will automatically give you the list of the next 256 characters in Chinese and their Unicode value, so you don't need to check it out any further...

For safety, I wrote the minimum and the maximum values you are supposed to enter in order to get Chinese, but you ca neve nget Arabic, Greek or Hebrew with this little program.

I will place it as a movie for the actionscript.org site...

And here is the file...

Enjoy, and thanks for the interest...

How Can I Do And See The Chinese Words?
I can type the Chinese words in the sample_guestbook.swf but I cann't recive that.
I opened the the entries_so file(SharedObject) that was saved in FlashCom Server and it's unregulated.

I know Unicode support in Macromedia Flash MX,but the entries_so file was saved in ANSI.
How can I do and see the Chinese words?

Any help would be greatly appreciated.
Thanks in advance.

softip

Chinese In Flash MX
I've heard Flash MX has great multi-lingual support, but evrytime I input or copy-paste Chinese into it, it gives me question marks.

EG:

s turns into ?? [Note, those without Chinese fonts may not see the text]

I even use Chinese fonts, but it only gives me the question marks in that Chinese fonts' English typeface. Macromedia's website has a screenshot of MX going with multiple languages working at the same time. I just need Flash to allow both input with Chinese and English.

I've done it before with Flash 5.

Is there anyway without script?
I use Flash MX and Windows XP Pro.

Thanks

View Chinese In MX
I'm having trouble using chinese fonts in MX; I can view them fine in MS Word, but on flash mx, I get question marks. Can anyone help me with this? Do I need something installed on my pc (window 2000) in order to see the chinese characters?? TIA

Chinese Characters
Hi. I'm working on a project where I need to use chinese characters.
I'm currently using the #include-command to load a text-file that is UTF-8 encoded... that's how Macromedia suggests you do it.

However: Making all textfields dynamic, and load text into them externally is kind of frustrating(takes long time), so I wonder if there is a way for you to copy-paste chinese characters into your FLA...
Or do they have another version of flash in China??

I read in the manual that comes with flashMX that maybe you could change your settings in windows (in win2000 and later):
In the Control Panel, select Regional Options and with the General tab selected, under Setting for the current user, choose a language.

I'm not very good at windows, and I need files from the Service Pack 3 cd to install new languages, but if I made this, would it be possible to copy-paste chinese characters into the fla?????

Thanks for reading this rather long message

Chinese Characters From Xml ...
I have been using flash and it's new feature of the unicode (chinese
characters mostly). I am having a problem though. When I am making an xml
file with both chinese and english, flash only reads the value of '?'
instead of my charaters.

The encoding I am using is "iso-8859-1" and "Big5", but neither seam to
work. Any ideas?

--backbaychef

Chinese Text
Hi,

I was wondering what I need to do to get Flash MX 2004 to support chinese text? Currently when I try to copy/paste chinese text into a textbox it will show up as ?'s.

Do I need to use a localized version of it or what?

Chinese Font
Hi, I've a Flash-Movi with german text. Now I've to exchange the german for chinese text, because the Flash-Movi should be send to china. I've no idea, what I've to attend. Do I need a chinese language-font, or is it enough to find a european font which supports chinese signs? Can chinese people read this?

It would be great, if there is someone who can help me.

Thank you very much.

Gretli

Anyone Know How To Get Chinese Characters In MX?
I've done a site for a client, but now they want a copy in Chinese (simsun) characters. I don't know what's needed to allow for foreign characters within MX. ANyone have any ideas on how I could do that? I'd really prefer not to have to do the gif thing.

Thanks in advance.

V.

Chinese Characters?
hey,

so i have been banging my head against a wall trying to get flash to export chinese characters. the fields work to handle the characters, but when i send them to php, it comes out as question marks... any ideas?

kris

Chinese Chahracters
Hi, how can I display Chinese characters in a dynamic field which is controlled by a script I purchased, its a drop down menu scroller (sorry if that sounds confusing).

I have tried embedding Chinese but still no luck I only get unrecognized square boxes just like when i try to copy paste it into AS inside flash. Also same situation with XML.

Cheers!

Using Chinese Characters
I need to add chinese characters (fonts) to my flash project, is there a tutorial on this or can someone outline the steps required to display chinese fonts?

Thanks

Chinese Localization
Hi

I've been charged with internationalizing a Flash RIA, and unluckily for me one of the locales is China. Having spent fruitless hours trying to get just one Chinese character to display, my only chances of an ongoing career in IT are 1) resign and 2) beg for some help on here :-)

Text mainly comes from XML, but also from text files. There is text in button labels, in html fields, in datagrids, in scrolling displays. There are both input fields and static fields. The input fields also sometimes have exclude characters. These are all issues I anticipate, but so far I can't even get one measly character to show up.

Here's what I'm doing:-

XML file starts with:-
<?xml version='1.0' encoding='UTF-8'?>
and is saved as utf-8.
I've replaced a Latin string in the working English version with a '是' character (may not display on this webpage, I copied and pasted from a Chinese website).
I've imported the MingLiU font and embedded it in the swf.
I've set the universal fontFamily (affecting all fields) for the app to MingLiU.

All I see is nothing.

I've searched the internet and this question comes up occasionally, the advise is normally pretty simple, and Ive tried everything.

Grateful for any ideass/pointers

Chinese Characters
I am working on an app with a textfield created with code. The app has a chinese language option so the user needs to be able to enter text in an input text field with chinese characters. When i enable chinese (PRC) in Windows, and i start typing and get the little character entry box. Everything seems normal, but when i have finished the entry no character displays in the box. I can enter roman characters no problem, i can paste chinese characters, i just cant write them directly in the input.

Chinese Word
how to insert others word
example: chinese , japan ,korea
language to Flash MX 2004??

Chinese Words
can flash include chinese character??

How To Use Chinese In Flash?
im a newbie here. just wondering how do we use chinese language in flash? or any other language?

Chinese Word
how to insert others word
example: chinese , japan ,korea
language to Flash MX 2004??

Flash / XML / Chinese
I'm reading XML content into Flash8. Works all great, but it just doesn't work with Chinese Characters. The XML encoding is GB2312, the output in Flash is just random strange stuff. I tried to with embedded fonts, doesn't help but makes the file from 10kb to more 10mb

Any help appreciated

Flash : Chinese
Hi there,

I wrote a file upload application for a client, using the FileReference class in Flash. This application uses a PHP backend with the move_uploaded_file() function to process the file uploading to the server. When the client uploads a file with Chinese characters, it doesn't work as expected. See the image below :



How can I provide support for different encoding or different languages?
Is there some way to include language files or something?
Please post your comments. Appreciated!

Chinese/Japanese In Flash
Hey,
I'm trying input some chinese and japanese characters into a flash mx presentation.
I have NJStar which lets me input the characters into most programs. however, in flash, they show up in the text box as im typing but once i choose the arrow tool the characters turn into jibberish.
Anyone know if I'm missing something? Or a better way to go about this?
Thanks.

How Do I Input Chinese Text?
Hi all, new to here, I have already used the serach function but have trouble understanding still. Could someone show me how I could input chinese text into a movie without getting the question marks?

Something About Showing Chinese Text
I want to load some chinese text into flash through asp.
the chinese text is stored in the access.


but the loaded chinese will become some strange symbol,
what should i do?

thx

Chinese Characters In Flash Mx
Is it possible to input chinese text characters into flash mx, I can input chinese characters into word documents etc, but the text tool in flash does not recognise the characters, is there some plugin or the like available or is it possible at all....?

Support CHinese For Flash MX
I heard that Flash MX do support Chinese font. but when I want to insert chinese font.. It seem cant be work.. anyone can help

How To Change To Chinese Font?
I have this fla file that is dymanic text. Can anyone change it to chinese font instead of english?

Unicode And Mandarin Chinese
I may have a web-based training project (Flash MX) in my future requiring the display of Mandarin Chinese text. I've done done similar projects before displaying other translations, but never one using a characther set other than ours (English). The translations will all be done for me (English into Chinese) so that's not a problem, but I'm not able to visualize the next step. Specifically:

1. If I'm given a document in Mandarin Chinese, can I pull this text into a variable to be displayed as dynamic text (using Unicode) as I'm doing with English characters?

2. How is the fact that Chinese is not read (top left to bottom right) as English is, handled?

Any help or insight anyone may have would be much appreciated. Thanks for your time!

How To Input Chinese Characters?
how do i include chinese characters in flash?
i tried using njstar. but, the character changes back to garbage when i deselect the text field

Chinese Text In Flash ...
I have the English version of Flash but I need to publish some text within my Flash piece in Chinese. I can type it up in something like Microsoft Word and then do a screen dump > photoshop > cut and paste combo, but is there another way ?.

Thanks,
Stephen.

Chinese Or Japanese Characters
Hello,

I need someone with the ability to type in Chinese or Japanese
characters to do this:

Go to this website:
http://www.zebrasus.com/clients/FlashChat/font/

(it takes about 30 seconds to show up - there is no preloader)

Now, type some Japanese or Chinese characters into the textfield. Do
they appear? We're testing unicode support for a textfield component
that is being developed, and we just need to see if it supports
Japanese or Chinese characters.

Thanks!
Darren

Can I Embed Chinese Font?
Does anyone know how I can embed font outlines for Chinese? I have loaded teh text and it works great using system fonts but I need to embed the fonts so it will display on non-Chinese systems.

Any help is greatly appreciated.

Chinese Font Problem
hi,

i have problem displaying chinese font correctly in MX. when the text is in edit mode, or it is dynamic text, there is no problem.

however, when it is static text and published, the holes inside the chinese character are filled. please take a look of the image attached.

http://www.williamng.info/chineseProb.jpg

i could use dynamic text, but the dynamic text is not anti-aliased, which looks pretty bad.

any idea of how to fix this??

Thanks!

Help About Chinese Language In FLASH.
I want to do like this in text zooming animation in a dynamic textfield.

Inside in the movieclip have another movieclip with insName of textclip consisting the dynamic textfield representing the variable "text".

here is my bodycode in the parent clip:

onClipEvent (load) {
this.textclip.text = "市场风险计量";
}

If I put a value in English text that would be working but if i put chinese it is not working. WHY?

Chinese Geturl Problem
I have built a form that user can input it's account name and password
and the account name can be chinese

while press submit button, the geturl function is called to open a xxx.php using post
however the url shown in ie becomes wrong symbols causing error
e.g. http://www.xxx.com/xxx.php?username=%E7%83%8F%E8%A0%85&?pass=abcde

however english username will not cause any error

is flash don't support chinese???
If really cannot, any alternative method suggested???

Pls somebody help me
THX!!!!!

Flash In Other Languages I.e. Chinese
Hi all,

I am currently working on a flash projest that imports XML.
The idea was that this would ease the translation process, which it did in languages like german french etc...
But when it come to asian languages, it doesnt display anything.

I have instaled chinese simplified and traditional, and I can see the characters well in Word and XMLSpy, but when i cut and paste a couple chars into a textfield in Flash, all I get is a bunch of ??????

Can anyone help.

Cheers

Chinese Text Not Dynamic
hi guys,

i realise that the unicode thingy is not dynamic.

what i do is :

i have a .as file saved as UTF8 format with Win Notepad and have this inside:

//!-- UTF8
chinesevar="在上世纪60年代"

then i have this .swf file with a dynamic textfield called "chinesevar"("chinesevar" is a variable name.) and at the first frame of main timeline i put:

#include "chinesetext.as"

then i compile the swf. it works ok. chinese words appeared. but i change to other chinese words in .as file, the .swf still show the old one.

how do i make it dynamic then???that means, the .swf will grab the chinese words from .as file everytime it loads, so that i just have to change the .as file everytime when i wanted to change it.

thanks for sharing.

Chinese Font In Flash
how to embed chinese font in flash

Copyright 2005-08 www.BigResource.com, All rights reserved