<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>The Warp - Globalization</title>
			<link>http://thewarp.org/blog/index.cfm</link>
			<description></description>
			<language>en-us</language>
			<pubDate>Thu, 09 Sep 2010 08:51:51 -0700</pubDate>
			<lastBuildDate>Fri, 08 Jun 2007 14:40:00 -0700</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>ledgeswarp@yahoo.com</managingEditor>
			<webMaster>ledgeswarp@yahoo.com</webMaster>
			
			
			
			
			
			<item>
				<title>Web 2.0 madness grips China</title>
				<link>http://thewarp.org/blog/index.cfm/2007/6/8/Web-20-madness-grips-China</link>
				<description>
				
				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]
				</description>
						
				
				<category>Flash</category>				
				
				<category>Flex</category>				
				
				<category>Globalization</category>				
				
				<category>Online</category>				
				
				<pubDate>Fri, 08 Jun 2007 14:40:00 -0700</pubDate>
				<guid>http://thewarp.org/blog/index.cfm/2007/6/8/Web-20-madness-grips-China</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Flash Globalization Part 2...  Embedded Fonts...</title>
				<link>http://thewarp.org/blog/index.cfm/2005/6/24/flash-global-part2</link>
				<description>
				
				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.


&#xc0;&#xc1;&#xc2;&#xc3;&#xc4;&#xc5;&#xc6;&#xc7;&#xc8;&#xc9;&#xca;&#xcb;&#xcc;&#xcd;&#xce;&#xcf;&#xd1;&#xd2;&#xd3;&#xd4;&#xd5;&#xd6;&#xd9;&#xda;&#xdb;&#xdf;&#xe0;&#xe1;&#xe2;&#xe3;
&#xe4;&#xe5;&#xe6;&#xe7;&#xe8;&#xe9;&#xea;&#xeb;&#xec;&#xed;&#xee;&#xef;&#xf1;&#xf2;&#xf3;&#xf4;&#xf5;&#xf6;&#xf9;&#xfa;&#xfb;&#xfc;??&#xbf; 


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

&#xc0;&#xc1;&#xc2;&#xc3;&#xc4;&#xc5;???&#xc6;&#xc7;??????&#xc8;&#xc9;&#xca;&#xcb;?????????
??&#xcc;&#xcd;&#xce;&#xcf;?????????????&#xd1;????&#xd2;&#xd3;&#xd4;&#xd5;&#xd6;&#xd8;
????????????????&#xd9;&#xda;&#xdb;&#xdc;???????&#xdd;??
???&#xe0;&#xe1;&#xe2;&#xe3;&#xe4;&#xe5;???&#xe6;&#xe7;??????&#xe8;&#xe9;&#xea;&#xeb;??????
??????&#xec;&#xed;&#xee;&#xef;??????????????&#xf1;?????
&#xf2;&#xf3;&#xf4;&#xf5;&#xf6;&#xf8;????????????????&#xf9;&#xfa;&#xfb;&#xfc;?????
??&#xfd;&#xff;????&#xde;&#xfe;&#xdf;?&#xd0;&#xf0;??&#xbf;
				
				</description>
						
				
				<category>Flash</category>				
				
				<category>Globalization</category>				
				
				<pubDate>Fri, 24 Jun 2005 08:24:00 -0700</pubDate>
				<guid>http://thewarp.org/blog/index.cfm/2005/6/24/flash-global-part2</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Flash Globalization</title>
				<link>http://thewarp.org/blog/index.cfm/2005/6/9/flash-globalization</link>
				<description>
				
				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&apos;t planned for in the beginning and because of it both Flash games and applications weren&apos;t built the way that they should have been.  Some of that was partially my fault, because when I was building them I didn&apos;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&apos;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:

&lt;div class=&quot;code&quot;&gt;&lt;br&gt;
XPath.selectNodes(this, &lt;br&gt;
&quot;//item[@id=&apos;link&apos;]/@link&quot;)[0].nodeValue;
&lt;BR&gt;
&lt;/div&gt;

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

&lt;div class=&quot;code&quot;&gt;&lt;br&gt;
&lt;FONT COLOR=NAVY&gt;&amp;lt;item id=&lt;FONT COLOR=BLUE&gt;&quot;link&quot;&lt;/FONT&gt; link=&lt;FONT COLOR=BLUE&gt;&quot;&lt;A TARGET=&quot;_blank&quot; HREF=&quot;http://www.yahoo.com&quot;&gt;http://www.yahoo.com&lt;/A&gt;&quot;&lt;/FONT&gt;/&amp;gt;&lt;/FONT&gt;&lt;br&gt;
&lt;BR&gt;&lt;/div&gt;

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

&lt;div class=&quot;code&quot;&gt;&lt;br&gt;
&lt;A TARGET=&quot;_blank&quot; HREF=&quot;http://www.yahoo.com&quot;&gt;http://www.yahoo.com&lt;/A&gt;&lt;br&gt;
&lt;BR&gt;&lt;/div&gt;

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:
&lt;div class=&quot;code&quot;&gt;&lt;BR&gt;&lt;FONT COLOR=NAVY&gt;&amp;lt;item id=&lt;FONT COLOR=BLUE&gt;&quot;link&quot;&lt;/FONT&gt; link=&lt;FONT COLOR=BLUE&gt;&quot;&lt;A TARGET=&quot;_blank&quot; HREF=&quot;http://www.yahoo.com&quot;&gt;http://www.yahoo.com&lt;/A&gt;&quot;&lt;/FONT&gt; color=&lt;FONT COLOR=BLUE&gt;&quot;ff0000&quot;&lt;/FONT&gt; size=&lt;FONT COLOR=BLUE&gt;&quot;11&quot;&lt;/FONT&gt;&amp;gt;&lt;/FONT&gt;![CDATA[Link to Yahoo]]&lt;FONT COLOR=NAVY&gt;&amp;lt;/item&amp;gt;&lt;/FONT&gt;&lt;BR&gt;&lt;/div&gt;

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&apos;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
				
				</description>
						
				
				<category>Flash</category>				
				
				<category>Globalization</category>				
				
				<pubDate>Thu, 09 Jun 2005 05:00:00 -0700</pubDate>
				<guid>http://thewarp.org/blog/index.cfm/2005/6/9/flash-globalization</guid>
				
			</item>
			
		 	
			</channel></rss>