<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>localToGlobal &#187; tutorial</title>
	<atom:link href="http://blog.fjakobs.com/archives/category/tutorial/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.fjakobs.com</link>
	<description>FLASH BLOG</description>
	<lastBuildDate>Tue, 25 Jan 2011 14:28:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>font embedding tip &#8211; &#8220;Error: Unable to transcode&#8230;&#8221;</title>
		<link>http://blog.fjakobs.com/archives/260</link>
		<comments>http://blog.fjakobs.com/archives/260#comments</comments>
		<pubDate>Thu, 22 Jan 2009 13:07:33 +0000</pubDate>
		<dc:creator>Fabian</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[compiler]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[embedding]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[font manager]]></category>
		<category><![CDATA[mxmlc]]></category>
		<category><![CDATA[transcode]]></category>

		<guid isPermaLink="false">http://blog.fjakobs.com/?p=260</guid>
		<description><![CDATA[hi folks, this week i had to externalize fonts in an AS3 project. so i looked into my delicious links and found two very good tutorials, one by Troy Gardner on the TroyWorks blog and another one by Deden Ramadhan on the ini na!! blog. in the first moment everything worked fine and i had [...]]]></description>
			<content:encoded><![CDATA[<p>hi folks,<br />
this week i had to externalize fonts in an AS3 project. so i looked into my delicious links and found two very good tutorials, one <a title="http://troyworks.com/blog/2008/09/12/flash-multiple-runtime-font-sharing-embedding-with-only-partial-character-sets-how-to/" href="http://troyworks.com/blog/2008/09/12/flash-multiple-runtime-font-sharing-embedding-with-only-partial-character-sets-how-to/" target="_blank">by Troy Gardner on the TroyWorks blog</a> and another one <a title="http://blog.ujungpandaran.com/2008/09/30/externalize-font-with-font-subset-font-weight-and-font-style-at-the-same-time/" href="http://blog.ujungpandaran.com/2008/09/30/externalize-font-with-font-subset-font-weight-and-font-style-at-the-same-time/" target="_blank">by Deden Ramadhan on the ini na!! blog</a>.<br />
in the first moment everything worked fine and i had no problems embedding the fonts, loading them and finally using them at runtime. i like how it works!<br />
some days later i had to embed cyrillic, chinese and japanese characters from an ArialUnicodeMS.ttf font. then i always got the error message: <strong>&#8220;Error: Unable to transcode ArialUnicodeMS.ttf.&#8221;</strong>, at compile time. the first idea was that there&#8217;s something wrong with the ArialUnicodeMS.ttf file, because it works fine with other font files. so i tried another ArialUnicodeMS.ttf file from a colleague, but the result was the same error message. using google wasn&#8217;t that much successful, but i got a hint from a colleague that<br />
<strong>flex includes several font managers to handle embedded fonts, exactly three. <a title="http://livedocs.adobe.com/flex/3/html/help.html?content=font s_06.html" href="http://livedocs.adobe.com/flex/3/html/help.html?content=font s_06.html" target="_blank">here</a><a title="http://livedocs.adobe.com/flex/3/html/help.html?content=font s_06.html" href="http://tinyurl.com/csxz8m" target="_blank"></a> you can find some informations about the three managers in the livedocs.</strong></p>
<p>so <strong>the solution for my problem was to use the flash.fonts.AFEFontManager</strong> and everything works fine. to change the font manager you can simply use the compiler argument:</p>
<p><strong>-managers flash.fonts.AFEFontManager</strong></p>
<p>for your mxmlc compiler.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.fjakobs.com/archives/260/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>save / share your FDT 3.0 preferences</title>
		<link>http://blog.fjakobs.com/archives/10</link>
		<comments>http://blog.fjakobs.com/archives/10#comments</comments>
		<pubDate>Wed, 28 May 2008 08:38:23 +0000</pubDate>
		<dc:creator>Fabian</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[fdt]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[teamwork]]></category>

		<guid isPermaLink="false">http://blog.fjakobs.com/archives/10</guid>
		<description><![CDATA[if you work in a team and use FDT 3.0. one of the most important things is, that you and your colleagues have the same core library settings. you can find these preferences in ~workspace~/.metadata/.plugins/org.eclipse.core.runtime/.settings. there you will find several files for eclipse preferences. the important ones for FDT 3.0 are com.powerflasher.fdt.core.formatter.prefs, com.powerflasher.fdt.core.prefs, com.powerflasher.fdt.core.problems.prefs, com.powerflasher.fdt.ui.prefs [...]]]></description>
			<content:encoded><![CDATA[<p>if you work in a team and use FDT 3.0. one of the most important things is, that you and your  colleagues have the same <strong>core library settings</strong>.<br />
you can find these preferences in<br />
<strong>~workspace~/.metadata/.plugins/org.eclipse.core.runtime/.settings</strong>.</p>
<p>there you will find several files for eclipse preferences.<br />
the important ones for FDT 3.0 are<br />
<strong>com.powerflasher.fdt.core.formatter.prefs</strong>, <strong>com.powerflasher.fdt.core.prefs</strong>, <strong>com.powerflasher.fdt.core.problems.prefs</strong>, <strong>com.powerflasher.fdt.ui.prefs</strong> and <strong>org.eclipse.core.resources.prefs</strong>.</p>
<p>to save or  share your <strong>core library settings</strong> just copy these two files <strong>com.powerflasher.fdt.core.prefs</strong> and <strong>org.eclipse.core.resources.prefs</strong> into the folder<br />
<strong>~workspace~</strong><strong>/.metadata/.plugins/org.eclipse.core.runtime/.settings</strong><br />
in the workspace of your  co-worker. maybe you have to adjust the pathes for the pathvariables in the <strong>org.eclipse.core.resources.prefs</strong> -file.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.fjakobs.com/archives/10/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FDT-1.5 to FDT-3.0 project-migration</title>
		<link>http://blog.fjakobs.com/archives/6</link>
		<comments>http://blog.fjakobs.com/archives/6#comments</comments>
		<pubDate>Fri, 14 Mar 2008 16:22:10 +0000</pubDate>
		<dc:creator>Fabian</dc:creator>
				<category><![CDATA[ActionScript 2]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[fdt]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[migration]]></category>

		<guid isPermaLink="false">http://blog.fjakobs.com/archives/6</guid>
		<description><![CDATA[today i started to migrate an old FDT 1.5 project to FDT 3.0 and i like to share my experience with you. the only things you have to do are: 1.) add the ~com.powerflasher.fdt.core.prefs~ -file to your .settings folder (copy it from an other project) 2.) open the ~.as2_classpath~ -file, rename ~AS2Classpathes~ to ~AS2Classpath~ and [...]]]></description>
			<content:encoded><![CDATA[<p>today i started to migrate an old FDT 1.5 project to FDT 3.0 and<br />
i like to share my experience with you. the only things you have to do are:</p>
<p>1.) add the ~com.powerflasher.fdt.core.prefs~ -file to your .settings folder (copy it from an other project)</p>
<p>2.) open the ~.as2_classpath~ -file, rename ~AS2Classpathes~ to ~AS2Classpath~ and add the attributes ~generateProblems=&#8221;true&#8221;~ and ~useAsSharedCode=&#8221;false&#8221;~ to the &lt;AS2Classpath&gt; -tags</p>
<p>3.) open the ~.project~ -file,<br />
reneame ~com.pf.fdt.IncrementalProjectBuilder1~ to ~com.powerflasher.fdt.core.FlashBuilder~,<br />
rename  ~com.pf.fdt.FlashNature~ to ~com.powerflasher.fdt.core.FlashNature~,<br />
rename ~location~ to ~locationURI~ and replace ~whatever~ with ~AS2_CORE_DEFAULT~ between the &lt;locationURI&gt; -tags</p>
<p>that&#8217;s it. i&#8217;ve created a small cheat-sheet for the migration.<br />
<a href="http://blog.fjakobs.com/archives/6/fdt_migration/" target="_blank" rel="attachment wp-att-8" title="cheat-sheet"></a></p>
<p style="text-align: center"><a href="http://blog.fjakobs.com/archives/6/fdt_migration/" target="_blank" rel="attachment wp-att-8" title="cheat-sheet"><img src="http://blog.fjakobs.com/wp-content/uploads/2008/03/fdt_migration.thumbnail.jpg" alt="fdt_migration" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.fjakobs.com/archives/6/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

