<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.7" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Doug McCune</title>
	<link>http://dougmccune.com/blog</link>
	<description>A blog about Adobe Flex</description>
	<pubDate>Sat, 03 May 2008 00:52:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.7</generator>
	<language>en</language>
			<item>
		<title>Screenshot step-by-step instructions of how to use the Flex CoverFlow component</title>
		<link>http://dougmccune.com/blog/2008/05/02/screenshot-step-by-step-instructions-of-how-to-use-the-flex-coverflow-component/</link>
		<comments>http://dougmccune.com/blog/2008/05/02/screenshot-step-by-step-instructions-of-how-to-use-the-flex-coverflow-component/#comments</comments>
		<pubDate>Sat, 03 May 2008 00:52:26 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category>Uncategorized</category>

		<guid isPermaLink="false">http://dougmccune.com/blog/2008/05/02/screenshot-step-by-step-instructions-of-how-to-use-the-flex-coverflow-component/</guid>
		<description><![CDATA[Dan McAdams has posted a quick guide to help people get up and running with the CoverFlow Flex component SWC file. This component has generated a lot of interest, which is great, but it also means that there are a lot of people who are brand new to Flex (and hence don&#8217;t know how to [...]]]></description>
			<content:encoded><![CDATA[<p>Dan McAdams has posted a <a href="http://nwlearning.com/view/cfexplanation.htm">quick guide</a> to help people get up and running with the CoverFlow Flex component SWC file. This component has generated a lot of interest, which is great, but it also means that there are a lot of people who are brand new to Flex (and hence don&#8217;t know how to use SWC files or how to set up Flex projects) trying to use the component. My<a href="http://dougmccune.com/blog/2007/11/19/flex-coverflow-performance-improvement-flex-carousel-component-and-vertical-coverflow/"> posts about coverflow</a> have gotten quite a few comments from people who don&#8217;t know how to get the examples I posted working, or can&#8217;t figure out how to use the coverflow library in their own applications. Thus far I haven&#8217;t spent the time to go through a detailed step-by-step tutorial on exactly how to use a SWC library in your own projects (although google really does do wonders people&#8230;).</p>
<p>So thanks Dan! If anyone is having trouble with getting the coverflow library to work make sure to check out <a href="http://nwlearning.com/view/cfexplanation.htm">Dan&#8217;s screenshots and his tips</a>.</p>
<p>Here are a few links to the Flex documentation that explain SWC files and how to use them in your projects:</p>
<ul>
<li><a href="http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&#038;file=projects_035_32.html">Using SWC files in your projects</a></li>
<li><a href="http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&#038;file=00001518.html">About SWC files</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dougmccune.com/blog/2008/05/02/screenshot-step-by-step-instructions-of-how-to-use-the-flex-coverflow-component/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MuxMaster update: download functionality removed and a new icon</title>
		<link>http://dougmccune.com/blog/2008/04/25/muxmaster-update-download-functionality-removed-and-a-new-icon/</link>
		<comments>http://dougmccune.com/blog/2008/04/25/muxmaster-update-download-functionality-removed-and-a-new-icon/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 21:31:53 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category>Flex</category>

		<category>AIR</category>

		<category>Muxtape</category>

		<category>MuxMaster</category>

		<guid isPermaLink="false">http://dougmccune.com/blog/2008/04/25/muxmaster-update-download-functionality-removed-and-a-new-icon/</guid>
		<description><![CDATA[I was contacted by Justin Ouellette, the creator of Muxtape, who asked that I remove the download functionality from MuxMaster. I&#8217;m torn about this issue, on one hand Muxtape is a service based on technology that makes distributing MP3s extremely easy. Justin has chosen to hide this capability because he&#8217;s appropriately scared of the consequences [...]]]></description>
			<content:encoded><![CDATA[<p>I was contacted by <a href="http://justinouellette.com/">Justin Ouellette</a>, the creator of <a href="http://muxtape.com">Muxtape</a>, who asked that I remove the download functionality from <a href="http://dougmccune.com/blog/2008/04/25/introducing-muxmaster-a-kickass-open-source-muxtape-playerdownloader-built-with-flex-and-air/">MuxMaster</a>. I&#8217;m torn about this issue, on one hand Muxtape is a service based on technology that makes distributing MP3s extremely easy. Justin has chosen to hide this capability because he&#8217;s appropriately scared of the consequences of having Muxtape turn into a file-swapping website. But essentially Muxtape is a massive dropbox for MP3s. On the other hand, I really do like Muxtape, and I don&#8217;t really want to be the one partly responsible for getting the site shut down.</p>
<p>Note that this isn&#8217;t a decision about legality (not for the legality of MuxMaster anyway) and I wasn&#8217;t coerced or threatened or anything like that. Justin just sent me an email saying he liked the app (and is cool with people making apps like this) but that the download feature endangers Muxtape. I agree, although I still don&#8217;t know whether I should feel obligated to remove the download feature.</p>
<p><strong>MuxMaster icon</strong><br />
<img id="image288" src="http://dougmccune.com/blog/wp-content/uploads/2008/04/muxmaster_128.png" alt="muxmaster_128.png" height="128" width="128" class="imageframe" align="right" />On a lighter note, <a href="http://scalenine.com/blog/">Juan Sanchez</a> whipped up a little icon for MuxMaster, which is now included in the latest version of the application. Pretty sweet huh? Thanks Juan!</p>
<p><br style="clear:both" /></p>
<p>You can still download MuxMaster (Lite) without the download functionality:<br />

<object type="application/x-shockwave-flash" width="217" height="180">
<param name="movie" value="http://dougmccune.com/muxmaster/badge.swf" />
<param name="base" value="imageurl=http://www.dougmccune.com/muxmaster/muxmaster.jpg&#038;appurl=http://www.dougmccune.com/muxmaster/muxmaster.air&#038;appname=MuxMaster" />
<param name="flashvars" value="imageurl=http://www.dougmccune.com/muxmaster/muxmaster.jpg&#038;appurl=http://www.dougmccune.com/muxmaster/muxmaster.air&#038;appname=MuxMaster" />
<embed src="http://dougmccune.com/muxmaster/badge.swf" type="application/x-shockwave-flash" width="217" height="180" base=",imageurl=http://www.dougmccune.com/muxmaster/muxmaster.jpg&#038;appurl=http://www.dougmccune.com/muxmaster/muxmaster.air&#038;appname=MuxMaster" flashvars="imageurl=http://www.dougmccune.com/muxmaster/muxmaster.jpg&#038;appurl=http://www.dougmccune.com/muxmaster/muxmaster.air&#038;appname=MuxMaster" >
</object>
<br />
If the above install link doesn&#8217;t work, do this:</p>
<ol>
<li>Make sure you have the <a href="http://get.adobe.com/air/">AIR runtime</a>, if you need to <a href="http://get.adobe.com/air/">download it</a> from Adobe</li>
<li>Download and run the <a href="http://www.dougmccune.com/muxmaster/muxmaster.air">MuxMaster installer</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://dougmccune.com/blog/2008/04/25/muxmaster-update-download-functionality-removed-and-a-new-icon/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Introducing MuxMaster - a kickass open-source Muxtape player/downloader built with Flex and AIR</title>
		<link>http://dougmccune.com/blog/2008/04/25/introducing-muxmaster-a-kickass-open-source-muxtape-playerdownloader-built-with-flex-and-air/</link>
		<comments>http://dougmccune.com/blog/2008/04/25/introducing-muxmaster-a-kickass-open-source-muxtape-playerdownloader-built-with-flex-and-air/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 17:35:14 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category>Flex</category>

		<category>flexlib</category>

		<category>AIR</category>

		<category>PaperVision 3D</category>

		<category>Muxtape</category>

		<guid isPermaLink="false">http://dougmccune.com/blog/2008/04/25/introducing-muxmaster-a-kickass-open-source-muxtape-playerdownloader-built-with-flex-and-air/</guid>
		<description><![CDATA[MuxMaster is an open-source desktop player to browse, play, and download Muxtape mixes. It is an AIR application that lets you stream music from Muxtape, explore different mixes to find new music, and even download tracks and entire playlists to your computer with a single click. 

UPDATE: After being contacted by the creator of Muxtape [...]]]></description>
			<content:encoded><![CDATA[<p>MuxMaster is an open-source desktop player to browse, play, and download <a href="http://muxtape.com">Muxtape</a> mixes. It is an AIR application that lets you stream music from Muxtape, explore different mixes to find new music, and even download tracks and entire playlists to your computer with a single click. </p>
<div style="border:1px solid red; background-color:#FFFFFF;">
<strong>UPDATE:</strong> After being contacted by the creator of Muxtape I have decided that it is in the best interest of the Muxtape service to remove the download functionality from MuxMaster. I was torn about this, but for now the downloading features are removed.
</div>
<p>
<object type="application/x-shockwave-flash" width="217" height="180">
<param name="movie" value="http://dougmccune.com/muxmaster/badge.swf" />
<param name="base" value="imageurl=http://www.dougmccune.com/muxmaster/muxmaster.jpg&#038;appurl=http://www.dougmccune.com/muxmaster/muxmaster.air&#038;appname=MuxMaster" />
<param name="flashvars" value="imageurl=http://www.dougmccune.com/muxmaster/muxmaster.jpg&#038;appurl=http://www.dougmccune.com/muxmaster/muxmaster.air&#038;appname=MuxMaster" />
<embed src="http://dougmccune.com/muxmaster/badge.swf" type="application/x-shockwave-flash" width="217" height="180" base=",imageurl=http://www.dougmccune.com/muxmaster/muxmaster.jpg&#038;appurl=http://www.dougmccune.com/muxmaster/muxmaster.air&#038;appname=MuxMaster" flashvars="imageurl=http://www.dougmccune.com/muxmaster/muxmaster.jpg&#038;appurl=http://www.dougmccune.com/muxmaster/muxmaster.air&#038;appname=MuxMaster" >
</object>
<br />
If the above install link doesn&#8217;t work, do this:</p>
<ol>
<li>Make sure you have the <a href="http://get.adobe.com/air/">AIR runtime</a>, if you need to <a href="http://get.adobe.com/air/">download it</a> from Adobe</li>
<li>Download and run the <a href="http://www.dougmccune.com/muxmaster/muxmaster.air">MuxMaster installer</a></li>
</ol>
<p>Here are a few screenshots:<br />
<img id="image281" src="http://dougmccune.com/blog/wp-content/uploads/2008/04/screenshot025.jpg" alt="screenshot025.jpg"  class="imageframe" /></p>
<p><img id="image282" src="http://dougmccune.com/blog/wp-content/uploads/2008/04/screenshot026.jpg" alt="screenshot026.jpg"  class="imageframe" /></p>
<p><img id="image284" src="http://dougmccune.com/blog/wp-content/uploads/2008/04/screenshot028.jpg" alt="screenshot028.jpg"  class="imageframe" /></p>
<p><strong>Why did I make this?</strong><br />
I like Muxtape. Like a lot of software/web guys, I saw the clean interface and the barren source code and was immediately impressed. I mean, the dude did a fantastic job. It was just so damn clean. </p>
<p>Then a few days ago people went ga-ga over<a href="http://internetjogging.com/2008/04/17/23/"> this video</a> of some dude showing muxtape mixes using the Coverflow visualization to browse through them. OK, so that&#8217;s cool, except it uses a Mac-only application called <a href="http://fluidapp.com/">Fluid</a> to basically add normal Mac desktop functionality to web apps. That shit <a href="http://digg.com/apple/Muxtape_With_Coverflow_Using_Fluid">got dugg</a> like 750 times. Now I&#8217;m not saying it&#8217;s not cool, cause it is. But I figured I could probably whip up a Flex application pretty quickly using the <a href="http://dougmccune.com/blog/2007/11/19/flex-coverflow-performance-improvement-flex-carousel-component-and-vertical-coverflow/">Coverflow component</a> I released before and get a real desktop application that anyone could download and use. Oh, and I thought it would be neat to add downloading functionality too.</p>
<p>So I threw MuxMaster together over the past 3 nights. I like to think of it as a testament to the badassness of Flex and the open-source Flex/Flash community. The fact that I can grab some open source stuff and throw this together in almost no time is pretty cool. </p>
<p><strong>What kind of an application is this?</strong><br />
MuxMaster is an <a href="http://www.adobe.com/products/air/">Adobe AIR</a> application, built with <a href="http://www.adobe.com/products/flex">Flex</a>. That means it&#8217;s a desktop application that can run on Windows, Mac, Linux, whatever. Click the &#8220;Install Now&#8221; link above to install the app. You might need to go and <a href="http://get.adobe.com/air/">download the AIR runtime</a> first. Hopefully it&#8217;ll tell you that and do everything automagically.</p>
<p><strong>The Muxtape API</strong><br />
Muxtape has no API. But the HTML code is so sleek and beautifully clean. Go look at the source code for the HTML pages on <a href="http://muxtape.com">muxtape.com</a>. It&#8217;s ridiculous how sparse it is. And of course it validates as valid XML. So what? Well, nice XHTML like that is just as good as the best XML API you can ask for. You want to get a listing of some random Muxtapes? Just load up the XHTML on the Muxtape home page and parse out the list of users. Using E4X you can get a list of users with this single expression: <code>body.div.div.ul.li.a</code>. It&#8217;s almost too easy. So then when you get a username you just load that user&#8217;s HTML page and you can easily parse the list of songs (<code>body.div.ul.li</code>) or related users (<code>body.div.div.div.ul.li.a</code>). There&#8217;s a little trickery involved to figure out exactly how to construct the URLs for the MP3s, but it&#8217;s pretty easy to figure out. After a little parsing you can get a list of MP3 URLs and the data about each song, like artist, track title, duration, etc.</p>
<p><strong>Downloading songs</strong></p>
<div style="border:1px solid red; background-color:#FFFFFF;">
<strong>UPDATE:</strong> After being contacted by the creator of Muxtape I have decided that it is in the best interest of the Muxtape service to remove the download functionality from MuxMaster. I was torn about this, but for now the downloading features are removed.
</div>
<p>The thing about Muxtape is that all the songs are just MP3s stored on Amazon S3. If you know the URL you can download the file. The main Muxtape player doesn&#8217;t expose this functionality, but if you take a look at the files that the web-based player is loading you can just copy/paste the URL and load it into a web browser to save the file. So I just made that a bit easier. MuxMaster has a Download link for each song underneath the song name. One click and the song will download in the background (you can specify where you want songs to download to). Additionally, each playlist also has a Download All link, so with a single click you can download all the songs in the playlist.</p>
<p><img id="image287" src="http://dougmccune.com/blog/wp-content/uploads/2008/04/screenshot032.jpg" alt="screenshot032.jpg" height="138" width="300" class="imageframe" /></p>
<p><img id="image283" src="http://dougmccune.com/blog/wp-content/uploads/2008/04/screenshot027.jpg" alt="screenshot027.jpg" height="325" width="533" class="imageframe" /></p>
<p><strong>Is this bad?</strong><br />
There&#8217;s a whole ethical dilemma that we can spend forever discussing. Is this application against everything that Muxtape stands for (clean, simple, bare-bones UI)? Is adding download functionality quickening the shutdown of the service? Is this effectively taking a step toward destroying the service that I actually really enjoy using? Yeah, the answer to all those might be yes. </p>
<p>Yes, the excessive use of 3D and especially the over-used Coverflow visualization are exactly opposite to the perfectly clean design concept of Muxtape. The truth is, I hate Coverflow. But people gravitate toward it and seem to love it, so I figured it&#8217;d be fun to whip something up and see the response. And it was just so damn easy.</p>
<p>And yes, being able to download an entire mix with a single click may very well be a horrible thing for Muxtape as a whole. I assume the service is already on the radar of the lawyer-crazy music execs, and if it&#8217;s not now I assume it will be if it gets big enough. But the technology underneath the service was just so simple (I mean, really? just let people throw a bunch of MP3s up on Amazon S3?) that someone would have shown how to download all those songs soon enough. So I&#8217;ll definitely feel bad if this app has a negative effect on Muxtape, but come on, it&#8217;s something I whipped up in a few days, someone was bound to do it.</p>
<p><strong>Source code</strong><br />
I&#8217;m releasing all the source code for the application. When you install the AIR application you can right click and select &#8220;View source&#8221; to see all the code. Or you can view the <a href="http://dougmccune.com/muxmaster/srcview/">source here</a>. It&#8217;s small (16 files, 898 total lines of code). And the code was influenced by the minimalist design of the Muxtap app itself, so I tried to keep things extremely tidy and clean.</p>
<p>I used a few open-source flex libraries. The most obvious one is the <a href="http://dougmccune.com/blog/2007/11/19/flex-coverflow-performance-improvement-flex-carousel-component-and-vertical-coverflow/">Coverflow Flex component</a> that I created and released on my blog. That&#8217;s licensed under the MIT license, so you can take that component and add this type of Coverflow visualization to your Flex apps. The Coverflow visualization uses the <a href="http://blog.papervision3d.org/">Papervision 3D</a> library, which is a 3D engine for Flash. It&#8217;s badass and free (MIT license). The other Flex library I used is <a href="http://flexlib.net">FlexLib</a>, which was used for the FlowBox container. That component can be seen when you download songs. It&#8217;s the container that lays out the little download rectangles. FlexLib is also licensed under the MIT license (is there a pattern forming?).</p>
<p>The source code for MuxMaster, like all code released on my blog, is also licensed under the MIT license, which you can <a href="http://dougmccune.com/blog/source-code-license/">read here</a>. Basically you can do whatever you want with the code.</p>
<p><strong>What&#8217;s next?</strong><br />
I don&#8217;t know if I&#8217;m going to do anything more with this application. The app does rely on the format of the HTML pages on Muxtape, so if the creator of Muxtape decides to try to break MuxMaster he probably can, and I&#8217;d have to update it to get it to work again. I might do updates like that to keep it working. If people have feature request I&#8217;d love to hear them, but I&#8217;d encourage other developers to take my source code and add the stuff that they want. If you have feedback shoot me a message using my <a href="http://dougmccune.com/blog/contact/">contact form</a> or leave comments here. I don&#8217;t have any big plans, this was fun to make.</p>
<p><strong>Legal nonsense</strong><br />
This application doesn&#8217;t contain any music files whatsoever. I am not storing any music files on my server or any server that I am associated with. I am not providing a list of any music files stored anywhere on the Internet. I don&#8217;t have any information about how to find music files stored in any database or anywhere in the entire galaxy. If you&#8217;re a lawyer looking to scratch that soul-destroying litigious itch that you have, I&#8217;m the wrong guy to talk to.
</p>
]]></content:encoded>
			<wfw:commentRss>http://dougmccune.com/blog/2008/04/25/introducing-muxmaster-a-kickass-open-source-muxtape-playerdownloader-built-with-flex-and-air/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gmail blocks messages to Yahoo mailing lists? (flexcoders)</title>
		<link>http://dougmccune.com/blog/2008/04/13/gmail-blocks-messages-to-yahoo-mailing-lists-flexcoders/</link>
		<comments>http://dougmccune.com/blog/2008/04/13/gmail-blocks-messages-to-yahoo-mailing-lists-flexcoders/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 04:56:56 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category>Google</category>

		<category>flexcoders</category>

		<guid isPermaLink="false">http://dougmccune.com/blog/2008/04/13/gmail-blocks-messages-to-yahoo-mailing-lists-flexcoders/</guid>
		<description><![CDATA[OK, so get this. I just tried to reply to someone&#8217;s question on the flexcoders mailing list. I hit send and instantly I get a reply (instantly as in a few milliseconds). The reply is from Google telling me they have blocked my message from being sent to the mailing list. Here&#8217;s the message I [...]]]></description>
			<content:encoded><![CDATA[<p>OK, so get this. I just tried to reply to someone&#8217;s question on the <a href="http://tech.groups.yahoo.com/group/flexcoders/">flexcoders mailing list</a>. I hit send and instantly I get a reply (instantly as in a few milliseconds). The reply is from Google telling me they have blocked my message from being sent to the mailing list. Here&#8217;s the message I got:<br />
<img id="image274" src="http://dougmccune.com/blog/wp-content/uploads/2008/04/screenshot022.jpg" alt="screenshot022.jpg" height="164" width="610" class="imageframe" /><br />
So I think, WTF? And then I click on the link they gave me to explain why the hell the blocked my message. I get to <a href="http://mail.google.com/support/bin/answer.py?answer=69585">this page</a> and it tells me this:</p>
<blockquote><p>Here at Gmail, we work very hard to fight spam. This includes not only spam coming into Gmail but spam being sent out from Gmail as well. Believe it or not, spammers sign up for Gmail addresses in large numbers just to send out spam! To help do our part to keep this junk off of the internet, we bounce mail that we are confident is spam. Unfortunately, we aren&#8217;t perfect and will occasionally bounce legitimate mail. We apologize for the inconvenience.</p></blockquote>
<p>Umm, ok, I guess. That&#8217;s pretty lame that I&#8217;ve been a fairly regular emailer to what is very clearly a Yahoo mailing list for the past few years, and now Google decides I&#8217;m acting like a spam bot when I try to send this message. But then I laughed out loud in the kind of &#8220;fuck you&#8221; way that I do sometimes when I read this:</p>
<blockquote><p>Depending on your needs, there are a number of different ways to reliably send bulk mail that avoid the pitfalls of doing it manually with Gmail. You may be interested to try Google Groups for newsletters/mailing lists or Calendar for sending invitations to events.</p></blockquote>
<p>So Google blocks my valid email to the flexcoders mailing list (a Yahoo group list) and then recommends I try using Google groups mailing list. You&#8217;re telling me that if I had been sending to a @googlegroups.com email address instead of a @yahoogroups.com email address then it would have gone through?
</p>
]]></content:encoded>
			<wfw:commentRss>http://dougmccune.com/blog/2008/04/13/gmail-blocks-messages-to-yahoo-mailing-lists-flexcoders/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Simple Flex Motion Detection example</title>
		<link>http://dougmccune.com/blog/2008/04/03/simple-flex-motion-detection-example/</link>
		<comments>http://dougmccune.com/blog/2008/04/03/simple-flex-motion-detection-example/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 05:12:31 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category>Flex</category>

		<guid isPermaLink="false">http://dougmccune.com/blog/2008/04/03/simple-flex-motion-detection-example/</guid>
		<description><![CDATA[Here&#8217;s a simple motion detection utility that you can use to do motion detection on a webcam, or video, or any other component in your Flex application. It uses a bitmap technique to compare image snapshots and calculate the number of pixels that were changed between snapshots. This gives you a percentage of the total [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a simple motion detection utility that you can use to do motion detection on a webcam, or video, or any other component in your Flex application. It uses a bitmap technique to compare image snapshots and calculate the number of pixels that were changed between snapshots. This gives you a percentage of the total pixels that were changed, which is a crude way to figure out motion. Basically what you do is draw one frame onto the previous frame using the &#8220;difference&#8221; blend mode. Then you threshold the image and you can figure out the number of pixels that had any change.</p>
<p>The example below uses the motion detector and ties it to a webcam. You&#8217;ll have to allow the app to access your webcam to see it in action. If the motion in the webcam exceeds a certain amount (20%), then it takes a snapshot and sends it to the CIA (ok, ok, it doesn&#8217;t really do that, it doesn&#8217;t send the snapshot anywhere). </p>
<p>
<object type="application/x-shockwave-flash" width="350" height="450">
<param name="movie" value="http://dougmccune.com/flex/motion/MotionDetectionExample.swf" />
<param name="base" value="http://dougmccune.com/flex/monkeypatchevents/simple/" />
<param name="flashvars" value="http://dougmccune.com/flex/monkeypatchevents/simple/" />
<embed src="http://dougmccune.com/flex/motion/MotionDetectionExample.swf" type="application/x-shockwave-flash" width="350" height="450" base=",http://dougmccune.com/flex/monkeypatchevents/simple/" flashvars="http://dougmccune.com/flex/monkeypatchevents/simple/" >
</object>
</p>
<p><a href="http://dougmccune.com/flex/motion/srcview/index.html">View source</a></p>
<p>Someone emailed me recently asking about this code, since it was shown in a <a href="http://dougmccune.com/blog/2007/07/23/tileui-desktop-demo-video/">previous video I created</a> when I was working on TileUI a while back. This is the first in a series of chunks of code that I&#8217;m thinking about taking from that project and releasing open source. No, I don&#8217;t think I&#8217;ll be releasing all of TileUI, but just some of the components within it (like the radial menu component maybe).</p>
<div style="border:1px solid silver; padding:5px"><strong>UPDATE:</strong> As various people have pointed out, there is built in motion detection in the Camera class, so if you want to detect motion in a webcam feed all you have to do is monitor the <strong><code>activityLevel</code></strong> property of the Camera. I guess I should&#8217;ve known that before posting <img src='http://dougmccune.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  oh well. This motion detector example is still useful if you&#8217;re trying to detect motion in anything other than a webcam feed though, such as another video playing in your app, or any other UI component that has visible changes.</div>
<p>P.S. I&#8217;ve been very quiet on the blogging front. This is because I&#8217;ve been super crazy mega busy between my job and writing <a href="http://www.wiley.com/WileyCDA/WileyTitle/productCd-0470277920.html">Flex for Dummies</a>, which is available for <a href="http://www.amazon.com/Adobe-Flex-Dummies-Computer-Tech/dp/0470277920">pre-order on Amazon</a>. I expect to get back to blogging much more sometime after May 13 (after I sleep for a week).
</p>
]]></content:encoded>
			<wfw:commentRss>http://dougmccune.com/blog/2008/04/03/simple-flex-motion-detection-example/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Get your SlideRocket invite</title>
		<link>http://dougmccune.com/blog/2008/03/19/get-your-sliderocket-invite/</link>
		<comments>http://dougmccune.com/blog/2008/03/19/get-your-sliderocket-invite/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 18:58:37 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category>Flex</category>

		<category>SlideRocket</category>

		<guid isPermaLink="false">http://dougmccune.com/blog/2008/03/19/get-your-sliderocket-invite/</guid>
		<description><![CDATA[UPDATE: all the invites got used up quickly, sorry if you missed them. If I have any more SlideRocket invites in the future I&#8217;ll post about them. You can still enter your email address and the SlideRocket team will let you know when they let more people into the beta.

I&#8217;ve got 20 SlideRocket invites to [...]]]></description>
			<content:encoded><![CDATA[<div style="border:1px solid red; background-color:#efefef; padding:5px;"><strong>UPDATE:</strong> all the invites got used up quickly, sorry if you missed them. If I have any more SlideRocket invites in the future I&#8217;ll post about them. You can still enter your email address and the SlideRocket team will let you know when they let more people into the beta.
</div>
<p><a id="p270" rel="attachment" class="imagelink" href="http://dougmccune.com/blog/2008/03/19/get-your-sliderocket-invite/sliderocket/" title="SlideRocket"><img id="image270" src="http://dougmccune.com/blog/wp-content/uploads/2008/03/sliderocket-logo-on-white.jpg" alt="SlideRocket" height="38" width="200" class="imageframe" align="right" style="margin-left:10px; margin-bottom:10px; border:1px solid silver" /></a>I&#8217;ve got 20 <a href="http://sliderocket.com">SlideRocket</a> invites to give out. Yup, a whopping 20. Hell, after getting <a href="http://www.techcrunch.com/2008/03/19/sliderocket-presentation-web-app-enters-private-beta-get-your-invite-here-2/">featured on TechCrunch today</a> I figure these 20 are a hot commodity. To get an invite check out the presentation below (which uses SlideRocket of course).</p>
<p><embed src="http://data.sliderocket.com/SlideRocketPlayer.swf" flashvars="id=1AA7DF10-E6F1-1D89-E200-C4664B9E0496" width="400" height="300" allowFullScreen="true" type="application/x-shockwave-flash" /></p>
<p>The 20 invites are on a first come first served basis, so once they get used up they get used up. I don&#8217;t have any more so don&#8217;t email <img src='http://dougmccune.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Again, to get the invite URL you have to interact with the embedded presentation above.</p>
<p>I figure TechCrunch got 500 to give out, <a href="http://blogs.zdnet.com/Stewart/?p=793">Ryan Stewart got 100</a>, so that makes me about 4% as cool as Arrington and 20% as cool as Ryan. Hell, that&#8217;s good enough for me.</p>
<p>If you haven&#8217;t heard about <a href="http://sliderocket.com">SlideRocket</a>, it&#8217;s the most badass online presentation tool in existence. Congrats to Mitch and the SlideRocket team on getting funded and the great press.
</p>
]]></content:encoded>
			<wfw:commentRss>http://dougmccune.com/blog/2008/03/19/get-your-sliderocket-invite/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My 360&#124;Flex Survey Results - did I offend you?</title>
		<link>http://dougmccune.com/blog/2008/03/08/my-360flex-survey-results-did-i-offend-you/</link>
		<comments>http://dougmccune.com/blog/2008/03/08/my-360flex-survey-results-did-i-offend-you/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 08:32:08 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category>Uncategorized</category>

		<category>360Flex</category>

		<guid isPermaLink="false">http://dougmccune.com/blog/2008/03/08/my-360flex-survey-results-did-i-offend-you/</guid>
		<description><![CDATA[So a bunch of people have been posting the results of the surveys from their 360&#124;Flex sessions. I&#8217;ve wavered on this a tiny bit, I&#8217;m just a little embarrassed, both because of the positive feedback (*blushes*), but also because I offended some people in the session. So off the bat I want to say to [...]]]></description>
			<content:encoded><![CDATA[<p>So a <a href="http://www.infoaccelerator.net/index.cfm?event=showEntry&#038;entryId=7F51C2F8-FF30-C9A3-ADDC999ED2CB4F03">bunch</a> of <a href="http://adamflater.blogspot.com/2008/03/360flex-atlanta-survey-results.html">people</a> have been <a href="http://www.jeffryhouser.com/index.cfm/2008/3/6/Reviewing-My-360Flex-Survey-Results">posting</a> the <a href="http://www.returnundefined.com/2008/03/feedback-from-my-session-at-360flex-atlanta">results</a> of the surveys from their <a href="http://360flex.org">360|Flex</a> sessions. I&#8217;ve wavered on this a tiny bit, I&#8217;m just a little embarrassed, both because of the positive feedback (*blushes*), but also because I offended some people in the session. So off the bat I want to say to anyone who was actually offended by anything said in my session: I&#8217;m sorry. I gave the session the way I talk in normal life, and in normal life I guess I have a dirty mouth.</p>
<p>Here are the <a href="http://www.360conferences.com/surveyresponses/?attendeeID=1937622">full survey results</a> from my session.<br />
If you weren&#8217;t at 360Flex, check out the <a href="http://dougmccune.com/blog/2008/02/26/examples-from-my-360flex-session-using-open-source-community-projects/">stuff I presented</a>.</p>
<p><strong>The good stuff</strong><br />
Overall the comments were very positive. There were 45 responses, with an overall average rating of 4.5 (which I&#8217;m hoping is out of 5, not 10 <img src='http://dougmccune.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ). 80% of people said that the session was what they expected, 80% said the slides were useful and 80% said the session was informative. So here are some of the positive responses (aww, shucks&#8230;).</p>
<blockquote><p>The speaker had a good outline and followed it well, while also allowing community/group input.</p>
<p>Doug was AWESOME and funny. Loved it!</p>
<p>In typical fashion, Doug had a great presentation with a lot of good information. Doug is an inspiration to the whole community.</p>
<p>Doug brought to light components that we all can make use of in our apps - and some that are just fun. Very helpful.
</p></blockquote>
<p><strong>The bad(ish) stuff</strong><br />
These are the only negative comments I received. The first one is about the discussion near the end feeling unorganized. I understand that sentiment, I felt rushed near the end when I was running out of time a bit. I love having good discussions with the audience, but I probably should have left more time devoted to that, and maybe even planned for that in my outline to make sure I had plenty of time to wrap up in a more organized way. The other three comments here are about my language. The last one&#8217;s not really that negative a comment, but the middle two sound like the writers were fairly offended.</p>
<blockquote><p>The presentation could have been a bit more structured, as it felt like the discussion veered away from original intentions near the end of the presentation.</p>
<p>It caught me off guard how much the speaker cursed.</p>
<p>I don&#8217;t know what to say. It&#8217;s probably not a good idea to try to see how the sign language interpreters do cursed signs. That would make the deaf person uncomfortable.</p>
<p>This session was great for information and mentality about developing in the flex world. Doug is a little <img src='http://dougmccune.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  unprofessional as a developer it doesn&#8217;t bother me that much and I would definitely hear him present again because I respect his knowledge and talents but the language is a little distracting.</p></blockquote>
<p><strong>The funny comments</strong><br />
And then a lot of the comments were pretty funny. I&#8217;ve cherry picked a few choice ones here for your amusement.</p>
<blockquote><p>I appreciate his frank, unexcessively vulgar language</p>
<p>jiggly moving fun</p>
<p>Always a great time. Never seen so many curse words done in sign, damn funny.</p>
<p>Fucking-A</p>
<p>Okay, I am just chiming in that I really wanted to go to Doug McCune&#8217;s seminar but knowing that I lack experience with OOP and want to develop that further I went to that one instead. Can&#8217;t we put Doug McCune against sucky, uninteresting topics instead. *lol*</p>
<p>It&#8217;s &#8220;fucking&#8221; Doug McCune</p></blockquote>
<p><strong>The language issue</strong><br />
So let&#8217;s get this out in the open: I say fuck and shit a lot. Sometimes this <a href="http://dougmccune.com/blog/2008/01/12/calling-bullshit-on-a-resolved-flex-bug/">comes through</a> on my blog, but even more so when I actually speak. Given the session feedback I think a lot of people find my use of language refreshing and funny (what am I? a clown?). I like to think my presentations are informal, we all just get to hang out and talk about cool stuff, so since it&#8217;s just like chilling with friends I don&#8217;t censor my language. A lot of the comments in the feedback referenced my use of language in a positive way and said how &#8220;fun&#8221; and &#8220;hilarious&#8221; the session was. I like to think we had a good time and it wasn&#8217;t dry or boring.</p>
<p>That said, there were obviously a few people at least who were offended and uncomfortable. So in the future I may tone it down a bit, I certainly don&#8217;t want people walking out of my presentations upset. I&#8217;m sincere when I say I apologize if you were offended.</p>
<p>Maybe next time I&#8217;ll start by showing a clip of Goodfellas or Casino at the beginning, then whatever I say will be tame in comparison. Or maybe I should wear one of these on my chest:</p>
<p><img id="image267" src="http://dougmccune.com/blog/wp-content/uploads/2008/03/screenshot021.jpg" alt="screenshot021.jpg" height="142" width="200" class="imageframe" /></p>
<p>At my next session I&#8217;ll be checking IDs at the door. If you&#8217;re under 17 you have to be accompanied by a parent or guardian.</p>
<p>So thanks to everyone who came to my session! And super double thanks to the 45 of you who gave feedback, it makes me feel all warm and fuzzy inside (well, most of it anyway).</p>
<p>P.S. To Andrew: yeah, your comment got to me <img src='http://dougmccune.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Sorry I posted the survey results with your name still in there, if you got a problem with that <a   rel="nofollow" id="emailShroud1" stoDom="dougmccune.com" stoUser="doug" href="http://www.somethinkodd.com/emailshroud/emailaddress.php?domainName=dougmccune.com&amp;userName=doug&amp;ver=2.0.0" >send me an email</a> (or better yet send Tom and John and email).
</p>
]]></content:encoded>
			<wfw:commentRss>http://dougmccune.com/blog/2008/03/08/my-360flex-survey-results-did-i-offend-you/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Where are the dope Silverlight demos?</title>
		<link>http://dougmccune.com/blog/2008/03/02/where-are-the-dope-silverlight-demos/</link>
		<comments>http://dougmccune.com/blog/2008/03/02/where-are-the-dope-silverlight-demos/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 02:35:11 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category>Silverlight</category>

		<category>WPF</category>

		<category>Microsoft</category>

		<guid isPermaLink="false">http://dougmccune.com/blog/2008/03/02/where-are-the-dope-silverlight-demos/</guid>
		<description><![CDATA[There&#8217;s a lot of buzz about Silverlight 2.0 right now, and people are expecting some big announcements at MIX soon. But where the hell are the cool Silverlight demos? Offline support would bring Silverlight closer to competition with AIR, and it&#8217;s looking like SL 2.0 is going to be an actual competitor with Flex now [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a lot of buzz about <a href="http://silverlight.net/">Silverlight 2.0</a> right now, and people are expecting some big announcements at MIX soon. But where the hell are the cool Silverlight demos? <a href="http://www.techcrunch.com/2008/03/01/microsoft-office-online-and-attacking-the-innovators-dilemma/">Offline support</a> would bring Silverlight <a href="http://blogs.zdnet.com/Stewart/?p=769">closer to competition with AIR</a>, and it&#8217;s looking like SL 2.0 is going to be an actual competitor with Flex now that it&#8217;s going to have a framework of controls (SL 1.0 wasn&#8217;t even close to a Flex competitor, it was more a Flash Player competitor). All that sounds sweet, almost makes me want to download Expression Blend and try it all out, but again, where&#8217;s the cool stuff?</p>
<p>I figured the first place I&#8217;d look for the kick ass Silverlight demos would be the <a href="http://silverlight.net">silverlight.net</a> showcase page by Microsoft. I mean, there HAS to be sweet stuff shown there right? Um, not so much. I checked out each of the demos on the main<a href="http://silverlight.net"> silverlight.net</a> page and here&#8217;s what I found:</p>
<ul>
<li><a class="imagelink" href="http://labs.infragistics.com/silverlight/" title="screenshot013.jpg"><img id="image258" src="http://dougmccune.com/blog/wp-content/uploads/2008/03/screenshot013.thumbnail.jpg" alt="screenshot013.jpg" height="81" width="150" class="imageframe" align="right" style="margin-left:10px; margin-bottom:10px;" /></a><a href="http://labs.infragistics.com/silverlight/">Infragistics Silverlight demos</a><br />
This site has a few screenshots of some charting stuff in Silverlight. The charts look pretty good in fact (heh, at this point anything that doesn&#8217;t look like the default Flex charts feels &#8220;fresh&#8221;). But the Infragistics demo site itself (which is a Silverlight app) is slow as balls and doesn&#8217;t impress me at all. It feels clunky, the animations are rough, and is just kinda boring.</li>
<li><a class="imagelink" href="https://partner.microsoft.com/us/40052889"><img id="image259" src="http://dougmccune.com/blog/wp-content/uploads/2008/03/screenshot018.thumbnail.jpg" alt="screenshot018.jpg" height="107" width="150" class="imageframe" align="right"  style="margin-left:10px; margin-bottom:10px;" /></a><a href="https://partner.microsoft.com/us/40052889">Silverlight book flip effect</a><br />
On the Microsoft Action Pack (wtf is that?) product page they use Silverlight for that amazing book flip effect. I won&#8217;t rail on this too hard, but suffice it so say I think the book flipping thing is an awful idea 99.99% of the time (that .01% of the time it was actually useful was the <a href="http://demo.quietlyscheming.com/book/Anatomy.html">anatomy example</a> Ely Greenfield did, that was the <strong>only</strong> time I&#8217;ve ever thought book flipping was useful). The Silverlight flip effect was super slow (like in the unusable way).</li>
<li><a class="imagelink" href="http://www.microsoft.com/italy/dynamics/crm/lancio.aspx" title="screenshot014.jpg"><img id="image260" src="http://dougmccune.com/blog/wp-content/uploads/2008/03/screenshot014.thumbnail.jpg" alt="screenshot014.jpg" height="109" width="150" class="imageframe" align="right" style="margin-left:10px; margin-bottom:10px;"/></a><a href="http://www.microsoft.com/italy/dynamics/crm/lancio.aspx">Microsoft Dynamics</a><br />
I <em>think</em> the only use of Silverlight on this page is for a non-interactive animation. Consider me unimpressed. But maybe I&#8217;m missing something since the site&#8217;s in Italian. Does this Silverlight demo do more than simply play a short video?<br style="clear:both"/></li>
<li><a class="imagelink" href="http://www.sanremoanchenoi.com/" title="screenshot015.jpg"><img id="image262" src="http://dougmccune.com/blog/wp-content/uploads/2008/03/screenshot015.thumbnail.jpg" alt="screenshot015.jpg" height="95" width="150" class="imageframe" align="right" style="margin-left:10px; margin-bottom:10px;" /></a><a href="http://www.sanremoanchenoi.com/">Sanremo Anche Noi</a><br />
This app&#8217;s actually pretty sweet, it&#8217;s a well designed video showcase. It&#8217;s simple, basically just lets you browse various videos, but does a good job at showing good quality video is designed well. There&#8217;s nothing jaw dropping here, but it&#8217;s a solid, well designed experience.</li>
<li><a class="imagelink" href="http://www.zebrakho.com/silverlight/" title="screenshot016.jpg"><img id="image263" src="http://dougmccune.com/blog/wp-content/uploads/2008/03/screenshot016.thumbnail.jpg" alt="screenshot016.jpg" height="95" width="150" class="imageframe" align="right" style="margin-left:10px; margin-bottom:10px;" /></a><a href="http://www.zebrakho.com/silverlight/">Zebrakho</a><br />
This is a store that sells animal skins and heads and stuff. And as much as I want a big animal head mounted on my wall&#8230; But seriously, the site uses Silverlight for a few small animated effects, but it comes off feeling like an old, poorly made Flash site, complete with that scrolling news-ticker thingy to show product specials. </li>
<li><a class="imagelink" href="http://vodatv.de/ScriptSharp/NunetRia.aspx" title="screenshot017.jpg"><img id="image261" src="http://dougmccune.com/blog/wp-content/uploads/2008/03/screenshot017.thumbnail.jpg" alt="screenshot017.jpg" height="109" width="150" class="imageframe" align="right" style="margin-left:10px; margin-bottom:10px;"/></a><a href="http://vodatv.de/ScriptSharp/NunetRia.aspx">Vodafone Interactive TV</a><br />
Another video site, complete with a skip intro movie! Ahh, back to the good old days. Seriously guys, if you want to do the whole &#8220;better than Flash&#8221; thing then don&#8217;t take us back to the skip intro era. The site itself is pretty simple, again just showing off a bunch of videos.</li>
</ul>
<p><br style="clear:both" /></p>
<p>Yes, I am aware of the <a href="http://silverlight.net/showcase/">Silverlight showcase</a>, and I&#8217;ve been browsing through a little bit, but it&#8217;s hard for me to wade through so many apps in order to find that one amazing example that blows me away (yet to be found). I did find this example though, which was cooler than the ones on the front Silverlight showcase page.</p>
<ul>
<li><a class="imagelink" href="http://galilee.microsoft.fr/TechDays2008/SL/techdays-2008-silverlight.aspx" title="screenshot019.jpg"><img id="image264" src="http://dougmccune.com/blog/wp-content/uploads/2008/03/screenshot019.thumbnail.jpg" alt="screenshot019.jpg" height="121" width="150" class="imageframe" align="right" style="margin-left:10px; margin-bottom:10px;" /></a><a href="http://galilee.microsoft.fr/TechDays2008/SL/techdays-2008-silverlight.aspx">Microsoft TechDays</a><br />
This is a pretty cool design that lets you drag around polaroid looking photos that play video. Cool concept, except it runs pretty slow on my machine, which destroys the smooth dragging and resizing effects. I can almost guarantee I could make the same concept that would feel smoother and slicker as a Flex app.</li>
</ul>
<p><br style="clear:both;" /></p>
<p><a class="imagelink" href="http://www.microsoft.com/beta/downloads/Default.aspx" title="screenshot011.jpg"><img id="image265" src="http://dougmccune.com/blog/wp-content/uploads/2008/03/screenshot011.thumbnail.jpg" alt="screenshot011.jpg" height="85" width="150" class="imageframe" align="right" style="margin-left:10px; margin-bottom:10px;" /></a>I also tried the <a href="http://www.microsoft.com/beta/downloads/Default.aspx">Microsoft download center</a>, since I had seen some people <a href="http://www.flex888.com/2008/03/02/microsoft-is-serious-about-silverlight.html">blogging about</a> that Silverlight app. My overall impression? It feels like an Ajax app. The animations are limited to the simplest of dropdowns and even those feel slow and choppy (click on the &#8220;Browse Downloads&#8221; button). I don&#8217;t see anything I haven&#8217;t seen with JavaScript stuff, and the overall site just <strong>feels</strong> like DHTML, even if it&#8217;s not.</p>
<p><strong>This all feels like old, bad Flash</strong><br />
I feel like I&#8217;m in a time warp. These example apps all feel like old Flash sites to me. They feel clunky and slow (is that because I&#8217;m on a Mac?). They even have design elements that people used to use but have since been demonized and cast aside (skip intro, news ticker). </p>
<p><strong>Show me something I can&#8217;t do</strong><br />
I have yet to see a single thing that I can&#8217;t do with Flash/Flex. Now I&#8217;m not saying that Silverlight is worthless unless it has sweet features above and beyond what Flex (or Flash Player) can do. Having a competitor is a good thing, it&#8217;ll keep Adobe on its toes (H.264 anyone?) and drive innovation. But for all the hub-bub about how Silverlight is going to be awesome, I have yet to see anything awesome being created. It all feels slow, clunky, and poorly designed (that last part isn&#8217;t Microsoft&#8217;s fault obviously). I just want one thing that makes me sit back and say &#8220;Holy shit! THAT&#8217;S what you can do with Silverlight?&#8221; Just give me that, throw me a bone.</p>
<p>I had that moment when I saw <a href="http://blog.pixelingene.com">Pavan Podila</a>&#8217;s WPF example of <a href="http://blog.pixelingene.com/?p=20">doing 3D layouts with WPF</a>. That blew me away (he made it back in  June) and I realized that WPF ain&#8217;t nothing to fuck with. If you get 3D out of the box and can create such fluid layouts, I may just have to start learning WPF. Granted, you can do very similar things with Flash, but Pavan&#8217;s videos are just so damn smooth and responsive. BTW, Pavan&#8217;s a really cool guy, I met him at 360Flex just recently, and he&#8217;s one of the few guys I know who rocks both WPF and Flex. We&#8217;re lucky to have him on the Flex side (Pavan&#8217;s on the <a href="http://degrafa.com">Degrafa</a> team) because not only is he a smart ass dude, but he has a whole different perspective because he knows how they do things in WPF. For those that haven&#8217;t seen, here&#8217;s a video that Pavan made to show off 3D layouts in WPF:</p>
<div style="text-align:center">
<object width="425" height="355">
<param name="movie" value="http://www.youtube.com/v/apXB_WXmzm4&#038;rel=1&#038;border=0"></param>
<param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/apXB_WXmzm4&#038;rel=1&#038;border=0" type="application/x-shockwave-flash" wmode="transparent"width="425" height="355"></embed></object>
</div>
<p>So I know most of the people who read this blog are Flex devs, and that the crossover is pretty slim, but in case anyone knows of the dopest, most jaw dropping Silverlight demo they&#8217;ve ever seen that would make me mess my pants, <a   rel="nofollow" id="emailShroud3" stoDom="dougmccune.com" stoUser="doug" href="http://www.somethinkodd.com/emailshroud/emailaddress.php?domainName=dougmccune.com&amp;userName=doug&amp;ver=2.0.0" >send me an email</a>. I don&#8217;t necessarily mean an actual application, I just want to see something cool. Maybe there&#8217;s some sweet stuff hidden away on blogs (I know there are tons of cool Flex demos on people&#8217;s blogs). Bonus points if you have something that does cool data visualizations stuff. And yeah, I&#8217;ve seen the <a href="http://www.tafiti.com/">tafiti</a> demo, don&#8217;t send me that one. And super double bonus points if the app wasn&#8217;t made or funded by Microsoft.
</p>
]]></content:encoded>
			<wfw:commentRss>http://dougmccune.com/blog/2008/03/02/where-are-the-dope-silverlight-demos/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My 360&#124;Flex Writeup</title>
		<link>http://dougmccune.com/blog/2008/03/01/my-360flex-writeup/</link>
		<comments>http://dougmccune.com/blog/2008/03/01/my-360flex-writeup/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 21:28:06 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category>Flex</category>

		<category>360Flex</category>

		<guid isPermaLink="false">http://dougmccune.com/blog/2008/03/01/my-360flex-writeup/</guid>
		<description><![CDATA[360&#124;Flex wrapped up on Wednesday and I wanted to do a quick writeup of my overall thoughts about the conference. First off, I think this was the best Flex conference ever put on. That&#8217;s a bold statement because I haven&#8217;t been to some of the other Flex conferences, but I&#8217;m fairly confident it&#8217;s true. I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://dougmccune.com/atl_bling_100.png" alt="360Flex ATL" align="right" style="margin-left:10px; margin-bottom:10px" /><a href="http://360flex.org">360|Flex</a> wrapped up on Wednesday and I wanted to do a quick writeup of my overall thoughts about the conference. First off, I think this was the best Flex conference ever put on. That&#8217;s a bold statement because I haven&#8217;t been to some of the other Flex conferences, but I&#8217;m fairly confident it&#8217;s true. I&#8217;ve attended the previous two 360|Flex events and each time the conference just gets better and better.</p>
<p><strong>The speakers are getting damn good</strong><br />
The Flex speaker roster has matured a bit, this conference marked the third 360 event that some of the speakers have done (this was only my second conference as a speaker). I think you can see very visible improvement in both the content and presentation skills of the speakers. There were two sessions I&#8217;m kicking myself for missing: <a href="http://office.realeyesmedia.com/blogs/jun/?p=100">Jun Heider&#8217;s presentation</a> about memory management, and <a href="http://blogs.digitalprimates.net/codeSlinger/index.cfm/2008/2/27/Dense-and-Hot--360-Flex-Atlanta">Michael Labriola&#8217;s presentation</a> on what happens during the first few milliseconds of your application startup. Both speakers have posted their slides and material. Hearing the buzz around the conference, it sounded like those two presentations were two of the absolute highlights.</p>
<p>Here&#8217;s my theory on why those presentations were so good:</p>
<ol>
<li>The speakers are maturing in terms of Flex expertise and speaking skills. Both Michael and Jun spoke at previous events (previous 360|Flex and also MAX). It takes a while for speakers to find their groove, and I think with a lot of the Flex speaker roster we&#8217;re seeing that people are now at the point where they are confident, badass speakers.</li>
<li>The content is crazy technical and the audience is ready. Previous Flex conferences have been dumbed down in terms of the advanced sessions. 360|Flex Seattle was more technical than the first one in San Jose, but it still didn&#8217;t meet the needs of the advanced Flex users out there. This was a tough line to walk, though, because if you did an uber-technical preso you probably would have had about 10 people in the room and only 5 would have understood what you were saying. Jun and Michael&#8217;s sessions were way more technical than anything presented at previous 360 conferences. And the audience was able to get it. That says a lot in terms of how much better everyone is getting. I think both of those sessions would have probably bombed at the first 360|Flex back a year ago (god, was that really only a year ago?). </li>
</ol>
<p><strong>Reflection on my sessions</strong></p>
<div style="float:right; margin-left:10px; text-align:center">
<a class="imagelink" href="http://flickr.com/photos/24158673@N05/2294437393/" ><img id="image256" src="http://dougmccune.com/blog/wp-content/uploads/2008/03/screenshot010.jpg" alt="screenshot010.jpg" height="95" width="150" class="imageframe" /><br />
(Photo by John Mason)</a></div>
<p>I had a really good time presenting at this conference. I apologize if I offended any of the sign language translators <img src='http://dougmccune.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (if you weren&#8217;t there let&#8217;s just say I had fun getting them to translate certain phrases). My main presentation was on using open source community projects and I&#8217;ve posted all the <a href="http://dougmccune.com/blog/2008/02/26/examples-from-my-360flex-session-using-open-source-community-projects/">slides and sample code</a>. I thought this session was fun, although I think I crammed a lot of stuff into the 80 minutes and didn&#8217;t have as much time as I would have liked for the kind of organic discussion that I find so fun. When I originally told Tom and John the idea for my session they suggested doing an all-day hand-on session on the topic. If I wasn&#8217;t so lazy I actually think this would be a really good all-day type of thing. Maybe in the future we can get enough speakers to tag team it, so nobody has to spend the whole day presenting. </p>
<p>The second session that I did, which was unplanned, was a session on building your personal brand. <a href="http://scalenine.com/blog/">Juan Sanchez</a> and I teamed up for this session and talked about our different approaches on branding and marketing yourself. This session was in place of <a href="http://jessewarden.com/2008/02/speaking-at-360flex-making-bling-with-flex.html#comments">Jesse Warden&#8217;s originally planned session</a> that was on a similar topic (although Jesse planned on covering a lot more content about the business side of things). BTW, if you attended 360, Jesse&#8217;s original presentation PDF is on the USB stick, check it out in all of its 215-slide glory. As for me, I had about <a href="http://dougmccune.com/360Flex_ATL/360Flex_DougMcCune-Brand_Building.pdf">8 slides I whipped up</a> 20 minutes before the presentation. This session was a pretty awesome discussion, most of the people in the room contributed and talked about their experiences. <a href="http://www.jeffryhouser.com/">Jeff Houser</a> was there and talked about brand building from the perspective of a business-owner (ie not a crazy egocentric nutjob developer like myself). I think the topic of branding is hugely important, and I&#8217;d like to see this kind of content presented much more at these kinds of conferences.</p>
<p><strong>I want videos again</strong><br />
This year the presentations at 360 weren&#8217;t recorded, and I&#8217;m really wishing they were so I could watch Jun&#8217;s, Michael&#8217;s, and a bunch of other sessions. Last year I didn&#8217;t watch the videos of anyone else&#8217;s sessions, primarily because the technical level of the content wasn&#8217;t quite there. Now I&#8217;m pissed because I know there&#8217;s some seriously good information in these presentations that I missed (and reading through the slides isn&#8217;t nearly the same). I vote for recording this stuff again, even if next time that means we each do it ghetto style and and just stick a crappy camera in the corner of the room.</p>
<p><strong>I love you guys</strong><br />
This is the best developer community. I heard over and over again during the conference about how nice everyone is. There are no asshole prima donna speakers, everyone is approachable and friendly. That goes for the speakers, everyone from Adobe, and all the attendees. Everyone&#8217;s just authentically nice. The Flex community is going to grow dramatically over the next few years. Let&#8217;s try to keep this awesome small-community vibe that we got going on. This community vibe is why I love presenting at 360|Flex (and the main reason I don&#8217;t present at other larger conferences).</p>
<p>Thanks Tom and John! You guys rock.</p>
<p><img id="image255" src="http://dougmccune.com/blog/wp-content/uploads/2008/03/screenshot009.jpg" alt="screenshot009.jpg" height="298" width="450" class="imageframe" /><br />
(<a href="http://flickr.com/photos/52233972@N00/2298509579/">photo by Terry May</a>)
</p>
]]></content:encoded>
			<wfw:commentRss>http://dougmccune.com/blog/2008/03/01/my-360flex-writeup/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Examples from my 360&#124;Flex session - Using Open Source Community Projects</title>
		<link>http://dougmccune.com/blog/2008/02/26/examples-from-my-360flex-session-using-open-source-community-projects/</link>
		<comments>http://dougmccune.com/blog/2008/02/26/examples-from-my-360flex-session-using-open-source-community-projects/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 20:51:36 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category>Flex</category>

		<category>flexlib</category>

		<category>360Flex</category>

		<category>Degrafa</category>

		<category>Open Source</category>

		<guid isPermaLink="false">http://dougmccune.com/blog/2008/02/26/examples-from-my-360flex-session-using-open-source-community-projects/</guid>
		<description><![CDATA[Here are all the examples I showed today in my session at 360&#124;Flex. The demos are the Physics Form, VistaFlow 3D, WindowShade + Degrafa, MP3 Thumbnail CoverFlow, and FlexSpy Event Listeners. All examples have the full source code available and I&#8217;ve tried to write up brief descriptions about each one. I&#8217;ve also posted a PDF [...]]]></description>
			<content:encoded><![CDATA[<p>Here are all the examples I showed today in my session at 360|Flex. The demos are the Physics Form, VistaFlow 3D, WindowShade + Degrafa, MP3 Thumbnail CoverFlow, and FlexSpy Event Listeners. All examples have the full source code available and I&#8217;ve tried to write up brief descriptions about each one. I&#8217;ve also posted a PDF of my slides. <a href="http://dougmccune.com/360Flex_ATL/360Flex_DougMcCune_Using_Open_Source_Flex_Projects.pdf">View the slides here</a>.</p>
<p><strong>Physics Form</strong><br />
I mashed together the most generic, boring, crappy Flex form example app with a physics engine. The end result is an example that shows how you can add in physics simulations into &#8220;normal&#8221; applications (as opposed to only games or whatever). In the example below, click on the Login button to watch what happens (hint: after you click login try dragging around the controls). Oh, and I threw in the PromptingTextInput component from FlexLib to meet my requirement of using at least two open source projects in each example.</p>
<p>
<object type="application/x-shockwave-flash" width="350" height="350">
<param name="movie" value="/360Flex_ATL/PhysicsContainer/OS_Preso_PhysicsForm.swf" />
<param name="base" value="360Flex_ATL/PhysicsContainer/" />
<param name="flashvars" value="360Flex_ATL/PhysicsContainer/" />
<embed src="/360Flex_ATL/PhysicsContainer/OS_Preso_PhysicsForm.swf" type="application/x-shockwave-flash" width="350" height="350" base=",360Flex_ATL/PhysicsContainer/" flashvars="360Flex_ATL/PhysicsContainer/" >
</object>
</p>
<p>Open source stuff used:</p>
<ul>
<li><a href="http://code.google.com/p/foam-as3/">FOAM</a></li>
<li><a href="http://flexlib.net">FlexLib</a></li>
</ul>
<p><a href="http://dougmccune.com/360Flex_ATL/PhysicsContainer">View the example</a> | <a href="http://dougmccune.com/360Flex_ATL/PhysicsContainer/srcview/index.html">View Source</a></p>
<p><strong>VistaFlow</strong><br />
This example uses the FlexMDI library (now part of FlexLib!) to manage multiple open windows and switch focus between them. I combined that with a slightly modified version of my CoverFlow component that I posted before, and I made an effect similar to Vista&#8217;s Flip 3D. When you launch the example try adding a few windows with the &#8220;Add Window&#8221; button and then press Shift-Enter to cycle through the windows (ie hold Shift and then keep pressing Enter to move through the list of windows).</p>
<p><a href="http://dougmccune.com/360Flex_ATL/VistaFlow"><img id="image251" src="http://dougmccune.com/blog/wp-content/uploads/2008/02/screenshot006.jpg" alt="screenshot006.jpg" height="310" width="498" class="imageframe" /></a></p>
<p>Open source stuff used:</p>
<ul>
<li><a href="http://flexlib.net">FlexMDI</a> (now in FlexLib)</li>
<li>Extended Flex CoverFlow component</li>
</ul>
<p><a href="http://dougmccune.com/360Flex_ATL/VistaFlow">View the example</a> | <a href="http://dougmccune.com/360Flex_ATL/VistaFlow/srcview/index.html">View Source</a></p>
<p><strong>WindowShade + Degrafa example</strong><br />
In this example I used the newly added WindowShade component in FlexLib, combined with the CanvasButton control (also from FlexLib), combined with Degrafa for some custom graphics drawing and CSS skinning. It&#8217;s a simple example of creating a &#8220;drawer&#8221; type of component that docks to the top of the screen and drops down when the user clicks the handle.</p>
<p><a href="http://dougmccune.com/360Flex_ATL/WindowShadeDegrafa"><img id="image252" src="http://dougmccune.com/blog/wp-content/uploads/2008/02/screenshot007.jpg" alt="screenshot007.jpg" height="173" width="264" class="imageframe" /></a></p>
<p>Open source stuff used:</p>
<ul>
<li><a href="http://flexlib.net">FlexLib</a></li>
<li><a href="http://degrafa.com">Degrafa</a></li>
</ul>
<p><a href="http://dougmccune.com/360Flex_ATL/WindowShadeDegrafa">View the example</a> | <a href="http://dougmccune.com/360Flex_ATL/WindowShadeDegrafa/srcview/index.html">View Source</a></p>
<p><strong>MP3Flow AIR app</strong><br />
This demo is an AIR application that lets you drag and drop MP3 files onto it and it will extract the thumbnail image from the MP3 file and use that image in a CoverFlow UI. To extract the thumbnail I&#8217;m using <a href="http://code.google.com/p/metaphile/">Metaphile</a>, which is a project created by <a href="http://blog.benstucki.net/">Ben Stucki</a> for reading and writing metdata from files. This app also uses another of Ben Stucki&#8217;s components, which does the audio visualization stuff.</p>
<p><img id="image253" src="http://dougmccune.com/blog/wp-content/uploads/2008/02/screenshot008.jpg" alt="screenshot008.jpg" height="238" width="300" class="imageframe" /></p>
<p>Open source stuff used:</p>
<ul>
<li><a href="http://code.google.com/p/metaphile/">Metaphile</a></li>
<li><a href="http://dougmccune.com/blog/2007/11/19/flex-coverflow-performance-improvement-flex-carousel-component-and-vertical-coverflow/">CoverFlow Flex component</a></li>
<li><a href="http://code.google.com/p/benstucki/">Ben Stucki&#8217;s audio visualizer</a></li>
</ul>
<p><strong>NOTE:</strong> I used the last AIR/Flex 3 Beta for this example. I have not updated it to AIR 1.0. If you have the new AIR 1.0 runtime I assume this app will not install. I&#8217;ll try to update this example within a few days, but for now it will probably only work if you have not upgraded the AIR runtime on your machine.</p>
<p><a href="http://dougmccune.com/360Flex_ATL/DougMcCune_OS_Preso_MP3Flow.air">Download the AIR installer</a> | <a href="http://dougmccune.com/360Flex_ATL/MP3Flow_srcview/index.html">View Source</a></p>
<p><strong>FlexSpy with Event Listeners</strong><br />
I decided to show this example even though I had <a href="http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/">already released the code</a> on my blog. I realized that this example was perfect for showing the benefit of keeping a running list of open source projects in your head. I remember seeing FlexSpy when it first came out, I read about it on a few blogs and briefly checked it out by playing with the example. But I didn&#8217;t ever download the code or use it in my app. And then last week when I was monkey patching FlexSprite to add extra event listener functionality and I realized that this was a perfect place to use FlexSpy. I couldn&#8217;t remember the exact name (I thought it was something like Flexray), but I googled around, determined to find the project that I knew existed. Pretty quickly I found it, pulled it down, started reading the source and hacked in the functionality I wanted. </p>
<p>After doing that I realized that this is exactly what I was going to be talking about in my 360 session. Since I had been reading Flex blogs when FlexSpy was released I at least knew it existed. Since I love open source projects I had initially checked it out and understood what it did. Then later, in a completely unrelated project, something clicked in my mind and from some far corner I pulled up that memory of the FlexSpy project. </p>
<p>Open source stuff used:</p>
<ul>
<li><a href="http://code.google.com/p/fxspy/">FlexSpy</a></li>
<li><a href="http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/">Monkey patched FlexSprite example</a></li>
</ul>
<p><a href="http://dougmccune.com/360Flex_ATL/FlexSpyEventListeners">View the example</a> | <a href="http://dougmccune.com/360Flex_ATL/FlexSpyEventListeners/srcview/index.html">View Source</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://dougmccune.com/blog/2008/02/26/examples-from-my-360flex-session-using-open-source-community-projects/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
