<?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>Zoom Creates Blogs</title>
	
	<link>http://www.nineteenfortyone.com</link>
	<description>We don't report the news, we Create it.</description>
	<lastBuildDate>Wed, 10 Mar 2010 19:17:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</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/ZoomCreatesBlogs" /><feedburner:info uri="zoomcreatesblogs" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>If I Were A Rich (Wo)Man</title>
		<link>http://feedproxy.google.com/~r/ZoomCreatesBlogs/~3/iG7uBRpSzGE/</link>
		<comments>http://www.nineteenfortyone.com/2010/03/if-i-were-a-rich-woman/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 19:17:51 +0000</pubDate>
		<dc:creator>Mrs. Knightly</dc:creator>
				<category><![CDATA[Etc.]]></category>
		<category><![CDATA[bechstein grand piano]]></category>
		<category><![CDATA[bel-air convertible]]></category>
		<category><![CDATA[piano lessons]]></category>
		<category><![CDATA[vintage lamps]]></category>
		<category><![CDATA[vintage lighting]]></category>
		<category><![CDATA[wishlist]]></category>
		<category><![CDATA[yoga teacher]]></category>

		<guid isPermaLink="false">http://www.nineteenfortyone.com/?p=2379</guid>
		<description><![CDATA[I have exquisite taste. Take me to a store and I will immediately gravitate to the most expensive item/product/line they carry. Now granted, exquisite is subjective, but this is my blog entry, so for the sake of getting along, I shall pretend that we all agree Mrs. Knightly has -=The.Most.Exquisite.Taste.Ever=-
On my current wishlist are the [...]]]></description>
			<content:encoded><![CDATA[<p>I have exquisite taste. Take me to a store and I will immediately gravitate to the most expensive item/product/line they carry. Now granted, exquisite is subjective, but this is my blog entry, so for the sake of getting along, I shall pretend that we all agree Mrs. Knightly has -=The.Most.Exquisite.Taste.Ever=-</p>
<p>On my current wishlist are the following items in no particular order:</p>
<div id="attachment_2380" class="wp-caption alignnone" style="width: 259px"><a href="http://shoplum.bigcartel.com/product/carnival"><img class="size-full wp-image-2380 " src="http://www.nineteenfortyone.com/wp-content/uploads/Picture-19.png" alt="" width="249" height="302" /></a><p class="wp-caption-text">Carnival Lamps from Lum Lighting</p></div>
<p>At $2,250.00 it’s no wonder I fell in love with their Gaudy Goodness!</p>
<p><a href="//memorylaneclassiccars.com/55chevconvertible/1955_chevrolet_belair_convertibl.htm"><img class="size-medium wp-image-2381 alignnone" src="http://www.nineteenfortyone.com/wp-content/uploads/Picture-211-640x335.png" alt="" width="640" height="335" /></a></p>
<p>I paid $37,500 for my first home back in 1989. It had 4 more bedrooms and 2 more baths than this $49,500 1955 Chevrolet BelAir Convertible. I don’t care. I still want it.</p>
<div id="attachment_2382" class="wp-caption alignnone" style="width: 437px"><a href="http://www.antique-piano-for-sale.com/Antique_Bechstein_Piano.html"><img class="size-medium wp-image-2382 " src="http://www.nineteenfortyone.com/wp-content/uploads/Picture-221-427x480.png" alt="" width="427" height="480" /></a><p class="wp-caption-text">1937 Bechstein model B Grand Piano</p></div>
<p>While I currently do not know how to actually “play” the piano, I am quite certain that were I able to plunk down $49,000 for one, I could also afford a personal Piano Teacher. Additional points if they were married to a Yoga Instructor.</p>
<p>Wait! This can&#8217;t just be about My Exquisite Taste! I need to somehow tie this in and give it a Design &amp; Marketing Spin. The fact is, each of these is all about Design and Marketing. Everything that gets manufactured has appealed to someone at some point.</p>
<p>Being in this industry has made me look at the world in a whole new way. Grocery shopping takes longer because I get so involved in the packaging designs and I think longer and harder about brands and why one can of tomatoes looks better than another, even though they probably came from the same processing plant. It&#8217;s the visual presentation, while the can shape is pretty much the same, the fonts, colors, photo&#8217;s and verbiage are what compels us to buy even more than the price in some cases.</p>
<p>I am a fan of <a href="http://en.wikipedia.org/wiki/San_Marzano_tomato">San Marzano Tomatoes</a>. They&#8217;re pricey, so I don&#8217;t buy them for everyday cooking, but once in a while, when I am at <a href="http://pastaworks.com/">Pasta Works on Hawthorne</a>, I heed their siren call and splurge on a couple of cans to up the culinary ante on my Pasta Surprise.  Wouldn&#8217;t you?</p>
<div id="attachment_2390" class="wp-caption alignnone" style="width: 417px"><a rel="attachment wp-att-2390" href="http://www.nineteenfortyone.com/2010/03/if-i-were-a-rich-woman/tomatoes-2/"><img class="size-full wp-image-2390 " src="http://www.nineteenfortyone.com/wp-content/uploads/Tomatoes1.png" alt="" width="407" height="144" /></a><p class="wp-caption-text">One of these things is not like the others...</p></div>
<p>Compared to the Hunts can on the right, the Italian tomatoes &#8220;feel&#8221; different to me. More authentic, wholesome and flavorful. Interesting that a drawing of a tomato can evoke that sentiment more strongly than an actual photograph. It just does. In the same way that a 1955 Bel Aire feels more authentic to me than a 2010 Cadillac.</p>
<p>Perhaps &#8220;nostalgia&#8221; is the word I&#8217;m really looking for here. Tried and true, like Helvetica. Sturdy and strong like a Bel Aire. Fancy lamps made from real metal and wood and a piano that was made by hand 73 years ago and is still around to grace someone&#8217;s living room (even if it&#8217;s not mine!).</p>
<p>Nostalgically Yours,</p>
<p><span style="color: #800000"><em><strong>Mrs. Knightly</strong></em></span></p>
<img src="http://feeds.feedburner.com/~r/ZoomCreatesBlogs/~4/iG7uBRpSzGE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nineteenfortyone.com/2010/03/if-i-were-a-rich-woman/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.nineteenfortyone.com/2010/03/if-i-were-a-rich-woman/</feedburner:origLink></item>
		<item>
		<title>2010 Web Design Trend: Increased White Space</title>
		<link>http://feedproxy.google.com/~r/ZoomCreatesBlogs/~3/5S0JXGrHlt8/</link>
		<comments>http://www.nineteenfortyone.com/2010/03/2010-web-design-trend-increased-white-space/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 16:46:11 +0000</pubDate>
		<dc:creator>TweedleR</dc:creator>
				<category><![CDATA[Design Love]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[showcase]]></category>
		<category><![CDATA[trend]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[webdesign]]></category>
		<category><![CDATA[white space]]></category>

		<guid isPermaLink="false">http://www.nineteenfortyone.com/?p=2256</guid>
		<description><![CDATA[Today&#8217;s websites are getting cleaner, more streamlined and focused on an increased use of white space. White space refers to the negative space between and around the elements in a design (graphics, type, columns, etc.). Those who are inexperienced with the use of white space may view it as an empty area, and thus a [...]]]></description>
			<content:encoded><![CDATA[<p>Today&#8217;s websites are getting cleaner, more streamlined and focused on an increased use of white space. White space refers to the negative space between and around the elements in a design (graphics, type, columns, etc.). Those who are inexperienced with the use of white space may view it as an empty area, and thus a waste of valuable screen real estate. This blank space, however, is extremely beneficial to a design and the usability of a site. White space will make a layout much easier on the eyes. It reduces the amount of text a viewer will see at one time, increasing legibility and helping a visitor quickly find what they are looking for. It can also improve the structure of a site by creating a visual separation of elements, allowing content to stand out from the background. Not only is it functional, increasing space can also give a web site a more professional, uncluttered, and fresh appearance, providing a strong platform on which to present your message. Check out the examples below for excellent uses of white space:</p>
<div id="attachment_2259" class="wp-caption alignnone" style="width: 610px"><a href="http://www.apple.com/"><img class="size-full wp-image-2259" src="http://www.nineteenfortyone.com/wp-content/uploads/apple.png" alt="" width="600" height="358" /></a><p class="wp-caption-text">Apple</p></div>
<div id="attachment_2263" class="wp-caption alignnone" style="width: 610px"><a href="http://www.jason-reynolds.com/"><img class="size-full wp-image-2263" src="http://www.nineteenfortyone.com/wp-content/uploads/Jason-reynolds.png" alt="" width="600" height="306" /></a><p class="wp-caption-text">Jason Reynolds</p></div>
<div id="attachment_2262" class="wp-caption alignnone" style="width: 610px"><a href="http://indielabs.com/"><img class="size-full wp-image-2262" src="http://www.nineteenfortyone.com/wp-content/uploads/Indielabs.png" alt="" width="600" height="476" /></a><p class="wp-caption-text">Indie Labs</p></div>
<div id="attachment_2261" class="wp-caption alignnone" style="width: 610px"><a href="http://builtbybuffalo.com/"><img class="size-full wp-image-2261" src="http://www.nineteenfortyone.com/wp-content/uploads/Builtbybuffalo.png" alt="" width="600" height="366" /></a><p class="wp-caption-text">Buffalo</p></div>
<div id="attachment_2260" class="wp-caption alignnone" style="width: 610px"><a href="http://astheria.com/"><img class="size-full wp-image-2260" src="http://www.nineteenfortyone.com/wp-content/uploads/astheria.png" alt="" width="600" height="405" /></a><p class="wp-caption-text">Astheria</p></div>
<div id="attachment_2264" class="wp-caption alignnone" style="width: 610px"><a href="http://www.loveleft.com/"><img class="size-full wp-image-2264" src="http://www.nineteenfortyone.com/wp-content/uploads/loveleft.png" alt="" width="600" height="366" /></a><p class="wp-caption-text">Left</p></div>
<img src="http://feeds.feedburner.com/~r/ZoomCreatesBlogs/~4/5S0JXGrHlt8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nineteenfortyone.com/2010/03/2010-web-design-trend-increased-white-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.nineteenfortyone.com/2010/03/2010-web-design-trend-increased-white-space/</feedburner:origLink></item>
		<item>
		<title>Super Slow Motion Dogs</title>
		<link>http://feedproxy.google.com/~r/ZoomCreatesBlogs/~3/0s1HXJJQt_g/</link>
		<comments>http://www.nineteenfortyone.com/2010/03/super-slow-motion-dogs/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 18:34:22 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[Lab Report]]></category>
		<category><![CDATA[dogs]]></category>

		<guid isPermaLink="false">http://www.nineteenfortyone.com/?p=2355</guid>
		<description><![CDATA[I thought my dog, Hoss, moved in slow motion until I saw this video titled &#8220;The Catch&#8221;. It is a commercial for Pedigree dog food by TBWA Toronto, shot at 1000 frames per second that has gone viral. The video was inspired by the French community of digital artists, Pleix, who made a video called [...]]]></description>
			<content:encoded><![CDATA[<p>I thought my dog, Hoss, moved in slow motion until I saw this video titled &#8220;The Catch&#8221;. It is a commercial for Pedigree dog food by <a href="http://www.tbwa-toronto.com/" target="_blank">TBWA Toronto</a>, shot at 1000 frames per second that has gone viral. The video was inspired by the French community of digital artists, <a href="http://www.pleix.net/films.html" target="_blank">Pleix</a>, who made a video called Birds in 2006. Birds also features dogs in super slow motion but includes laser lights and 80&#8217;s-style synthesizer music. Both are sights to behold.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/mUCRZzhbHH0" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/mUCRZzhbHH0"></embed></object></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/F52dx9Z0L5k" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/F52dx9Z0L5k"></embed></object></p>
<p><span style="color: #ff00ff;"><br />
</span></p>
<p><span style="color: #ff00ff;"><br />
</span></p>
<img src="http://feeds.feedburner.com/~r/ZoomCreatesBlogs/~4/0s1HXJJQt_g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nineteenfortyone.com/2010/03/super-slow-motion-dogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.nineteenfortyone.com/2010/03/super-slow-motion-dogs/</feedburner:origLink></item>
		<item>
		<title>Make art while designing</title>
		<link>http://feedproxy.google.com/~r/ZoomCreatesBlogs/~3/owtc3Ss2vNY/</link>
		<comments>http://www.nineteenfortyone.com/2010/03/make-art-design/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 17:16:46 +0000</pubDate>
		<dc:creator>Tweedle C</dc:creator>
				<category><![CDATA[Design Love]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://www.nineteenfortyone.com/?p=2330</guid>
		<description><![CDATA[We&#8217;ve been playing with the mouse tracking application IOGraph to see what our mouses create while we work away as usual. The application tracks your mouse path, making a visual representation of every move you make. The images are cool looking and even more fun when you look at them while thinking about how the [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve been playing with the mouse tracking application <a href="http://iographica.com/" target="_blank">IOGraph</a> to see what our mouses create while we work away as usual. The application tracks your mouse path, making a visual representation of every move you make. The images are cool looking and even more fun when you look at them while thinking about how the movements were effected by what programs you were working in, what type of project you were working on, where your palettes were placed, whether you tend to use key commands or prefer to use the menu etc. This image on <a href="http://www.flickr.com/photos/anatoliy_zenkov/4271592658/" target="_blank">Flicker</a> shows the IOGraph image over the top of the desktop to illustrate this point.</p>
<p>Here are images taken after an hour and a half from each of the designers.</p>
<p>Here is Robin working on an eCommerce site in Photoshop:</p>
<p><a rel="attachment wp-att-2331" href="http://www.nineteenfortyone.com/2010/03/make-art-design/robin_psdwebsite_1-4hrs_600px/"><img class="alignleft size-full wp-image-2331" src="http://www.nineteenfortyone.com/wp-content/uploads/Robin_PSDwebSite_1.4hrs_600px.png" alt="" width="600" height="375" /></a></p>
<p>And Greg researching on the internet:</p>
<p><a rel="attachment wp-att-2332" href="http://www.nineteenfortyone.com/2010/03/make-art-design/greg_internetresearch_1-5hrs_600px/"><img class="alignleft size-full wp-image-2332" src="http://www.nineteenfortyone.com/wp-content/uploads/Greg_InternetResearch_1.5hrs_600px.png" alt="" width="600" height="375" /></a></p>
<p>And me working back and forth between Illustrator and InDesign:</p>
<p><a rel="attachment wp-att-2333" href="http://www.nineteenfortyone.com/2010/03/make-art-design/corrina_aiandindd_1-3hrs_600px/"><img class="alignleft size-full wp-image-2333" src="http://www.nineteenfortyone.com/wp-content/uploads/Corrina_AIandINDD_1.3hrs_600px.png" alt="" width="600" height="375" /></a></p>
<img src="http://feeds.feedburner.com/~r/ZoomCreatesBlogs/~4/owtc3Ss2vNY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nineteenfortyone.com/2010/03/make-art-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.nineteenfortyone.com/2010/03/make-art-design/</feedburner:origLink></item>
		<item>
		<title>3D Apple Tribute</title>
		<link>http://feedproxy.google.com/~r/ZoomCreatesBlogs/~3/elLnwV1chVY/</link>
		<comments>http://www.nineteenfortyone.com/2010/03/3d-apple-tribute/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 18:36:04 +0000</pubDate>
		<dc:creator>Lisa</dc:creator>
				<category><![CDATA[Etc.]]></category>
		<category><![CDATA[Marketizing]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[3D Max]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[V-Ray render]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.nineteenfortyone.com/?p=2325</guid>
		<description><![CDATA[Many of us at Zoom (correction: MOST) have been Apple fans for quite some time. The video tribute below was created by Transparent House and the animation was done using 3D&#8217;s Max and V-Ray Render. Shockingly enough, the entire process took no more than 10 days to complete. Without tooting our own horn too much, [...]]]></description>
			<content:encoded><![CDATA[<p>Many of us at Zoom (correction: MOST) have been Apple fans for quite some time. The video tribute below was created by Transparent House and the animation was done using 3D&#8217;s Max and V-Ray Render. Shockingly enough, the entire process took no more than 10 days to complete. Without tooting our own horn too much, the tribute brings to mind our own Zoom Creates Reel, which is quite possibly why I find it so darn attractive.</p>
<p>On a side note, the presentation of the products is beautiful and shows the genius progression of a company started in a garage that has grown into an empire. </p>
<p><object width="400" height="225"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=9820827&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=9820827&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"></embed></object>
<p><a href="http://vimeo.com/9820827">Anatomy of Apple Design</a> from <a href="http://vimeo.com/user1724770">Transparent House</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<img src="http://feeds.feedburner.com/~r/ZoomCreatesBlogs/~4/elLnwV1chVY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nineteenfortyone.com/2010/03/3d-apple-tribute/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.nineteenfortyone.com/2010/03/3d-apple-tribute/</feedburner:origLink></item>
		<item>
		<title>Creating a Chumby Configuration Widget</title>
		<link>http://feedproxy.google.com/~r/ZoomCreatesBlogs/~3/Jxbl-bkvS_0/</link>
		<comments>http://www.nineteenfortyone.com/2010/02/creating-a-chumby-configuration-widget/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 17:20:58 +0000</pubDate>
		<dc:creator>Kris</dc:creator>
				<category><![CDATA[Code Logic]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Chumby]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.nineteenfortyone.com/?p=2319</guid>
		<description><![CDATA[In my last post, we quickly went over Writing your first Chumby widget.  This time, we&#8217;ll expand on that by adding a configuration widget.
A configuration widget is another Flash file that sets up parameters for your Chumby widget, so those settings are available when the widget loads into your Chumby.  For example, perhapse [...]]]></description>
			<content:encoded><![CDATA[<p>In my last post, we quickly went over <a href="http://www.nineteenfortyone.com/2010/02/writing-your-first-chumby-widget/">Writing your first Chumby widget</a>.  This time, we&#8217;ll expand on that by adding a configuration widget.</p>
<p>A configuration widget is another Flash file that sets up parameters for your Chumby widget, so those settings are available when the widget loads into your Chumby.  For example, perhapse you have an analog clock widget.  You could create a configuration widget that allows someone to choose a color for the face of the clock, or whether or not to display the second hand.  The user could choose a color and save their preferences in the Chumby database.  Then, when their Chumby loads your clock widget, it would look for and download any settings for that widget.</p>
<p>Here&#8217;s what we&#8217;ll need:</p>
<ul>
<li>Flash or another IDE for building SWFs</li>
<li><a href="http://wiki.chumby.com/mediawiki/index.php/Widget_Parameter_Example">widget parameters example</a> from wiki.chumby.com</li>
</ul>
<p><span id="more-2319"></span></p>
<p>The widget parameters example is not only a good example of how to get and set parameters, it also includes some actionscript classes that simplify the whole process.  Thanks, Chumby.com!</p>
<p>OK, lets get started.  First, we&#8217;ll need to build the UI.  Widgets that run on a Chumby must be built with Flash 8 or earlier.  But the configuration widget runs on the web at Chumby.com, so it can be any version of Flash and can even be coded with AS3.  The classes we&#8217;re importing are coded with AS2, so we&#8217;ll use AS2 too.  So lets start a new Flash file and set the width and height to 320&#215;240.</p>
<p>Now, add some UI components. Add a text field, name it input1, and set it to Input Text (rather than dynamic or static).  Also, create a movie clip for a checkbox, using two frames &#8211; one unchecked and one checked.  Stop it on the first frame.  And finally, create a submit button.  You can also use the components from the components library, but I like to make my own UI elements.</p>
<p>It would be a good idea to allow the user to pick a color from a grid of swatches, or to create a color by blending red, green, and blue using slider controls, but that&#8217;s beyond the scope of this article.  To keep things moving along, we&#8217;re assuming that the user types into the text box a valid hexadecimal color.</p>
<p>Now let&#8217;s get into the code.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">chumby</span>.<span style="color: #006600;">WidgetParams</span>;
<span style="color: #0066CC;">import</span> com.<span style="color: #006600;">chumby</span>.<span style="color: #006600;">util</span>.<span style="color: #006600;">Delegate</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//input1 is a textfield</span>
<span style="color: #808080; font-style: italic;">//input2 is a movieclip with 2 frames: off and on</span>
input2.<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;	<span style="color: #808080; font-style: italic;">//stop on the first frame (off)</span>
input2.<span style="color: #006600;">checked</span> = <span style="color: #ff0000;">&quot;0&quot;</span>;	<span style="color: #808080; font-style: italic;">//set dynamic var to &quot;0&quot;</span>
<span style="color: #000000; font-weight: bold;">var</span> submit_btn:<span style="color: #0066CC;">Button</span>;
<span style="color: #000000; font-weight: bold;">var</span> msg:<span style="color: #0066CC;">TextField</span>;
&nbsp;
input2.<span style="color: #0066CC;">onRelease</span> = toggleCheckbox<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
submit_btn.<span style="color: #0066CC;">onRelease</span> = Delegate.<span style="color: #006600;">create</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>, submit<span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> _widgetParams:WidgetParams = <span style="color: #000000; font-weight: bold;">new</span> WidgetParams<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
_widgetParams.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>WidgetParams.<span style="color: #006600;">SENT_PARAMS</span>, Delegate.<span style="color: #006600;">create</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>, sentParameters<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
_widgetParams.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>WidgetParams.<span style="color: #006600;">GOT_PARAMS</span>, Delegate.<span style="color: #006600;">create</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>, gotParameters<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
_widgetParams.<span style="color: #006600;">getWidgetParams</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
&nbsp;
<span style="color: #808080; font-style: italic;">// values are loaded from the server and then this function updates the UI</span>
<span style="color: #000000; font-weight: bold;">function</span> gotParameters<span style="color: #66cc66;">&#40;</span>event:<span style="color: #0066CC;">Object</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">!</span>event.<span style="color: #0066CC;">status</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
		msg.<span style="color: #0066CC;">text</span> = <span style="color: #ff0000;">&quot;Error loading settings.&quot;</span>;
		<span style="color: #b1b100;">return</span>;
	<span style="color: #66cc66;">&#125;</span>
	msg.<span style="color: #0066CC;">text</span> = <span style="color: #ff0000;">&quot;&quot;</span>;
	<span style="color: #000000; font-weight: bold;">var</span> parameters:<span style="color: #0066CC;">Object</span> = _widgetParams.<span style="color: #006600;">chumbyParams</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #000000; font-weight: bold;">var</span> value1:<span style="color: #0066CC;">String</span> = parameters<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;myHexColor&quot;</span><span style="color: #66cc66;">&#93;</span>;
	<span style="color: #000000; font-weight: bold;">var</span> value2:<span style="color: #0066CC;">String</span> = parameters<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;showSecondHand&quot;</span><span style="color: #66cc66;">&#93;</span>;
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>value1 <span style="color: #66cc66;">!</span>= <span style="color: #0066CC;">undefined</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
		input1.<span style="color: #0066CC;">text</span> = value1;
	<span style="color: #66cc66;">&#125;</span>
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>value2 <span style="color: #66cc66;">!</span>= <span style="color: #0066CC;">undefined</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
		<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>value2 == <span style="color: #ff0000;">&quot;1&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
			input2.<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;
			input2.<span style="color: #006600;">checked</span> = <span style="color: #ff0000;">&quot;1&quot;</span>;
		<span style="color: #66cc66;">&#125;</span>
		<span style="color: #b1b100;">else</span><span style="color: #66cc66;">&#123;</span>
			input2.<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;
			input2.<span style="color: #006600;">checked</span> = <span style="color: #ff0000;">&quot;0&quot;</span>;
		<span style="color: #66cc66;">&#125;</span>
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #808080; font-style: italic;">// called as a callback when done saving the data to the server</span>
<span style="color: #000000; font-weight: bold;">function</span> sentParameters<span style="color: #66cc66;">&#40;</span>event:<span style="color: #0066CC;">Object</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">!</span>event.<span style="color: #0066CC;">status</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
		msg.<span style="color: #0066CC;">text</span> = <span style="color: #ff0000;">&quot;Error saving settings.&quot;</span>;
		<span style="color: #b1b100;">return</span>;
	<span style="color: #66cc66;">&#125;</span>
	msg.<span style="color: #0066CC;">text</span> = <span style="color: #ff0000;">&quot;Save complete.&quot;</span>;
	<span style="color: #0066CC;">getURL</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'javascript:dismiss()'</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> submit<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>input1.<span style="color: #0066CC;">length</span> <span style="color: #66cc66;">&lt;</span> <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
		msg.<span style="color: #0066CC;">text</span> = <span style="color: #ff0000;">&quot;Please enter a color.&quot;</span>;
		<span style="color: #b1b100;">return</span>;
	<span style="color: #66cc66;">&#125;</span>
	<span style="color: #000000; font-weight: bold;">var</span> parameters:<span style="color: #0066CC;">Object</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Object</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
	parameters<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;myHexColor&quot;</span><span style="color: #66cc66;">&#93;</span> = input1.<span style="color: #0066CC;">text</span>;
	parameters<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;showSecondHand&quot;</span><span style="color: #66cc66;">&#93;</span> = input2.<span style="color: #006600;">checked</span>;
	msg.<span style="color: #0066CC;">text</span> = <span style="color: #ff0000;">&quot;Sending...&quot;</span>;
	_widgetParams.<span style="color: #006600;">sendWidgetParams</span><span style="color: #66cc66;">&#40;</span>parameters<span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> toggleCheckbox<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>input2.<span style="color: #006600;">checked</span> == <span style="color: #ff0000;">&quot;0&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
		input2.<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;
		input2.<span style="color: #006600;">checked</span> = <span style="color: #ff0000;">&quot;1&quot;</span>;
	<span style="color: #66cc66;">&#125;</span>
	<span style="color: #b1b100;">else</span><span style="color: #66cc66;">&#123;</span>
		input2.<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;
		input2.<span style="color: #006600;">checked</span> = <span style="color: #ff0000;">&quot;0&quot;</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p>The first thing we do is load the classes that came with the Widget Parameters Example.  These classes handle all of the loading and saving of the parameters.  Next we have some code for setting the state of our UI elements when the parameters are loaded.  When this configuration widget is pulled up at Chumby.com, it will load in the previously saved values if they exist.  The function gotParameters listens for the parameters to load, then sets the elements to match the values.  If no previous values are found, they&#8217;ll remain at the default settings.  </p>
<p>At the bottom there is a function to handle checking and unchecking of the checkbox.  It simply sets the frame of the movie clip and sets a dynamic variable.</p>
<p>When the submit button is clicked, the submit function gets called.  It creates a new parameters object and sets our settings in it.  Then it sends it off to the Chumby.com server and the sentParameters function listens for a response.</p>
<p>Notice that the showSecondHand parameter gets a string of &#8220;1&#8243; or &#8220;0&#8243; rather than true or false.  When the parameter is saved to the database, it seems to be converted to a string.  The string of &#8220;false&#8221; equates to true, so we need to check the string value instead.</p>
<p>Now let&#8217;s modify the Chumby Widget that this configuration widget configures.  When the widget loads into your Chumby, it will also load any parameters for that widget.  Your widget simply needs to reference them.  It should look something like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> bgColor:uint;
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>myHexColor == <span style="color: #0066CC;">undefined</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
	bgColor == 0x000000;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #b1b100;">else</span><span style="color: #66cc66;">&#123;</span>
	bgColor == uint<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;0x&quot;</span> + myHexColor<span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>showSecondHand == <span style="color: #0066CC;">undefined</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
	showSecondHand == <span style="color: #ff0000;">&quot;0&quot;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #808080; font-style: italic;">//...</span></pre></td></tr></table></div>

<p>This simply checks for the parameters, and sets the defaults if they don&#8217;t exist.  In the case of the hexadecimal color, it also converts it to an unsigned int for use later in the script.  It&#8217;s that simple.  No need to use FlashVars or loaderInfo.</p>
<p>In my next post I&#8217;ll talk about accessing the Chumby&#8217;s accelerometer.</p>
<img src="http://feeds.feedburner.com/~r/ZoomCreatesBlogs/~4/Jxbl-bkvS_0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nineteenfortyone.com/2010/02/creating-a-chumby-configuration-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.nineteenfortyone.com/2010/02/creating-a-chumby-configuration-widget/</feedburner:origLink></item>
		<item>
		<title>2010 Web Design Trend: Speaking Navigation</title>
		<link>http://feedproxy.google.com/~r/ZoomCreatesBlogs/~3/xx-ZsoKXc_8/</link>
		<comments>http://www.nineteenfortyone.com/2010/02/2010-web-design-trend-speaking-navigation/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 18:45:38 +0000</pubDate>
		<dc:creator>TweedleR</dc:creator>
				<category><![CDATA[Design Love]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[showcase]]></category>
		<category><![CDATA[trend]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://www.nineteenfortyone.com/?p=2213</guid>
		<description><![CDATA[For some, one word navigational links simply aren&#8217;t clear enough. Designers are now trying to explain, in a short snippet, what the visitor should expect to see upon clicking on a link. This additional short phrase has been coined as &#8220;speaking navigation,&#8221; as opposed to &#8220;silent&#8221; navigation which follows the traditional style of using keywords [...]]]></description>
			<content:encoded><![CDATA[<p>For some, one word navigational links simply aren&#8217;t clear enough. Designers are now trying to explain, in a short snippet, what the visitor should expect to see upon clicking on a link. This additional short phrase has been coined as &#8220;speaking navigation,&#8221; as opposed to &#8220;silent&#8221; navigation which follows the traditional style of using keywords to represent a group of information. The end goal in this method is to create a more effective communication style with site visitors. If content can be clarified, navigation will be simplified for the user and could potentially generate increased traffic through the site. Check out the examples below of speaking navigation:</p>
<div id="attachment_2217" class="wp-caption alignnone" style="width: 610px"><a href="http://sifterapp.com/"><img class="size-full wp-image-2217" src="http://www.nineteenfortyone.com/wp-content/uploads/2.png" alt="Sifter" width="600" height="86" /></a><p class="wp-caption-text">Sifter</p></div>
<div id="attachment_2216" class="wp-caption alignnone" style="width: 610px"><a href="http://www.liftinteractive.com/"><img class="size-full wp-image-2216" src="http://www.nineteenfortyone.com/wp-content/uploads/1.png" alt="Lift Interactive" width="600" height="88" /></a><p class="wp-caption-text">Lift Interactive</p></div>
<div id="attachment_2221" class="wp-caption alignnone" style="width: 610px"><a href="http://www.agentpoint.com.au/"><img class="size-full wp-image-2221" src="http://www.nineteenfortyone.com/wp-content/uploads/AgentPoint.png" alt="AgentPoint" width="600" height="62" /></a><p class="wp-caption-text">AgentPoint</p></div>
<div id="attachment_2224" class="wp-caption alignnone" style="width: 610px"><a href="http://www.lennonbus.org/"><img class="size-full wp-image-2224" src="http://www.nineteenfortyone.com/wp-content/uploads/JohnLennon.png" alt="Lennon Bus" width="600" height="161" /></a><p class="wp-caption-text">Lennon Bus</p></div>
<div id="attachment_2229" class="wp-caption alignnone" style="width: 610px"><a href="http://www.youversion.com/"><img class="size-full wp-image-2229" src="http://www.nineteenfortyone.com/wp-content/uploads/YouVersion.png" alt="You Version" width="600" height="92" /></a><p class="wp-caption-text">You Version</p></div>
<div id="attachment_2218" class="wp-caption alignnone" style="width: 610px"><a href="http://www.dishizzle.com/"><img class="size-full wp-image-2218" src="http://www.nineteenfortyone.com/wp-content/uploads/3.png" alt="Dishizzle" width="600" height="98" /></a><p class="wp-caption-text">Dishizzle</p></div>
<div id="attachment_2223" class="wp-caption alignnone" style="width: 610px"><img class="size-full wp-image-2223" src="http://www.nineteenfortyone.com/wp-content/uploads/Goodbytes.png" alt="goodbytes" width="600" height="200" /><p class="wp-caption-text">goodbytes</p></div>
<img src="http://feeds.feedburner.com/~r/ZoomCreatesBlogs/~4/xx-ZsoKXc_8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nineteenfortyone.com/2010/02/2010-web-design-trend-speaking-navigation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.nineteenfortyone.com/2010/02/2010-web-design-trend-speaking-navigation/</feedburner:origLink></item>
		<item>
		<title>A Very Nerdy Birthday</title>
		<link>http://feedproxy.google.com/~r/ZoomCreatesBlogs/~3/B_G7NztHHx4/</link>
		<comments>http://www.nineteenfortyone.com/2010/02/a-very-nerdy-birthday/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 21:14:49 +0000</pubDate>
		<dc:creator>Kurtis Holsapple</dc:creator>
				<category><![CDATA[Code Logic]]></category>
		<category><![CDATA[Birthday]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.nineteenfortyone.com/?p=2308</guid>
		<description><![CDATA[It was just a few days ago when Justin, our lead developer had a birthday.  Us nerds in the dev department (aka&#8230; me) know just how to celebrate.
Write a python script that has ascii animation of a birthday dance!
Here&#8217;s a zip file with the python scripts in it.  To run it on your [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.nineteenfortyone.com/wp-content/uploads/test1.gif" alt="" title="test" width="350" height="72" class="alignleft size-full wp-image-2309" />It was just a few days ago when Justin, our lead developer had a birthday.  Us nerds in the dev department (aka&#8230; me) know just how to celebrate.</p>
<p>Write a python script that has ascii animation of a birthday dance!</p>
<p><a href="http://www.nineteenfortyone.com/wp-content/uploads/birthday.zip">Here&#8217;s a zip file</a> with the python scripts in it.  To run it on your computer, make sure that you have python installed, and extract the files into their own directory.  If double clicking on justin.py doesn&#8217;t do anything (or it opens in notepad) then you can run it easily with the console window.  Just browse to the same directory and type &#8220;python justin.py&#8221; and it should start to work.  I can answer any issues in the comments.</p>
<p>If you are looking for some more nerdy fun, check out the ASCIImator (<a href="http://asciimator.net/" target="_blank">http://asciimator.net/</a>).  Here you can build your own ASCII animation, watch other people&#8217;s animations, or visit the ASCII zoo!  My favorite is karaboz&#8217;s &#8220;walking old stickman.&#8221;  What&#8217;s yours?</p>
<img src="http://feeds.feedburner.com/~r/ZoomCreatesBlogs/~4/B_G7NztHHx4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nineteenfortyone.com/2010/02/a-very-nerdy-birthday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.nineteenfortyone.com/2010/02/a-very-nerdy-birthday/</feedburner:origLink></item>
		<item>
		<title>If It Were Only This Easy…</title>
		<link>http://feedproxy.google.com/~r/ZoomCreatesBlogs/~3/f-BBpSRJThY/</link>
		<comments>http://www.nineteenfortyone.com/2010/02/if-it-were-only-this-easy/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 20:31:39 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[Etc.]]></category>
		<category><![CDATA[adobe photoshop cook]]></category>
		<category><![CDATA[adobeyougc]]></category>
		<category><![CDATA[stop motion animation]]></category>

		<guid isPermaLink="false">http://www.nineteenfortyone.com/?p=2299</guid>
		<description><![CDATA[I have always been a fan of stop-motion animation. I think back to Gumby and Rudolph and more recently, South Park and Robot Chicken. I have had aspirations of making my own some day involving Hot Wheels cars and Legos or capturing just how fast the bamboo in my backyard grows per day but have [...]]]></description>
			<content:encoded><![CDATA[<p>I have always been a fan of stop-motion animation. I think back to <a href="http://www.youtube.com/watch?v=AhczFRlBT2E" target="_blank">Gumby</a> and <a href="http://www.youtube.com/watch?v=FwlOUAAyPQE&amp;feature=related" target="_self">Rudolph</a> and more recently, <a href="http://www.southparkstudios.com/clips/149579/?searchterm=Cartman+Gets+an+Anal+Probe" target="_blank">South Park</a> and <a title="http://video.adultswim.com/robot-chicken/death-star-orientation.html" href="http://" target="_blank">Robot Chicken</a>. I have had aspirations of making my own some day involving Hot Wheels cars and Legos or capturing just how fast the bamboo in my backyard grows per day but have never gotten around to it.</p>
<p>Today, I ran across this video made for competition <a href="http://www.adobeyougc.com/#" target="_blank">AdobeYouGC</a> which I believe is an Italian contest and is for User Generated Content created with Adobe products. It really inspired me. It is the simulation of a tutorial which shows how to make butter cookies with the &#8220;new&#8221; Adobe Photoshop Cook Extended. If it was this easy to make food, I would probably make dinner every night. Enjoy.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=9338549&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="300" src="http://vimeo.com/moogaloop.swf?clip_id=9338549&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://vimeo.com/9338549">Adobe Photoshop Cook</a> from <a href="http://vimeo.com/user456458">Lait Noir</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<img src="http://feeds.feedburner.com/~r/ZoomCreatesBlogs/~4/f-BBpSRJThY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nineteenfortyone.com/2010/02/if-it-were-only-this-easy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.nineteenfortyone.com/2010/02/if-it-were-only-this-easy/</feedburner:origLink></item>
		<item>
		<title>Building your first Twitter application with PHP</title>
		<link>http://feedproxy.google.com/~r/ZoomCreatesBlogs/~3/zNF4WGLvO8w/</link>
		<comments>http://www.nineteenfortyone.com/2010/02/building-your-first-twitter-application-with-php/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 22:12:01 +0000</pubDate>
		<dc:creator>Kurtis Holsapple</dc:creator>
				<category><![CDATA[Code Logic]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.nineteenfortyone.com/?p=2281</guid>
		<description><![CDATA[I&#8217;ve written before about how great it is to work with a service that has a great API.  Twitter was one of the tools that I talked about in that post and today I&#8217;m going to show you the basics of working with their API.
PHP is a great language for web applications, and it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.nineteenfortyone.com/wp-content/uploads/blueprint.jpg" alt="" title="blueprint" width="429" height="279" class="alignleft size-full wp-image-2292" />I&#8217;ve written before about how great it is to work with a service that has a great API.  Twitter was one of the tools that I talked about in that post and today I&#8217;m going to show you the basics of working with their API.</p>
<p>PHP is a great language for web applications, and it&#8217;s available with just about any web host.  If you aren&#8217;t familiar with how PHP works, this tutorial will probably be a poor place to start.  Today we are going to talk about how to work with the Twitter API and PHP, and you&#8217;ll need to know a few things about how PHP works to keep up.  For a good refresher course on PHP, click <a href="http://www.tizag.com/phpT/" target="_blank">here</a>.</p>
<p>Click through and let&#8217;s get started!<br />
<span id="more-2281"></span><br />
First lets get an awesome open source class that pulls all the goods from twitter into a nice handy PHP object.  Go to <a href="http://code.google.com/p/php-twitter/" target="_blank">http://code.google.com/p/php-twitter/</a> and grab the latest version.  Put that file into a folder by its self.  Now let&#8217;s make a new file called index.php in that same directory.  Open that file up.</p>
<p>The first thing that we need to do is include that super awesome class file.  Start your php code with the open tag and then include the twitter class.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">include_once</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;class.twitter.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Now that the class is included, let&#8217;s make a new object to work with.  Once that object is created, lets set a few important variables for this object.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>4
5
6
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$t</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> twitter<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$t</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">username</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'USERNAME'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$t</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">password</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'PASSWORD'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>If we want to get our latest tweets, we can use the method &#8220;userTimeline&#8221; and it will return a lot of data about your recent tweets.  Lets store that data in a variable and display some tweets.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>8
9
10
11
12
13
14
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$tweets</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$t</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">userTimeline</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">&lt;</span><span style="color: #cc66cc;">5</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">//loop to print out our twitter avatar and the latest 5 tweets</span>
    <span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;&lt;img src='&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$tweets</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">profile_image_url</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;' alt='&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$tweets</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">screen_name</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;' /&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$tweets</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">text</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #666666; font-style: italic;">//end php</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Now if you upload these files to your webserver and browse to that directory, you should see your avatar and your 5 latest tweets.</p>
<p>Lets do something a little bit more fun than just display your latest tweets.  Let&#8217;s build a form that updates your twitter status.  You can then use this form to update instead of going to twitter.com or using your mobile device.  First let&#8217;s add a form to the index page below the 5 tweets we are displaying with the above code.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>16
17
18
19
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;form action='update.php' method='post'&gt;
New twitter status: &lt;input type='text' name='tweet' value='' /&gt;&lt;br /&gt;
&lt;input type='submit' value='Update Twitter' /&gt;
&lt;/form&gt;</pre></td></tr></table></div>

<p>We have that form processing to a page called update.php.  Let&#8217;s make that file and have it process your update, then return you to your index page.  Here&#8217;s the code for update.php.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">include_once</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;class.twitter.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$t</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> twitter<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$t</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">username</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'USERNAME'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$t</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">password</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'PASSWORD'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$t</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">update</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'tweet'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Location: index.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>One word of advice, don&#8217;t use this code just anywhere.  If you put this form on your homepage, then anyone can type into that field and update your twitter!  Because you tell twitter who you are with this code, it doesn&#8217;t really care who fills out this form.  This could give spammers access to post tweets as you, so be cautious as to how you use this.  You&#8217;ve been warned.</p>
<p><a href='http://www.nineteenfortyone.com/wp-content/uploads/twitterApp.zip'>I&#8217;ve attached a zip file</a> with all the necessary files to make this work on your own.  Just be sure to edit the files to use your real username and password, or none of this will work.  Leave a comment if you found this useful, or have any questions.  Thanks for reading!</p>
<img src="http://feeds.feedburner.com/~r/ZoomCreatesBlogs/~4/zNF4WGLvO8w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nineteenfortyone.com/2010/02/building-your-first-twitter-application-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.nineteenfortyone.com/2010/02/building-your-first-twitter-application-with-php/</feedburner:origLink></item>
	</channel>
</rss>
