22
Mar
10

In Flash the TEXT that you include or load as an external file using the #include command, the  loadVariables or getURL actions, or the  LoadVars or  XML objects encoding is Unicode, so we don’t get the correct encoding for the files when we are using German characters, Chinese characters etc.  To display other  characters we need to enable the flash property system.useCodepage. It is a Boolean value, by default it is false.

When the command is set to  false , the Flash Player 6 interprets external text files as Unicode. (These files must be encoded as Unicode when you save them.)
When the command is set to true , the Flash Player 6 interprets external text files using the traditional code page of the operating system running the player.

Flash Script 2.0

// Use this any where in your flash script
system.useCodepage  =  true;

  • del.icio.us
  • Digg
  • Facebook
  • LinkedIn
  • Google Bookmarks
  • Twitter
  • MySpace
  • Mixx
  • Reddit
  • DZone
  • Sphinn
  • StumbleUpon
  • Blogplay
  • Diigo
  • Live
  • MSN Reporter
  • Technorati
  • NewsVine
  • Yahoo! Bookmarks
  • Netvibes
  • Design Float
  • Add to favorites
  • email
  • Yahoo! Buzz
  • Gwar
  • FriendFeed
  • Tumblr
  • Print
  • PDF
  • RSS

About Midhun Devasia

I'm a 26 year old Web Developer from Cochin, India.I had completed my B.Tech Computer Science and Engineering from SNGCE, Cochin. Now am working as a Technical Manager for a Web Development company at Cochin, India . I have 1 year experience in Java and 3 year experience in Web Technologies.
This entry was posted in Flash and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>