<?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 for Aaron L'Heureux</title>
	<atom:link href="http://www.dotstrosity.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dotstrosity.net</link>
	<description>A Portfolio of Work and the Related Mess</description>
	<lastBuildDate>Thu, 22 Mar 2012 17:41:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on Flash CS5 font embedding &#8211; it&#8217;s totally different&#8230; by Neeraj Tiwari</title>
		<link>http://www.dotstrosity.net/2010/05/10/flash-cs5-font-embedding-its-totally-different/comment-page-1/#comment-777</link>
		<dc:creator>Neeraj Tiwari</dc:creator>
		<pubDate>Thu, 22 Mar 2012 17:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotstrosity.net/?p=347#comment-777</guid>
		<description>The problem that I am facing is that I am always getting output as FAILED and that too for each field...this is happening for valid , working cards...so, is it really an embed font issue as hinted in the output section of Flash or is it something with the ActionScript code...?</description>
		<content:encoded><![CDATA[<p>The problem that I am facing is that I am always getting output as FAILED and that too for each field&#8230;this is happening for valid , working cards&#8230;so, is it really an embed font issue as hinted in the output section of Flash or is it something with the ActionScript code&#8230;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash CS5 font embedding &#8211; it&#8217;s totally different&#8230; by Neeraj Tiwari</title>
		<link>http://www.dotstrosity.net/2010/05/10/flash-cs5-font-embedding-its-totally-different/comment-page-1/#comment-776</link>
		<dc:creator>Neeraj Tiwari</dc:creator>
		<pubDate>Thu, 22 Mar 2012 17:37:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotstrosity.net/?p=347#comment-776</guid>
		<description>Sorry I should have mention this but here it is: I am actually using Adobe Flash CS 5 but saving the file in Flash CS4...Here is a snippet of ActionScript code , just to give an idea:


//Divide card data string into last three characters for validation
var cardData:String = new String(_root.cardTI.text);

var validCard:String = new String();
validCard = cardData.substr(-3, 3);

var numberCode:String = new String();
numberCode = cardData.substr(0, 9);

//Divide card data string into the fifth and fourth characters to determine issue code

var issueCode:String = new String();
issueCode = cardData.substr(-5, 2);

var FacilityCode:String = new String();
FacilityCode = cardData.substr(-5, 2);

//Create text format for PASS/FAIL
var failFmt = new TextFormat();
failFmt.color = 0xFF0000;

var passFmt = new TextFormat();
passFmt.color = 0x009900;

//Verify Card
if (validCard == &quot;288&quot; or validCard == &quot;289&quot;) {
	responseDT.text = &quot;PASSED&quot;;
	responseDT.setTextFormat(passFmt);
	numberDT.text = numberCode;
	numberDT.setTextFormat(passFmt);
	issueCodeDT.text = issueCode;
	issueCodeDT.setTextFormat(passFmt);
	FacilityCodeDT.text = Facilitycode;
	FacilityCodeDT.setTextFormat(passFmt);
	
} else {
	responseDT.text = &quot;FAILED&quot;;
	responseDT.setTextFormat(failFmt);
	numberDT.text = &quot;FAILED&quot;;
	numberDT.setTextFormat(failFmt);
	issueCodeDT.text = &quot;FAILED&quot;;
	issueCodeDT.setTextFormat(failFmt);
	FacilityCodeDT.text = &quot;FAILED&quot;;
	FacilityCodeDT.setTextFormat(failFmt);
}
stop();</description>
		<content:encoded><![CDATA[<p>Sorry I should have mention this but here it is: I am actually using Adobe Flash CS 5 but saving the file in Flash CS4&#8230;Here is a snippet of ActionScript code , just to give an idea:</p>
<p>//Divide card data string into last three characters for validation<br />
var cardData:String = new String(_root.cardTI.text);</p>
<p>var validCard:String = new String();<br />
validCard = cardData.substr(-3, 3);</p>
<p>var numberCode:String = new String();<br />
numberCode = cardData.substr(0, 9);</p>
<p>//Divide card data string into the fifth and fourth characters to determine issue code</p>
<p>var issueCode:String = new String();<br />
issueCode = cardData.substr(-5, 2);</p>
<p>var FacilityCode:String = new String();<br />
FacilityCode = cardData.substr(-5, 2);</p>
<p>//Create text format for PASS/FAIL<br />
var failFmt = new TextFormat();<br />
failFmt.color = 0xFF0000;</p>
<p>var passFmt = new TextFormat();<br />
passFmt.color = 0&#215;009900;</p>
<p>//Verify Card<br />
if (validCard == &#8220;288&#8243; or validCard == &#8220;289&#8243;) {<br />
	responseDT.text = &#8220;PASSED&#8221;;<br />
	responseDT.setTextFormat(passFmt);<br />
	numberDT.text = numberCode;<br />
	numberDT.setTextFormat(passFmt);<br />
	issueCodeDT.text = issueCode;<br />
	issueCodeDT.setTextFormat(passFmt);<br />
	FacilityCodeDT.text = Facilitycode;<br />
	FacilityCodeDT.setTextFormat(passFmt);</p>
<p>} else {<br />
	responseDT.text = &#8220;FAILED&#8221;;<br />
	responseDT.setTextFormat(failFmt);<br />
	numberDT.text = &#8220;FAILED&#8221;;<br />
	numberDT.setTextFormat(failFmt);<br />
	issueCodeDT.text = &#8220;FAILED&#8221;;<br />
	issueCodeDT.setTextFormat(failFmt);<br />
	FacilityCodeDT.text = &#8220;FAILED&#8221;;<br />
	FacilityCodeDT.setTextFormat(failFmt);<br />
}<br />
stop();</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash CS5 font embedding &#8211; it&#8217;s totally different&#8230; by Neeraj Tiwari</title>
		<link>http://www.dotstrosity.net/2010/05/10/flash-cs5-font-embedding-its-totally-different/comment-page-1/#comment-775</link>
		<dc:creator>Neeraj Tiwari</dc:creator>
		<pubDate>Thu, 22 Mar 2012 15:07:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotstrosity.net/?p=347#comment-775</guid>
		<description>I am using ActionScript 2 by the way...</description>
		<content:encoded><![CDATA[<p>I am using ActionScript 2 by the way&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash CS5 font embedding &#8211; it&#8217;s totally different&#8230; by Neeraj Tiwari</title>
		<link>http://www.dotstrosity.net/2010/05/10/flash-cs5-font-embedding-its-totally-different/comment-page-1/#comment-774</link>
		<dc:creator>Neeraj Tiwari</dc:creator>
		<pubDate>Thu, 22 Mar 2012 15:05:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotstrosity.net/?p=347#comment-774</guid>
		<description>Hi, I am trying to understand the embed font thing. Currently, I am working on a project based on card swipe. Its in Flash CS 5 and basically the actionscript which I am writing for it should read the codes from the card and divide them in 3 fields(unique card code, issue code and facility code) which will be displayed once a card is swiped. And yes whenever I press ctrl + enter in Adobe Flash I am getting this message:
&quot;Fonts should be embedded for any text that may be edited at runtime, other than text with the &quot;Use Device Fonts&quot; setting. Use the Text &gt; Font Embedding command to embed fonts.&quot;

Any ideas?</description>
		<content:encoded><![CDATA[<p>Hi, I am trying to understand the embed font thing. Currently, I am working on a project based on card swipe. Its in Flash CS 5 and basically the actionscript which I am writing for it should read the codes from the card and divide them in 3 fields(unique card code, issue code and facility code) which will be displayed once a card is swiped. And yes whenever I press ctrl + enter in Adobe Flash I am getting this message:<br />
&#8220;Fonts should be embedded for any text that may be edited at runtime, other than text with the &#8220;Use Device Fonts&#8221; setting. Use the Text &gt; Font Embedding command to embed fonts.&#8221;</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash CS5 font embedding &#8211; it&#8217;s totally different&#8230; by Tyler</title>
		<link>http://www.dotstrosity.net/2010/05/10/flash-cs5-font-embedding-its-totally-different/comment-page-1/#comment-763</link>
		<dc:creator>Tyler</dc:creator>
		<pubDate>Thu, 23 Feb 2012 20:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotstrosity.net/?p=347#comment-763</guid>
		<description>Thanks for the post, this worked for me.  And no big surprise that Adobe&#039;s documentation is completely lacking here.  Or that they never bother to show you what the *actual* name of the font should be in the dialog.</description>
		<content:encoded><![CDATA[<p>Thanks for the post, this worked for me.  And no big surprise that Adobe&#8217;s documentation is completely lacking here.  Or that they never bother to show you what the *actual* name of the font should be in the dialog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash CS5 font embedding &#8211; it&#8217;s totally different&#8230; by Stefcot</title>
		<link>http://www.dotstrosity.net/2010/05/10/flash-cs5-font-embedding-its-totally-different/comment-page-1/#comment-762</link>
		<dc:creator>Stefcot</dc:creator>
		<pubDate>Sat, 18 Feb 2012 19:57:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotstrosity.net/?p=347#comment-762</guid>
		<description>Hi all,

this is the way I use for embedding fonts, of course it&#039;s the same for importing the fonts in the library but after I kept doing the same as in cs3 and cs4 and it works fine :

1. add : import flash.utils.getDefinitionByName; at the top of your class
2. add : Font.registerFont(getDefinitionByName(&quot;YourFontIDInTheLibrary&quot;) as Class);

3. add this to check your font Name :
var embeddedFontsArray:Array = Font.enumerateFonts(true);
			
			for(var i:Number = 0; i &lt; embeddedFontsArray.length; i++) {
				trace(embeddedFontsArray[i]);
				trace(embeddedFontsArray[i].fontName);
			}

That&#039;s it guys i hope it will help you</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>this is the way I use for embedding fonts, of course it&#8217;s the same for importing the fonts in the library but after I kept doing the same as in cs3 and cs4 and it works fine :</p>
<p>1. add : import flash.utils.getDefinitionByName; at the top of your class<br />
2. add : Font.registerFont(getDefinitionByName(&#8220;YourFontIDInTheLibrary&#8221;) as Class);</p>
<p>3. add this to check your font Name :<br />
var embeddedFontsArray:Array = Font.enumerateFonts(true);</p>
<p>			for(var i:Number = 0; i &lt; embeddedFontsArray.length; i++) {<br />
				trace(embeddedFontsArray[i]);<br />
				trace(embeddedFontsArray[i].fontName);<br />
			}</p>
<p>That&#039;s it guys i hope it will help you</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Berklee Summer Programs Site a 2009 MITX Interactive Awards Finalist by Kayleen</title>
		<link>http://www.dotstrosity.net/2009/12/14/berklee-summer-programs-site-a-2009-mitx-interactive-awards-finalist/comment-page-1/#comment-742</link>
		<dc:creator>Kayleen</dc:creator>
		<pubDate>Wed, 14 Dec 2011 02:15:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotstrosity.net/?p=291#comment-742</guid>
		<description>Thanks for itnorcduing a little rationality into this debate.</description>
		<content:encoded><![CDATA[<p>Thanks for itnorcduing a little rationality into this debate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on BU Annual Report 2009 wins CASE Circle of Excellence Bronze by Ryne</title>
		<link>http://www.dotstrosity.net/2010/07/01/bu-annual-report-2009-wins-case-circle-of-excellence-bronze/comment-page-1/#comment-740</link>
		<dc:creator>Ryne</dc:creator>
		<pubDate>Mon, 12 Dec 2011 18:17:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotstrosity.net/?p=365#comment-740</guid>
		<description>You&#039;ve imprsesed us all with that posting!</description>
		<content:encoded><![CDATA[<p>You&#8217;ve imprsesed us all with that posting!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Allen &amp; Gerritsen Website by Mira</title>
		<link>http://www.dotstrosity.net/2009/04/09/allen-gerritsen-website/comment-page-1/#comment-737</link>
		<dc:creator>Mira</dc:creator>
		<pubDate>Mon, 12 Dec 2011 12:49:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotstrosity.net/?p=125#comment-737</guid>
		<description>I&#039;m gratfeul you made the post. It&#039;s cleared the air for me.</description>
		<content:encoded><![CDATA[<p>I&#8217;m gratfeul you made the post. It&#8217;s cleared the air for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash CS5 font embedding &#8211; it&#8217;s totally different&#8230; by Upgrade von CS4 auf CS5: Dynamisch erstellter Text wird nicht mehr angezeigt - Flashforum</title>
		<link>http://www.dotstrosity.net/2010/05/10/flash-cs5-font-embedding-its-totally-different/comment-page-1/#comment-736</link>
		<dc:creator>Upgrade von CS4 auf CS5: Dynamisch erstellter Text wird nicht mehr angezeigt - Flashforum</dc:creator>
		<pubDate>Tue, 06 Dec 2011 15:56:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.dotstrosity.net/?p=347#comment-736</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

