<?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: Using the flash.* classes in MXML</title>
	<atom:link href="http://blog.flexexamples.com/2007/09/26/using-the-flash-classes-in-mxml/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/09/26/using-the-flash-classes-in-mxml/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Mon, 22 Mar 2010 13:07:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tiago</title>
		<link>http://blog.flexexamples.com/2007/09/26/using-the-flash-classes-in-mxml/comment-page-1/#comment-1408</link>
		<dc:creator>Tiago</dc:creator>
		<pubDate>Fri, 28 Sep 2007 10:51:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/26/using-the-flash-classes-in-mxml/#comment-1408</guid>
		<description>oh that&#039;s a really cool trick :)

Thanks Peter!</description>
		<content:encoded><![CDATA[<p>oh that&#8217;s a really cool trick :)</p>
<p>Thanks Peter!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dormouse</title>
		<link>http://blog.flexexamples.com/2007/09/26/using-the-flash-classes-in-mxml/comment-page-1/#comment-1407</link>
		<dc:creator>dormouse</dc:creator>
		<pubDate>Fri, 28 Sep 2007 01:50:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/26/using-the-flash-classes-in-mxml/#comment-1407</guid>
		<description>peterd

Thanks, i have saw the Adobe Flex 2 Developer&#039;s Guide documentation. In it, using flash 8 to create swf with embedded fonts. But i use mxmlc order to create it.
Code:FontSkin.as
package
{
	import flash.display.Sprite;

	public class FontSkin extends Sprite
	{
		[Embed(mimeType=&#039;application/x-font&#039;, source=&#039;xujinglei.fon&#039;, fontName=&#039;handFont&#039;)]
		public var MyFont:Class;
	}
}
then in the console input mxmlc FontSkin.as to create swf.
It is my first to write, there is any things wrong?Can you give me some tips, Thanks for your applys</description>
		<content:encoded><![CDATA[<p>peterd</p>
<p>Thanks, i have saw the Adobe Flex 2 Developer&#8217;s Guide documentation. In it, using flash 8 to create swf with embedded fonts. But i use mxmlc order to create it.<br />
Code:FontSkin.as<br />
package<br />
{<br />
	import flash.display.Sprite;</p>
<p>	public class FontSkin extends Sprite<br />
	{<br />
		[Embed(mimeType='application/x-font', source='xujinglei.fon', fontName='handFont')]<br />
		public var MyFont:Class;<br />
	}<br />
}<br />
then in the console input mxmlc FontSkin.as to create swf.<br />
It is my first to write, there is any things wrong?Can you give me some tips, Thanks for your applys</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/09/26/using-the-flash-classes-in-mxml/comment-page-1/#comment-1406</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Thu, 27 Sep 2007 18:33:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/26/using-the-flash-classes-in-mxml/#comment-1406</guid>
		<description>dormouse,

I don&#039;t know of any reasons to do one or the other (not that there aren&#039;t valid reasons, I just don&#039;t know why one method is preferable to the other). I did have an entry on using fonts from a SWF in an MXML application, but it has been in my drafts for a month or so now. I&#039;ll see if I can dig that up.

In the meantime, check out the Adobe Flex 2 Developer&#039;s Guide documentation on LiveDocs, &lt;a href=&quot;http://livedocs.adobe.com/flex/201/html/fonts_070_01.html&quot; rel=&quot;nofollow&quot;&gt;&quot;Using Fonts&quot;&lt;/a&gt;. And more specifically, this section &lt;a href=&quot;http://livedocs.adobe.com/flex/201/html/fonts_070_11.html&quot; rel=&quot;nofollow&quot;&gt;&quot;Embedding fonts from SWF files&quot;&lt;/a&gt;.

Hope that helps,
Peter

PS: Any readers out there care to educate me on why fonts embedded in SWFs are preferable to TTF fonts embedded in MXML?</description>
		<content:encoded><![CDATA[<p>dormouse,</p>
<p>I don&#8217;t know of any reasons to do one or the other (not that there aren&#8217;t valid reasons, I just don&#8217;t know why one method is preferable to the other). I did have an entry on using fonts from a SWF in an MXML application, but it has been in my drafts for a month or so now. I&#8217;ll see if I can dig that up.</p>
<p>In the meantime, check out the Adobe Flex 2 Developer&#8217;s Guide documentation on LiveDocs, <a href="http://livedocs.adobe.com/flex/201/html/fonts_070_01.html" rel="nofollow">&#8220;Using Fonts&#8221;</a>. And more specifically, this section <a href="http://livedocs.adobe.com/flex/201/html/fonts_070_11.html" rel="nofollow">&#8220;Embedding fonts from SWF files&#8221;</a>.</p>
<p>Hope that helps,<br />
Peter</p>
<p>PS: Any readers out there care to educate me on why fonts embedded in SWFs are preferable to TTF fonts embedded in MXML?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dormouse</title>
		<link>http://blog.flexexamples.com/2007/09/26/using-the-flash-classes-in-mxml/comment-page-1/#comment-1405</link>
		<dc:creator>dormouse</dc:creator>
		<pubDate>Thu, 27 Sep 2007 15:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/26/using-the-flash-classes-in-mxml/#comment-1405</guid>
		<description>peterd,
today, my boss told me that&quot;Do not binding font in the swf&quot;, so i have to load a external font from the server.
Now, i spend a long time to solve it.
Although, i didn&#039;t know why? Why not binding a new font in the swf(while it will be larger)?

BTW, my english is pool.Sorry;(</description>
		<content:encoded><![CDATA[<p>peterd,<br />
today, my boss told me that&#8221;Do not binding font in the swf&#8221;, so i have to load a external font from the server.<br />
Now, i spend a long time to solve it.<br />
Although, i didn&#8217;t know why? Why not binding a new font in the swf(while it will be larger)?</p>
<p>BTW, my english is pool.Sorry;(</p>
]]></content:encoded>
	</item>
</channel>
</rss>
