<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dispatchEvent()™ &#187; Mims H Wright</title>
	<atom:link href="http://dispatchevent.org/author/mims/feed/" rel="self" type="application/rss+xml" />
	<link>http://dispatchevent.org</link>
	<description>Collective thoughts on the Flash Platform, iOS, Unity, and any other technology we use.</description>
	<lastBuildDate>Tue, 07 Feb 2012 19:22:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Sad Clown</title>
		<link>http://dispatchevent.org/mims/sad-clown/</link>
		<comments>http://dispatchevent.org/mims/sad-clown/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 19:22:18 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[Meta]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=915</guid>
		<description><![CDATA[Hey guys, I&#8217;ve been having some issues with my blog and finally decided to go for a full re-install. If you see any weirdness, please let me know so I can fix it. Thanks!]]></description>
			<content:encoded><![CDATA[<p><img src="http://dispatchevent.org/wp-content/uploads/2012/02/sad-clown-300x225.jpg" alt="" title="sad-clown" width="300" height="225" class="alignnone size-medium wp-image-912" /></p>
<p>Hey guys, </p>
<p>I&#8217;ve been having some issues with my blog and finally decided to go for a full re-install. If you see any weirdness, please let me know so I can fix it. Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/sad-clown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A message you would never see in a Flash site</title>
		<link>http://dispatchevent.org/mims/a-message-you-would-never-see-in-a-flash-site/</link>
		<comments>http://dispatchevent.org/mims/a-message-you-would-never-see-in-a-flash-site/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 19:16:58 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=907</guid>
		<description><![CDATA[Here&#8217;s a message you would never see on a Flash site. To be fair though, I would be just as frustrated to see a message that says &#8220;sorry, iOS users, we can&#8217;t show you this page.&#8221; I guess my point &#8230; <a href="http://dispatchevent.org/mims/a-message-you-would-never-see-in-a-flash-site/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a message you would never see on a Flash site.</p>
<p><a href="http://dispatchevent.org/wp-content/uploads/2012/01/js-fail.png"><img src="http://dispatchevent.org/wp-content/uploads/2012/01/js-fail.png" alt="" title="js fail" width="447" height="304" class="alignnone size-full wp-image-908" /></a><br />
To be fair though, I would be just as frustrated to see a message that says &#8220;sorry, iOS users, we can&#8217;t show you this page.&#8221; I guess my point is that JS isn&#8217;t without it&#8217;s drawbacks and sites should always degrade gracefully. </p>
<p>Found on the otherwise impressive site: <a href="http://flashtml5.com/">http://flashtml5.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/a-message-you-would-never-see-in-a-flash-site/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Grid generator for </title>
		<link>http://dispatchevent.org/mims/grid-generator-for-canvas/</link>
		<comments>http://dispatchevent.org/mims/grid-generator-for-canvas/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 00:29:12 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[HTML5 / JavaScript]]></category>
		<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=904</guid>
		<description><![CDATA[Here&#8217;s a snippet of code that creates a grid in the &#60;canvas&#62; tag using JavaScript. It&#8217;s just a quick little experiment but I thought I&#8217;d share it with you. I added the draw command to a loop that moves around &#8230; <a href="http://dispatchevent.org/mims/grid-generator-for-canvas/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a snippet of code that creates a grid in the <code>&lt;canvas&gt;</code> tag using JavaScript. It&#8217;s just a quick little experiment but I thought I&#8217;d share it with you. </p>
<p>I added the draw command to a loop that moves around the grid&#8217;s starting point just for fun.</p>
<p><a href="http://dispatchevent.org/wp-content/uploads/2011/12/index.html"><img src="http://dispatchevent.org/wp-content/uploads/2011/12/Screen-shot-2011-12-08-at-4.28.13-PM-300x225.png" alt="" title="Grid" width="300" height="225" class="alignnone size-medium wp-image-906" /></a></p>
<p><a href='http://dispatchevent.org/wp-content/uploads/2011/12/index.html'>See it in action.</a></p>
<p><script src="https://gist.github.com/1449417.js?file=GridGenerator.html"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/grid-generator-for-canvas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t make me pay to spend my money on you</title>
		<link>http://dispatchevent.org/mims/dont-make-me-pay-to-spend-my-money-on-you/</link>
		<comments>http://dispatchevent.org/mims/dont-make-me-pay-to-spend-my-money-on-you/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 01:46:20 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[Videogames]]></category>
		<category><![CDATA[In Real Life]]></category>
		<category><![CDATA[logic]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[sony]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[vita]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=902</guid>
		<description><![CDATA[This may be a little off topic but since I love video games and logic, I thought I&#8217;d take a moment to share some thoughts I was having. I just read this post from Kotaku talking about the new proprietary &#8230; <a href="http://dispatchevent.org/mims/dont-make-me-pay-to-spend-my-money-on-you/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://dispatchevent.org/wp-content/uploads/2011/11/hard-drive-awesome.jpeg"><img class="alignnone size-medium wp-image-903" title="hard-drive-awesome" src="http://dispatchevent.org/wp-content/uploads/2011/11/hard-drive-awesome-203x300.jpg" alt="" width="203" height="300" /></a></p>
<p>This may be a little off topic but since I love video games and logic, I thought I&#8217;d take a moment to share some thoughts I was having.</p>
<p>I just read this post from Kotaku talking about the <a href="http://kotaku.com/5863168/prepare-to-pay-through-the-nose-for-the-vitas-proprietary-memory-cards">new proprietary memory card that will be used for the PSVita</a>, Sony&#8217;s upcoming gaming handheld. The <a href="https://www.google.com/search?q=tl%3Bdr&amp;hl=en">tl;dr</a> version: Sony&#8217;s making a new type of memory card. They will only work with one gadget. They will be expensive.</p>
<p>This is not the first time that a gaming company, especially Sony, has asked us to pony up for a proprietary storage medium. Sony has virtually cornered the proprietary format market: <a href="http://en.wikipedia.org/wiki/MiniDisc">MiniDisc</a>, <a href="http://en.wikipedia.org/wiki/Memory_Stick">MemoryStick</a>, <a href="http://en.wikipedia.org/wiki/Betamax">BetaMax</a>, even those <a href="http://en.wikipedia.org/wiki/NT_(cassette)">little cassettes</a> that go in your answering machine. All of this, I must assume, was in the hopes of making one that lasts and becomes a standard. Well, they kinda did with BluRay even though it&#8217;s appearing at the twilight of physical media. But I digress. Microsoft&#8217;s also in the game with their custom XBox360 hard drives costing about twice the going rate. In fact, every non-standard CD-ROM or cartridge is also a proprietary format when you get down to it.</p>
<p>Anyway, this post isn&#8217;t really about storage being proprietary. It&#8217;s about storage being expensive. The companies create this proprietary media then sell it to us.  We&#8217;ll have no choice but to buy it so they can charge whatever they want. That makes sense I guess. So to sum up their thinking&#8230;</p>
<ul>
<li>Make a thing customers need to use our product</li>
<li>Sell it to customers for $$$</li>
<li>Get rich&#8230; <em>Right?</em></li>
</ul>
<p>There&#8217;s one glaring flaw here. If I may be so bold as to illustrate my consumer-centric logic&#8230;</p>
<ul>
<li>If storage is $$$&#8230;</li>
<li>I don&#8217;t buy storage</li>
<li>I don&#8217;t have much storage</li>
<li>But I need it to play games!</li>
<li>I can&#8217;t play games :-(</li>
<li>I don&#8217;t buy the games I can&#8217;t play</li>
<li>I spend less money and have a generally un-fun experience with the gaming system</li>
</ul>
<p>To look at the same argument conversely&#8230;</p>
<ul>
<li>If storage is El Cheapo!</li>
<li>I buy lots of it</li>
<li>I have lots of room for games</li>
<li>I spend the money I saved on storage buy games without worrying about where to put them</li>
<li>I have a more fun experience with the gaming system.</li>
</ul>
<p>To try to turn this from pure gripe into something useful, I will just say this. <strong>Don&#8217;t make <strike>me</strike> your willing customers have to work hard to spend money on you.</strong> Always be aware of decisions that benefit your company by punishing your customers. </p>
<p>This is not just a video game rant. The online world is also fraught with similar follies. One phenomenon is discussed in <a href="http://www.sunpig.com/martin/archives/2011/11/13/the-mobile-web-splash-screen-antipattern.html">this great post about the Mobile App Splash Screen Anti-Pattern</a> by Martin Sutherland. Another example is any site that makes me create an account before I do even a simple task. Virtually every restaurant website ever made has made me endure a Greek techno slideshow and download a PDF menu just to find their hours and address.</p>
<p>Don&#8217;t let this happen to you, or to your clients! Always Be Closing! And let me buy more video games, dammit!</p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/dont-make-me-pay-to-spend-my-money-on-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t Panic.</title>
		<link>http://dispatchevent.org/mims/dont-panic/</link>
		<comments>http://dispatchevent.org/mims/dont-panic/#comments</comments>
		<pubDate>Sat, 12 Nov 2011 22:45:38 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[In Real Life]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=900</guid>
		<description><![CDATA[Dear Flash &#38; Flex Interactive Developers, keep calm and carry on. The news from Adobe seems like a big deal now but I&#8217;m not sure that it&#8217;s soon enough to judge what the long term impact will be. In my &#8230; <a href="http://dispatchevent.org/mims/dont-panic/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Dear <strike>Flash &amp; Flex</strike> Interactive Developers, keep calm and carry on. The news from Adobe seems like a big deal now but I&#8217;m not sure that it&#8217;s soon enough to judge what the long term impact will be. In my opinion, it&#8217;s not yet time to panic (is it ever?) and in this post, I&#8217;ll talk about why.  </p>
<p>First, if you don&#8217;t know what I&#8217;m talking about, check out the news. I think the best explanation comes from <a href="http://www.mikechambers.com/blog/2011/11/11/clarifications-on-flash-player-for-mobile-browsers-the-flash-platform-and-the-future-of-flash/">Mike Chambers&#8217; Blog</a> and a corresponding post on the <a href="http://blogs.adobe.com/flex/2011/11/your-questions-about-flex.html">Flex Team&#8217;s Blog</a>. </p>
<div id="attachment_901" class="wp-caption alignnone" style="width: 310px"><a href="http://dispatchevent.org/wp-content/uploads/2011/11/cute_bunny.jpeg"><img src="http://dispatchevent.org/wp-content/uploads/2011/11/cute_bunny-300x207.jpg" alt="" title="cute_bunny" width="300" height="207" class="size-medium wp-image-901" /></a><p class="wp-caption-text">Don&#039;t panic! Take a deep breath and look at this cute bunny</p></div>
<p><span id="more-900"></span></p>
<h2>Not much has changed with the Flash Platform</h2>
<p>If you read closely, not that much has really changed. The problem is perception. Let&#8217;s review what is going away and why it&#8217;s not as crazy as it might sound. </p>
<h3>Mobile Flash Player</h3>
<p>Adobe is discontinuing work on the mobile Flash Player. I don&#8217;t know the numbers of people building Flash content for Android but I suspect it&#8217;s not incredibly high. I would also wager that even Air on Android/iOS is still far from critical mass, but Adobe say they will continue to support this. The desktop Flash Player will stay the same and for the foreseeable future continue to surpass HTML5 in features and cross-platform functionality. </p>
<p>Another way of saying this is that the Flash Platform remains the best choice for the tasks that it was already the best choice for. Mobile was never one of these and some applications, like video players, may have lost that title to HTML5. But in cross-platform, rich-media, deeply interactive experiences on the web, Flash is still ahead of the competition.  </p>
<h3>Flex is still here</h3>
<p>Adobe is discontinuing its support for the Flex SDK. However, it will stay around as <a href="http://spoon.as">an open source project</a> (it was already open source.) It may never get better than it is already, which so far has been good enough to become the platform of choice for many Flex developers.  </p>
<p>Flex cannot get any worse than the next version 4.6, which you were probably looking forward to until today. And you know what, that&#8217;s okay. We don&#8217;t need to be so obsessed with the next thing that we change careers because the <em>next</em> next thing has an uncertain future. I happen to know of some projects that are still using Flex 3 and will probably never upgrade. Why? The user doesn&#8217;t know the difference between <code>mx</code> and <code>spark</code> skins. </p>
<p>It may also get better after being untethered from Adobe and in hands of the Flex Community. In other words, we&#8217;re in charge now. The <a href="http://www.spoon.as/core-values/">Spoon</a> community, who is inheriting the Flex project, already have plans to make a version 5.x.</p>
<h2>Fear itself</h2>
<p>The real issue now is the way the public will preceive this news. This announcement has sapped the confidence of a lot of people, customers and developers alike. In my opinion, it&#8217;s not the time for us to decry Adobe as evil jerks. It is a time for us as experts to try to help our clients, companies and the public to make sense of the news. It&#8217;s time to remember that Flash is just a tool in the arsenal of an interactive developer. In fact, Flash&#8217;s popularity, due to <a href="http://www.apple.com/hotnews/thoughts-on-flash/">largely political reasons</a>, has already been on the decline for a while now. But, it will certainly be dead if the Flash users themselves don&#8217;t believe in it. </p>
<p>The next time a client wants an awesome, interactive video, 3D puzzle game, website thing I will still recommend Flash. I don&#8217;t want to have him tell me &#8220;it has to be HTML5&#8243; because he read online that &#8220;Flash is dead.&#8221; In fact, I think it&#8217;s our job to talk about its strengths and its weaknesses in a totally objective way. We should all dwell in the middle ground between Adobe zealotry and jumping on the next bandwagon. </p>
<h3>Your next job</h3>
<p>I feel hopeful that the shit will not hit the fan, at least not immediately. That being said, I am always an advocate of looking at other technologies and keeping those abstract coding skills honed. Good developers are in a prime position to port our skills to whatever platform comes next, and those skills are almost always in demand. Even HTML5 (JavaScript) apps share a very similar language with AS3 (really AS1). I was able to pick up JQuery and build my first HTML5 project in a matter of a day or two. </p>
<p>As Mike Chamber&#8217;s writes:<br />
<block>&#8220;I think it is a HUGE opportunity for the Flash community. As browser support for richer content and motion graphics improves, so will demand for designers and developers who have experience working with motion graphics on the web. The Flash community has been doing this type of work on the web for over a decade and is uniquely qualified to fill demand for similar work in the browser. I donâ€™t think it is a coincidence that some of the most cutting edge motion graphics work being done in HTML5 today is being done by developers and agencies with extensive experience in Flash (such as Grant Skinner, Branden Hall, Big Spaceship, etcâ€¦).&#8221;</block></p>
<p>Joel Hooks adds some great notes on this in <a href="http://thoughts.joelhooks.com/post/12680058831/you-are-not-your-platform-here-are-some-things-you#/">his blog post</a>. I&#8217;d like to also add <a href="http://haxe.org/">HAXE</a>, Java, C# and <a href="http://www.dartlang.org/">Dart</a> to the list of languages that you should be able to pick up with little effort. </p>
<h3>The Community</h3>
<p>In LA, our local Flex group shut down abruptly after this news was released. I personally feel this was very hasty indeed and wrote a letter about it upon which this blog post was based. I see that a lot of people are really pissed and their identities are in question. If you&#8217;re in this position, I would suggest instead of jumping ship, why not continue to talk about how this will impact our jobs and what skills we can port to other platforms. If there really are people out there who are going to lose their jobs over this, and I think it&#8217;s too soon to say, we should still be able to support each other as a community. </p>
<p>Even with all this positivity, I still have to agree with <a href="http://twitter.com/#!/neurofuzzy/status/135442238607081472">@neurofuzzy</a> &#8220;Anyone who has &#8216;Flash&#8217; in your job title, scratch it out and write &#8216;Interactive.&#8217;&#8221; It&#8217;s something we should have all done a long time ago because I believe we are more than just Flash dudes. </p>
<p><em>I&#8217;d love to hear your thoughts on all of this. Please leave comments. It will be very interesting to look back on this post in 6 months and see whether I was right to keep a cool head or being terribly naÃ¯ve.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/dont-panic/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Why there are no million dollar ideas</title>
		<link>http://dispatchevent.org/mims/why-there-are-no-million-dollar-ideas/</link>
		<comments>http://dispatchevent.org/mims/why-there-are-no-million-dollar-ideas/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 23:02:24 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[In Real Life]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Tips, Tricks, and Hacks]]></category>
		<category><![CDATA[collaboration]]></category>
		<category><![CDATA[ideas]]></category>
		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=897</guid>
		<description><![CDATA[It is well known among my friends that I &#8220;do something to computers that somehow makes apps exist.&#8221; As such, I am often approached with the inevitable proposition that goes something like this: &#8220;I&#8217;ve got a million dollar idea for &#8230; <a href="http://dispatchevent.org/mims/why-there-are-no-million-dollar-ideas/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It is well known among my friends that I &#8220;do something to computers that somehow makes apps exist.&#8221;  As such, I am often approached with the inevitable proposition that goes something like this: &#8220;I&#8217;ve got a million dollar idea for an app and when you build it we&#8217;ll be rich.&#8221; These pitches typically make use of the pronoun &#8220;we,&#8221; as in &#8220;we can charge 50Â¢ per penguin,&#8221; and a pre-meditated revenue split, as in &#8220;you can keep 50% of the penguin monies.&#8221; This is the modern version of the old favorite, &#8220;can you make me a website,&#8221; <em>for free</em> implied.</p>
<p>Some of these ideas are great, many are not. But regardless of their quality, I want to try to reset the expectations of the idea generators. I hope this post sheds some light on the legal, social and practical implications of these ideas and provides some ground rules that will help bring these ideas into fruition.</p>
<p>(Read the full article after the jump)</p>
<p><span id="more-897"></span></p>
<h2 id="first_of_all">First of all</h2>
<p>If your idea includes the words &#8220;like [a social network] but better&#8221; stop right there. I had an idea for a car that&#8217;s like a Ferrari but it&#8217;s twice as fast gets 1,000 miles per gallon! Fuck you.</p>
<h2 id="the_value_of_your_idea">The value of your idea</h2>
<p>Great achievements come from great ideas. Most of the time, however, people are all too willing to start planning their retirement before the thought of a business plan ever crosses their minds. Making an app can cost  a lot of time and money and there&#8217;s lots of competition. Most don&#8217;t sell well after their first month. While it&#8217;s true that you can make a million, it doesn&#8217;t happen every day. </p>
<p>In reality, your idea is probably worth a great deal less than $1,000,000. In fact, it&#8217;s probably worth very close to $0. Why? For one thing, can you even reasonably define what an idea is? For example, If you have a $1M idea but I have an idea that makes your better, how much is mine worth? What if 5 other people had that idea independently? (Even <em>Calculus</em> was discovered by at least two mathematicians working separately and they drew from centuries of previous concepts.) So the answer is simply this: ideas (even good ones) are worth nothing until they&#8217;re turned into something. </p>
<p>The good news, how ideas are implemented is at least as important as the intial idea. Google didn&#8217;t invent the search engine, they just made it better. That means that you don&#8217;t even need a new idea to make a million (or <a href="http://www.google.com/finance?client=ob&amp;q=NASDAQ:GOOG">189 billion</a>)!  There&#8217;s always room for improvement. The App Store is full of garbage apps that could be made better.</p>
<h2 id="release_early_release_often">Release early, Release often</h2>
<p>If you&#8217;ve had an idea, great! Me too. Keep having them. Have as many as you can. Write them all down. Take the best ones and <em>make them!</em> </p>
<p>Any photographer will tell you that for every 100 photos you take you&#8217;ll be lucky if you get one good one. Ideas are the same way. I have a long list of ideas for apps, games, products, etc. that I maintain and regularly review. A couple are (I think) really good. Some are good but would require a huge amount of work to execute. Most of them, over time, seem so stupid as to make me wonder what the hell I was thinking.  The important thing is that I have lots and lots of them and I recognize that they all need work. </p>
<p>To continue with the analogy of photographs, if you leave them as negatives or let them just sit on your camera card, you might as well not have bothered. Ideas are the same way. They need to be developed into something tangible to be worth anything. </p>
<h2 id="who_owns_your_idea">Who owns your idea?</h2>
<p>If you think your idea is something you own that people want to take, you&#8217;ve got it backwards. You don&#8217;t own the idea and people are free to take it but they don&#8217;t want to. </p>
<p>Now I&#8217;m not a lawyer (and this is not intended as legal advice) but if I&#8217;m not mistaken, unless you have made an agreement to the contrary, an idea alone cannot be copyrighted or trademarked. These protections are reserved for &#8220;things&#8221; that exist in the world. Even a unique concept carefully described in writing is little evidence when faced with a solid, working app. Think about it. If it were not true wouldn&#8217;t that mean science fiction writers could sue technology companies for stealing their ideas for robots, spaceships, etc.</p>
<p>Does that mean you shouldn&#8217;t tell anyone? Not necessarily. In reality, most people are not interested in stealing your idea and if they are, they still have to make something out of it. I can&#8217;t think of anyone who&#8217;s got the talent and capital and drive to build something great who is just waiting around for someone to slip up and hand him a genius idea. So you&#8217;re probably safe to talk about it. In fact, you&#8217;ll probably find it helpful to get other&#8217;s input.</p>
<p>If the idea of sharing still makes you nervous you can always use a non-disclosure agreement. You can find many examples online.</p>
<h2 id="the_right_way_to_do_it">The right way to do it</h2>
<p>Despite everything I&#8217;ve said, I don&#8217;t want people to stop contacting me with their ideas. I just want to set the level of expectation back to a reasonable level. Here&#8217;s a checklist for you potential idea-havers:</p>
<ul>
<li><strong>Lower your expectations.</strong> This is the crux of the whole article. Put the concept of the million dollar idea out of your head and think about how to build a million dollar company. </li>
<li><strong>Develop your idea.</strong> Take your idea and make it better. Find out who your competitors are. Spend some time researching, designing, polishing. In other words, turn your idea into a plan that you can use to build. </li>
<li><strong>Make yourself useful.</strong> If you think you deserve 50%, you better be ready to do 50% of the work. That means writing business plans, fundraising, designing the interface, hiring a team, or doing whatever it is you can to make it happen.</li>
<li><strong>Respect other people&#8217;s professions.</strong>Building an app or website is hard. It can take months or years of man-hours. You wouldn&#8217;t expect a carpenter friend to say yes to building a new restaurant in exchange for 50% of the sales. But he might if you had blueprints, a star chef, and $500,000! See the difference?</li>
<li><strong>Don&#8217;t stop sharing your idea</strong>  Ask for feedback. Try not to take it personally if you don&#8217;t like what you hear.</li>
</ul>
<p>The last thing I have to say is a note to myself: Take your own advice. Stop talking about it and go make some $1,000,000 apps and things!</p>
<h3 id="ps">P.S.</h3>
<p>During the writing of this article, I was trying to do some research into the copyrights of ideas themselves and found a couple of great articles on the same topic by <a href="http://blog.pekpongpaet.com">Pek Pongpet</a> so apparently I&#8217;m not alone. </p>
<p><a href="http://blog.pekpongpaet.com/2010/11/04/the-myth-of-people-stealing-your-ideas/">The myth of people stealing your ideas</a></p>
<p><a href="http://blog.pekpongpaet.com/2010/04/01/ive-got-this-great-idea-if-you-only-build-it/">I&#8217;ve got this great idea if you only build it</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/why-there-are-no-million-dollar-ideas/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Quicksilver &amp; ifttt</title>
		<link>http://dispatchevent.org/mims/quicksilver-ifttt/</link>
		<comments>http://dispatchevent.org/mims/quicksilver-ifttt/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 18:57:47 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[Tips, Tricks, and Hacks]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=895</guid>
		<description><![CDATA[I wanted to share a couple of cool apps with you that make my life easier. Quicksilver It&#8217;s possible that I&#8217;ve just been living under a rock (or in Italy) but I was recently surprised when I stumbled across a &#8230; <a href="http://dispatchevent.org/mims/quicksilver-ifttt/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I wanted to share a couple of cool apps with you that make my life easier. </p>
<h3><a href="http://qsapp.com">Quicksilver</a></h3>
<p>It&#8217;s possible that I&#8217;ve just been living under a rock (or in Italy) but I was recently surprised when I stumbled across a blog post announcing that <a href="http://qsapp.com/">Quicksilver</a> is still around. I had presumed that it was abandoned but it has just been updated for Lion! For those of you who don&#8217;t know, Quicksilver is a great little freeware utility for Mac that essentially adds a quick, text-based interface to your Mac. For example, you can type the first couple of letters of a file name, then &#8220;mv&#8221;, then &#8220;doc&#8221; to move a file to documents <a href="http://dispatchevent.org/wp-content/uploads/2011/10/Screen-shot-2011-10-24-at-1.27.04-PM.png"><img src="http://dispatchevent.org/wp-content/uploads/2011/10/Screen-shot-2011-10-24-at-1.27.04-PM.png" alt="" title="Example of quicksilver&#039;s messaging" width="564" height="246" class="alignnone size-full wp-image-896" /></a><br />
or &#8220;PS + enter&#8221; to launch PhotoShop (it figures out what you&#8217;re trying to say even if you misspell something). It&#8217;s also got lots of plugins to make it even more powerful. I highly recommend it. </p>
<h3><a href="http://ifttt.com">ifttt</a></h3>
<p>This is a good opportunity to also mention a new web service that works in a very similar way. It&#8217;s called <a href="http://ifttt.com">ifttt</a> (short for &#8220;if this then that&#8221;). It essentially allows you to take events that happen with your online services (like when someone tags you in a photo on Facebook) and use them as triggers for other actions (save a copy of the photo to your Dropbox). These relationships are called &#8220;recipes&#8221; and they can be shared and customized by other users. It&#8217;s a very programmery way to work. </p>
<p>I recommend giving both a try.</p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/quicksilver-ifttt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling the Flash Debug Player on Chrome</title>
		<link>http://dispatchevent.org/mims/enabling-the-flash-debug-player-on-chrome/</link>
		<comments>http://dispatchevent.org/mims/enabling-the-flash-debug-player-on-chrome/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 09:05:27 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tips, Tricks, and Hacks]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[debugger]]></category>
		<category><![CDATA[plug-in]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=892</guid>
		<description><![CDATA[After having this happen to me for the third time, I felt that it was time for me to repost this information. The problem: You&#8217;re positive that you just upgraded to the Debug version of the Flash Player, when you &#8230; <a href="http://dispatchevent.org/mims/enabling-the-flash-debug-player-on-chrome/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After having this happen to me for the third time, I felt that it was time for me to repost this information. </p>
<h3>The problem:</h3>
<p>You&#8217;re positive that you just upgraded to the Debug version of the Flash Player, when you <a href="http://kb2.adobe.com/cps/155/tn_15507.html">go to test it</a> in Chrome it says that you don&#8217;t have the debug version even though it works fine in Firefox, Safari, Opera, and who cares if it&#8217;s working in IE because you would never use IE right?</p>
<h3>The solution:</h3>
<p>You can reinstall the player until you&#8217;re blue in the face but it won&#8217;t help. Why? Chrome manages it&#8217;s own version copy of the player so it can provide automatic updates. You&#8217;ll want to disable this version and use your default one. </p>
<p>Open up your Preferences in Chrome. Go to <i>Preferences > Under the Hood > Privacy > Content Settings&#8230; > Plug-ins > Disable Individual Plugins</i> (Or just paste <a href="chrome://plugins/">chrome://plugins/</a> into the address bar). </p>
<p>You should see a plug in called Flash. If you click the Details+ button in the top right, you&#8217;ll see more info about the plug-in files themselves. You&#8217;ll probably see two versions here; one will point to the plug-in installed by Chrome </p>
<p>e.g. <i>/Applications/Google Chrome.app/Contents/Versions/15.0.874.92/Google Chrome Framework.framework/Internet Plug-Ins/Flash Player Plugin for Chrome.plugin</i></p>
<p>The other points to the system folder</p>
<p>e.g. <i>/Library/Internet Plug-Ins/Flash Player.plugin</i> if you&#8217;re on a Mac</p>
<p><strong>Disable the one in the Google Chrome folder</strong> and you should be good to go!</p>
<p>This information was originally provided to me via <a href="http://www.aaronwest.net/blog/index.cfm/2010/4/27/Configuring-Chrome-with-Flash-Player-Debugger">Arron West&#8217;s blog</a> which has more pictures than this post if you still need help. </p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/enabling-the-flash-debug-player-on-chrome/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flash is NOT coming to iOS!</title>
		<link>http://dispatchevent.org/mims/flash-is-not-coming-to-ios/</link>
		<comments>http://dispatchevent.org/mims/flash-is-not-coming-to-ios/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 13:16:18 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=889</guid>
		<description><![CDATA[While we&#8217;re still hot on the subject of Flash on iOS, I would like to address the other recent news regarding Flash Media Server 4.5 and clear up some of the not-entirely-accurate statements being made. First, let&#8217;s get one thing &#8230; <a href="http://dispatchevent.org/mims/flash-is-not-coming-to-ios/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While we&#8217;re still hot on the subject of <a href="http://dispatchevent.org/mims/air-on-ios-vindicated-by-machinarium/">Flash on iOS</a>, I would like to address the <a href="http://blog.appboy.com/2011/09/adobe-now-supported-on-ios-devices-no-apple-did-not-fold-adobe-did/">other</a> <a href="http://uk.gear.ign.com/articles/119/1193856p1.html#.Tm9UZBxFjo0.twitter">recent</a> <a href="http://mobility.cbronline.com/news/adobe-releases-flash-player-for-apple-products-report-130911">news</a> regarding Flash Media Server 4.5 and clear up some of the not-entirely-accurate statements being made.</p>
<p>First, let&#8217;s get one thing clear&#8230; <span style="color: #000000;"><strong>Flash is NOT coming to iOS</strong></span>Â per se. To quote theÂ <a href="http://eon.businesswire.com/news/eon/20110907007466/en/Adobe/IBC/Flash-Media-Server">press release from Adobe</a>:</p>
<blockquote><p>&#8220;With Flash Media Server 4.5, media publishers can extend their already broad mobile reach via Flash-enabled devices, with the new ability to deliver <strong>video content</strong> to Appleâ€™sÂ iPadÂ andÂ iPhoneÂ devices, enabling them to reach the widest audience possible.&#8221;</p></blockquote>
<p>Unless I&#8217;m misreading this, it seems that this is only going to allow <em>Flash Video</em> to be viewed on iOS and <em>only</em> when streamed from the new Flash Media Server. This will be achieved by serving the video in an iOS compatible format so there&#8217;s no new player or plugin involved at all. Flash content in general (games, interactive sites, &amp;c) will still bring up that familiar <a style="display: inline;" href="http://dispatchevent.org/wp-content/uploads/2011/09/nullplugin.jpeg"><br />
<img class="alignnone" title="nullplugin" src="http://dispatchevent.org/wp-content/uploads/2011/09/nullplugin.jpeg" alt="" width="32" height="32" /></a>.</p>
<p>This is only a little bit exciting (unless you host a lot of Flash Video). What the end user will experience is potentially more video content available on their iOS device, perhaps from sites that they couldn&#8217;t get it from before, and they may notice a performance improvement. It&#8217;s a far cry from the headlines stating things like &#8220;Adobe releases Flash player for Apple products&#8221; or &#8220;Adobe Flash coming to iOS&#8221;. Still, it&#8217;s a (small) step in the right direction.</p>
<p>Frustratingly, most of the articles I&#8217;ve seen are tinged with insinuations that this is some sort of surrender, for example, &#8220;<a href="http://blog.appboy.com/2011/09/adobe-now-supported-on-ios-devices-no-apple-did-not-fold-adobe-did/">Apple did not fold, Adobe did</a>.&#8221; Really? Are we still acting like these two companies are having a little schoolyard rivalry? Nobody folded or cried <a href="http://www.fiercecontentmanagement.com/story/adobe-develops-way-play-flash-apple-ios-devices/2011-09-10">&#8220;Uncle&#8221;</a>. A company just found a solution to a technology problem. As I said in my last post, this sort of talk creates an artificial sense of certain technologies being inherently &#8220;good&#8221; or &#8220;bad&#8221;. It misinforms the general public and turns the choice of platform for a project into an emotional or political battle.</p>
<p>On the other hand, as much as I want people to get the story straight, this is more good news for Flash developers. If the general consensus is that Flash will run on iOS then our clients will perceive it as less &#8220;bad&#8221; and more &#8220;good&#8221;. So I guess this is bad reporting of so-so news that will make very good PR for Adobe.</p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/flash-is-not-coming-to-ios/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Air on iOS vindicated by Machinarium</title>
		<link>http://dispatchevent.org/mims/air-on-ios-vindicated-by-machinarium/</link>
		<comments>http://dispatchevent.org/mims/air-on-ios-vindicated-by-machinarium/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 13:45:22 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=886</guid>
		<description><![CDATA[If you haven&#8217;t heard, Machinarium has recently become a top selling iPad app in the iTunes store, and it was created using FlashBuilder 4.5 and Air for iOS. For now, let&#8217;s forget that it&#8217;s been a big success on multiple &#8230; <a href="http://dispatchevent.org/mims/air-on-ios-vindicated-by-machinarium/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t heard, <a href="http://thenextweb.com/apple/2011/09/09/the-best-selling-ipad-app-on-the-app-store-was-created-with-adobe-flash/?awesm=tnw.to_1AmIf">Machinarium has recently become a top selling iPad app</a> in the iTunes store, and it was created using FlashBuilder 4.5 and Air for iOS. For now, let&#8217;s forget that it&#8217;s been a big success on multiple platforms including Steam for PC and Mac, well-recognized as a superlative indie game, and included in the <a href="http://www.humblebundle.com/">Humble Indie Bundle</a>; this game coming out on iPad is actually a really big deal.</p>
<p><a href="http://dispatchevent.org/wp-content/uploads/2011/09/p_600_480_0CF9E2CD-23A4-4F2C-92EF-E5CD430D8AEF.jpeg"><img class="alignnone size-full wp-image-364" src="http://dispatchevent.org/wp-content/uploads/2011/09/p_600_480_0CF9E2CD-23A4-4F2C-92EF-E5CD430D8AEF.jpeg" alt="" width="240" height="300" /></a></p>
<h3>Why?</h3>
<p>I have always felt that it is our duty as technology experts to help our clients chose the best platforms for their products. And sometimes the best platform is the one that lets the developers do their work the fastest. Flash has always been great at adding a lot of character, subtlety, and interactive flair much faster than other platforms.</p>
<p>Unfortunately, due to recent high-profile skirmishes between Apple and Adobe, most clients currently think that &#8220;<a href="http://www.apple.com/hotnews/thoughts-on-flash/">Flash is Bad.</a>&#8221; They don&#8217;t understand that Job&#8217;s argument is full of half-truths and non-truths and most probably don&#8217;t realize that Flash code can now be run on an iDevice and more importantly sold for $$$. While Flash certainly ins&#8217;t the best in every situation, it&#8217;s actually a fantastic choice for a lot of applications and the programmers who have been using it for a long time who have honed their skills as interactive developers can add a lot intrinsically to their work. To say that it is &#8220;Bad&#8221; is to ignore much of the bigger picture.</p>
<p>Having a solid example to point to makes the case for using Air for iOS so much easier. And despite our cries, clients don&#8217;t really care about technical reasons&#8230; they DO care about top-selling apps that look beautiful! So next time you&#8217;re faced with a client who&#8217;s using some overhyped article from 2010 about Flash not performing well on mobile, you now have one more weapon in your arsenal. The more tools we have to deliver great experiences for our clients, the more everyone wins.</p>
<p>Also, I&#8217;ve heard this is a pretty good game!</p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/air-on-ios-vindicated-by-machinarium/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What&#8217;s next for dispatchEvent() Blog?</title>
		<link>http://dispatchevent.org/mims/future/</link>
		<comments>http://dispatchevent.org/mims/future/#comments</comments>
		<pubDate>Sun, 11 Sep 2011 13:42:11 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[Discussion]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=882</guid>
		<description><![CDATA[Dear readers, First, I&#8217;d like to say thanks to all of you who have read and commented and shared this blog over the past 6 years or so. Despite the infrequent posts, it&#8217;s been a huge source of pleasure for &#8230; <a href="http://dispatchevent.org/mims/future/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Dear readers,</p>
<p>First, I&#8217;d like to say thanks to all of you who have read and commented and shared this blog over the past 6 years or so. Despite the infrequent posts, it&#8217;s been a huge source of pleasure for all of us to be able to share helpful info (and a few personal rants) with the flash community. </p>
<p><a href="http://dispatchevent.org/wp-content/uploads/2011/09/images.jpeg"><img src="http://dispatchevent.org/wp-content/uploads/2011/09/images.jpeg" alt="" title="images" width="235" height="215" class="alignright size-full wp-image-883" /></a></p>
<p>For a while now we&#8217;ve been living in a world where a lot of what we cover on a blog like this is competing with <a href="http://twitter.com/mimshwright">Twitter</a>, Google+, <a href="http://stackoverflow.com">StackExchange</a>, screencasts, Tumblr, Facebook, &#038;c. for the reader&#8217;s attention. I often wonder if blogs are even relevant anymore. I certainly struggle to keep up with everything and blogs are usually at the bottom of the list. </p>
<p>Furthermore, the three of us, <a href="http://about.me/mimshwright/">Mims</a>, <a href="http://partlyhuman.com">Roger</a>, and <a href="http://calebjohnston.com">Caleb</a> have changed a lot in the last couple of years. For example, only one of us lives in NYC, and none of us work exclusively on the flash platform anymore.</p>
<p>We&#8217;re not necessarily going to stop posting, however, it may be time to change up the format. <strong>I would really appreciate some feedback on what and how you&#8217;d like to hear from us in the future.</strong> If you&#8217;ve got a blog or twitter account that you think is reaching people, tell us how! Comment, email, <a href="http://twitter.com/mimshwright">tweet me</a>, or whatever.</p>
<p>Some things I&#8217;ve been thinking about&#8230;</p>
<ul>
<li>Should we keep blogging or spend that time being more active on Twitter? How do Twitter and blogs work together?</li>
<li>How do we keep it fun and frequent?</li>
<li>What posts do people like the best? Who&#8217;s visiting the site?</li>
<li>Should we stay Flash-focused or go more broad with programming and interactive design in general?</li>
<li>Does it work better having multiple authors or is it confusing? Maybe three more specialized blogs would be better.</li>
</ul>
<p>Thank you!</p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/future/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SnippetSaturday: Number to String</title>
		<link>http://dispatchevent.org/mims/snippetsaturday-number-to-string/</link>
		<comments>http://dispatchevent.org/mims/snippetsaturday-number-to-string/#comments</comments>
		<pubDate>Sun, 03 Apr 2011 01:48:39 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[snippets]]></category>
		<category><![CDATA[snippetsaturday]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=880</guid>
		<description><![CDATA[This is some code I wrote a long time ago back when AS3 was just starting to show up on the scene (I updated it some to work on its own and to use crazy nested Vectors). I&#8217;m sure it&#8217;s &#8230; <a href="http://dispatchevent.org/mims/snippetsaturday-number-to-string/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is some code I wrote a long time ago back when AS3 was just starting to show up on the scene (I updated it some to work on its own and to use crazy nested Vectors). I&#8217;m sure it&#8217;s not terribly useful, it probably could be optimized quite a lot, but hey, it is what it is. I think it could be informative as one crazy possible solution to a kind of difficult problem. Comments away!<br />
<script type="text/javascript" src="http://wonderfl.net/blogparts/gopr/js"></script>
<p class="ttlBpWonderfl" style="width: 465px; margin: 0; text-align: right; font-size: 11px;"><a href="http://wonderfl.net/c/gopr" title="numberToString">numberToString &#8211; wonderfl build flash online</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/snippetsaturday-number-to-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snippet Saturday: quick random choice</title>
		<link>http://dispatchevent.org/mims/snippet-saturday-quick-random-choice/</link>
		<comments>http://dispatchevent.org/mims/snippet-saturday-quick-random-choice/#comments</comments>
		<pubDate>Sun, 20 Mar 2011 20:05:22 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Tips, Tricks, and Hacks]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=877</guid>
		<description><![CDATA[Today&#8217;s Snippet Saturday (actually, Sunday) is a quick shortcut for choosing one of several strings, objects, etc. randomly. Now, I wouldn&#8217;t really recommend using this code in a project. There are ways to do the same thing that are much &#8230; <a href="http://dispatchevent.org/mims/snippet-saturday-quick-random-choice/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today&#8217;s Snippet Saturday (actually, Sunday) is a quick shortcut for choosing one of several strings, objects, etc. randomly. </p>
<p><script src="https://gist.github.com/878605.js?file=randomChoice.as"></script></p>
<p>Now, I wouldn&#8217;t really recommend using this code in a project. There are ways to do the same thing that are much more readable and less error prone. Instead, I thought it was an interesting experiment to show off some of how AS3&#8242;s syntax works for those of you who may not have seen something like this. </p>
<p>What&#8217;s happening here? Let&#8217;s break it down.</p>
<ul>
<li><code>["Alpha", "Bravo", "Charlie"]</code> &#8211; Here we are instantiating a new array and populating it with three strings. This is essentially the same as:
<pre>
var a:Array = new Array();
a[0] = "Alpha";
a[1] = "Bravo";
a[2] = "Charlie";
</pre>
</li>
<li><code>[...]</code> &#8211; next is another pair of square brackets. This is an <a href="http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/operators.html#array_access">array access operator</a>. In other words, everything between the two brackets will be evaluated as the index of the array to retrieve.</li>
<li><code>int(..</code>.) &#8211; This is an <a href="http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&#038;file=00000048.html">explicit type-cast to an int</a>. That means that everything inside those parentheses is evaluated and flash attempts to convert from whatever data type it is to an integer. In the case of decimal numbers, they are rounded down so this is similar to using <code>Math.floor()</code>.</li>
<li><code>Math.random() * 3</code> &#8211; random() of course produces a random floating point (decimal) number between 0.0 and (almost but not quite) 1.0. Multiplying that number by 3 (the length of the array) produces a number between 0.0 and 3.0 (technically, between 0 and 2.99999999etc).</li>
</ul>
<p>The result, an array is created with three strings, a random number between 0.0 and (almost) 3.0 is generated, it is rounded down to an int between 0 and 2, that number is used as the index of the array to look up. The result will be randomly one of the three strings. </p>
<p>I hope you found this interesting!</p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/snippet-saturday-quick-random-choice/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Snippet Saturday: isRoughlyEqual()  PLUS: as3-utils</title>
		<link>http://dispatchevent.org/mims/snippet-saturday-isroughlyequal-plus-as3-utils/</link>
		<comments>http://dispatchevent.org/mims/snippet-saturday-isroughlyequal-plus-as3-utils/#comments</comments>
		<pubDate>Sat, 12 Mar 2011 14:11:19 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[fuzzy]]></category>
		<category><![CDATA[isRoughlyEqual]]></category>
		<category><![CDATA[math]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=879</guid>
		<description><![CDATA[Last week, I started a (hopefully) weekly post where I throw out a (hopefully) useful piece of code for people to (hopefully) use in their projects. I&#8217;m calling this #SnippetSaturday. John Lindquist commented almost immediately that there is a project &#8230; <a href="http://dispatchevent.org/mims/snippet-saturday-isroughlyequal-plus-as3-utils/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last week, I started a (hopefully) weekly post where I throw out a (hopefully) useful piece of code for people to (hopefully) use in their projects. I&#8217;m calling this #SnippetSaturday. </p>
<p><a href="http://johnlindquist.com/">John Lindquist</a> commented almost immediately that there is a project on github designed to collect these sorts of useful little snippets of code. It&#8217;s called <a href="https://github.com/as3/as3-utils">as3-utils</a>. Check it out!</p>
<p>This week&#8217;s snippet, isRoughlyEqual(), provides a simple way to find out if two numbers are in the ballpark of each other.</p>
<p><script src="https://gist.github.com/857563.js?file=isRoughlyEqual.as"></script></p>
<p>I&#8217;ve added it to the as3-utils project too.<br />
<a href="http://github.com/mimshwright/as3-utils/blob/master/src/utils/number/isRoughlyEqual.as">http://github.com/mimshwright/as3-utils/blob/master/src/utils/number/isRoughlyEqual.as</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/snippet-saturday-isroughlyequal-plus-as3-utils/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snippet Saturday: limit() function</title>
		<link>http://dispatchevent.org/mims/snippet-saturday-limit-function/</link>
		<comments>http://dispatchevent.org/mims/snippet-saturday-limit-function/#comments</comments>
		<pubDate>Sun, 06 Mar 2011 02:14:59 +0000</pubDate>
		<dc:creator>Mims H Wright</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[gist]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[snippet-saturday]]></category>

		<guid isPermaLink="false">http://dispatchevent.org/?p=878</guid>
		<description><![CDATA[So I&#8217;m sitting on a bunch of pretty useful code and I&#8217;m not sure how to share it with people. I could create a massive library that combines all the miscellaneous bits into a single, poorly documented library, but after &#8230; <a href="http://dispatchevent.org/mims/snippet-saturday-limit-function/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m sitting on a bunch of pretty useful code and I&#8217;m not sure how to share it with people. I could create a massive library that combines all the miscellaneous bits into a <a href="http://code.google.com/p/as3lib/">single, poorly documented library</a>, but after looking at the <a href="http://flashgamedojo.com/wiki/index.php?title=Category:Snippets">Flash Game Dojo&#8217;s wiki</a>, I&#8217;m starting to believe more strongly in the idea of releasing code in smaller pieces that achieve a particular function. So, I&#8217;m going to try to kick off this idea of <a href="http://twitter.com/#!/search/%23SnippetSaturday">#SnippetSaturday</a>. I&#8217;m sure I won&#8217;t manage to post something every week but I&#8217;ll do my best. If you&#8217;ve got a blog or just twitter, I&#8217;d encourage you to join in too!</p>
<p>Anyway, here&#8217;s my first contribution. It&#8217;s a simple little function that limits a number between an upper and lower limit.</p>
<p><script src="https://gist.github.com/856948.js?file=limit.as"></script></p>
<p>BTW, I used <a href="https://gist.github.com/">gist.github.com</a> for this but <a href="http://snipplr.com">snipplr</a> is good too. If you know of others, leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://dispatchevent.org/mims/snippet-saturday-limit-function/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

