A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Special language letters

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    4

    Special language letters

    I have problems with a flash file that calls a extern .xml fil to get information, but the output i the flasfile is ok, if I am not using Danish letters, as fx.

    I don't know wher to tell my flash file, that I am using Danish as main language.

    Please help!

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montral, Qubec.
    Posts
    25,397
    Try the following on the first frame of your movie...

    System.UseCodePage=true;

    And embed the font in the textfields to make sure everybody sees it.

  3. #3
    Junior Member
    Join Date
    Jul 2004
    Posts
    4

    Still don't work

    Hi there, thanks for replying my question for help.

    But your sugesstion did not work for me.

    I have a little flash file that look after information in an xml file, and it shows the Danish letters in the flash file ok.

    But when I copy this flash file into another flash file I am working on, i can't show the Danish letters ??

  4. #4
    Senior Member
    Join Date
    Aug 2002
    Location
    Dublin, Ireland
    Posts
    1,749
    You shouldn't need to use the System.codePage thing, I usually find the problem is with the format of the XML. Check it has been saved using UTF-8 encoding.
    (This assumes that characters are not embedded in your text fields, that way, it can use the characters it finds on the users PC.)

  5. #5
    Junior Member
    Join Date
    Jul 2004
    Posts
    4
    The .xml fil not saved in utf-8 code, but in ansi.

    How can I see if it is an embeded text?

  6. #6
    Senior Member
    Join Date
    Aug 2002
    Location
    Dublin, Ireland
    Posts
    1,749
    1. Those characters aren't supported properly by ANSI but work fine with UTF-8. Open the file in Notepad or whatever, and save as "UTF-8".
    2. To check for embedding, in your FLA, click on the textfield and then in the properties dialog, click on the "Character" button. Select "Embed font outlines for: No characters."

  7. #7
    Junior Member
    Join Date
    Jul 2004
    Posts
    4
    Thanks for the help.

    It solved my problem

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center