Link to home
Start Free TrialLog in
Avatar of pacha2
pacha2

asked on

load variables from html to flash in UTF-8

Hi

I am trying to load variables using the "SetVariable" function in the HTML
and that's work fine as long as I am using plain English text,
but when I am trying to load into the flash movie text in Hebrew for example or character from other language (in UTF-8) I can't see the text on the flash movie.

I need to know how to do loading of text in UTF-8 to the Flash MX and make that working.

need help please
A.S.A.P
Avatar of lyonst
lyonst
Flag of Ireland image

ASKER CERTIFIED SOLUTION
Avatar of lyonst
lyonst
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pacha2
pacha2

ASKER

but if I want to load the data from HTML file - and the HTML file is written in UTF-8 is it possible?

I can't do that from include file - I have to implements it from the HTML.
See these for Ur ref

Support for Unicode in Macromedia Flash MX It is possible to use Unicode characters in an external ActionScript file that is added to a movie using the  #include  action. The text in the file must be encoded in the UTF-8 format and the UTF-8 header ( \\!-- UTF8 ) must be placed at the top of the file.

http://www.macromedia.com/support/flash/ts/documents/unicode.htm

Try to use fonts comp with ATM 4.1 or later

See this http://www.macromedia.com/support/flash/ts/documents/tn4105.html
See these for Ur ref

Support for Unicode in Macromedia Flash MX It is possible to use Unicode characters in an external ActionScript file that is added to a movie using the  #include  action. The text in the file must be encoded in the UTF-8 format and the UTF-8 header ( \\!-- UTF8 ) must be placed at the top of the file.

http://www.macromedia.com/support/flash/ts/documents/unicode.htm

Try to use fonts comp with ATM 4.1 or later

See this http://www.macromedia.com/support/flash/ts/documents/tn4105.html
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept lyonst's comment as answer.

Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

OBCT
EE Cleanup Volunteer
Thanks OBCT.. agreed.

lyonst.