Web 2.0 madness grips China

A rising middle class, cheap start-up costs, increasing penetration of PCs and Internet-enabled cell phones, and an ability to tap the local market better than multinationals like Google or Amazon.com, among other factors, is fueling a rush into Web sites, online games and companies with novel advertising pitches.

[More]

Flash Globalization Part 2... Embedded Fonts...

I have run into real issues with embedded fonts and how to properly handle Asian character sets in Flash. I have heard multiple solutions, from embedding the fonts on the main timeline in a text field, Using system fonts for Chinese and Japanese, having the font in the library, etc, etc. Has anyone out there come accross a way that works consistantly?

I really think that Macromedia should address this topic a little better.

I just finished a European flash project and had to make sure that all special characters were included. I think that this list covers Portugese, Spanish, German, French and Italian.

ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛßàáâã äåæçèéêëìíîïñòóôõöùúûüŒœ¿

Here is a complete list of special characters, I may be missing some:

ÀÁÂÃÄÅ???ÆÇ??????ÈÉÊË????????? ??ÌÍÎÏ?????????????Ñ????ÒÓÔÕÖØ ???Œ????Š???????ÙÚÛÜ???????Ý?Ÿ ?Ž?àáâãäå???æç??????èéêë?????ƒ ??????ìíîï??????????????ñ????? òóôõöø???œ????š???????ùúûü????? ??ýÿ?ž??Þþß?ÐðŒœ¿

Flash Globalization

I have really been exposed a lot where I am working at right now to making Flash content truely global. At my other job, the globalization of Flash content was an afterthought. It wasn't planned for in the beginning and because of it both Flash games and applications weren't built the way that they should have been. Some of that was partially my fault, because when I was building them I didn't think of putting them into other languages.

With my new job I have been forced to conform with setting up everything that I do so that all of the text in a flash piece can be customized in XML. This has meant learning how to use Xpath in Flash, which the best solution out there is XFactorStudio's solution.

The solution from XFactorStudio allows you setup a search of an XML file for certain values or attributes. Here is an example of a search:


XPath.selectNodes(this,
"//item[@id='link']/@link")[0].nodeValue;

This simple search returns all nodes called "item" with the attributes "id" that are equal to "link". The "@link" part specifies that I want the value of the attribute named "link". This XML would be represented like this:


<item id="link" link="http://www.yahoo.com"/>

Selecting node [0] returns the first value. The above Xpath search would return the link:

These Xpath calls can be expensive, so you are much better off calling one node and getting the attributes off of it outside of the Xpath search.

You should end up with XML like this:


<item id="link" link="http://www.yahoo.com" color="ff0000" size="11">![CDATA[Link to Yahoo]]</item>

You should always wrap text in CDATA so that everything inside is igonored by the XML parser. This means any special characters will not mess up your App.

The use of XML will allow you easily change the language without having to recode your flash piece. The addition of font sizes, font colors, auto expanding text fields, and the resizing of graphical elements based on the length of the text all will make your project a success.

Trust me you should do it even if your company doesn't have a plan to make your stuff international. When your boss decides to take the site international and use other languages your work up front will pay off big time.

Many thanks to my former co-worker Brian for the idea on this article. It is something that they are having to go through now. Visit him at: http://www.remotesynthesis.com/blog/index.cfm







The Doctor Who Fan Store  |   The Action Figure Superstore  |   The Comic Book Store  |   United States Army store  |   The Cutlery Store  |   The Craftsman Store  |   The 9/11 Store  |   The Aliens Store  |   The Locomotive Store  |   The Board Game Store  |   The Chevrolet Store  |   The Scrapbooking Store  |   The Battlestar Galactica Store  |   The General Store  |   The Warp Store  |   The Marvel Comics Store  |   Dominos and More Dominos  |   Baby Boomer Books  |   Card Games  |   Bob the Builder Store  |   Intel Core Duo Store  |   The DVD Location  |   The MP3 Store  |   Rebel Alliance  |   Lets Play Pool  |   Dumbledore's Army  |   All Saints Day - halloween  |   Fall is the season  |   The Memory Stick Store  |   Sunglasses and more  |   Harding University  |   Decorating Central  |   The allsaints Store  |   Amazing Stories on DVD  |   Automobile Accessories  |   About Baptism  |   Churches  |   Church of Christ  |   LinkedIn: Adobe Photoshop Group  |   Cook Shop  |   The Georgia Shop  |   Justice League  |   LAFD  |   LAPD  |   New York State  |   NYC  |   FDNY  |   NYPD  |   The Republic of Texas Store  |   The Doctor  |   USSR  |   Allies  |   The Art House  |   The City of Atlanta  |   Axis  |   The Dark Horse Store  |   The City of Houston  |   Montey Python Store  |   iPod Store  |   The City of Providence  |   Science Fiction  |   The Sigma Store  |   The Sony Style Store  |   Tesla  |   Wal-Mart  |   Babies Clothes and more  |   Battlestar Galactica  |   Superman  |   Cylon  |   Deep Space Nine  |   Online Advertising  |   Jenga  |   Lucasfilm  |   Milton Bradley  |   Monopoly  |   Parker Brothers  |   The Scrabble Shop  |   Snowspeeder  |   Steven Spielberg store  |   Spidey  |   Spock  |   Trivial Pursuit  |   Wizards  |   Wizards of the Coast Store  |   Disney Discounts  |   Actionscript & Web Development  |