<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>NIM ReFLEXtions</title>
	<atom:link href="http://margopowell.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://margopowell.wordpress.com</link>
	<description>Nutrition in Medicine Website Development Info</description>
	<lastBuildDate>Tue, 27 Dec 2011 13:17:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='margopowell.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>NIM ReFLEXtions</title>
		<link>http://margopowell.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://margopowell.wordpress.com/osd.xml" title="NIM ReFLEXtions" />
	<atom:link rel='hub' href='http://margopowell.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Time Capsule with Shared Network External Hard Drive</title>
		<link>http://margopowell.wordpress.com/2011/05/15/time-capsule-with-shared-network-external-hard-drive/</link>
		<comments>http://margopowell.wordpress.com/2011/05/15/time-capsule-with-shared-network-external-hard-drive/#comments</comments>
		<pubDate>Sun, 15 May 2011 21:25:26 +0000</pubDate>
		<dc:creator>ogrampowell</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[External Hard Drive]]></category>
		<category><![CDATA[time capsule]]></category>

		<guid isPermaLink="false">http://margopowell.wordpress.com/?p=860</guid>
		<description><![CDATA[I have Time Capsule installed on my home network. My HP Pavilion has a direct cable connection into the back of the Time Capsule (no wireless network board since the machine is very old). My mac book pro connects to the Time capsule using wireless. I wanted to set up a local network drive to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=860&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have Time Capsule installed on my home network. My HP Pavilion has a direct cable connection into the back of the Time Capsule (no wireless network board since the machine is very old). My mac book pro connects to the Time capsule using wireless. I wanted to set up a local network drive to share photos and music files with my family. </p>
<p>I purchased a Western Digital Elements 2 TB hard drive to use as my local network hard drive. The hard drive comes preformatted for windows. My pre reading indicated I would need to format the hard drive for apple in HFS+ format to work with all machines via Time Capsule. The Time capsule provides AFP protocols to apple based machines and SMB protocols to windows based machines to interface with the hard drive.  This was based on the apple site reference page about USB storage device supported formats and protocols <a href="http://support.apple.com/kb/ht2426">USB storage device supported formats and protocols</a>.</p>
<p>The instructions that came with the hard drive pointed Macintosh users to support.wdc.com and to look up knowledge based question id#287. Doing a knowledge based search on the id brought up this link:<br />
<a href="http://wdc.custhelp.com/app/answers/detail/a_id/3865/session/L3RpbWUvMTMwNTQ5MzcwMy9zaWQvV0RRTzEydWs%3D">How to partition and format a WD drive on Windows(7,Vista,XP) and Mac OSX</a>.<br />
I then selected my OS which was MAC OSX 10.5 or 10.6. This brought up a step by step instruction on how to format the external hard drive in the MAC OS EXtended (Journaled) format. The only deviation from the directions was in step 4 where I selected GUID Partition table partition scheme rather than the Apple Partition Map choice. These directions were also presented at this site <a href="http://www.zisman.ca/Articles/2009/LEM-Airdisk/airdisk.html">Things You Must Know When Connecting a USB Hard Drive to Airport Extreme</a>.</p>
<p>After reformatting the hard drive, I plugged it into my Time Capsule. I then used my Airport Utility which I have installed on my windows machine to configure the Time Capsule per the instructions on <a href="http://www.brighthub.com/computing/mac-platform/articles/48709.aspx">How to Add An External Hard Drive To Time Capsule</a>. The fact that I had the Airport Utility installed on my windows machine may be why I had no trouble seeing the hard drive on my windows HP machine.</p>
<p>Ironically, on my apple mac pro laptop the network drive was visible but when I clicked on the drive I got the following error message:<br />
&#8220;The operation cannot be completed because the original item for &#8220;drive&#8221; (the name of my drive) cannot be found&#8221;</p>
<p>I did some googling but thought I would try an old Windows trick and just rebooted my laptop. That did the trick and the laptop recognized the hard drive on the Time Capsule and allowed me to view the test photos I had placed there. I think the reboot forced the time capsule settings to be refreshed on the laptop which is rather windowy behavior.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/margopowell.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/margopowell.wordpress.com/860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/margopowell.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/margopowell.wordpress.com/860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/margopowell.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/margopowell.wordpress.com/860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/margopowell.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/margopowell.wordpress.com/860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/margopowell.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/margopowell.wordpress.com/860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/margopowell.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/margopowell.wordpress.com/860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/margopowell.wordpress.com/860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/margopowell.wordpress.com/860/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=860&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://margopowell.wordpress.com/2011/05/15/time-capsule-with-shared-network-external-hard-drive/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02de6b5e0c86cce32a887611325bc639?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ogrampowell</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash CS5 Dynamic Text Formatting &#8211; Part 5</title>
		<link>http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-5/</link>
		<comments>http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-5/#comments</comments>
		<pubDate>Wed, 04 May 2011 16:44:55 +0000</pubDate>
		<dc:creator>ogrampowell</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[TextField]]></category>
		<category><![CDATA[TextFormat]]></category>

		<guid isPermaLink="false">http://margopowell.wordpress.com/?p=842</guid>
		<description><![CDATA[Embedding Font Class in a Flash CS5 Component Class I created a document class for a fla file which has font embedded traces the font info when the class is instantiated creates a text field to display embedded font Here is the document class EmbedFontTest.as which is in the same directory as the Font Classes [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=842&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Embedding Font Class in a Flash CS5 Component Class</strong></p>
<p>I created a document class for a fla file which has</p>
<ul>
<li>font embedded</li>
<li>traces the font info when the class is instantiated</li>
<li>creates a text field to display  embedded font</li>
</ul>
<p>Here is the document class EmbedFontTest.as which is in the same directory as the Font Classes which it references(ArialEmbedder and MsRefEmbedder):<br />
<span id="more-842"></span></p>
<p><pre class="brush: java;">
package {
	
	import flash.display.Sprite;
	import flash.text.TextField;
	import flash.text.TextFieldAutoSize;
	import flash.text.Font;
	
	import flash.text.TextFormat;
	import flash.text.AntiAliasType;
	
	public class EmbedFontTest extends Sprite {
		//page 740 Essential Actionscript 3.0
		//Force _ArialEmbedder and its fonts to be compiled into the swf
		ArialEmbedder;
		//MsRefEmbedder;
		
		private var _text_fmt:TextFormat;
		private var _text_txt:TextField;
		
		public function EmbedFontTest() {
			// constructor code
			super();
			var fonts:Array = Font.enumerateFonts();
			fonts.sortOn(&quot;fontName&quot;, Array.CASEINSENSITIVE);
			for (var i:int = 0; i&lt; fonts.length; i++)
			{
				trace(fonts[i].fontName + &quot;,&quot; + fonts[i].fontStyle + &quot;,&quot; + fonts[i].fontType);
			}
			this.initEmbedFontTest();
		}
		
		 private function initEmbedFontTest():void
		{
			this._text_fmt = new TextFormat();
			//this._text_fmt.font = MsRefEmbedder.FONT_NAME;
			this._text_fmt.font = ArialEmbedder.FONT_NAME;
			this._text_fmt.size = 40;
			this._text_fmt.bold = true;
			this._text_fmt.italic = true;
			
			
			this._text_txt = new TextField();
			this._text_txt.embedFonts = true;
			this._text_txt.autoSize = TextFieldAutoSize.LEFT;
			this._text_txt.defaultTextFormat = this._text_fmt;
			this._text_txt.text = &quot;Test Text Format µ ≥&quot;;
			
			this.addChild(this._text_txt);
		}

	}
	
}
</pre></p>
<p>Using the code above I was able to eliminate the font conflict I was running into when incorporating Flash CS5 swc component within a flex based project.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/margopowell.wordpress.com/842/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/margopowell.wordpress.com/842/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/margopowell.wordpress.com/842/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/margopowell.wordpress.com/842/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/margopowell.wordpress.com/842/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/margopowell.wordpress.com/842/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/margopowell.wordpress.com/842/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/margopowell.wordpress.com/842/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/margopowell.wordpress.com/842/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/margopowell.wordpress.com/842/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/margopowell.wordpress.com/842/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/margopowell.wordpress.com/842/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/margopowell.wordpress.com/842/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/margopowell.wordpress.com/842/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=842&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02de6b5e0c86cce32a887611325bc639?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ogrampowell</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash CS5 Dynamic Text Formatting &#8211; Part 4</title>
		<link>http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-4/</link>
		<comments>http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-4/#comments</comments>
		<pubDate>Wed, 04 May 2011 16:24:40 +0000</pubDate>
		<dc:creator>ogrampowell</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[TextField]]></category>
		<category><![CDATA[TextFormat]]></category>

		<guid isPermaLink="false">http://margopowell.wordpress.com/?p=820</guid>
		<description><![CDATA[Embedding font in a Class file My next approach was to read up on embedding fonts programmatically. So I broke out my Essential Actionscript 3.0 book and on page 740 read up on embedding fonts and going through the exercises in that chapter. The following is an example of embedding font in a class which [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=820&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Embedding font in a Class file</strong></p>
<p>My next approach was to read up on embedding fonts programmatically. So I broke out my Essential Actionscript 3.0 book and on page 740 read up on embedding fonts and going through the exercises in that chapter. </p>
<p>The following is an example of embedding font in a class which can then be used in a class to control the rendering of text in a TextField.</p>
<p><pre class="brush: java;">
package {
	
	//-------------------------------------------------------------------------
	// Class
	//-------------------------------------------------------------------------
	/**
	 *
	 * Class used to embed Arial Regular font 
     * ONLY in a font library
	 * for use by Flash 5 Pro generated swc libraries
	 *
	 **/ 
	public class ArialEmbedder {
		
		public static const FONT_NAME:String = &quot;_arial&quot;;
		
		//these are the elements of the font family 
		//we want to embed using direct path location 
        //to Font directory on Windows XP
		[Embed(source='C:/Windows/Fonts/ARIAL.TTF', 
			   fontFamily='_arial',
			   fontWeight='regular',
			   fontStyle='regular',
			   embedAsCFF='false')]
		public static var _arial:Class;
		
	}
}
</pre></p>
<p><span id="more-820"></span></p>
<p>Note that this increases the file size dramatically since it includes all characters in the font set. We just want to restrict ourselves to a subset of the characters. So this class is modified in the following manner:</p>
<p><pre class="brush: java;">
package {
	
	//-------------------------------------------------------------------------
	// Class
	//-------------------------------------------------------------------------
	/**
	 *
	 * Class used to embed Arial Regular font 
	 * ONLY in a font library
	 * for use by Flash 5 Pro generated swc libraries
	 * 
	 *
	 * Commonly used ranges
	 * Uppercase : U+0020,U+0041-U+005A
     * Lowercase : U+0020,U+0061-U+007A
     * Numerals : U+0030-U+0039,U+002E
     * Punctuation : U+0020-U+002F,U+003A-U+0040,U+005B-U+0060,U+007B-U+007E
     * Basic Latin : 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
	 * Special Chars: U+00B5 for µ,U+2265 for ≥
	 * alt+230,alt+242
	 * 
	 * 
	 **/ 
	public class ArialEmbedder {
		
		public static const FONT_NAME:String = &quot;_arial&quot;;

		//these are the elements of the font family 
		//we want to embed using direct path location 		
		//to Font directory on Windows XP
		//
		[Embed(source='C:/Windows/Fonts/ARIAL.TTF', 
			   fontFamily='_arial',
			   fontWeight='regular',
			   fontStyle='regular',
			   unicodeRange='U+00B5,U+2265,U+0041-U+005A,U+0061-U+007A,U+0030-U+0039,U+002E,U+0020-U+002F,U+003A-U+0040,U+005B-U+0060,U+007B-U+007E',
			   embedAsCFF='false')]
		public static var _arial:Class;
		
	}
}

</pre></p>
<p>Final step is to note this class only contains font for Arial regular font. If you have a flash file that uses more than just regular arial font &#8211; perhaps you need bold font, italic font, and bolditalic font, then you should create a class which contains all of these but note that the inclusion increases the file size of the font class which will be embedded in the flash file. The following is an example of embedding multiple fonts in a single class:<br />
<pre class="brush: java;">
package {
	
	//-------------------------------------------------------------------------
	// Class
	//-------------------------------------------------------------------------
	/**
	 * Class used to embed Ms Reference Sans Serif 
	 * font in a font library for use by Flash 5 Pro 
	 * generated swc libraries
	 *
	 * Commonly used ranges
	 * Uppercase : U+0020,U+0041-U+005A
     * Lowercase : U+0020,U+0061-U+007A
     * Numerals : U+0030-U+0039,U+002E
     * Punctuation : U+0020-U+002F,U+003A-U+0040,U+005B-U+0060,U+007B-U+007E
     * Basic Latin : 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
	 * Special Chars: U+00B5 for µ,U+2265 for ≥
	 * alt+230,alt+242
	 * @author Margo Powell
	 * @version $Id$
	 **/ 
	public class MsRefEmbedder {
		
		public static const FONT_NAME:String = &quot;_msRef&quot;;

		//these are the elements of the font family 
		//we want to embed using direct path location 		
		//to Font directory on Windows XP
		[Embed(source='C:/Windows/Fonts/REFSAN.TTF', 
			   fontFamily='_msRef',
			   fontWeight='regular',
			   fontStyle='regular',
			   unicodeRange='U+00B5,U+2265,U+0041-U+005A,U+0061-U+007A,U+0030-U+0039,U+002E,U+0020-U+002F,U+003A-U+0040,U+005B-U+0060,U+007B-U+007E',
			   embedAsCFF='false')]
		public static var _msRef:Class;

		//note we are using complete fontWeight and fontStyle attributes
		[Embed(source='C:/Windows/Fonts/MS Reference Sans Serif Bold.ttf', 
			   fontFamily='_msRef', 
			   fontWeight='bold',
			   fontStyle='regular',
			   unicodeRange='U+00B5,U+2265,U+0041-U+005A,U+0061-U+007A,U+0030-U+0039,U+002E,U+0020-U+002F,U+003A-U+0040,U+005B-U+0060,U+007B-U+007E',
			   embedAsCFF='false' )]
		public static var _msRefBold:Class;

		//note we are using embedAsCFF set to false, since using DefineFont3 for TextFields
		//if left to true, would useDefineFont4 and not render in the TextField
		[Embed(source='C:/Windows/Fonts/MS Reference Sans Serif Bold Italic.ttf', 
			   fontFamily='_msRef', 
			   fontWeight='bold', 
			   fontStyle='italic',
			   unicodeRange='U+00B5,U+2265,U+0041-U+005A,U+0061-U+007A,U+0030-U+0039,U+002E,U+0020-U+002F,U+003A-U+0040,U+005B-U+0060,U+007B-U+007E',
			   embedAsCFF='false')]
		public static var _msRefBoldItalic:Class;

		[Embed(source='C:/Windows/Fonts/MS Reference Sans Serif Italic.ttf', 
			   fontFamily='_msRef', 
			   fontWeight='regular', 
			   fontStyle='italic',
			   unicodeRange='U+00B5,U+2265,U+0041-U+005A,U+0061-U+007A,U+0030-U+0039,U+002E,U+0020-U+002F,U+003A-U+0040,U+005B-U+0060,U+007B-U+007E',
			   embedAsCFF='false')]
		public static var _msRefItalic:Class;
	}
}

</pre></p>
<p>Next in Series <a href="http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-5/" title="Part 5">Part 5</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/margopowell.wordpress.com/820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/margopowell.wordpress.com/820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/margopowell.wordpress.com/820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/margopowell.wordpress.com/820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/margopowell.wordpress.com/820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/margopowell.wordpress.com/820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/margopowell.wordpress.com/820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/margopowell.wordpress.com/820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/margopowell.wordpress.com/820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/margopowell.wordpress.com/820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/margopowell.wordpress.com/820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/margopowell.wordpress.com/820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/margopowell.wordpress.com/820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/margopowell.wordpress.com/820/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=820&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-4/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02de6b5e0c86cce32a887611325bc639?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ogrampowell</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash CS5 Dynamic Text Formatting &#8211; Part 3</title>
		<link>http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-3/</link>
		<comments>http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-3/#comments</comments>
		<pubDate>Wed, 04 May 2011 15:40:08 +0000</pubDate>
		<dc:creator>ogrampowell</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[TextField]]></category>
		<category><![CDATA[TextFormat]]></category>

		<guid isPermaLink="false">http://margopowell.wordpress.com/?p=813</guid>
		<description><![CDATA[Creating Flex Component View using Flash CS5 &#8211; FONT Conflicts We created some Flex based component views using Flash CS5 by following the instructions in the Adobe Article Combining animation and ActionScript using Flash Professional CS5 and Flash Builder 4 which we used inside our course player. These View components had text fields which would [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=813&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Creating Flex Component View using Flash CS5 &#8211; FONT Conflicts</strong></p>
<p>We created some Flex based component views using Flash CS5 by following the instructions in the Adobe Article <a href="http://www.adobe.com/devnet/flash/articles/animation_flash_fbuilder.html" title="Combining animation and Actionscript ">Combining animation and ActionScript using Flash Professional CS5 and Flash Builder 4</a> which we used inside our course player. These View components had text fields which would dynamically resize when the player was resized on the fly(Only for firefox and safari, IE and chrome do not allow resizing). These views also had images which would scale appropriately as well.</p>
<p><span id="more-813"></span></p>
<p>I initially just embedded the fonts like I did in Part 1 and Part 2 but ran into font conflicts. When I created a Flex component using Flash CS5 (which was placed in a swc library for use in Flex), I was getting font warnings along the line of :<br />
<em><br />
Warning incompatible embedded font &#8220;Arial specified for spark components::Label (Label27) requires embedded font be declared with embedAsCff=true&#8221;</em></p>
<p>Based on the information in the following blog on <a href="http://blog.flexwiz.net/flex-4-migration-tips/" title="Embedded Fonts">Flex 4 SDK &#8211; the Halo namespace and embedded fonts</a> , it appears the<br />
classic text fields I used in flash CS5 had non-CFF based embedding fonts. The Flex spark components in the player used CFF embedded font formats. The generated swc library from Flash CS5 caused a conflict which was discussed in detail in <a href="http://www.blackcj.com/blog/2010/01/03/resolve-swc-font-conflicts/" title="Fix Disappearing Fonts Caused By SWC's" target="_blank">Fix Disappearing Fonts Caused by SWC&#8217;s</a>.  One embedded font version would override the other ( would either have a CFF embedded font or a non-CFF embedded font with a specific font name).</p>
<p>This conflict required that I rename the fonts in the Flash CS5 generated swc for use within the Flex based player. The process involved required that:</p>
<ul>
<li>embed the font in a class with a different name for Flash CS5 component</li>
<li>use that font class in the document class of the Flash CS5 view</li>
</ul>
<p>Next in series <a href="http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-4/" title="Part 4">Part 4</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/margopowell.wordpress.com/813/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/margopowell.wordpress.com/813/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/margopowell.wordpress.com/813/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/margopowell.wordpress.com/813/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/margopowell.wordpress.com/813/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/margopowell.wordpress.com/813/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/margopowell.wordpress.com/813/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/margopowell.wordpress.com/813/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/margopowell.wordpress.com/813/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/margopowell.wordpress.com/813/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/margopowell.wordpress.com/813/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/margopowell.wordpress.com/813/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/margopowell.wordpress.com/813/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/margopowell.wordpress.com/813/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=813&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02de6b5e0c86cce32a887611325bc639?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ogrampowell</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash CS5 Dynamic Text Formatting &#8211; Part 2</title>
		<link>http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-2/</link>
		<comments>http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-2/#comments</comments>
		<pubDate>Wed, 04 May 2011 13:56:39 +0000</pubDate>
		<dc:creator>ogrampowell</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[TextField]]></category>
		<category><![CDATA[TextFormat]]></category>

		<guid isPermaLink="false">http://margopowell.wordpress.com/?p=798</guid>
		<description><![CDATA[Mixing TextFormats within a TextField We would like to highlight text within a paragraph. I would follow the instructions in Part 1 of this series, then follow these instructions to modify the text format within a paragraph: create a new TextField with the desired font to be used embed the font in the TextField Set [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=798&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Mixing TextFormats within a TextField</strong><br />
We would like to highlight text within a paragraph. I would follow the instructions in <a href="http://margopowell.wordpress.com/2011/05/04/flash-cs5-dyna…matting-part-1/" title="Part 1">Part 1 </a> of this series, then follow these instructions to modify the text format within a paragraph:</p>
<ul>
<li>create a new TextField with the desired font to be used </li>
<li>embed the font in the TextField</li>
<li>Set the font to be exported for actionscript*</li>
</ul>
<p>* see the instructions at this site:<a href="http://www.republicofcode.com/tutorials/flash/as3text/" title="AS3:Text Fields and Formats" target="_blank"> AS3: Text Fields and Formats</a> to set the linkage properties for the font in the IDE.</p>
<p><span id="more-798"></span></p>
<p>In my linkage Properties dialog, I set the class name of my desired font(and text format) to <strong>MsRefItalic</strong>.<br />
In the code below, I access the new embedded font using this linkage class name. I then create a new TextFormat which will utilize the new font and also change a few of the text formatting attributes:</p>
<p><pre class="brush: java;">
//create a reference to the font in the library which has
//been exported for actionscript with the class name 
//used to create the font
var italicFont:Font = new MsRefItalic();

//use this font to create an italic text format 
//for glossary terms
var italicTextFormat:TextFormat = new TextFormat();
italicTextFormat.font = italicFont.fontName;

//set the text italic
italicTextFormat.italic = true;

//make the text blue
italicTextFormat.color = 0x0756a3;
</pre></p>
<p>Now I want to modify some text within the paragraph and will start from the Part1 example:<br />
<pre class="brush: java;">
//set movie clip text field value
choice_txt.text = &quot;New Text to be displayed in the text field&quot;;
			
//apply text formatting to ALL new text to display
choice_txt.setTextFormat(choiceTextFormat);
			
//set the string to italicize and make blue
var italicBlueText:String = &quot;displayed&quot;;

//hard coded above but could be dynamic, so
//make sure that there is a string
if (italicBlueText.length != 0){
	//get the string characters currently being
   //displayed in the text field
	var temp:String = choice_txt.text;
	
    //find the beginning index of word within string
	var beginIndex:int = temp.indexOf(italicBlueText);
						
	//set the end index based on the character lenght
	var endIndex:int=beginIndex + italicBlueText.length;
						
	//update the corresponding characters 
    //within the text field
	choice_txt.setTextFormat(this._italicTextFormat,beginIndex,endIndex);
}
</pre></p>
<p>Next in series, <a href="http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-3/" title="Part 3">Part 3</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/margopowell.wordpress.com/798/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/margopowell.wordpress.com/798/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/margopowell.wordpress.com/798/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/margopowell.wordpress.com/798/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/margopowell.wordpress.com/798/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/margopowell.wordpress.com/798/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/margopowell.wordpress.com/798/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/margopowell.wordpress.com/798/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/margopowell.wordpress.com/798/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/margopowell.wordpress.com/798/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/margopowell.wordpress.com/798/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/margopowell.wordpress.com/798/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/margopowell.wordpress.com/798/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/margopowell.wordpress.com/798/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=798&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02de6b5e0c86cce32a887611325bc639?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ogrampowell</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash CS5 Dynamic Text Formatting &#8211; Part 1</title>
		<link>http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-1/</link>
		<comments>http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-1/#comments</comments>
		<pubDate>Wed, 04 May 2011 13:20:07 +0000</pubDate>
		<dc:creator>ogrampowell</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[TextField]]></category>
		<category><![CDATA[TextFormat]]></category>

		<guid isPermaLink="false">http://margopowell.wordpress.com/?p=787</guid>
		<description><![CDATA[Retrieving TextFormat from TextField with Embedded Font Creating notes for myself to reference when creating flash pages using the Flash CS5 IDE. This post is going to cover how to retrieve TextFormat settings when I would like to change the text in dynamic text fields on the fly. I typically layout flash pages with TextFields [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=787&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Retrieving TextFormat from TextField with Embedded Font</strong><br />
Creating notes for myself to reference when creating flash pages using the Flash CS5 IDE. </p>
<p>This post is going to cover how to retrieve TextFormat settings when I would like to change the text in dynamic text fields on the fly. I typically layout flash pages with TextFields placed in the desired location on the stage. When an interaction has been setup and the values of the text fields needs to change dynamically, I always struggle to remember exactly what I did each time. </p>
<p>Simple approach Part 1:</p>
<ul>
<li>Embed the font in the dynamic TextField with desired attributes set in property tab</li>
<li>TextField paragraph setting set to Justify*</li>
<li> Programmatically retrieve the TextFields text format properties to be used later</li>
</ul>
<p>* &#8211; this seems to prevent cropping of characters in the text field when values are changed. When I tried to set this attribute programmatically, the text characters would get cropped when I mixed font attributes within a text field vs setting the whole TextField from the stage (so just set this item globally on the stage properties tab view for the designated TextField).</p>
<p><span id="more-787"></span></p>
<p>The code below illustrates the retrieval of the TextFormat settings for a TextField named choice_txt:<br />
<pre class="brush: java;">
//store initial text format for choice textField
//used when I need to modify text later
choiceTextFormat = choice_txt.getTextFormat();
</pre></p>
<p>The format setting for the text field can then be reapplied when the text is modified:<br />
<pre class="brush: java;">
//set new movie clip text field value
choice_txt.text = &quot;New text to be displayed or appended&quot;;
			
//apply text formatting to maintain current look and feel
choice_txt.setTextFormat(choiceTextFormat);

</pre></p>
<p>Next in series, <a href="http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-2/" title="Part 2">Part 2</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/margopowell.wordpress.com/787/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/margopowell.wordpress.com/787/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/margopowell.wordpress.com/787/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/margopowell.wordpress.com/787/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/margopowell.wordpress.com/787/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/margopowell.wordpress.com/787/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/margopowell.wordpress.com/787/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/margopowell.wordpress.com/787/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/margopowell.wordpress.com/787/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/margopowell.wordpress.com/787/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/margopowell.wordpress.com/787/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/margopowell.wordpress.com/787/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/margopowell.wordpress.com/787/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/margopowell.wordpress.com/787/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=787&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://margopowell.wordpress.com/2011/05/04/flash-cs5-dynamic-text-formatting-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02de6b5e0c86cce32a887611325bc639?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ogrampowell</media:title>
		</media:content>
	</item>
		<item>
		<title>Spelling Fix Directive on Modwest Hosting Provider</title>
		<link>http://margopowell.wordpress.com/2011/04/12/spelling-fix-directive-modwest-host/</link>
		<comments>http://margopowell.wordpress.com/2011/04/12/spelling-fix-directive-modwest-host/#comments</comments>
		<pubDate>Tue, 12 Apr 2011 14:08:10 +0000</pubDate>
		<dc:creator>ogrampowell</dc:creator>
				<category><![CDATA[Modwest]]></category>
		<category><![CDATA[WAMP]]></category>

		<guid isPermaLink="false">http://margopowell.wordpress.com/?p=776</guid>
		<description><![CDATA[Caveat: Modwest is a really dependable hosting service but it is sometimes hard to locate info from Knowledge base support. While uploading our new course player which loaded swf files that had corresponding audio files to be played (audio files which had been named but not created yet), I noticed that random audio files were [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=776&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Caveat: Modwest is a really dependable hosting service but it is sometimes hard to locate info from Knowledge base support.</p>
<p>While uploading our new course player which loaded swf files that had corresponding audio files to be played (audio files which had been named but not created yet), I noticed that random audio files were being played with each page. Rather a disconnect between what was being visually seen and what you were hearing from some random audio file. This was unexpected since it was not happening on my local testbed server.</p>
<p>I then noticed in my error_log on Modwest that when a file could not be found that a message in the following basic format was output:</p>
<p><em>&#8220;Spelling fix: /&#8221;missing filename here &#8221; [info] Audio file requested but does not exist 20 candidates from http://mysite/callingPage.swf</em></p>
<p>and then some random file would be selected that was considered a best match. </p>
<p>I had a difficult time trying to find out how to turn off this feature but finally my googling skills found this information about the Apache http server having a mod_speling extension:</p>
<p><a href="http://httpd.apache.org/docs/current/mod/mod_speling.html">http://httpd.apache.org/docs/current/mod/mod_speling.html</a></p>
<p>I really like how it is spelled mod_speling with a single L in spelling:)</p>
<p>I then was able to find the appropriate link on Modwest by searching for <em>checkspelling</em>(which is the apache directive to enable/disable the spelling module) at the support site(support.modwest.com) to find this link:<br />
<a href="http://support.modwest.com/content/1/176/en/how-do-i-stop-the-server-from-automatically-correcting-spelling-mistakes-in-urls-or-offering-multiple-choices-for-documents.html?highlight=checkspelling">http://support.modwest.com/content/1/176/en/how-do-i-stop-the-server-from-automatically-correcting-spelling-mistakes-in-urls-or-offering-multiple-choices-for-documents.html?highlight=checkspelling</a></p>
<p>So I created an .htaccess file in my www directory which had the following in it:<br />
CheckSpelling Off</p>
<p>This directive then holds for all subdirectories as well. Random files were no longer being selected. Done.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/margopowell.wordpress.com/776/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/margopowell.wordpress.com/776/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/margopowell.wordpress.com/776/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/margopowell.wordpress.com/776/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/margopowell.wordpress.com/776/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/margopowell.wordpress.com/776/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/margopowell.wordpress.com/776/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/margopowell.wordpress.com/776/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/margopowell.wordpress.com/776/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/margopowell.wordpress.com/776/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/margopowell.wordpress.com/776/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/margopowell.wordpress.com/776/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/margopowell.wordpress.com/776/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/margopowell.wordpress.com/776/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=776&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://margopowell.wordpress.com/2011/04/12/spelling-fix-directive-modwest-host/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02de6b5e0c86cce32a887611325bc639?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ogrampowell</media:title>
		</media:content>
	</item>
		<item>
		<title>Renew/Reinstall Adobe Air Code Signing Certificate (GlobalSign)</title>
		<link>http://margopowell.wordpress.com/2010/02/10/renewreinstall-adobe-air-code-signing-certificate-globalsign/</link>
		<comments>http://margopowell.wordpress.com/2010/02/10/renewreinstall-adobe-air-code-signing-certificate-globalsign/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 20:28:32 +0000</pubDate>
		<dc:creator>ogrampowell</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Code Signing Certificate]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://margopowell.wordpress.com/?p=731</guid>
		<description><![CDATA[After renewing my code signing certificate with GlobalSign, I performed the following steps to install my certificate to be used by Flex when creating Air applications. Installed the certificate in my browser following the directions from GlobalSign Saved the certificate to a backup file(used for backup and also for Air Application release builds) Tested the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=731&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After renewing my code signing certificate with GlobalSign, I performed the following steps to install my certificate to be used by Flex when creating Air applications.</p>
<ol>
<li>Installed the certificate in my browser following the directions from GlobalSign</li>
<li>Saved the certificate to a backup file(used for backup and also for Air Application release builds)</li>
<li>Tested the certificate file by creating a release build of an Air Application</li>
</ol>
<p><span id="more-731"></span></p>
<p><strong>1) Installed the certificate in my browser</strong><br />
I received an email from GlobalSign that my certificate had been approved. I selected the email link to start the certificate installation process and the following web page was rendered:<br />
<a href="http://margopowell.files.wordpress.com/2010/02/installcertificate.jpg"><img src="http://margopowell.files.wordpress.com/2010/02/installcertificate.jpg?w=300&#038;h=207" alt="Instructions to install certificate" title="Install Certificate page" width="300" height="207" class="aligncenter size-medium wp-image-732" /></a><br />
I selected the top button and was told my certificate was successfully installed.(Which meant that the  certificate was installed into the current browser).</p>
<p>I subsequently selected the buttons for the intermediate certificates and was told that the intermediate certificates had already been installed as a certificate authority. This was probably done last year when I installed my first Adobe Air Code Signing Certificate.</p>
<p><strong>2) Export the certificate for Backup and usage within the Flex Builder program</strong><br />
Now that the certificate was installed in the browser successfully, I found the following page on the <a href="http://www.globalsign.com/support/faq/misc/16.php">GlobalSign site</a> which helped to jog my memory of what I needed to do next.</p>
<p>I followed the instructions to backup the certificate from the firefox browser (With the exception that I did not have to set up a Master Password). So..</p>
<p><em>Firefox Menu Bar &gt; Selected Tools &gt; Options &gt; Advanced</em><br />
The Options popup for firefox 3.5.7 appears and is displayed below:<br />
<a href="http://margopowell.files.wordpress.com/2010/02/optionspopup.jpg"><img src="http://margopowell.files.wordpress.com/2010/02/optionspopup.jpg?w=300&#038;h=285" alt="Firefox Options Popup Menu" title="Firefox Options Popup Menu" width="300" height="285" class="aligncenter size-medium wp-image-733" /></a></p>
<p><em>Select View Certificates Button</em><br />
The Certificate Manager Popup Menu appers:<br />
<a href="http://margopowell.files.wordpress.com/2010/02/certificatemanager.jpg"><img src="http://margopowell.files.wordpress.com/2010/02/certificatemanager.jpg?w=300&#038;h=164" alt="Firefox Certificate Manager Popup" title="Firefox Certificate Manager Popup" width="300" height="164" class="aligncenter size-medium wp-image-734" /></a></p>
<p><em>Select Desired Certificate and select Backup button</em></p>
<p>This will open a window to create a filename. Select a directory and filename to save the backup file to and then select the Save button.</p>
<p>The certificate password menu popup appears as a result:<br />
<a href="http://margopowell.files.wordpress.com/2010/02/certificatepassword.jpg"><img src="http://margopowell.files.wordpress.com/2010/02/certificatepassword.jpg?w=300&#038;h=163" alt="Certificate Backup Password Popup" title="Certificate Backup Password Popup" width="300" height="163" class="aligncenter size-medium wp-image-735" /></a></p>
<p>Enter a password and record it in a safe place for future reference (This password will be used by Flex when generating a release build for an Air application). Then select the Ok Button.</p>
<p>The following Alert dialog should appear to let you know you have successfully saved the certificate.<br />
<a href="http://margopowell.files.wordpress.com/2010/02/successbackup.jpg"><img src="http://margopowell.files.wordpress.com/2010/02/successbackup.jpg?w=300&#038;h=96" alt="Security Certificate Backup successful" title="Security Certificate Backup successful" width="300" height="96" class="aligncenter size-medium wp-image-738" /></a></p>
<p><strong>3) Use the backup file to create a release build of an Air Application</strong><br />
When the Air project is ready for prime time:</p>
<p><em>Select Export option for the project.</em><br />
<em> Select Release Build from the options Presented</em><br />
<em>Release Build Popup allows you to select Code signing Certificate</em><br />
<a href="http://margopowell.files.wordpress.com/2010/02/releasebuildpopup.jpg"><img src="http://margopowell.files.wordpress.com/2010/02/releasebuildpopup.jpg?w=300&#038;h=286" alt="Release Build Popup" title="Release Build Popup" width="300" height="286" class="aligncenter size-medium wp-image-741" /></a><br />
<em>Drill down to location of Code Signing certicate file</em><br />
<a href="http://margopowell.files.wordpress.com/2010/02/selectbackupcert.jpg"><img src="http://margopowell.files.wordpress.com/2010/02/selectbackupcert.jpg?w=300&#038;h=283" alt="Select Backup Certificate File" title="Select Backup Certificate File" width="300" height="283" class="aligncenter size-medium wp-image-742" /></a></p>
<p><em>Enter password you had saved for the backup and then proceed to publish Air Application</em><br />
<a href="http://margopowell.files.wordpress.com/2010/02/entercertpwd.jpg"><img src="http://margopowell.files.wordpress.com/2010/02/entercertpwd.jpg?w=450&#038;h=421" alt="Enter Certificate Pwd" title="Enter Certificate Pwd" width="450" height="421" class="aligncenter size-full wp-image-743" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/margopowell.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/margopowell.wordpress.com/731/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/margopowell.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/margopowell.wordpress.com/731/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/margopowell.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/margopowell.wordpress.com/731/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/margopowell.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/margopowell.wordpress.com/731/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/margopowell.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/margopowell.wordpress.com/731/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/margopowell.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/margopowell.wordpress.com/731/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/margopowell.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/margopowell.wordpress.com/731/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=731&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://margopowell.wordpress.com/2010/02/10/renewreinstall-adobe-air-code-signing-certificate-globalsign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02de6b5e0c86cce32a887611325bc639?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ogrampowell</media:title>
		</media:content>

		<media:content url="http://margopowell.files.wordpress.com/2010/02/installcertificate.jpg?w=300" medium="image">
			<media:title type="html">Install Certificate page</media:title>
		</media:content>

		<media:content url="http://margopowell.files.wordpress.com/2010/02/optionspopup.jpg?w=300" medium="image">
			<media:title type="html">Firefox Options Popup Menu</media:title>
		</media:content>

		<media:content url="http://margopowell.files.wordpress.com/2010/02/certificatemanager.jpg?w=300" medium="image">
			<media:title type="html">Firefox Certificate Manager Popup</media:title>
		</media:content>

		<media:content url="http://margopowell.files.wordpress.com/2010/02/certificatepassword.jpg?w=300" medium="image">
			<media:title type="html">Certificate Backup Password Popup</media:title>
		</media:content>

		<media:content url="http://margopowell.files.wordpress.com/2010/02/successbackup.jpg?w=300" medium="image">
			<media:title type="html">Security Certificate Backup successful</media:title>
		</media:content>

		<media:content url="http://margopowell.files.wordpress.com/2010/02/releasebuildpopup.jpg?w=300" medium="image">
			<media:title type="html">Release Build Popup</media:title>
		</media:content>

		<media:content url="http://margopowell.files.wordpress.com/2010/02/selectbackupcert.jpg?w=300" medium="image">
			<media:title type="html">Select Backup Certificate File</media:title>
		</media:content>

		<media:content url="http://margopowell.files.wordpress.com/2010/02/entercertpwd.jpg" medium="image">
			<media:title type="html">Enter Certificate Pwd</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex Formatter Plugin for eclipse and Flex Builder</title>
		<link>http://margopowell.wordpress.com/2010/02/02/flex-formatter-plugin-for-eclipse-and-flex-builder/</link>
		<comments>http://margopowell.wordpress.com/2010/02/02/flex-formatter-plugin-for-eclipse-and-flex-builder/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 19:15:56 +0000</pubDate>
		<dc:creator>ogrampowell</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://margopowell.wordpress.com/?p=726</guid>
		<description><![CDATA[To install the flex formatter plugin, download the zip from this site: Flex Formatter download site The installation directions can be found on the forums here: Flex Formatter forums The specific installation query on forum is here: Installing flex formatter In essence, unzip the zip file. Locate the plugins folder under your eclipse or flex [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=726&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><del datetime="2010-02-02T21:07:40+00:00"><br />
To install the flex formatter plugin, download the zip from this site:<br />
<a href="http://sourceforge.net/projects/flexformatter/files/">Flex Formatter download site</a></p>
<p>The installation directions can be found on the forums here:<br />
<a href="http://sourceforge.net/projects/flexformatter/forums/forum/899337">Flex Formatter forums</a></p>
<p>The specific installation query on forum is here:<br />
<a href="http://sourceforge.net/projects/flexformatter/forums/forum/899337/topic/2826405">Installing flex formatter</a></p>
<p>In essence, unzip the zip file. Locate the plugins folder under your eclipse or flex builder installation. Copy or drag and drop the jar files into the plugins folder. Start/Restart your eclipse/flex builder program. the icons should be displayed in the upper left hand side of the top icon toolbar.</p>
<p></del><br />
Installation instructions from grant skinner can be found <a href="http://www.gskinner.com/blog/archives/2009/12/indispensable_p.html">here</a></p>
<p>Some more documentation can be found on the wiki here as well:<br />
<a href="http://sourceforge.net/apps/mediawiki/flexformatter/index.php?title=Main_Page">Flex Formatter Docs</a></p>
<p>Configuring the attribute order can be found here:<br />
<a href="http://sourceforge.net/apps/mediawiki/flexformatter/index.php?title=Configuring_Attribute_order">Configuring mxml attribute order</a></p>
<p>The settings can be accessed from here as well:<br />
Windows&gt;Preferences &gt; General&gt; Keys&gt; MXML<br />
and<br />
Windows &gt; Preferences &gt; Flex Formatting</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/margopowell.wordpress.com/726/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/margopowell.wordpress.com/726/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/margopowell.wordpress.com/726/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/margopowell.wordpress.com/726/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/margopowell.wordpress.com/726/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/margopowell.wordpress.com/726/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/margopowell.wordpress.com/726/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/margopowell.wordpress.com/726/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/margopowell.wordpress.com/726/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/margopowell.wordpress.com/726/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/margopowell.wordpress.com/726/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/margopowell.wordpress.com/726/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/margopowell.wordpress.com/726/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/margopowell.wordpress.com/726/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=726&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://margopowell.wordpress.com/2010/02/02/flex-formatter-plugin-for-eclipse-and-flex-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02de6b5e0c86cce32a887611325bc639?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ogrampowell</media:title>
		</media:content>
	</item>
		<item>
		<title>phpMyAdmin &#8211; Installing LAMP/MAMP on Snow Leopard/Mac Pro Part II</title>
		<link>http://margopowell.wordpress.com/2010/01/14/phpmyadmin-installing-lampmamp-on-snow-leopardmac-pro-part-ii/</link>
		<comments>http://margopowell.wordpress.com/2010/01/14/phpmyadmin-installing-lampmamp-on-snow-leopardmac-pro-part-ii/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 17:09:54 +0000</pubDate>
		<dc:creator>ogrampowell</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://margopowell.wordpress.com/?p=702</guid>
		<description><![CDATA[The only missing piece from the LAMP configuration was the phpMyAdmin package. So I did the following: Downloaded the zip file for phpMyAdmin from www.phpmyadmin.net unzip the downloaded fie rename phpMyAdmin&#8230;3.2.5 to phpMyAdmin copy the directory to the apache server location(/Library/Webserver/Documents) FAQS stated &#8211; you need to create your own config.inc.php. I started from config.sample.inc.php [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=702&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The only missing piece from the LAMP configuration was the phpMyAdmin package. So I did the following:</p>
<ol>
<li>Downloaded the zip file for phpMyAdmin from <a href="http://www.phpmyadmin.net/home_page/index.php">www.phpmyadmin.net</a></li>
<li>unzip the downloaded fie</li>
<li>rename phpMyAdmin&#8230;3.2.5 to phpMyAdmin</li>
<li>copy the directory to the apache server location(/Library/Webserver/Documents)</li>
<li>FAQS stated &#8211; you need to create your own config.inc.php. I started from config.sample.inc.php</li>
<li>Go to http://localhost/phpMyAdmin which should show you the login view</li>
</ol>
<p>My config.inc.php is displayed below</p>
<p><span id="more-702"></span><br />
<code><br />
&lt;?php<br />
/* vim: set expandtab sw=4 ts=4 sts=4: */<br />
/**<br />
 * phpMyAdmin sample configuration, you can use it as base for<br />
 * manual configuration. For easier setup you can use setup/<br />
 *<br />
 * All directives are explained in Documentation.html and on phpMyAdmin<br />
 * wiki .<br />
 *<br />
 * @version $Id: config.sample.inc.php 13111 2009-11-09 15:02:21Z lem9 $<br />
 * @package phpMyAdmin<br />
 */</p>
<p>/*<br />
 * This is needed for cookie based authentication to encrypt password in<br />
 * cookie<br />
 */<br />
$cfg['blowfish_secret'] = 'randomlettersandnumbershere'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */</p>
<p>/*<br />
 * Servers configuration<br />
 */<br />
$i = 0;</p>
<p>/*<br />
 * First server<br />
 */<br />
$i++;<br />
/* Authentication type */<br />
$cfg['Servers'][$i]['auth_type'] = 'cookie';<br />
/* Server parameters */<br />
//$cfg['Servers'][$i]['host'] = 'localhost';<br />
$cfg['Servers'][$i]['host'] = 'localhost';<br />
//$cfg['Servers'][$i]['connect_type'] = 'tcp';<br />
$cfg['Servers'][$i]['connect_type'] = 'socket';<br />
$cfg['Servers'][$i]['compress'] = false;<br />
/* Select mysqli if your server has it */<br />
$cfg['Servers'][$i]['extension'] = 'mysql';<br />
$cfg['Servers'][$i]['AllowNoPassword'] = false;</p>
<p>/* rajk - for blobstreaming */<br />
$cfg['Servers'][$i]['bs_garbage_threshold'] = 50;<br />
$cfg['Servers'][$i]['bs_repository_threshold'] = '32M';<br />
$cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;<br />
$cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';</p>
<p>/* User for advanced features */<br />
// $cfg['Servers'][$i]['controluser'] = 'pma';<br />
// $cfg['Servers'][$i]['controlpass'] = 'pmapass';<br />
/* Advanced phpMyAdmin features */<br />
// $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';<br />
// $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';<br />
// $cfg['Servers'][$i]['relation'] = 'pma_relation';<br />
// $cfg['Servers'][$i]['table_info'] = 'pma_table_info';<br />
// $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';<br />
// $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';<br />
// $cfg['Servers'][$i]['column_info'] = 'pma_column_info';<br />
// $cfg['Servers'][$i]['history'] = 'pma_history';<br />
// $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';<br />
/* Contrib / Swekey authentication */<br />
// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';</p>
<p>/*<br />
 * End of servers configuration<br />
 */</p>
<p>/*<br />
 * Directories for saving/loading files from server<br />
 */<br />
$cfg['UploadDir'] = '';<br />
$cfg['SaveDir'] = '';</p>
<p>?&gt;</p>
<p></code></p>
<p>I ran into an issue when I did step 6 because the default apache/php configuration on the mac does not include the mcrypt module. There was a message on the login page for phpMyAdmin that mcrypt was missing.</p>
<p>I was afraid I was going to have to do a recompilation of apache with php but I found the following site which has instructions for plugging the mcrypt module into php on Snow Leopard:<br />
<a href="http://michaelgracie.com/2009/09/23/plugging-mcrypt-into-php-on-mac-os-x-snow-leopard-10.6.1/">Plugging mcrypt into PHP, on Mac OS X Snow Leopard 10.6.1</a> which was a godsend. It worked out of the box for me. I believe it makes(compiles) the mcrypt.so modular library. This library extension can then be dynamically loaded for php to use by adding the extension to the php.ini file.</p>
<p>After adding mycrypt library I was up and running with phpMyAdmin.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/margopowell.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/margopowell.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/margopowell.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/margopowell.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/margopowell.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/margopowell.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/margopowell.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/margopowell.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/margopowell.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/margopowell.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/margopowell.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/margopowell.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/margopowell.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/margopowell.wordpress.com/702/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=margopowell.wordpress.com&amp;blog=6340548&amp;post=702&amp;subd=margopowell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://margopowell.wordpress.com/2010/01/14/phpmyadmin-installing-lampmamp-on-snow-leopardmac-pro-part-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02de6b5e0c86cce32a887611325bc639?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ogrampowell</media:title>
		</media:content>
	</item>
	</channel>
</rss>
