<?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: Flash AS3 Loading Fonts</title>
	<atom:link href="http://www.mokisystems.com/blog/flash-as3-loading-fonts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mokisystems.com/blog/flash-as3-loading-fonts/</link>
	<description>Addressing such topics as: web programming, design, ruby on rails, cake php, postgresql, linux, seo</description>
	<lastBuildDate>Tue, 03 Aug 2010 18:45:16 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kevin</title>
		<link>http://www.mokisystems.com/blog/flash-as3-loading-fonts/comment-page-1/#comment-603</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Tue, 03 Aug 2010 18:45:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-603</guid>
		<description>Shot Dan. I found this very handy. Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>Shot Dan. I found this very handy. Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SurferDude</title>
		<link>http://www.mokisystems.com/blog/flash-as3-loading-fonts/comment-page-1/#comment-601</link>
		<dc:creator>SurferDude</dc:creator>
		<pubDate>Tue, 18 May 2010 17:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-601</guid>
		<description>How would you go about using an external .CSS file to control a few different font classes?  

That way a client could make updates to say.. an XML file using HTML/CSS tags to decide which embedded font to use?</description>
		<content:encoded><![CDATA[<p>How would you go about using an external .CSS file to control a few different font classes?  </p>
<p>That way a client could make updates to say.. an XML file using HTML/CSS tags to decide which embedded font to use?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pradeep</title>
		<link>http://www.mokisystems.com/blog/flash-as3-loading-fonts/comment-page-1/#comment-600</link>
		<dc:creator>Pradeep</dc:creator>
		<pubDate>Tue, 13 Apr 2010 07:32:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-600</guid>
		<description>hi
i have use your font loading classes. this is good but i m facing problem with Arial font...... 
i have check other system fonts, all r working perfectly with styling but when i use Arial this code is break. this is not working, text is not visible aftre using Arial font with this class

so pls give me suggestiong about this</description>
		<content:encoded><![CDATA[<p>hi<br />
i have use your font loading classes. this is good but i m facing problem with Arial font&#8230;&#8230;<br />
i have check other system fonts, all r working perfectly with styling but when i use Arial this code is break. this is not working, text is not visible aftre using Arial font with this class</p>
<p>so pls give me suggestiong about this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RipX</title>
		<link>http://www.mokisystems.com/blog/flash-as3-loading-fonts/comment-page-1/#comment-586</link>
		<dc:creator>RipX</dc:creator>
		<pubDate>Wed, 09 Dec 2009 09:08:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-586</guid>
		<description>The above post was due to a typo in the font name. Please disregard but be aware that this error shows if the name of the font is incorrect and effort should be made to catch this.

RipX</description>
		<content:encoded><![CDATA[<p>The above post was due to a typo in the font name. Please disregard but be aware that this error shows if the name of the font is incorrect and effort should be made to catch this.</p>
<p>RipX</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RipX</title>
		<link>http://www.mokisystems.com/blog/flash-as3-loading-fonts/comment-page-1/#comment-585</link>
		<dc:creator>RipX</dc:creator>
		<pubDate>Tue, 08 Dec 2009 16:49:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-585</guid>
		<description>When compiling in FlashDevelop I get the following Reference error:

[Fault] exception, information=ReferenceError: Error #1065: Variable swf is not defined.

since at compile time &#039;fontsDomain&#039; has no targeted swf reference. Anyone know how to correct this problem?

RipX</description>
		<content:encoded><![CDATA[<p>When compiling in FlashDevelop I get the following Reference error:</p>
<p>[Fault] exception, information=ReferenceError: Error #1065: Variable swf is not defined.</p>
<p>since at compile time &#8216;fontsDomain&#8217; has no targeted swf reference. Anyone know how to correct this problem?</p>
<p>RipX</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: watcher</title>
		<link>http://www.mokisystems.com/blog/flash-as3-loading-fonts/comment-page-1/#comment-582</link>
		<dc:creator>watcher</dc:creator>
		<pubDate>Thu, 19 Nov 2009 15:13:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-582</guid>
		<description>Per the mysterious commenter &#039;Eric&#039;, this indeed will not solve the &quot;embed subset problem&quot;.

I suspect he did not post the &#039;superior&#039; method cos he doesn&#039;t have it! neither do I sadly. But rest assured once I&#039;ve cracked it I&#039;m going to share it with the world! Stupid, stupid, stupid Adobe. It&#039;s amazing what we let them get away with...</description>
		<content:encoded><![CDATA[<p>Per the mysterious commenter &#8216;Eric&#8217;, this indeed will not solve the &#8220;embed subset problem&#8221;.</p>
<p>I suspect he did not post the &#8217;superior&#8217; method cos he doesn&#8217;t have it! neither do I sadly. But rest assured once I&#8217;ve cracked it I&#8217;m going to share it with the world! Stupid, stupid, stupid Adobe. It&#8217;s amazing what we let them get away with&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BlazeTheFire &#187; Blog Archive &#187; External fonts without Flex</title>
		<link>http://www.mokisystems.com/blog/flash-as3-loading-fonts/comment-page-1/#comment-520</link>
		<dc:creator>BlazeTheFire &#187; Blog Archive &#187; External fonts without Flex</dc:creator>
		<pubDate>Fri, 14 Aug 2009 15:07:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-520</guid>
		<description>[...] http://www.mokisystems.com/blog/flash-as3-loading-fonts/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.mokisystems.com/blog/flash-as3-loading-fonts/" rel="nofollow">http://www.mokisystems.com/blog/flash-as3-loading-fonts/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A85</title>
		<link>http://www.mokisystems.com/blog/flash-as3-loading-fonts/comment-page-1/#comment-496</link>
		<dc:creator>A85</dc:creator>
		<pubDate>Tue, 26 May 2009 13:09:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-496</guid>
		<description>Thanks for such a good article of runtime font embedding .I am able to implement this in my project ,fonts are coming from swf but what i&#039;m trying to do is that getting the different font from different swf but in  Font.enumerateFonts(false) does not return all of the font embed it&#039;s just repeat the 2 or 3 fonts and sometimes just add only one . here is my code which i&#039;m using in my project with your loadFont and other class .Thanks 

public function fontupload() 
{
for (var i:Number = 0; i &lt; 4 ; i++)
{
				
  var coantainerfonts:Coantainerfonts = new Coantainerfonts()/seprate class for fonts with-in library
		  
  coantainerfonts.mc.width = coantainerfonts.txt.width
  coantainerfonts.name     = &quot;fontconatiner&quot;+i
  coantainerfonts.x = 0
  coantainerfonts.y=i*(18)
				
  fontsMC.addChild(coantainerfonts)
			
  var tempStr:String = &quot;_fontembed&quot; + (i + 1) + &quot;.swf&quot; //refernce to differnt swf
  var tempname:String = &quot;EFont0&quot;+(i+1)
  var font = new LoadFont(tempStr, [tempname]);
		
   font.addEventListener(LoadFont.COMPLETE, successLoadFont);
   font.addEventListener(LoadFont.ERROR, failLoadFont);
	
}
			
	)

}
private function successLoadFont(e:Event)
{
			
			
	var mc:MovieClip 		=  fontsMC.getChildAt(_counter) as MovieClip
        var TxtRef:TextField 		=  mc.txt as TextField
			
			
			
	var embeddedFonts:Array = Font.enumerateFonts(false);
			
		
						
	var txtformat:TextFormat = new TextFormat()
			
	txtformat.font            = embeddedFonts[_counter].fontName

	trace(embeddedFonts[_counter].fontName)//trace similar font names 

	TxtRef.embedFonts = true
	TxtRef.text =embeddedFonts[_counter].fontName

	TxtRef.setTextFormat(txtformat)
			
	_counter++;
			
 	 	}</description>
		<content:encoded><![CDATA[<p>Thanks for such a good article of runtime font embedding .I am able to implement this in my project ,fonts are coming from swf but what i&#8217;m trying to do is that getting the different font from different swf but in  Font.enumerateFonts(false) does not return all of the font embed it&#8217;s just repeat the 2 or 3 fonts and sometimes just add only one . here is my code which i&#8217;m using in my project with your loadFont and other class .Thanks </p>
<p>public function fontupload()<br />
{<br />
for (var i:Number = 0; i &lt; 4 ; i++)<br />
{</p>
<p>  var coantainerfonts:Coantainerfonts = new Coantainerfonts()/seprate class for fonts with-in library</p>
<p>  coantainerfonts.mc.width = coantainerfonts.txt.width<br />
  coantainerfonts.name     = &#8220;fontconatiner&#8221;+i<br />
  coantainerfonts.x = 0<br />
  coantainerfonts.y=i*(18)</p>
<p>  fontsMC.addChild(coantainerfonts)</p>
<p>  var tempStr:String = &#8220;_fontembed&#8221; + (i + 1) + &#8220;.swf&#8221; //refernce to differnt swf<br />
  var tempname:String = &#8220;EFont0&#8243;+(i+1)<br />
  var font = new LoadFont(tempStr, [tempname]);</p>
<p>   font.addEventListener(LoadFont.COMPLETE, successLoadFont);<br />
   font.addEventListener(LoadFont.ERROR, failLoadFont);</p>
<p>}</p>
<p>	)</p>
<p>}<br />
private function successLoadFont(e:Event)<br />
{</p>
<p>	var mc:MovieClip 		=  fontsMC.getChildAt(_counter) as MovieClip<br />
        var TxtRef:TextField 		=  mc.txt as TextField</p>
<p>	var embeddedFonts:Array = Font.enumerateFonts(false);</p>
<p>	var txtformat:TextFormat = new TextFormat()</p>
<p>	txtformat.font            = embeddedFonts[_counter].fontName</p>
<p>	trace(embeddedFonts[_counter].fontName)//trace similar font names </p>
<p>	TxtRef.embedFonts = true<br />
	TxtRef.text =embeddedFonts[_counter].fontName</p>
<p>	TxtRef.setTextFormat(txtformat)</p>
<p>	_counter++;</p>
<p> 	 	}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gonzalo</title>
		<link>http://www.mokisystems.com/blog/flash-as3-loading-fonts/comment-page-1/#comment-328</link>
		<dc:creator>Gonzalo</dc:creator>
		<pubDate>Thu, 05 Feb 2009 00:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-328</guid>
		<description>Thank you very much for the LoadFont class. It works perfectly. Only two corrections:

line 17:
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, font_ioErrorHandler);  // adding contentLoaderInfo

line 34:
for (var i:uint = 0; i &lt; fontList.length; i++) {  // the &amp;lt simbol

Thank you and sorry for my English :)</description>
		<content:encoded><![CDATA[<p>Thank you very much for the LoadFont class. It works perfectly. Only two corrections:</p>
<p>line 17:<br />
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, font_ioErrorHandler);  // adding contentLoaderInfo</p>
<p>line 34:<br />
for (var i:uint = 0; i &lt; fontList.length; i++) {  // the &amp;lt simbol</p>
<p>Thank you and sorry for my English <img src='http://www.mokisystems.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ActionScript 3 Text Field Alpha &#171; Bauhouse</title>
		<link>http://www.mokisystems.com/blog/flash-as3-loading-fonts/comment-page-1/#comment-323</link>
		<dc:creator>ActionScript 3 Text Field Alpha &#171; Bauhouse</dc:creator>
		<pubDate>Sat, 31 Jan 2009 00:31:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.mokisystems.com/blog/flash-as3-loading-fonts/#comment-323</guid>
		<description>[...] Flash AS3 Loading Fonts [...]</description>
		<content:encoded><![CDATA[<p>[...] Flash AS3 Loading Fonts [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
