in

Share your IT thoughts...

I N F O R M A T I O N   T E C H N O L O G Y   P O R T A L   O F   E X P E R T S
Latest post Wed, Apr 22 2009 8:39 AM by NinethSense. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • Wed, Apr 22 2009 1:54 AM

    • ansafi
    • Top 25 Contributor
    • Joined on Wed, Apr 22 2009
    • Beginner
    • Points 82

    Flash dynamic text

    Hi,

    I've done a presentation in flash in which I'm displaying some texts from a .txt file using loadVariables() function. Its working very fine. Now I wish to display the italian translation of the same text using the same technique. No problem with text loading and all, but some special characters like "è" are converted to some meaningless (box) characters. So the matter is getting bla bla..! Please help me in this situation. How can I display all characters as such..?

    • Post Points: 41
  • Wed, Apr 22 2009 2:32 AM In reply to

    • NinethSense
    • Top 10 Contributor
    • Joined on Tue, Jul 1 2008
    • India
    • Master
    • Points 7,887

    Re: Flash dynamic text

    Answer

    On the first frame of your movie, add this:

    System.useCodepage = true;

    Let me know if it worked.

     

    • Post Points: 15
  • Wed, Apr 22 2009 2:33 AM In reply to

    • NinethSense
    • Top 10 Contributor
    • Joined on Tue, Jul 1 2008
    • India
    • Master
    • Points 7,887

    Re: Flash dynamic text

    Also, make sure your text file is UTF-8 encoded.

    • Post Points: 41
  • Wed, Apr 22 2009 5:39 AM In reply to

    • ansafi
    • Top 25 Contributor
    • Joined on Wed, Apr 22 2009
    • Beginner
    • Points 82

    Re: Flash dynamic text

    Great!! Its working 100%. File was already saved in UTF-8 format. But "useCodePage" was not used. It really helped. Thanks a lot friend.

    • Post Points: 41
  • Wed, Apr 22 2009 8:39 AM In reply to

    • NinethSense
    • Top 10 Contributor
    • Joined on Tue, Jul 1 2008
    • India
    • Master
    • Points 7,887

    Re: Flash dynamic text

    Nice to hear Smile

    • Post Points: 15
Page 1 of 1 (5 items)