<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Merge 2 One Media</title>
	
	<link>http://www.m21m.com</link>
	<description>Web Design and Development</description>
	<lastBuildDate>Mon, 27 Dec 2010 21:40:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Merge2OneMedia" /><feedburner:info uri="merge2onemedia" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Order json object by timestamp string</title>
		<link>http://feedproxy.google.com/~r/Merge2OneMedia/~3/wq5QQi7vrkM/order-json-object-by-timestamp-string</link>
		<comments>http://www.m21m.com/development/order-json-object-by-timestamp-string#comments</comments>
		<pubDate>Mon, 27 Dec 2010 21:24:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.m21m.com/?p=718</guid>
		<description><![CDATA[Here&#8217;s some code I found useful to sort a json object by timestamp.

// json object   		
var dates = &#91; &#123;&#34;time&#34;:&#34;October 11, 2011 11:13:00&#34;&#125;,&#123;&#34;time&#34;:&#34;October 20, 2011 11:13:00&#34;&#125;,&#123;&#34;time&#34;:&#34;October 30, 2011 11:13:00&#34;&#125;,&#123;&#34;time&#34;:&#34;October 01, 2011 11:13:00&#34;&#125;&#93;;
&#160;
/* function sort by ascending
  *@param date1 first date to compare
  *@param date2 second date to compare
*/
var date_sort_asc = function [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s some code I found useful to sort a json object by timestamp.<span id="more-718"></span></p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// json object   		</span>
<span style="color: #003366; font-weight: bold;">var</span> dates <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span> <span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;time&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;October 11, 2011 11:13:00&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;time&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;October 20, 2011 11:13:00&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;time&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;October 30, 2011 11:13:00&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;time&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;October 01, 2011 11:13:00&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">/* function sort by ascending
  *@param date1 first date to compare
  *@param date2 second date to compare
*/</span>
<span style="color: #003366; font-weight: bold;">var</span> date_sort_asc <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span>date1<span style="color: #339933;">,</span> date2<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">new</span> Date<span style="color: #009900;">&#40;</span>date1.<span style="color: #660066;">time</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;</span> <span style="color: #003366; font-weight: bold;">new</span> Date<span style="color: #009900;">&#40;</span>date2.<span style="color: #660066;">time</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #CC0000;">1</span><span style="color: #339933;">;</span>
  <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">new</span> Date<span style="color: #009900;">&#40;</span>date1.<span style="color: #660066;">time</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&lt;</span> <span style="color: #003366; font-weight: bold;">new</span> Date<span style="color: #009900;">&#40;</span>date2.<span style="color: #660066;">time</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #339933;">;</span>
  <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">/* function sort by descending
  *@param date1 first date to compare
  *@param date2 second date to compare
*/</span>
<span style="color: #003366; font-weight: bold;">var</span> date_sort_desc <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span>date1<span style="color: #339933;">,</span> date2<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">new</span> Date<span style="color: #009900;">&#40;</span>date1.<span style="color: #660066;">time</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;</span> <span style="color: #003366; font-weight: bold;">new</span> Date<span style="color: #009900;">&#40;</span>date2.<span style="color: #660066;">time</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #339933;">;</span>
  <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">new</span> Date<span style="color: #009900;">&#40;</span>date1.<span style="color: #660066;">time</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&lt;</span> <span style="color: #003366; font-weight: bold;">new</span> Date<span style="color: #009900;">&#40;</span>date2.<span style="color: #660066;">time</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #CC0000;">1</span><span style="color: #339933;">;</span>
  <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
<span style="color: #006600; font-style: italic;">// SORT THE DATES</span>
&nbsp;
dates.<span style="color: #660066;">sort</span><span style="color: #009900;">&#40;</span>date_sort_asc<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&lt;h3&gt;Ascending Order (oldest to newest)&lt;/h3&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> dates.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">new</span> Date<span style="color: #009900;">&#40;</span>dates<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">time</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">'&lt;br&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
dates.<span style="color: #660066;">sort</span><span style="color: #009900;">&#40;</span>date_sort_desc<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&lt;h3&gt;Descending order (newest to oldest)&lt;/h3&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> dates.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">new</span> Date<span style="color: #009900;">&#40;</span>dates<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">time</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">'&lt;br&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p><strong>Result:</strong></p>
<h3>Ascending Order (oldest to newest)</h3>
<p>Sat Oct 01 2011 11:13:00 GMT-0700 (PST)<br />Tue Oct 11 2011 11:13:00 GMT-0700 (PST)<br />Thu Oct 20 2011 11:13:00 GMT-0700 (PST)<br />Sun Oct 30 2011 11:13:00 GMT-0700 (PST)<br />
<h3>Descending order (newest to oldest)</h3>
<p>Sun Oct 30 2011 11:13:00 GMT-0700 (PST)<br />Thu Oct 20 2011 11:13:00 GMT-0700 (PST)<br />Tue Oct 11 2011 11:13:00 GMT-0700 (PST)<br />Sat Oct 01 2011 11:13:00 GMT-0700 (PST)</p>
<img src="http://feeds.feedburner.com/~r/Merge2OneMedia/~4/wq5QQi7vrkM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m21m.com/development/order-json-object-by-timestamp-string/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.m21m.com/development/order-json-object-by-timestamp-string</feedburner:origLink></item>
		<item>
		<title>DIY Backup using an old computer and Amazon S3</title>
		<link>http://feedproxy.google.com/~r/Merge2OneMedia/~3/EpoJhhNRvZg/diy-backup-using-an-old-computer-and-amazon-s3</link>
		<comments>http://www.m21m.com/workflow/diy-backup-using-an-old-computer-and-amazon-s3#comments</comments>
		<pubDate>Tue, 07 Sep 2010 06:23:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Workflow]]></category>
		<category><![CDATA[amazons3]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[DIY]]></category>

		<guid isPermaLink="false">http://www.m21m.com/?p=697</guid>
		<description><![CDATA[I wanted to write a quick post on how I  backup my files using an old computer an external hard drive and an Amazon S3 account. It was pretty easy to set up and has saved me a lot of time and worry about my files. This is going to be a quick overview, [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to write a quick post on how I  backup my files using an old computer an external hard drive and an <a href="http://aws.amazon.com/s3/" target="_blank">Amazon S3</a> account. It was pretty easy to set up and has saved me a lot of time and worry about my files.<span id="more-697"></span> This is going to be a quick overview, but if you have questions about specifics please ask in the comments.</p>
<p>I wanted a networked hard drive with a lot of space and I wanted it to be a RAID hard drive, however I didn&#8217;t want to pay a thousand dollars for a network drive so I got an old Dell Optiplex from work and a <a href="http://www.amazon.com/gp/product/B0028NNILU?ie=UTF8&amp;tag=me2onme-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B0028NNILU" target="_blank"> LaCie 4TB 2big Quadra 2-Disk RAID Hard Drive.</a> The Dell was free and the 4TB drive was about $500 and was a birthday gift (yeah, I asked for a hard drive for my birthday). I installed Ubuntu onto the Dell. You don&#8217;t need a fast computer, any old computer will work. I installed Ubuntu on the Dell and <a href="http://s3tools.org/s3cmd" target="_blank">s3cmd</a> to backup my files to my Amazon S3 account. There are some more configurations I made to the Ubuntu box, but I&#8217;m not going to list them all here (unless you ask). I plugged the LaCie drive into the Ubuntu box and formatted it to ext 3.</p>
<p>On my mac laptop I wrote this script:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
wakeonlan xx:xx:xx:xx:xx:xx
rsync <span style="color: #660033;">-rztO</span> <span style="color: #660033;">--exclude</span>=<span style="color: #ff0000;">&quot;.DS_Store&quot;</span> Documents<span style="color: #000000; font-weight: bold;">/</span> steve<span style="color: #000000; font-weight: bold;">@</span>192.168.0.4:<span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>backup1<span style="color: #000000; font-weight: bold;">/</span>backupDocuments
rsync <span style="color: #660033;">-rvztO</span> <span style="color: #660033;">--exclude</span>=<span style="color: #ff0000;">&quot;.svn&quot;</span> Sites<span style="color: #000000; font-weight: bold;">/</span> steve<span style="color: #000000; font-weight: bold;">@</span>192.168.0.4:<span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>backup1<span style="color: #000000; font-weight: bold;">/</span>backupSites
rsync <span style="color: #660033;">-rvztO</span> <span style="color: #660033;">--exclude</span>=<span style="color: #ff0000;">&quot;.DS_Store&quot;</span> Pictures<span style="color: #000000; font-weight: bold;">/</span> steve<span style="color: #000000; font-weight: bold;">@</span>192.168.0.4:<span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>backup1<span style="color: #000000; font-weight: bold;">/</span>backupPictures
rsync <span style="color: #660033;">-rvztO</span> <span style="color: #660033;">--exclude</span>=<span style="color: #ff0000;">&quot;.DS_Store&quot;</span> Music<span style="color: #000000; font-weight: bold;">/</span> steve<span style="color: #000000; font-weight: bold;">@</span>192.168.0.4:<span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>backup1<span style="color: #000000; font-weight: bold;">/</span>backupMusic
<span style="color: #c20cb9; font-weight: bold;">ssh</span> steve<span style="color: #000000; font-weight: bold;">@</span>192.168.0.4<span style="color: #ff0000;">'sh s3-backup.sh'</span>
<span style="color: #7a0874; font-weight: bold;">exit</span></pre></div></div>

<p><a href="http://en.wikipedia.org/wiki/Wake-on-LAN" target="_blank">wakeonlan</a> &#8211; xx:xx:xx:xx:xx:xx is the mac address. This starts up the old Dell (boots it up not wake it up from sleep).<br />
<a href="http://en.wikipedia.org/wiki/Rsync" target="_blank">rsync</a> &#8211; Copies the files from my laptop to the Lacie Drive over the local network.<br />
<a href="http://en.wikipedia.org/wiki/Secure_Shell" target="_blank">ssh</a> &#8211; Logs into the Ubuntu box and runs an Amazon S3 script on that machine.</p>
<p>Amazon S3 script to run.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
s3cmd <span style="color: #c20cb9; font-weight: bold;">sync</span> <span style="color: #660033;">-r</span> <span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>backup1<span style="color: #000000; font-weight: bold;">/</span>backupPictures<span style="color: #000000; font-weight: bold;">/</span> s3:<span style="color: #000000; font-weight: bold;">//</span>mybackup.com<span style="color: #000000; font-weight: bold;">/</span>Pictures<span style="color: #000000; font-weight: bold;">/</span>
s3cmd <span style="color: #c20cb9; font-weight: bold;">sync</span> <span style="color: #660033;">-r</span> <span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>backup1<span style="color: #000000; font-weight: bold;">/</span>backupSites<span style="color: #000000; font-weight: bold;">/</span>DEV<span style="color: #000000; font-weight: bold;">/</span> s3:<span style="color: #000000; font-weight: bold;">//</span>mybackup.com<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>
s3cmd <span style="color: #c20cb9; font-weight: bold;">sync</span> <span style="color: #660033;">-r</span> <span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>backup1<span style="color: #000000; font-weight: bold;">/</span>backupSites<span style="color: #000000; font-weight: bold;">/</span>m21m-wpmu.com<span style="color: #000000; font-weight: bold;">/</span>wp-content<span style="color: #000000; font-weight: bold;">/</span>themes<span style="color: #000000; font-weight: bold;">/</span> s3:<span style="color: #000000; font-weight: bold;">//</span>mybackup.com<span style="color: #000000; font-weight: bold;">/</span>Themes<span style="color: #000000; font-weight: bold;">/</span>
s3cmd <span style="color: #c20cb9; font-weight: bold;">sync</span> <span style="color: #660033;">-r</span> <span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>backup1<span style="color: #000000; font-weight: bold;">/</span>backupDocuments<span style="color: #000000; font-weight: bold;">/</span> s3:<span style="color: #000000; font-weight: bold;">//</span>mybackup.com<span style="color: #000000; font-weight: bold;">/</span>Documents<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> halt</pre></div></div>

<p>What this script does is uses s3cmd to copy the files from the Lacie Drive to my Amazon S3 account. And when it&#8217;s done it shuts down the Ubuntu box.</p>
<p>So a couple times I week I type this into the terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">~ <span style="color: #c20cb9; font-weight: bold;">sh</span> runscipt.sh</pre></div></div>

<p>All my file are backed up onto a my Lacie RAID over my local network and they are also backed up onto my Amazon S3 account. The first time I ran it it took awhile to upload all the files, now it takes a few minutes to backup all my files and I don&#8217;t have to carry around a pocket drive or thumb drive or anything. I just run the script in the background while I&#8217;m working. </p>
<img src="http://feeds.feedburner.com/~r/Merge2OneMedia/~4/EpoJhhNRvZg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m21m.com/workflow/diy-backup-using-an-old-computer-and-amazon-s3/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.m21m.com/workflow/diy-backup-using-an-old-computer-and-amazon-s3</feedburner:origLink></item>
		<item>
		<title>Experience Music Project – Sound Lab Redesign</title>
		<link>http://feedproxy.google.com/~r/Merge2OneMedia/~3/WHcbeJ8qT5E/experience-music-project-sound-lab-redesign</link>
		<comments>http://www.m21m.com/portfolio/experience-music-project-sound-lab-redesign#comments</comments>
		<pubDate>Fri, 02 Apr 2010 19:02:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.m21m.com/?p=638</guid>
		<description><![CDATA[This was by far one of the coolest projects I&#8217;ve worked on in a long time. I had guitars, bass, keyboards and drums all talking to AIR through an XML socket. My friend Chris Stevens wrote the service in C that allowes Flash and the hardware to talk to each other. I wrote the XML [...]]]></description>
			<content:encoded><![CDATA[<p>This was by far one of the coolest projects I&#8217;ve worked on in a long time.<span id="more-638"></span> I had guitars, bass, keyboards and drums all talking to AIR through an XML socket. My friend Chris Stevens wrote the service in C that allowes Flash and the hardware to talk to each other. I wrote the XML driven framework in ActionScript that runs in Adobe AIR. Making updates, adding sections, swapping out graphics is as easy as writing an email.</p>
<p>After about a year of working on the framework the sound lab is up and running. It launched on March 27, 2010! </p>
<p><a href="http://www.king5.com/video/featured-videos/EMP-upgrades-Sound-Lab-exhibit-with-new-technology-instruments-89330312.html" title="EMP Upgrade" rel="external" target="_blank">Video from King 5 News about the EMP upgrade.</a></p>
<img src="http://feeds.feedburner.com/~r/Merge2OneMedia/~4/WHcbeJ8qT5E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m21m.com/portfolio/experience-music-project-sound-lab-redesign/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.m21m.com/portfolio/experience-music-project-sound-lab-redesign</feedburner:origLink></item>
		<item>
		<title>DuPont Environmental Education Center</title>
		<link>http://feedproxy.google.com/~r/Merge2OneMedia/~3/jK-kVRcYBqI/dupont-environmental-education-center</link>
		<comments>http://www.m21m.com/portfolio/dupont-environmental-education-center#comments</comments>
		<pubDate>Fri, 02 Apr 2010 19:01:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.m21m.com/?p=636</guid>
		<description><![CDATA[I programed these three interactive applications in about two weeks. It was a lot of work and a couple late nights, but all in all it was an awesome project and well received.
]]></description>
			<content:encoded><![CDATA[<p>I programed these three interactive applications in about two weeks. It was a lot of work and a couple late nights, but all in all it was an awesome project and well received.<span id="more-636"></span></p>
<img src="http://feeds.feedburner.com/~r/Merge2OneMedia/~4/jK-kVRcYBqI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m21m.com/portfolio/dupont-environmental-education-center/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.m21m.com/portfolio/dupont-environmental-education-center</feedburner:origLink></item>
		<item>
		<title>Lucinda Rooney – Website Redesign</title>
		<link>http://feedproxy.google.com/~r/Merge2OneMedia/~3/OGuiJ2l6bg0/lucinda-rooney-website-redesign</link>
		<comments>http://www.m21m.com/portfolio/lucinda-rooney-website-redesign#comments</comments>
		<pubDate>Fri, 02 Apr 2010 19:00:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.m21m.com/?p=634</guid>
		<description><![CDATA[Lucinda Rooney is a Vermont artist and horticulturist. She&#8217;s on TV, in magazines and was the floral designer for the movie What Lies Beneath with Harrison Ford and Michelle Pfeiffer. On top of being so talented at what she does, she&#8217;s also really nice and down to earth. I&#8217;ve worked with her for 4 years [...]]]></description>
			<content:encoded><![CDATA[<p>Lucinda Rooney is a Vermont artist and horticulturist. She&#8217;s on TV, in magazines and was the floral designer for the movie <em>What Lies Beneath</em> with Harrison Ford and Michelle Pfeiffer. <span id="more-634"></span>On top of being so talented at what she does, she&#8217;s also really nice and down to earth. I&#8217;ve worked with her for 4 years now doing small updates to her old website. I just got done designing and building her current site. This website uses WordPress, Flash and jQuery. Check it out <a href="http://www.lucindarooney.com" rel="external" target="_blank">LucindaRooney.com here</a>.</p>
<img src="http://feeds.feedburner.com/~r/Merge2OneMedia/~4/OGuiJ2l6bg0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m21m.com/portfolio/lucinda-rooney-website-redesign/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.m21m.com/portfolio/lucinda-rooney-website-redesign</feedburner:origLink></item>
		<item>
		<title>Super Easy – Load Multiple RSS Feeds Into Flash</title>
		<link>http://feedproxy.google.com/~r/Merge2OneMedia/~3/dRBnu9mztHE/super-easy-way-to-load-multiple-rss-feeds-into-flash</link>
		<comments>http://www.m21m.com/actionscript/super-easy-way-to-load-multiple-rss-feeds-into-flash#comments</comments>
		<pubDate>Tue, 02 Mar 2010 05:58:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[yahoopipes]]></category>

		<guid isPermaLink="false">http://www.m21m.com/?p=587</guid>
		<description><![CDATA[This an update to a post I wrote about loading multiple RSS feeds into Flash. In the old way I used a proxy PHP script and some other AS3 techniques, none of them are wrong, I just think this technique is a lot easier. If you have never used Yahoo Pipes, check it out. Yahoo [...]]]></description>
			<content:encoded><![CDATA[<p>This an update to a post I wrote about <a href="http://www.m21m.com/actionscript/rss-widget-as3">loading multiple RSS feeds into Flash</a>. In the old way I used a proxy PHP script and some other AS3 techniques, none of them are wrong, I just think this technique is a lot easier.<span id="more-587"></span> If you have never used <a href="http://pipes.yahoo.com" target="_blank" rel="external" />Yahoo Pipes</a>, check it out. Yahoo Pipes is easy to use and you can create ridiculously complex data feeds with it. I&#8217;m not going to write a tutorial on Yahoo Pipes, there are tons of great tutorials online. <a href="http://s3.amazonaws.com/m21m.com/download/yahoopipesRSS.zip" target="_blank" rel="external">Download the Flash files to this project here</a>.</p>
<p><img src="http://s3.amazonaws.com/m21m.com/images/yahoo-pipes-as3.jpg" border="0" /><br />
I&#8217;ll explain this pipe from the top down. I added three RSS feeds (Amazon, Twitter and this website M21M), I truncated each feed to 10, I didn&#8217;t want my twitter user name to show up 100 times so I replaced it with nothing (you can do the same or replace it with an image or go as crazy as you want), then I did a union on the feeds and sorted them by date published. That creates one RSS feed. Save it, run it and grab the URL. Change the URL, http://pipes.yahoo.com/ to http://pipes.yahooapis.com/ and you&#8217;re good to go. You don&#8217;t need a proxy file to load your RSS file because yahoo has a crossdomain policy for Flash. </p>
<p>Here&#8217;s the ActionScript code.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #9900cc; font-weight: bold;">package</span> com.m21m<span style="color: #000000;">&#123;</span>
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.<span style="color: #004993;">MovieClip</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span>.<span style="color: #004993;">Event</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.<span style="color: #004993;">Loader</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.net</span>.<span style="color: #004993;">URLLoader</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.net</span>.<span style="color: #004993;">URLRequest</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.text</span>.<span style="color: #004993;">TextFormat</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> com.m21m.util.Scroll;
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> RSSReader extends <span style="color: #004993;">MovieClip</span> <span style="color: #000000;">&#123;</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> RSS_URL<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">String</span>=<span style="color: #990000;">&quot;http://pipes.yahooapis.com/pipes/pipe.run?_id=2699f2f60ac7027fa560a539dde7d1f5&amp;_render=rss&quot;</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> RSSReader<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #6699cc; font-weight: bold;">var</span> xmlURLLoader<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">URLLoader</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLLoader</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> xmlURLRequest<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">URLRequest</span>=<span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLRequest</span><span style="color: #000000;">&#40;</span>RSS_URL<span style="color: #000000;">&#41;</span>;
			xmlURLLoader.<span style="color: #004993;">load</span><span style="color: #000000;">&#40;</span> xmlURLRequest <span style="color: #000000;">&#41;</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> sb<span style="color: #000000; font-weight: bold;">:</span>Scroll=<span style="color: #0033ff; font-weight: bold;">new</span> Scroll<span style="color: #000000;">&#40;</span>main_mc<span style="color: #000000;">&#41;</span>;
			xmlURLLoader.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <span style="color: #004993;">Event</span>.<span style="color: #004993;">COMPLETE</span> , dataLoaded <span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> dataLoaded<span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #6699cc; font-weight: bold;">var</span> myXMLData<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">XML</span>=<span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">XML</span><span style="color: #000000;">&#40;</span>event.<span style="color: #004993;">target</span>.<span style="color: #004993;">data</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> xmlList=myXMLData..item;
			<span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #000000;">&#40;</span><span style="color: #6699cc; font-weight: bold;">var</span> i<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span>=<span style="color: #000000; font-weight:bold;">0</span>; i<span style="color: #000000; font-weight: bold;">&lt;</span>xmlList.<span style="color: #004993;">length</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>; <span style="color: #000000; font-weight: bold;">++</span>i<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
				<span style="color: #6699cc; font-weight: bold;">var</span> feed_mc<span style="color: #000000; font-weight: bold;">:</span>Feed = <span style="color: #0033ff; font-weight: bold;">new</span> Feed<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
				feed_mc.feed_txt.<span style="color: #004993;">htmlText</span>=<span style="color: #990000;">&quot;&lt;a href='&quot;</span><span style="color: #000000; font-weight: bold;">+</span>xmlList<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span>.<span style="color: #004993;">link</span><span style="color: #000000; font-weight: bold;">+</span><span style="color: #990000;">&quot;'&gt;&quot;</span><span style="color: #000000; font-weight: bold;">+</span>xmlList<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span>.title<span style="color: #000000; font-weight: bold;">+</span><span style="color: #990000;">&quot;&lt;/a&gt;&quot;</span>;
				main_mc.content_mc.<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>feed_mc<span style="color: #000000;">&#41;</span>;
			<span style="color: #000000;">&#125;</span>
			orderFeeds<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> orderFeeds<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #009900;">//loop through the feeds and stack them</span>
			<span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #000000;">&#40;</span><span style="color: #6699cc; font-weight: bold;">var</span> i<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span>=<span style="color: #000000; font-weight:bold;">1</span>; i <span style="color: #000000; font-weight: bold;">&lt;</span> main_mc.content_mc.<span style="color: #004993;">numChildren</span>; i<span style="color: #000000; font-weight: bold;">++</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
				main_mc.content_mc.<span style="color: #004993;">getChildAt</span><span style="color: #000000;">&#40;</span>i<span style="color: #000000;">&#41;</span>.<span style="color: #004993;">y</span>=main_mc.content_mc.<span style="color: #004993;">getChildAt</span><span style="color: #000000;">&#40;</span>i<span style="color: #000000; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000;">&#41;</span>.<span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">+</span>main_mc.content_mc.<span style="color: #004993;">getChildAt</span><span style="color: #000000;">&#40;</span>i<span style="color: #000000; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000;">&#41;</span>.<span style="color: #004993;">height</span><span style="color: #000000; font-weight: bold;">+</span><span style="color: #000000; font-weight:bold;">1</span>;
			<span style="color: #000000;">&#125;</span>
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>Of course this is just a quick sample Flash file you can customize the graphics and go as crazy as you want with Yahoo Pipes.</p>
<p><script type="text/javascript" src="http://www.m21m.com/review/rss/js/swfobject.js"></script><script type="text/javascript">swfobject.embedSWF("http://s3.amazonaws.com/m21m.com/images/rss_widget.swf", "widget", "250", "250", "9.0.0", "expressInstall.swf");</script></p>
<div  style="border:1px solid #666;width:250px;height:250px;">
<div id="widget"></div>
</div>
<p><br/><br />
<a href="http://s3.amazonaws.com/m21m.com/download/yahoopipesRSS.zip" target="_blank" rel="external">Again you can download the source here</a>. Good luck and if you have questions ask them in the comments. </p>
<img src="http://feeds.feedburner.com/~r/Merge2OneMedia/~4/dRBnu9mztHE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m21m.com/actionscript/super-easy-way-to-load-multiple-rss-feeds-into-flash/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.m21m.com/actionscript/super-easy-way-to-load-multiple-rss-feeds-into-flash</feedburner:origLink></item>
		<item>
		<title>Load Multiple Fonts Into Flash</title>
		<link>http://feedproxy.google.com/~r/Merge2OneMedia/~3/HcLiwd7Ulpk/load-multiple-fonts-in-flash</link>
		<comments>http://www.m21m.com/actionscript/load-multiple-fonts-in-flash#comments</comments>
		<pubDate>Mon, 22 Feb 2010 05:49:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.m21m.com/?p=553</guid>
		<description><![CDATA[After trying different solutions to load fonts into Flash, I&#8217;ve decided this is the best for the types of projects I work on. In this tutorial I&#8217;ll show you how to load multiple fonts into Flash using XML, CSS and of course AS3. Download the source here.
Here&#8217;s what the final project looks like.

This is one [...]]]></description>
			<content:encoded><![CDATA[<p>After trying different solutions to load fonts into Flash, I&#8217;ve decided this is the best for the types of projects I work on. In this tutorial I&#8217;ll show you how to load multiple fonts into Flash using XML, CSS and of course AS3.<span id="more-553"></span> <a href="http://s3.amazonaws.com/m21m.com/download/load_multiple_fonts.zip" rel='external' >Download the source here</a>.</p>
<p>Here&#8217;s what the final project looks like.<br />
<img style="border:1px solid #666;" src="http://s3.amazonaws.com/m21m.com/images/final_load_multiple_fonts_flash.jpg" border="0" /><br />
This is one text field, with multiple fonts loaded into it and styled with CSS.</p>
<p>First, create the font swf files you want to use in your Flash project.</p>
<p>1) Create a new file in Flash.<br />
<img src="http://s3.amazonaws.com/m21m.com/images/multiple_fonts_flash_step1.jpg" border="0" /></p>
<p>2) Open up the library and select New Font.<br />
<img src="http://s3.amazonaws.com/m21m.com/images/multiple_fonts_flash_step2.jpg" border="0" /></p>
<p>3) Select the font you want to use in your project and give it a unique name. I used &#8220;Akzidenz-Grotesk BQ Light.&#8221; Click &#8220;Export for ActionScript.&#8221;<br />
<img src="http://s3.amazonaws.com/m21m.com/images/multiple_fonts_flash_step3.jpg" border="0" /></p>
<p>4) Select the first frame in the timeline and paste in this code:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.text</span>.<span style="color: #004993;">Font</span>;
<span style="color: #004993;">Font</span>.<span style="color: #004993;">registerFont</span><span style="color: #000000;">&#40;</span>fontname<span style="color: #000000;">&#41;</span>;</pre></div></div>

<p>fontname is the name of the Class field from step 3.</p>
<p>Mine looks like this.<br />
<img src="http://s3.amazonaws.com/m21m.com/images/multiple_fonts_flash_step4.jpg" border="0" /></p>
<p>5) Export the file into a folder called fonts.</p>
<p>Repeat steps 1-5 to export more fonts. As a rule of thumb don&#8217;t use more than three type faces in your project. A lot of different type faces usually makes your design look horsey. Here&#8217;s a good article on using <a href="http://bit.ly/85e6j3" target="_blank">typography</a>. </p>
<p>I export my fonts into a folder called fonts, but you can use your own naming convention, just make sure it matches your XML source path.</p>
<p>Once you have exported your swf files create an XML file. Copy the code below and save it in a folder called &#8220;xml.&#8221;</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;utf-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;m21m:fontapp</span> <span style="color: #000066;">xmlns:m21m</span>=<span style="color: #ff0000;">'http://www.m21m.com/schema/m21m'</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;m21m:assets<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;m21m:font</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;fonts/akzidenzGroteskBQBDCnd.swf&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;m21m:font</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;fonts/akzidenzGroteskBQLtCD.swf&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/m21m:assets<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;m21m:textfield<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><span style="color: #339933;">&lt;![CDATA[&lt;p class=&quot;hdr&quot;&gt;The quick brown fox jumped over the lazy dog.&lt;/p&gt;&lt;br/&gt;&lt;p class=&quot;bdy&quot;&gt;The quick brown fox jumped over the lazy dog.&lt;/p&gt;]]&gt;</span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/m21m:textfield<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/m21m:fontapp<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>Change the src attributes to match the location of your font swf files you exported.</p>
<p>Here&#8217;s the CSS.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.hdr</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> Akzidenz-Grotesk BQ Medium Condensed<span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">20</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000000</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.bdy</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> Akzidenz-Grotesk BQ Light<span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">16</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#ff0000</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Change the font-family styles to match the name field from step 3 above. Style your CSS however you want. Here&#8217;s a reference for more information on <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/StyleSheet.html" target="_blank">CSS in ActionScript 3</a>.</p>
<p>Create a new flash file and add a reference to the class in the class field on the properties panel.<br />
<img src="http://s3.amazonaws.com/m21m.com/images/multiple_fonts_flash_step5.jpg" border="0" /></p>
<p>Here&#8217;s the actionscript code.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #9900cc; font-weight: bold;">package</span> com.m21m<span style="color: #000000;">&#123;</span>
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.<span style="color: #004993;">MovieClip</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.<span style="color: #004993;">Loader</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.<span style="color: #004993;">LoaderInfo</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span>.<span style="color: #004993;">Event</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.net</span>.<span style="color: #004993;">URLRequest</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.net</span>.<span style="color: #004993;">URLLoader</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.text</span>.<span style="color: #004993;">Font</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.text</span>.<span style="color: #004993;">TextField</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.text</span>.<span style="color: #004993;">TextFieldAutoSize</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.text</span>.<span style="color: #004993;">TextFormat</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.text</span>.<span style="color: #004993;">StyleSheet</span>;
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> LoadFonts extends <span style="color: #004993;">MovieClip</span> <span style="color: #000000;">&#123;</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> allFontsLoaded<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span>=<span style="color: #000000; font-weight:bold;">0</span>;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> fontLen<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span>=<span style="color: #000000; font-weight:bold;">0</span>;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">htmlText</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">String</span>;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> sheet<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">StyleSheet</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">StyleSheet</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> STYLESHEET<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">String</span>=<span style="color: #990000;">'styles.css'</span>;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> XMLFILE<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">String</span>=<span style="color: #990000;">'xml/fonts.xml'</span>;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> XMLNAMESPACE<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">String</span>=<span style="color: #990000;">'m21m'</span>;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> LoadFonts<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
			loadStyleSheet<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #3f5fbf;">/**
		  * Load the style sheet first
		*/</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> loadStyleSheet<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">loader</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">URLLoader</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLLoader</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> req<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">URLRequest</span>=<span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLRequest</span><span style="color: #000000;">&#40;</span>STYLESHEET<span style="color: #000000;">&#41;</span>;
			<span style="color: #004993;">loader</span>.<span style="color: #004993;">load</span><span style="color: #000000;">&#40;</span>req<span style="color: #000000;">&#41;</span>;
			<span style="color: #009900;">//When the style sheet is loaded load the XML file</span>
			<span style="color: #004993;">loader</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">COMPLETE</span>, loadXML<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #3f5fbf;">/**
		  * Parse the XML
		*/</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> loadXML<span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
			sheet.<span style="color: #004993;">parseCSS</span><span style="color: #000000;">&#40;</span>event.<span style="color: #004993;">target</span>.<span style="color: #004993;">data</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> xml<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">URLRequest</span>=<span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLRequest</span><span style="color: #000000;">&#40;</span>XMLFILE<span style="color: #000000;">&#41;</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> urlLoader<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">URLLoader</span>=<span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLLoader</span>  ;
			<span style="color: #009900;">//When the XML is loaded parse the XML</span>
			urlLoader.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">COMPLETE</span>,<span style="color: #004993;">parseXML</span><span style="color: #000000;">&#41;</span>;
			urlLoader.<span style="color: #004993;">load</span><span style="color: #000000;">&#40;</span>xml<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #3f5fbf;">/**
		  * Parse the XML
		*/</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> <span style="color: #004993;">parseXML</span><span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #6699cc; font-weight: bold;">var</span> xml=<span style="color: #004993;">XML</span><span style="color: #000000;">&#40;</span>event.<span style="color: #004993;">target</span>.<span style="color: #004993;">data</span><span style="color: #000000;">&#41;</span>;
			xml.<span style="color: #004993;">ignoreWhitespace</span>=<span style="color: #0033ff; font-weight: bold;">true</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> m21m<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Namespace</span>=xml.<span style="color: #004993;">namespace</span><span style="color: #000000;">&#40;</span>XMLNAMESPACE<span style="color: #000000;">&#41;</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> fonts=xml..m21m<span style="color: #000000; font-weight: bold;">::</span><span style="color: #004993;">font</span>;
			<span style="color: #009900;">//the text to display</span>
			<span style="color: #004993;">htmlText</span>=xml..m21m<span style="color: #000000; font-weight: bold;">::</span>textfield.<span style="color: #004993;">text</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #009900;">//total number of fonts</span>
			fontLen=fonts.<span style="color: #004993;">length</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #009900;">//When the XML is parsed load all the fonts</span>
			loadAllFont<span style="color: #000000;">&#40;</span>fonts<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #3f5fbf;">/**
		  * Load each font
		  * @param fonts all the font nodes from the XML file
		*/</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> loadAllFont<span style="color: #000000;">&#40;</span>fonts<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #009900;">//load each font</span>
			<span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #000000;">&#40;</span><span style="color: #6699cc; font-weight: bold;">var</span> f<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span>=<span style="color: #000000; font-weight:bold;">0</span>; f<span style="color: #000000; font-weight: bold;">&lt;</span>fontLen; <span style="color: #000000; font-weight: bold;">++</span>f<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
				loadFont<span style="color: #000000;">&#40;</span>fonts<span style="color: #000000;">&#91;</span>f<span style="color: #000000;">&#93;</span>.<span style="color: #004993;">attribute</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">'src'</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #000000;">&#125;</span>
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #3f5fbf;">/**
		  * font loader
		  *
		  * @param URL the swf file of the font to load
		*/</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> loadFont<span style="color: #000000;">&#40;</span>URL<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #6699cc; font-weight: bold;">var</span> fontLoader<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Loader</span>=<span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Loader</span>  ;
			<span style="color: #6699cc; font-weight: bold;">var</span> fontLoaderInfo<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">LoaderInfo</span>=fontLoader.<span style="color: #004993;">contentLoaderInfo</span>;
			fontLoaderInfo.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">INIT</span>,initHandler<span style="color: #000000;">&#41;</span>;
			fontLoader.<span style="color: #004993;">load</span><span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLRequest</span><span style="color: #000000;">&#40;</span>URL<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #3f5fbf;">/**
		  * When the fonts are loaded build the first panel
		  *
		*/</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> initHandler<span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #009900;">//the number of fonts currently loaded</span>
			<span style="color: #000000; font-weight: bold;">++</span>allFontsLoaded;
			<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span>allFontsLoaded==fontLen<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
				<span style="color: #009900;">//When the fonts are loaded build the first panel</span>
				createTextfield<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #000000;">&#125;</span>
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #3f5fbf;">/**
		  * Once the fonts are loaded create a text field
		*/</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> createTextfield<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #6699cc; font-weight: bold;">var</span> my_txt<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">TextField</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">TextField</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			my_txt.<span style="color: #004993;">wordWrap</span>=<span style="color: #0033ff; font-weight: bold;">true</span>;
			my_txt.<span style="color: #004993;">multiline</span>=<span style="color: #0033ff; font-weight: bold;">true</span>;
			<span style="color: #6699cc; font-weight: bold;">var</span> format=<span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">TextFormat</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
			format.<span style="color: #004993;">leading</span>=<span style="color: #000000; font-weight:bold;">10</span>;
			my_txt.<span style="color: #004993;">defaultTextFormat</span>=format;
			my_txt.<span style="color: #004993;">antiAliasType</span>=<span style="color: #990000;">'advanced'</span>;
			my_txt.<span style="color: #004993;">embedFonts</span>=<span style="color: #0033ff; font-weight: bold;">true</span>;
			my_txt.<span style="color: #004993;">styleSheet</span>=sheet;
			my_txt.<span style="color: #004993;">htmlText</span>=<span style="color: #004993;">htmlText</span>;
			my_txt.<span style="color: #004993;">x</span>=<span style="color: #000000; font-weight:bold;">10</span>;
			my_txt.<span style="color: #004993;">y</span>=<span style="color: #000000; font-weight:bold;">10</span>;
			my_txt.<span style="color: #004993;">width</span>=<span style="color: #000000; font-weight:bold;">320</span>;
			<span style="color: #004993;">stage</span>.<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>my_txt<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>I&#8217;ve commented this file pretty well. Basically all it does is loads the CSS file, when the CSS file is loaded it loads the XML file, when the XML file is loaded it loads the font swf files, when all the fonts are loaded it creates a text field and displays our CSS formated text from the XML file. </p>
<p>If you have questions ask in the comments below. Again you can <a href="http://s3.amazonaws.com/m21m.com/download/load_multiple_fonts.zip" rel='external'>download the source files here</a>.</p>
<img src="http://feeds.feedburner.com/~r/Merge2OneMedia/~4/HcLiwd7Ulpk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m21m.com/actionscript/load-multiple-fonts-in-flash/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.m21m.com/actionscript/load-multiple-fonts-in-flash</feedburner:origLink></item>
		<item>
		<title>Where to Start – Front End Web Development</title>
		<link>http://feedproxy.google.com/~r/Merge2OneMedia/~3/-l-0tsO270c/where-to-start-front-end-web-development</link>
		<comments>http://www.m21m.com/development/where-to-start-front-end-web-development#comments</comments>
		<pubDate>Tue, 01 Dec 2009 03:49:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[frontend]]></category>
		<category><![CDATA[newbie]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.m21m.com/?p=515</guid>
		<description><![CDATA[A few people asked me if I could show them how to get started in front end web development, so I wrote this little article. If I were start from square one learning front end web development I would start by reading up on the following topics. I&#8217;m going to cover just the basics here.
Web [...]]]></description>
			<content:encoded><![CDATA[<p>A few people asked me if I could show them how to get started in front end web development, so I wrote this little article. If I were start from square one learning front end web development I would start by reading up on the following topics. I&#8217;m going to cover just the basics here.<span id="more-515"></span></p>
<h3>Web Usability</h3>
<p><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" style="width:550px;border:0px"></p>
<tr>
<td valign="top"><iframe src="http://rcm.amazon.com/e/cm?t=me2onme-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=0321344758&#038;md=10FE9736YVPPT7A0FBG2&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></td>
<td valign="top" class="tablewp">
<p>If you don&#8217;t get any of the books listed below at the very least get this book. I anyone who works on web sites or is going to hire someone to build them a web site, should read this book. It describes some really basic web usability practices people take for granted.</p>
</td>
</tr>
</table>
<p><br/></p>
<h3>Learn HTML</h3>
<p><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" style="width:550px;border:0px;"></p>
<tr>
<td valign="top"><iframe src="http://rcm.amazon.com/e/cm?t=me2onme-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=0596527322&#038;md=10FE9736YVPPT7A0FBG2&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></td>
<td valign="top" class="tablewp">
<p>There are a ton of references online to learn HTML however it&#8217;s good to have a manual right next to you. This is a great book to teach you the right way to use HTML and XHTML.</p>
</td>
</tr>
</table>
<p><br/><br />
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" style="width:550px;border:0px;"></p>
<tr>
<td valign="top"><iframe src="http://rcm.amazon.com/e/cm?t=me2onme-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=0470410922&#038;md=10FE9736YVPPT7A0FBG2&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></td>
<td valign="top" class="tablewp">
<p>Dreamweaver is a good WYSIWYG (What you see is what you get. Sounds like wizzy-wig.) editor to use if you are learning how to build web sites. It has a great GUI and is a great code editor. Many web developers only use Dreamweaver to code their entire web projects. Dreamweaver can also be used<br />
  to help you learn what&#8217;s going on visually. For instance you can drop some elements onto the screen (images, text, etc.) and then switch to the code view to see what is happening in the background. </p>
<p>I found this book online to walk you through some projects. It looks like it got some good reviews. I haven&#8217;t read it, but these are types of books I used to learn HTML. </p>
</td>
</tr>
</table>
<p>A program I use on the mac is <a href="http://www.barebones.com/products/bbedit/" target="_blank">BBedit</a>. BBedit is in my opinion the best tool for programing on the mac. BBedit has a ton of features and if you know how to use them they make developing very easy.</p>
<h3>Learn CSS</h3>
<p>
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" style="width:550px;border:0px;"></p>
<tr>
<td valign="top"><iframe src="http://rcm.amazon.com/e/cm?t=me2onme-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=0596527330&#038;md=10FE9736YVPPT7A0FBG2&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></td>
<td valign="top" class="tablewp">
<p>This is another manual type of book, but you can actually read straight through this book and learn a ton. I bought this book a few years ago and didn&#8217;t even know CSS could do so much. This book teaches the right way to write CSS. The author (Eric Meyer) is known as &#8220;The CSS GURU&#8221; in the web world.</p>
</td>
</tr>
</table>
<p><h3>Learn JavaScript</h3>
<p><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" style="width:550px;border:0px;"></p>
<tr>
<td valign="top"><iframe src="http://rcm.amazon.com/e/cm?t=me2onme-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=0596101996&#038;md=10FE9736YVPPT7A0FBG2&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></td>
<td valign="top" class="tablewp">
<p>Once you are familiar with HTML and CSS you should learn some basic JavaScript. This book is more of a manual than a straight read.</p>
</td>
</tr>
</table>
<p>A helpful JavaScript library you should get familiar with is <a href="http://jquery.com/" target="_blank">JQuery</a>. JQuery makes doing things (like animation, form validation, show and hide screen elements) in JavaScript easy. You don&#8217;t need to be a guru to use it, however knowing some basic JavaScript will help.</p>
<p>If you learn HTML, CSS and JavaScript you can do just about any front end project.</p>
<h3>Download Firefox</h3>
<p><a href="http://www.mozilla.com/en-US/firefox/" target="_blank">Firefox</a> is the best web browser in my opinion. It has many great features and you can add helpful plug-ins to make it better.</p>
<h3>Get some useful plug-ins for Firefox</h3>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/60" target="_blank">Web Developer</a>. Web Developer plug-in is very useful for designing and debugging. You can add rules to your page like Photoshop guides to see if elements are lining up onscreen. It has a ruler, html validation, css validation and other validation tools, outline elements and a ton of other tools to help you visually see what is going on for any given web page.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/1843" target="_blank">Firebug</a>. Firebug is probably what every web developer has to debug javascript and see what is going on on a page. One of the features I use on a daily basis is the &#8216;inspect&#8217; feature. If you press inspect you can rollover elements on the screen and view the css for each element. You can even edit the css in the browser to make live changes. The changes aren&#8217;t permanent but it really helps to debug. There are many more features you can use with Firebug.</p>
<h3>Use Google</h3>
<p>I know this sounds like a no brainer but if you cannot figure something out google it. Chances are someone has ran across the same problem. Also you can google &#8220;learn HTML&#8221; or &#8220;learn CSS&#8221; and get a ton of tutorials.</p>
<h3>Get your own host</h3>
<p><a href="http://dreamhost.com/" target="_blank">Dreamhost</a> is super cheap. For $6 a month and you get host unlimited domains, a free domain and tons of disk space. Use this promo code ( STEVEM21M0NE ) when you sign up and you will get an extra free domain (it saves you $10 a year).</p>
<h3>Use WordPress</h3>
<p>With a dreamhost account you can use one-click to install a WordPress site. WordPress is the way to go. You can tweak the templates or design your own. </p>
<p><a href="http://wordpress.org/" target="_blank">WordPress</a> isn&#8217;t just a blogging tool you can use it create sites with the functionality to update your own content. I only create sites using WordPress.</p>
<p>I have read a ton of other useful books, but I think most are beyond this blog post. I&#8217;ll publish another post with more books, tools and sites I use for development.</p>
<img src="http://feeds.feedburner.com/~r/Merge2OneMedia/~4/-l-0tsO270c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m21m.com/development/where-to-start-front-end-web-development/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.m21m.com/development/where-to-start-front-end-web-development</feedburner:origLink></item>
		<item>
		<title>Microsoft Experience Pack Demo</title>
		<link>http://feedproxy.google.com/~r/Merge2OneMedia/~3/QyJ0CXHkTXA/microsoft-experience-pack-demo</link>
		<comments>http://www.m21m.com/portfolio/microsoft-experience-pack-demo#comments</comments>
		<pubDate>Thu, 02 Apr 2009 18:57:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.m21m.com/?p=632</guid>
		<description><![CDATA[View This Demo
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.m21m.com/experience-pack-demo" title="Experience Pack" class="m_ep_demo">View This Demo</a></p>
<img src="http://feeds.feedburner.com/~r/Merge2OneMedia/~4/QyJ0CXHkTXA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m21m.com/portfolio/microsoft-experience-pack-demo/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.m21m.com/portfolio/microsoft-experience-pack-demo</feedburner:origLink></item>
		<item>
		<title>Microsoft ESP Silverlight Demo</title>
		<link>http://feedproxy.google.com/~r/Merge2OneMedia/~3/VM7AVjh-Fko/microsoft-esp-silverlight-demo</link>
		<comments>http://www.m21m.com/portfolio/microsoft-esp-silverlight-demo#comments</comments>
		<pubDate>Thu, 02 Apr 2009 18:56:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://www.m21m.com/?p=630</guid>
		<description><![CDATA[View This Demo
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.m21m.com/microsoft-esp-silverlight-demo" title="ESP Silverlight Demo" class="esp_demo">View This Demo</a></p>
<img src="http://feeds.feedburner.com/~r/Merge2OneMedia/~4/VM7AVjh-Fko" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m21m.com/portfolio/microsoft-esp-silverlight-demo/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.m21m.com/portfolio/microsoft-esp-silverlight-demo</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.908 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-05-10 16:21:18 --><!-- Compression = gzip -->

