<?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 Embedding in AS3. There is no need to embed the entire fontset anymore</title>
	<atom:link href="http://www.flashenabledblog.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flashenabledblog.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/</link>
	<description>A Blog covering Air, Flash, Flex, Illustrator and Photoshop</description>
	<lastBuildDate>Sun, 11 Sep 2011 02:17:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Daniel Bunte</title>
		<link>http://www.flashenabledblog.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/comment-page-1/#comment-2291</link>
		<dc:creator>Daniel Bunte</dc:creator>
		<pubDate>Sun, 24 Jul 2011 22:16:03 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/#comment-2291</guid>
		<description>hi there,
you might also be interested in embedding fonts, bitmaps, binaryData, etc. without using the flex framework at all.
see: http://danielbunte.de/2011/07/24/embed-bitmaps-fonts-binarydata-etc-without-using-the-flex-framework-at-all/

best regards,
 daniel</description>
		<content:encoded><![CDATA[<p>hi there,<br />
you might also be interested in embedding fonts, bitmaps, binaryData, etc. without using the flex framework at all.<br />
see: <a href="http://danielbunte.de/2011/07/24/embed-bitmaps-fonts-binarydata-etc-without-using-the-flex-framework-at-all/" rel="nofollow">http://danielbunte.de/2011/07/24/embed-bitmaps-fonts-binarydata-etc-without-using-the-flex-framework-at-all/</a></p>
<p>best regards,<br />
 daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marlin</title>
		<link>http://www.flashenabledblog.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/comment-page-1/#comment-323</link>
		<dc:creator>Marlin</dc:creator>
		<pubDate>Thu, 19 Jun 2008 15:09:27 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/#comment-323</guid>
		<description>Hello:
I was hoping that some one can help me out.  I am currently working on Flash Banner Ads, and so far has been very frustrating. I am not a flash expert nor very familiarize with action script. But I have manage to defend my self with the help of tutorials.

Here is my problem, I have to create banner ads in flash that meets the requirements of 30ks of file size, and I have done anything possible to keep mi file optimize as much possible by limiting my usage of high res images, using web-safe colors only as well as using simple animations, so far my file size is 28k which is good but when I tested my file the fonts that I am using are not displaying correctly because I am using device fonts to keep my file size down, I I embed the fonts the file size increases like crazy, and i don&#039;t want to compromise my quality of design by allowing the fonts to look like the system wants.

So my question is Can I use this method to create a dynamic runtime shared font library with the fonts I want and uploaded to our server and have all my SWF banners pulled the fonts from that file that lies on our server to keep my file size down?

I guess instead of using this:
package {

     import flash.display.Sprite;
public class _Arial extends Sprite {

  [Embed(source=&#039;C:/WINDOWS/Fonts/ARIAL.TTF&#039;, fontName=&#039;_Arial&#039;, unicodeRange=&#039;U+0020-U+002F,U+0030-

U+0039,U+003A-U+0040,U+0041-U+005A,U+005B-U+0060,U+0061-U+007A,U+007B-U+007E&#039;)]          public static var _Arial:Class;

     }

}

Can It be:
package {

     import flash.display.Sprite;
public class _Arial extends Sprite {

  [Embed(source=&#039;http://www.rezhub.com/portals/Fonts/ARIAL.TTF&#039;, fontName=&#039;_Arial&#039;, unicodeRange=&#039;U+0020-U+002F,U+0030-

U+0039,U+003A-U+0040,U+0041-U+005A,U+005B-U+0060,U+0061-U+007A,U+007B-U+007E&#039;)]          public static var _Arial:Class;

     }

}

Please Help!!!!!!!!</description>
		<content:encoded><![CDATA[<p>Hello:<br />
I was hoping that some one can help me out.  I am currently working on Flash Banner Ads, and so far has been very frustrating. I am not a flash expert nor very familiarize with action script. But I have manage to defend my self with the help of tutorials.</p>
<p>Here is my problem, I have to create banner ads in flash that meets the requirements of 30ks of file size, and I have done anything possible to keep mi file optimize as much possible by limiting my usage of high res images, using web-safe colors only as well as using simple animations, so far my file size is 28k which is good but when I tested my file the fonts that I am using are not displaying correctly because I am using device fonts to keep my file size down, I I embed the fonts the file size increases like crazy, and i don&#8217;t want to compromise my quality of design by allowing the fonts to look like the system wants.</p>
<p>So my question is Can I use this method to create a dynamic runtime shared font library with the fonts I want and uploaded to our server and have all my SWF banners pulled the fonts from that file that lies on our server to keep my file size down?</p>
<p>I guess instead of using this:<br />
package {</p>
<p>     import flash.display.Sprite;<br />
public class _Arial extends Sprite {</p>
<p>  [Embed(source='C:/WINDOWS/Fonts/ARIAL.TTF', fontName='_Arial', unicodeRange='U+0020-U+002F,U+0030-</p>
<p>U+0039,U+003A-U+0040,U+0041-U+005A,U+005B-U+0060,U+0061-U+007A,U+007B-U+007E')]          public static var _Arial:Class;</p>
<p>     }</p>
<p>}</p>
<p>Can It be:<br />
package {</p>
<p>     import flash.display.Sprite;<br />
public class _Arial extends Sprite {</p>
<p>  [Embed(source='http://www.rezhub.com/portals/Fonts/ARIAL.TTF', fontName='_Arial', unicodeRange='U+0020-U+002F,U+0030-</p>
<p>U+0039,U+003A-U+0040,U+0041-U+005A,U+005B-U+0060,U+0061-U+007A,U+007B-U+007E')]          public static var _Arial:Class;</p>
<p>     }</p>
<p>}</p>
<p>Please Help!!!!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nishant</title>
		<link>http://www.flashenabledblog.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/comment-page-1/#comment-322</link>
		<dc:creator>Nishant</dc:creator>
		<pubDate>Thu, 24 Apr 2008 19:35:49 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/#comment-322</guid>
		<description>Hey,

I get &quot;VerifyError: Error #1014: Class IFlexAsset could not be found&quot; just as soon as the font file created by the above method finishes loading :-(

Any ideas?</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>I get &#8220;VerifyError: Error #1014: Class IFlexAsset could not be found&#8221; just as soon as the font file created by the above method finishes loading <img src='http://www.flashenabledblog.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cosmin Varlan</title>
		<link>http://www.flashenabledblog.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/comment-page-1/#comment-321</link>
		<dc:creator>Cosmin Varlan</dc:creator>
		<pubDate>Mon, 17 Mar 2008 21:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/#comment-321</guid>
		<description>The 1st code that has the line
public class _Arial extends Sprite
in it is creating the _Arial.swf</description>
		<content:encoded><![CDATA[<p>The 1st code that has the line<br />
public class _Arial extends Sprite<br />
in it is creating the _Arial.swf</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gioLemon</title>
		<link>http://www.flashenabledblog.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/comment-page-1/#comment-320</link>
		<dc:creator>gioLemon</dc:creator>
		<pubDate>Mon, 08 Oct 2007 21:40:12 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/#comment-320</guid>
		<description>Sorry.... maby im just  tooooooo stupid. But where you explain how you actually crete the swf with the font??? _Arial.swf

by using fl cs3 ... or by using flex... havent known taht flex could create swf&#039;s without the framework.

Thanks alot
mo</description>
		<content:encoded><![CDATA[<p>Sorry&#8230;. maby im just  tooooooo stupid. But where you explain how you actually crete the swf with the font??? _Arial.swf</p>
<p>by using fl cs3 &#8230; or by using flex&#8230; havent known taht flex could create swf&#8217;s without the framework.</p>
<p>Thanks alot<br />
mo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alan macdonald</title>
		<link>http://www.flashenabledblog.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/comment-page-1/#comment-319</link>
		<dc:creator>alan macdonald</dc:creator>
		<pubDate>Wed, 08 Aug 2007 12:17:19 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/#comment-319</guid>
		<description>package
{
	import flash.util.describeType;
	import flash.display.MovieClip;
	import flash.display.TextField;
	import flash.text.TextFormat;
	import flash.text.AntiAliasType;
	//
	public class Test extends MovieClip
	{
		[Embed(source=&quot;C:\WINDOWS\Fonts\somefont.ttf&quot;, fontFamily=&quot;foo&quot;)];
		public var bar:String;=
		public function Test()
		{
			var format:TextFormat=new TextFormat;
			format.font=&quot;foo&quot;;
			format.color=0xFFFFFF;
			format.size=130;
			var label:TextField=new TextField;
			label.embedFonts=true;
			label.autoSize=TextFieldAutoSize.LEFT;
			label.antiAliasType=AntiAliasType.ADVANCED;
			label.defaultTextFormat=format;
			label.text=&quot;Scott Morgan Rocks!&quot;;
			addChild(label);
		}
	}
}

works fine in flex</description>
		<content:encoded><![CDATA[<p>package<br />
{<br />
	import flash.util.describeType;<br />
	import flash.display.MovieClip;<br />
	import flash.display.TextField;<br />
	import flash.text.TextFormat;<br />
	import flash.text.AntiAliasType;<br />
	//<br />
	public class Test extends MovieClip<br />
	{<br />
		[Embed(source="C:\WINDOWS\Fonts\somefont.ttf", fontFamily="foo")];<br />
		public var bar:String;=<br />
		public function Test()<br />
		{<br />
			var format:TextFormat=new TextFormat;<br />
			format.font=&#8221;foo&#8221;;<br />
			format.color=0xFFFFFF;<br />
			format.size=130;<br />
			var label:TextField=new TextField;<br />
			label.embedFonts=true;<br />
			label.autoSize=TextFieldAutoSize.LEFT;<br />
			label.antiAliasType=AntiAliasType.ADVANCED;<br />
			label.defaultTextFormat=format;<br />
			label.text=&#8221;Scott Morgan Rocks!&#8221;;<br />
			addChild(label);<br />
		}<br />
	}<br />
}</p>
<p>works fine in flex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alan macdonald</title>
		<link>http://www.flashenabledblog.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/comment-page-1/#comment-318</link>
		<dc:creator>alan macdonald</dc:creator>
		<pubDate>Wed, 08 Aug 2007 12:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/#comment-318</guid>
		<description>what was the problem? you didn&#039;t have someone&#039;s previous stuff given to you that you could call your own without even changing numbers back to actual hex?

lol jokes - i&#039;m just an ass.

don&#039;t forget about working over networks too, that can be a b!tch,  be sure to disable network cache if doing such as well - had a guy at the office changing file all morning, with no changes being reflected, and delete aso wasnt doin nothing either (of course, since cache)

muahaha, we meet again - thanks for the read, good stuff :)</description>
		<content:encoded><![CDATA[<p>what was the problem? you didn&#8217;t have someone&#8217;s previous stuff given to you that you could call your own without even changing numbers back to actual hex?</p>
<p>lol jokes &#8211; i&#8217;m just an ass.</p>
<p>don&#8217;t forget about working over networks too, that can be a b!tch,  be sure to disable network cache if doing such as well &#8211; had a guy at the office changing file all morning, with no changes being reflected, and delete aso wasnt doin nothing either (of course, since cache)</p>
<p>muahaha, we meet again &#8211; thanks for the read, good stuff <img src='http://www.flashenabledblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emre Selen</title>
		<link>http://www.flashenabledblog.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/comment-page-1/#comment-317</link>
		<dc:creator>Emre Selen</dc:creator>
		<pubDate>Fri, 27 Jul 2007 15:27:57 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2007/06/19/runtime-font-embedding-in-as3-there-is-no-need-to-embed-the-entire-fontset-anymore/#comment-317</guid>
		<description>Hi there...
I recieve this;

TypeError: Error #2007: Parameter font must be non-null.
	at flash.text::Font$/registerFont()
	at FontLoader/::fontLoaded()

when I compile the code. I thin I&#039;m doin smt wrong... The _Arial class return &quot;null&quot;  in this situation.</description>
		<content:encoded><![CDATA[<p>Hi there&#8230;<br />
I recieve this;</p>
<p>TypeError: Error #2007: Parameter font must be non-null.<br />
	at flash.text::Font$/registerFont()<br />
	at FontLoader/::fontLoaded()</p>
<p>when I compile the code. I thin I&#8217;m doin smt wrong&#8230; The _Arial class return &#8220;null&#8221;  in this situation.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

