<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Runtime font loading with AS3 / Flash CS3 (not Flex!)</title>
	<atom:link href="http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/</link>
	<description>Rich Internet Applications, Software Development, Human-Computer Interaction</description>
	<lastBuildDate>Wed, 31 Mar 2010 09:03:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Poznámky &#171; web-goodies</title>
		<link>http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/comment-page-1/#comment-303200</link>
		<dc:creator>Poznámky &#171; web-goodies</dc:creator>
		<pubDate>Wed, 31 Mar 2010 09:03:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/#comment-303200</guid>
		<description>[...] http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/" rel="nofollow">http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/comment-page-1/#comment-301961</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sat, 13 Feb 2010 00:48:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/#comment-301961</guid>
		<description>Ah Ha!

I read &quot;If you additionally place a static textfield onto the stage with the same font, the text in the dynamic textfield isn’t shown anymore.&quot; to mean you cannot have them on stage at the same time, on the same keyframe. It really means anywhere in the movie! And not just static textfields, don&#039;t select the same font as the one you are embedding for any type field. If you have to place a dynamic text field on the stage manually instead of using AS to create, make sure to select a font that is not being embedded. Then in AS apply the style sheet.
For other things, like UI components, say the label on a radio button, 
the work-around for I found is to use the transform method of the styleSheet and then the setStyle  or setTextFormat method depending on where the text is (in a UI component or a textfield).

var style:Object = sheet.getStyle(&quot;.myStyle&quot;);//note the . 
var cssFormat = sheet.transform(style);
myRadioButton.setStyle(&quot;disabledTextFormat&quot;, cssFormat);</description>
		<content:encoded><![CDATA[<p>Ah Ha!</p>
<p>I read &#8220;If you additionally place a static textfield onto the stage with the same font, the text in the dynamic textfield isn’t shown anymore.&#8221; to mean you cannot have them on stage at the same time, on the same keyframe. It really means anywhere in the movie! And not just static textfields, don&#8217;t select the same font as the one you are embedding for any type field. If you have to place a dynamic text field on the stage manually instead of using AS to create, make sure to select a font that is not being embedded. Then in AS apply the style sheet.<br />
For other things, like UI components, say the label on a radio button,<br />
the work-around for I found is to use the transform method of the styleSheet and then the setStyle  or setTextFormat method depending on where the text is (in a UI component or a textfield).</p>
<p>var style:Object = sheet.getStyle(&#8220;.myStyle&#8221;);//note the .<br />
var cssFormat = sheet.transform(style);<br />
myRadioButton.setStyle(&#8220;disabledTextFormat&#8221;, cssFormat);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/comment-page-1/#comment-301958</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 12 Feb 2010 20:40:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/#comment-301958</guid>
		<description>pretty sure
 .bodyText{font-family: Verdana;
	font-size: 14px;
	color:#000000;
}</description>
		<content:encoded><![CDATA[<p>pretty sure<br />
 .bodyText{font-family: Verdana;<br />
	font-size: 14px;<br />
	color:#000000;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: felix</title>
		<link>http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/comment-page-1/#comment-301916</link>
		<dc:creator>felix</dc:creator>
		<pubDate>Wed, 10 Feb 2010 20:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/#comment-301916</guid>
		<description>Hi Chris,

are you sure you&#039;ve correctly declared your styles in the css file?</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>are you sure you&#8217;ve correctly declared your styles in the css file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/comment-page-1/#comment-301904</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 10 Feb 2010 14:51:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/#comment-301904</guid>
		<description>Great it does not display the code. let me try again:

This works great on formatting text within tags like &lt;h1&gt;, but it does not seem to work when using tags with a class parameter, like &lt;p class=&quot;bodyText&quot;&gt;

Any Ideas?

Thanks</description>
		<content:encoded><![CDATA[<p>Great it does not display the code. let me try again:</p>
<p>This works great on formatting text within tags like &lt;h1&gt;, but it does not seem to work when using tags with a class parameter, like &lt;p class=&quot;bodyText&quot;&gt;</p>
<p>Any Ideas?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/comment-page-1/#comment-301903</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 10 Feb 2010 14:49:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/#comment-301903</guid>
		<description>Thanks for this, it has been very helpful. 

I have found one issue. This works great on formatting text within tags like , but it does not seem to work when using tags with a class parameter, like .

Any ideas?

Thanks</description>
		<content:encoded><![CDATA[<p>Thanks for this, it has been very helpful. </p>
<p>I have found one issue. This works great on formatting text within tags like , but it does not seem to work when using tags with a class parameter, like .</p>
<p>Any ideas?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/comment-page-1/#comment-301211</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sat, 23 Jan 2010 02:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/#comment-301211</guid>
		<description>there is a way to register the fonts without setting a class name in the swf. then you dont need a fonts object. you just use the original name in the textfield.</description>
		<content:encoded><![CDATA[<p>there is a way to register the fonts without setting a class name in the swf. then you dont need a fonts object. you just use the original name in the textfield.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/comment-page-1/#comment-288301</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Thu, 28 May 2009 09:49:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/#comment-288301</guid>
		<description>I chose exactly which character glyphs to compile into my swf by deleting all the unnecessary ones from the TrueType font file using http://www.high-logic.com/fontcreator.html.  It cut the swf file size in half.

Another tip, Flash Optimizer (http://www.flashoptimizer.com/) works really well with an embedded font, reducing its size by about 30%. This may make it worth the $99 price tag.

Hope this info helps someone!</description>
		<content:encoded><![CDATA[<p>I chose exactly which character glyphs to compile into my swf by deleting all the unnecessary ones from the TrueType font file using <a href="http://www.high-logic.com/fontcreator.html" rel="nofollow">http://www.high-logic.com/fontcreator.html</a>.  It cut the swf file size in half.</p>
<p>Another tip, Flash Optimizer (<a href="http://www.flashoptimizer.com/" rel="nofollow">http://www.flashoptimizer.com/</a>) works really well with an embedded font, reducing its size by about 30%. This may make it worth the $99 price tag.</p>
<p>Hope this info helps someone!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Embedded fonts that work with Flash IDE and Flex SDK - ArwidThornstrom</title>
		<link>http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/comment-page-1/#comment-279424</link>
		<dc:creator>Embedded fonts that work with Flash IDE and Flex SDK - ArwidThornstrom</dc:creator>
		<pubDate>Mon, 13 Apr 2009 14:07:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/#comment-279424</guid>
		<description>[...] http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/" rel="nofollow">http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Link dump: 18-03-2008 &#124; [mck]</title>
		<link>http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/comment-page-1/#comment-271211</link>
		<dc:creator>Link dump: 18-03-2008 &#124; [mck]</dc:creator>
		<pubDate>Wed, 18 Mar 2009 07:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/#comment-271211</guid>
		<description>[...] We needed a external font library for a project that we did. Here are two links to useful information: (Runtime font loading with AS3 / Flash CS3 (not Flex!)) http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/ http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/ [...]</description>
		<content:encoded><![CDATA[<p>[...] We needed a external font library for a project that we did. Here are two links to useful information: (Runtime font loading with AS3 / Flash CS3 (not Flex!)) <a href="http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/" rel="nofollow">http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/</a> <a href="http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/" rel="nofollow">http://www.betriebsraum.de/blog/2007/06/22/runtime-font-loading-with-as3-flash-cs3-not-flex/</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
