<?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: Load font dynamically on runtime</title>
	<atom:link href="http://flassari.is/2009/05/load-font-dynamically-on-runtime/feed/" rel="self" type="application/rss+xml" />
	<link>http://flassari.is/2009/05/load-font-dynamically-on-runtime/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 26 Jul 2010 09:23:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dave</title>
		<link>http://flassari.is/2009/05/load-font-dynamically-on-runtime/comment-page-1/#comment-119</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 22 Jul 2010 11:18:58 +0000</pubDate>
		<guid isPermaLink="false">http://flassari.is/?p=137#comment-119</guid>
		<description>Flassari, thanks for the post, worked well, instead I used the e.target.applicationDomain.getDefinition instead of the ApplicationDomain.currentDomain.getDefinition and it all worked famously! The one line registerFont and the return of the fontName was perfect for me.

Thanks!</description>
		<content:encoded><![CDATA[<p>Flassari, thanks for the post, worked well, instead I used the e.target.applicationDomain.getDefinition instead of the ApplicationDomain.currentDomain.getDefinition and it all worked famously! The one line registerFont and the return of the fontName was perfect for me.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flassari</title>
		<link>http://flassari.is/2009/05/load-font-dynamically-on-runtime/comment-page-1/#comment-64</link>
		<dc:creator>Flassari</dc:creator>
		<pubDate>Fri, 14 May 2010 11:36:16 +0000</pubDate>
		<guid isPermaLink="false">http://flassari.is/?p=137#comment-64</guid>
		<description>@Andre, you might be needing a crossdomain.xml file on your website to allow other swfs to access the file.</description>
		<content:encoded><![CDATA[<p>@Andre, you might be needing a crossdomain.xml file on your website to allow other swfs to access the file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andre</title>
		<link>http://flassari.is/2009/05/load-font-dynamically-on-runtime/comment-page-1/#comment-62</link>
		<dc:creator>Andre</dc:creator>
		<pubDate>Thu, 13 May 2010 10:49:04 +0000</pubDate>
		<guid isPermaLink="false">http://flassari.is/?p=137#comment-62</guid>
		<description>Thanks for the post, very helpfull. BUT im having issues when i want to load the font SWF files from a www.domain.com address

ie, loading in &#039;MyFont.swf&#039; works well
loading in &#039;http://www.domain.com/MyFont.swf&#039; does not.

any ideas on how to solve this?

thnks.</description>
		<content:encoded><![CDATA[<p>Thanks for the post, very helpfull. BUT im having issues when i want to load the font SWF files from a <a href="http://www.domain.com" rel="nofollow">http://www.domain.com</a> address</p>
<p>ie, loading in &#8216;MyFont.swf&#8217; works well<br />
loading in &#8216;http://www.domain.com/MyFont.swf&#8217; does not.</p>
<p>any ideas on how to solve this?</p>
<p>thnks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flassari</title>
		<link>http://flassari.is/2009/05/load-font-dynamically-on-runtime/comment-page-1/#comment-7</link>
		<dc:creator>Flassari</dc:creator>
		<pubDate>Mon, 08 Jun 2009 09:22:33 +0000</pubDate>
		<guid isPermaLink="false">http://flassari.is/?p=137#comment-7</guid>
		<description>This happens because when you assign the font to a static or dynamic text field, a class holding the font (holding only the characters you used in the text fields, or more if you embedded any in the dynamic ones) is generated and put into the application domain. You can not override classes with the same name already in the application domain, so when you load the font file, the font class in it is silently ignored (this applies to all classes you try to override).
The only workaround I could come up with is breaking (ctrl+b) all the static text fields until they&#039;re just shapes, and putting the font of the dynamic text fields to default system font, and then set the font to the loaded one dynamically on runtime after the font has been loaded.
Just make sure that the font is not already in use anywhere or it will not be loaded.</description>
		<content:encoded><![CDATA[<p>This happens because when you assign the font to a static or dynamic text field, a class holding the font (holding only the characters you used in the text fields, or more if you embedded any in the dynamic ones) is generated and put into the application domain. You can not override classes with the same name already in the application domain, so when you load the font file, the font class in it is silently ignored (this applies to all classes you try to override).<br />
The only workaround I could come up with is breaking (ctrl+b) all the static text fields until they&#8217;re just shapes, and putting the font of the dynamic text fields to default system font, and then set the font to the loaded one dynamically on runtime after the font has been loaded.<br />
Just make sure that the font is not already in use anywhere or it will not be loaded.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://flassari.is/2009/05/load-font-dynamically-on-runtime/comment-page-1/#comment-6</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Sun, 07 Jun 2009 23:07:55 +0000</pubDate>
		<guid isPermaLink="false">http://flassari.is/?p=137#comment-6</guid>
		<description>Just keep in mind that if you load a SWF that has any of the same fonts in static or dynamic text fields placed at author time, you&#039;ll experience conflicts with any of your runtime loaded fonts. I&#039;ve been battling with this problem for the last two weeks.

http://blog.nobien.net/2009/06/03/runtime-font-loading-and-static-textfield-conflicts/</description>
		<content:encoded><![CDATA[<p>Just keep in mind that if you load a SWF that has any of the same fonts in static or dynamic text fields placed at author time, you&#8217;ll experience conflicts with any of your runtime loaded fonts. I&#8217;ve been battling with this problem for the last two weeks.</p>
<p><a href="http://blog.nobien.net/2009/06/03/runtime-font-loading-and-static-textfield-conflicts/" rel="nofollow">http://blog.nobien.net/2009/06/03/runtime-font-loading-and-static-textfield-conflicts/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
