<?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"
	>

<channel>
	<title>Flash Monkey</title>
	<atom:link href="http://www.flashmonkey.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flashmonkey.co.uk</link>
	<description>Stephen Burgess - ActionScript Developer</description>
	<pubDate>Tue, 18 May 2010 12:51:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
	<language>en</language>
			<item>
		<title>Flash Monkey is going Down Under</title>
		<link>http://www.flashmonkey.co.uk/flash-monkey-is-going-down-under/</link>
		<comments>http://www.flashmonkey.co.uk/flash-monkey-is-going-down-under/#comments</comments>
		<pubDate>Tue, 18 May 2010 10:05:33 +0000</pubDate>
		<dc:creator>FlashMonkey</dc:creator>
		
		<category><![CDATA[Employment]]></category>

		<guid isPermaLink="false">http://www.flashmonkey.co.uk/?p=1024</guid>
		<description><![CDATA[Throw a couple of shrimps on the barbie cos the Flash Monkey is moving Down Under! I came to London the day after I graduated and got straight into work as a Flash Developer at Research Now. Since then I have moved to TMW, where I&#8217;ve continued to learn and grow as a Developer. However, [...]]]></description>
			<content:encoded><![CDATA[<p>Throw a couple of shrimps on the barbie cos the Flash Monkey is moving Down Under! I came to London the day after I graduated and got straight into work as a Flash Developer at Research Now. Since then I have moved to TMW, where I&#8217;ve continued to learn and grow as a Developer. However, I&#8217;ve always had an urge to do a bit of travelling, see more of the world. A few of my uni mates did it straight after graduation, but I decided it was probably best (for me) to get established and learn my trade first, so instead of travelling straight the way I moved to the Big Smoke and have been working hard for the past 4 years.</p>
<p>However, the travelling bug never left me and I have decided the time is right to do it now, so a few weeks ago I handed in my notice, booked an around the world ticket and tomorrow (19th May) I will be flying to Mexico - arriba!!</p>
<p>The plan is to spend around 5 months in Central/South America, working my way from Mexico to Argentina where I have a flight booked from Buenos Aires to Sydney on 18th October. I have already arranged a 12 month working Visa for Australia, so when I get there I will be looking for some web development work. So if you are based in Sydney and your reading this get in touch as I would love to hear from people to get an idea of what good digital agencies there are in the city and who I should be sending my CV to. Any help/advice would be greatly appreciated!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmonkey.co.uk/flash-monkey-is-going-down-under/feed/</wfw:commentRss>
		</item>
		<item>
		<title>HTML5 - Don&#8217;t talk trash about my Flash</title>
		<link>http://www.flashmonkey.co.uk/html5-dont-talk-trash-about-my-flash/</link>
		<comments>http://www.flashmonkey.co.uk/html5-dont-talk-trash-about-my-flash/#comments</comments>
		<pubDate>Tue, 11 May 2010 16:04:14 +0000</pubDate>
		<dc:creator>FlashMonkey</dc:creator>
		
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://www.flashmonkey.co.uk/?p=1029</guid>
		<description><![CDATA[It&#8217;s been ages since my last post, and I&#8217;m slightly irritated it was about AS2 so thought I&#8217;d have to stick something up, anything, just as long as it wasn&#8217;t AS2! Ever few months we have an Innovations Week at TMW which involves a week of lunch time presentations. On Monday I presented about HTML5, [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been ages since my last post, and I&#8217;m slightly irritated it was about AS2 so thought I&#8217;d have to stick something up, anything, just as long as it wasn&#8217;t AS2! Ever few months we have an Innovations Week at <a href="http://www.tmw.co.uk/" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://www.tmw.co.uk/');" target="_blank">TMW</a> which involves a week of lunch time presentations. On Monday I presented about HTML5, focusing mainly on the video and canvas tags. The presentation was a brief introduction into what HTML5 is, aimed mainly at Client Service and Project Managers (so not very techy).</p>
<p>Most of the info was taking from <a href="http://gizmodo.com/5461711/giz-explains-why-html5-isnt-going-to-save-the-internet" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://gizmodo.com/5461711/giz-explains-why-html5-isnt-going-to-save-the-internet');" target="_blank">John Herrmann&#8217;s article on Gizmodo</a> (some of it word for word!) and I also found <a href="http://richardleggett.co.uk/blog/index.php/2010/02/01/the-world-is-moving-to-html5" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://richardleggett.co.uk/blog/index.php/2010/02/01/the-world-is-moving-to-html5');" target="_blank">Richard Leggett&#8217;s article</a> very useful/interesting.</p>
<p>I won&#8217;t go into too much more detail as you can read the above articles if your interested in the subject, but I thought it was worth sticking my presentation up which can be <a onclick="pageTracker._trackEvent('Internal Link', 'Click', 'http://www.flashmonkey.co.uk/html5/presentation/HTML5 - Don't talk trash about my Flash.pdf');" href="http://www.flashmonkey.co.uk/html5/presentation/HTML5 - Don't talk trash about my Flash.pdf" target="_blank">viewed here</a>. The second to last slide contains a few other useful links about HTML5.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmonkey.co.uk/html5-dont-talk-trash-about-my-flash/feed/</wfw:commentRss>
		</item>
		<item>
		<title>drawRoundRect in AS2</title>
		<link>http://www.flashmonkey.co.uk/drawroundrect-in-as2/</link>
		<comments>http://www.flashmonkey.co.uk/drawroundrect-in-as2/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 17:13:26 +0000</pubDate>
		<dc:creator>FlashMonkey</dc:creator>
		
		<category><![CDATA[ActionScript]]></category>

		<guid isPermaLink="false">http://www.flashmonkey.co.uk/?p=991</guid>
		<description><![CDATA[Today I have been doing some retro AS2 coding (don&#8217;t ask why&#8230;) and needed to programmatically draw a rounded rectangle (or squirkle as my friend Si likes to call them). In AS3 this is a breeze as you have the drawRoundRect method of the Graphics Class. AS2 doesn&#8217;t have that, so I wrote* one:
class com.flashmonkey.display.RoundRect [...]]]></description>
			<content:encoded><![CDATA[<p>Today I have been doing some retro AS2 coding (don&#8217;t ask why&#8230;) and needed to programmatically draw a rounded rectangle (or squirkle as my friend Si likes to call them). In AS3 this is a breeze as you have the drawRoundRect method of the Graphics Class. AS2 doesn&#8217;t have that, so I wrote* one:</p>
<div class="codecolorer-container actionscript " style="overflow:auto;white-space:nowrap;width:600px"><div class="actionscript codecolorer" style="font-family:Monaco,Lucida Console,monospace"><span class="kw2">class</span> com.<span class="me1">flashmonkey</span>.<span class="me1">display</span>.<span class="me1">RoundRect</span> <br />
<span class="br0">&#123;</span><br />
&nbsp; <span class="kw3">static</span> <span class="kw3">public</span> <span class="kw2">function</span> draw<span class="br0">&#40;</span>mc:<span class="kw3">MovieClip</span>, col:<span class="kw3">Number</span>, alpha:<span class="kw3">Number</span>, x:<span class="kw3">Number</span>, y:<span class="kw3">Number</span>, w:<span class="kw3">Number</span>, h:<span class="kw3">Number</span>, radius:<span class="kw3">Number</span><span class="br0">&#41;</span><br />
&nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; col = <span class="br0">&#40;</span>col == <span class="kw3">undefined</span><span class="br0">&#41;</span> ? 0xFF00FF : col;<br />
&nbsp; &nbsp; alpha = <span class="br0">&#40;</span>alpha == <span class="kw3">undefined</span><span class="br0">&#41;</span> ? <span class="nu0">100</span> : alpha;<br />
&nbsp; &nbsp; x = <span class="br0">&#40;</span>x == <span class="kw3">undefined</span><span class="br0">&#41;</span> ? <span class="nu0">0</span> : x;<br />
&nbsp; &nbsp; y = <span class="br0">&#40;</span>y == <span class="kw3">undefined</span><span class="br0">&#41;</span> ? <span class="nu0">0</span> : y;<br />
&nbsp; &nbsp; w = <span class="br0">&#40;</span>w == <span class="kw3">undefined</span><span class="br0">&#41;</span> ? <span class="nu0">100</span> : w;<br />
&nbsp; &nbsp; h = <span class="br0">&#40;</span>h == <span class="kw3">undefined</span><span class="br0">&#41;</span> ? <span class="nu0">100</span> : h;<br />
&nbsp; &nbsp; radius = <span class="br0">&#40;</span>radius == <span class="kw3">undefined</span><span class="br0">&#41;</span> ? <span class="nu0">10</span> : radius;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="kw2">var</span> circ:<span class="kw3">Number</span> = <span class="nu0">0.707107</span>;<br />
&nbsp; &nbsp; <span class="kw2">var</span> off:<span class="kw3">Number</span> = <span class="nu0">0.6</span>;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; mc.<span class="kw3">beginFill</span><span class="br0">&#40;</span>col, alpha<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; mc.<span class="kw3">moveTo</span><span class="br0">&#40;</span>x+<span class="nu0">0</span>, y+radius<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; mc.<span class="kw3">lineTo</span><span class="br0">&#40;</span>x+<span class="nu0">0</span>, y+h-radius<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; mc.<span class="kw3">curveTo</span><span class="br0">&#40;</span>x+<span class="nu0">0</span>, y+<span class="br0">&#40;</span>h-radius<span class="br0">&#41;</span>+radius<span class="sy0">*</span><span class="br0">&#40;</span><span class="nu0">1</span>-off<span class="br0">&#41;</span>, x+<span class="nu0">0</span>+<span class="br0">&#40;</span><span class="nu0">1</span>-circ<span class="br0">&#41;</span><span class="sy0">*</span>radius, y+h-<span class="br0">&#40;</span><span class="nu0">1</span>-circ<span class="br0">&#41;</span><span class="sy0">*</span>radius<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; mc.<span class="kw3">curveTo</span><span class="br0">&#40;</span>x+<span class="br0">&#40;</span><span class="nu0">0</span>+radius<span class="br0">&#41;</span>-radius<span class="sy0">*</span><span class="br0">&#40;</span><span class="nu0">1</span>-off<span class="br0">&#41;</span>, y+h, x+radius, y+h<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; mc.<span class="kw3">lineTo</span><span class="br0">&#40;</span>x+w-radius, y+h<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; mc.<span class="kw3">curveTo</span><span class="br0">&#40;</span>x+<span class="br0">&#40;</span>w-radius<span class="br0">&#41;</span>+radius<span class="sy0">*</span><span class="br0">&#40;</span><span class="nu0">1</span>-off<span class="br0">&#41;</span>, y+h,x+w-<span class="br0">&#40;</span><span class="nu0">1</span>-circ<span class="br0">&#41;</span><span class="sy0">*</span>radius, y+h-<span class="br0">&#40;</span><span class="nu0">1</span>-circ<span class="br0">&#41;</span><span class="sy0">*</span>radius<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; mc.<span class="kw3">curveTo</span><span class="br0">&#40;</span>x+w,y+<span class="br0">&#40;</span>h-radius<span class="br0">&#41;</span>+radius<span class="sy0">*</span><span class="br0">&#40;</span><span class="nu0">1</span>-off<span class="br0">&#41;</span>, x+w, y+h-radius<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; mc.<span class="kw3">lineTo</span><span class="br0">&#40;</span>x+w, y+<span class="nu0">0</span>+radius<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; mc.<span class="kw3">curveTo</span><span class="br0">&#40;</span>x+w, y+radius-radius<span class="sy0">*</span><span class="br0">&#40;</span><span class="nu0">1</span>-off<span class="br0">&#41;</span>, x+w-<span class="br0">&#40;</span><span class="nu0">1</span>-circ<span class="br0">&#41;</span><span class="sy0">*</span>radius, y+<span class="nu0">0</span>+<span class="br0">&#40;</span><span class="nu0">1</span>-circ<span class="br0">&#41;</span><span class="sy0">*</span>radius<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; mc.<span class="kw3">curveTo</span><span class="br0">&#40;</span>x+<span class="br0">&#40;</span>w-radius<span class="br0">&#41;</span>+radius<span class="sy0">*</span><span class="br0">&#40;</span><span class="nu0">1</span>-off<span class="br0">&#41;</span>, y+<span class="nu0">0</span>, x+w-radius, y+<span class="nu0">0</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; mc.<span class="kw3">lineTo</span><span class="br0">&#40;</span>x+radius, y+<span class="nu0">0</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; mc.<span class="kw3">curveTo</span><span class="br0">&#40;</span>x+radius-radius<span class="sy0">*</span><span class="br0">&#40;</span><span class="nu0">1</span>-off<span class="br0">&#41;</span>, y+<span class="nu0">0</span>,x+<span class="br0">&#40;</span><span class="nu0">1</span>-circ<span class="br0">&#41;</span><span class="sy0">*</span>radius, y+<span class="br0">&#40;</span><span class="nu0">1</span>-circ<span class="br0">&#41;</span><span class="sy0">*</span>radius<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; mc.<span class="kw3">curveTo</span><span class="br0">&#40;</span>x+<span class="nu0">0</span>, y+radius-radius<span class="sy0">*</span><span class="br0">&#40;</span><span class="nu0">1</span>-off<span class="br0">&#41;</span>, x+<span class="nu0">0</span>, y+radius<span class="br0">&#41;</span>;<br />
&nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span></div></div>
<p>So you can use it (if your extremely unfortunate and have to code in AS2) like this:</p>
<div class="codecolorer-container actionscript " style="overflow:auto;white-space:nowrap;width:600px"><div class="actionscript codecolorer" style="font-family:Monaco,Lucida Console,monospace"><span class="kw3">import</span> com.<span class="me1">flashmonkey</span>.<span class="me1">display</span>.<span class="me1">RoundRect</span>;<br />
<br />
RoundRect.<span class="me1">draw</span><span class="br0">&#40;</span><span class="kw3">_root</span><span class="br0">&#41;</span>;<br />
<br />
<span class="co1">// or like this</span><br />
<br />
RoundRect.<span class="me1">draw</span><span class="br0">&#40;</span><span class="kw3">_root</span>.<span class="kw3">createEmptyMovieClip</span><span class="br0">&#40;</span><span class="st0">&quot;mc&quot;</span>, <span class="kw3">_root</span>.<span class="kw3">getNextHighestDepth</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>, 0x00FFFF, <span class="nu0">50</span>, <span class="nu0">75</span>, <span class="nu0">75</span>, <span class="nu0">175</span>, <span class="nu0">100</span>, <span class="nu0">6</span><span class="br0">&#41;</span>;</div></div>
<h4>* I actually didn&#8217;t write all the lineTo curveTo stuff, I stole it from somewhere a few years ago but can&#8217;t remember where from to credit the original developer - if it was you, email me and I will credit you! <img src='http://www.flashmonkey.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </h4>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmonkey.co.uk/drawroundrect-in-as2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Simple JavaScript Physics</title>
		<link>http://www.flashmonkey.co.uk/simple-javascript-physics/</link>
		<comments>http://www.flashmonkey.co.uk/simple-javascript-physics/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 17:21:34 +0000</pubDate>
		<dc:creator>FlashMonkey</dc:creator>
		
		<category><![CDATA[HTML5]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Physics]]></category>

		<guid isPermaLink="false">http://www.flashmonkey.co.uk/?p=970</guid>
		<description><![CDATA[
Throw Physics
It&#8217;s been a fairly quiet Friday afternoon so I thought I&#8217;d play around with some more JavaScript. This time I&#8217;ve created some simple throw physics&#8230; you can click and throw the balls around the browser window. Each ball has a different bounce/weight depending on it&#8217;s size.
I thought it would be really nice that if [...]]]></description>
			<content:encoded><![CDATA[<p><a onclick="pageTracker._trackEvent('Internal Link', 'Click', 'http://www.flashmonkey.co.uk/html5/simple-physics/');" href="http://www.flashmonkey.co.uk/html5/simple-physics/" target="_blank"><img src="http://www.flashmonkey.co.uk/html5/simple-physics/image.png" alt="" /></a></p>
<h2>Throw Physics</h2>
<p>It&#8217;s been a fairly quiet Friday afternoon so I thought I&#8217;d play around with some more JavaScript. This time I&#8217;ve created some simple throw physics&#8230; you can click and throw the balls around the browser window. Each ball has a different bounce/weight depending on it&#8217;s size.</p>
<p>I thought it would be really nice that if you shook the browser window the balls went flying all over the screen, which I sort of implemented, although it seems to take a little while to register that the window has moved so it doesn&#8217;t really work as I imagined. Try it though, as they do move a bit. Also, it&#8217;s quite cool when you re-size the window.</p>
<p>Click <a onclick="pageTracker._trackEvent('Internal Link', 'Click', 'http://www.flashmonkey.co.uk/html5/simple-physics/');" href="http://www.flashmonkey.co.uk/html5/simple-physics/" target="_blank">here</a> to view the throw physics example.</p>
<p><a onclick="pageTracker._trackEvent('Internal Link', 'Click', 'http://www.flashmonkey.co.uk/html5/wave-physics/');" href="http://www.flashmonkey.co.uk/html5/wave-physics/" target="_blank"><img src="http://www.flashmonkey.co.uk/html5/wave-physics/image.png" alt="" /></a></p>
<h2>Wave Physics</h2>
<p>This one is based on the brilliant <a href="http://yugop.com/" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://yugop.com/');" target="_blank">Yugo Nakamura&#8217;s</a> Flash wave effect. I also need to thank <a href="http://www.kirupa.com/forum/archive/index.php/t-226232.html" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://www.kirupa.com/forum/archive/index.php/t-226232.html');" target="_blank">Paul Lewis</a> for posting his AS2 wave example, from which I stole some of the physics code. Roll your cursor over the middle line to create a wave effect.</p>
<p>Click <a onclick="pageTracker._trackEvent('Internal Link', 'Click', 'http://www.flashmonkey.co.uk/html5/wave-physics/');" href="http://www.flashmonkey.co.uk/html5/wave-physics/" target="_blank">here</a> to view the wave example.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmonkey.co.uk/simple-javascript-physics/feed/</wfw:commentRss>
		</item>
		<item>
		<title>HTML5 Monkey</title>
		<link>http://www.flashmonkey.co.uk/html5-monkey/</link>
		<comments>http://www.flashmonkey.co.uk/html5-monkey/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 00:27:58 +0000</pubDate>
		<dc:creator>FlashMonkey</dc:creator>
		
		<category><![CDATA[HTML5]]></category>

		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.flashmonkey.co.uk/?p=913</guid>
		<description><![CDATA[HTML5 Monkey&#8230; doesn&#8217;t quite have the same ring to it, but I thought I&#8217;d have a little play with HTML5 anyway. So far 2010 seems to be the year where people Flash bash. &#8220;It&#8217;s not accessibly, it isn&#8217;t great at SEO, HTML5 will wipe it out&#8221; - it&#8217;s all being said. I personally think there [...]]]></description>
			<content:encoded><![CDATA[<p>HTML5 Monkey&#8230; doesn&#8217;t quite have the same ring to it, but I thought I&#8217;d have a little play with HTML5 anyway. So far 2010 seems to be the year where people Flash bash. <i>&#8220;It&#8217;s not accessibly, it isn&#8217;t great at SEO, HTML5 will wipe it out&#8221;</i> - it&#8217;s all being said. I personally think there are some exciting new developments happening in HTML5 and JavaScript, but I very much doubt it&#8217;s the end of Flash. Flash will either innovate or die, and when you look at how far it&#8217;s come in recent years (typed arrays, the sound spectrum amongst other stuff) I reckon Adobe will innovate Flash and it will live on for some years to come. Grant Skinner <a href="http://www.gskinner.com/blog/archives/2010/02/my_thoughts_on.html" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://www.gskinner.com/blog/archives/2010/02/my_thoughts_on.html');" target="_blank">summed it up brilliantly</a>: <i>&#8220;you shouldn&#8217;t get so emotional about technology,  I don&#8217;t care if it&#8217;s Mac vs. PC, XBox vs. PS3, or Flash vs. HTML 5, I say use whatever works for you.&#8221;</i></p>
<p>Anyway, with that in mind and a bit of general curiosity I thought I&#8217;d have a play around with some JavaScript today. The plan was to re-write a couple of the physics stuff I&#8217;ve been doing lately using HTML5 canvas and the JavaScript drawing API. I actually really enjoyed playing around with it, and found it very simple to pick up - although my code may not be written in the best way (I&#8217;m by no means a JavaScript Developer).</p>
<p>It felt a lot like AS2 (well, that&#8217;s because it is) and writing AS3 is so much more fun (I guess cos I&#8217;m so familiar with Flash). However, on a positive note the apps run a lot faster in JavaScript.</p>
<p>With <a href="http://away3d.com/projects-using-away3d/jsaway" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://away3d.com/projects-using-away3d/jsaway');" target="_blank">Away3D writing a library</a>, and <a href="http://code.google.com/apis/o3d/" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://code.google.com/apis/o3d/');" target="_blank">Google working on OpenGL</a>, I think we&#8217;ll see some really cool stuff in HTML5 this year, and I&#8217;m really looking forward to learning a bit more about it, although my main focus will definitely remain on Flash (for the time being anyway).</p>
<p>Check out the two apps I&#8217;ve ported, below is a link to both the JS version and the Flash version so you can compare the two. If you don&#8217;t see anything in your browser for the JavaScript examples you will need to either upgrade you browser or grab a copy of <a href="http://www.google.co.uk/chrome" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://www.google.co.uk/chrome');" target="_blank">Google Chrome</a>.</p>
<h2>ColorWall</h2>
<p><a href="http://www.flashmonkey.co.uk/html5/colorwall/" onClick="pageTracker._trackEvent('Internal Link', 'Click', 'http://www.flashmonkey.co.uk/html5/colorwall/');" target="_blank"><img src="http://flashmonkey.co.uk/html5/colorwall/col_wall.png"></a><br />
I&#8217;m pretty bored of ColorWall but it had to be the first thing I re-wrote as I knew it would give me the best indication of performance differences.</p>
<p>> <a href="http://www.flashmonkey.co.uk/html5/colorwall/" onClick="pageTracker._trackEvent('Internal Link', 'Click', 'http://www.flashmonkey.co.uk/html5/colorwall/');" target="_blank">HTML5 JavaScript Canvas version</a><br />
> <a href="http://www.flashmonkey.co.uk/flash/colorwall/" onClick="pageTracker._trackEvent('Internal Link', 'Click', 'http://www.flashmonkey.co.uk/flash/colorwall/');" target="_blank">Original AS3 Flash version</a></p>
<h2>WobbleWall</h2>
<p><a href="http://www.flashmonkey.co.uk/html5/wobblewall/" onClick="pageTracker._trackEvent('Internal Link', 'Click', 'http://www.flashmonkey.co.uk/html5/wobblewall/');" target="_blank"><img src="http://flashmonkey.co.uk/html5/wobblewall/wob_wall.png"></a><br />
It was getting late and I couldn&#8217;t be bother to make these exactly the same so this is a slight adaptation of WobbleWall. For the JS version I purposefully changed the effect slightly (it isn&#8217;t a bug).</p>
<p>> <a href="http://www.flashmonkey.co.uk/html5/wobblewall/" onClick="pageTracker._trackEvent('Internal Link', 'Click', 'http://www.flashmonkey.co.uk/html5/wobblewall/');" target="_blank">HTML5 JavaScript Canvas version</a><br />
> <a href="http://www.flashmonkey.co.uk/flash/wobblewall/" onClick="pageTracker._trackEvent('Internal Link', 'Click', 'http://www.flashmonkey.co.uk/flash/wobblewall/');" target="_blank">Original AS3 Flash version</a></p>
<p>View the page source for all the code. If your a Flash Developer thinking of Playing around with canvas below are some useful/inspiring links:</p>
<p>> <a href="http://blog.nihilogic.dk/2009/02/html5-canvas-cheat-sheet.html" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://blog.nihilogic.dk/2009/02/html5-canvas-cheat-sheet.html');" target="_blank">HTML5 Canvas Cheat Sheet</a><br />
> <a href="http://carsonified.com/blog/dev/html-5-dev/how-to-draw-with-html-5-canvas/" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://carsonified.com/blog/dev/html-5-dev/how-to-draw-with-html-5-canvas/');" target="_blank">How to Draw with HTML 5 Canvas</a><br />
> <a href="http://www.p01.org/releases/256b_mars_canvas/" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://www.p01.org/releases/256b_mars_canvas/');" target="_blank">P01&#8217;s Mars Canvas - check out the source code for this</a><br />
> <a href="http://mrdoob.com/" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://mrdoob.com/');" target="_blank">Some cool HTML5 stuff from Dr Doob</a></p>
<hr width=0>
Any links, help, advise is very much appreciated so please post a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmonkey.co.uk/html5-monkey/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using Value Objects in Flash</title>
		<link>http://www.flashmonkey.co.uk/using-value-objects-in-flash/</link>
		<comments>http://www.flashmonkey.co.uk/using-value-objects-in-flash/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 17:54:00 +0000</pubDate>
		<dc:creator>FlashMonkey</dc:creator>
		
		<category><![CDATA[ActionScript]]></category>

		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://www.flashmonkey.co.uk/?p=889</guid>
		<description><![CDATA[From time to time I get emails from people asking for help or advice and last week I was discussing with Gabe about how VOs might help him organize his code. I think a large amount of the visits to my blog come from Flash newbies and designers so this post is perhaps more for [...]]]></description>
			<content:encoded><![CDATA[<p>From time to time I get emails from people asking for help or advice and last week I was discussing with <a href="http://www.gabadilla.com" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://www.gabadilla.com');" target="_blank">Gabe</a> about how VOs might help him organize his code. I think a large amount of the visits to my blog come from Flash newbies and designers so this post is perhaps more for them as most developers will already know about VOs and will probably be using them all the time.</p>
<h2>What is a VO?</h2>
<p>A Value Object (VO) is as simple as it sounds, an object that stores values or data. An example of a VO is something as simple as this:</p>
<div class="codecolorer-container actionscript3 " style="overflow:auto;white-space:nowrap;width:600px"><div class="actionscript3 codecolorer" style="font-family:Monaco,Lucida Console,monospace"><span class="kw1">public</span> <span class="kw4">class</span> VideoVO<br />
<span class="br0">&#123;</span><br />
&nbsp; <span class="kw1">public</span> <span class="kw2">var</span> id<span class="sy0">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">String</span></a>;<br />
&nbsp; <span class="kw1">public</span> <span class="kw2">var</span> src<span class="sy0">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">String</span></a>;<br />
&nbsp; <span class="kw1">public</span> <span class="kw2">var</span> autoPlay<span class="sy0">:</span><a href="http://www.google.com/search?q=boolean%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:boolean.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Boolean</span></a>;<br />
&nbsp; <span class="kw1">public</span> <span class="kw2">var</span> <span class="kw7">width</span><span class="sy0">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a>;<br />
&nbsp; <span class="kw1">public</span> <span class="kw2">var</span> <span class="kw7">height</span><span class="sy0">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a>;<br />
<span class="br0">&#125;</span></div></div>
<h2>Where would you use a VO?</h2>
<p>The place I use them most is when loading external XML into Flash for populating content. This could be page content, or something simple like a video gallery. Sticking with the gallery idea, below is an example of using VOs.</p>
<p>Imagine I had a simple gallery that was populated with XML:</p>
<div class="codecolorer-container xml " style="overflow:auto;white-space:nowrap;width:600px"><div class="xml codecolorer" style="font-family:Monaco,Lucida Console,monospace"><span class="sc3"><span class="re1">&lt;videos<span class="re2">&gt;</span></span></span><br />
&nbsp; <span class="sc3"><span class="re1">&lt;video</span> <span class="re0">id</span>=<span class="st0">&quot;video-1&quot;</span><span class="re2">&gt;</span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;title<span class="re2">&gt;</span></span></span>Video 1 header<span class="sc3"><span class="re1">&lt;/title<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;src<span class="re2">&gt;</span></span></span>resources/media/video1.flv<span class="sc3"><span class="re1">&lt;/src<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;autoPlay<span class="re2">&gt;</span></span></span>true<span class="sc3"><span class="re1">&lt;/autoPlay<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;width<span class="re2">&gt;</span></span></span>300<span class="sc3"><span class="re1">&lt;/width<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;height<span class="re2">&gt;</span></span></span>200<span class="sc3"><span class="re1">&lt;/height<span class="re2">&gt;</span></span></span><br />
&nbsp; <span class="sc3"><span class="re1">&lt;/video<span class="re2">&gt;</span></span></span><br />
&nbsp; <span class="sc3"><span class="re1">&lt;video</span> <span class="re0">id</span>=<span class="st0">&quot;video-2&quot;</span><span class="re2">&gt;</span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;title<span class="re2">&gt;</span></span></span>Video 2 header<span class="sc3"><span class="re1">&lt;/title<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;src<span class="re2">&gt;</span></span></span>resources/media/video2.flv<span class="sc3"><span class="re1">&lt;/src<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;autoPlay<span class="re2">&gt;</span></span></span>false<span class="sc3"><span class="re1">&lt;/autoPlay<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;width<span class="re2">&gt;</span></span></span>300<span class="sc3"><span class="re1">&lt;/width<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;height<span class="re2">&gt;</span></span></span>200<span class="sc3"><span class="re1">&lt;/height<span class="re2">&gt;</span></span></span><br />
&nbsp; <span class="sc3"><span class="re1">&lt;/video<span class="re2">&gt;</span></span></span><br />
&nbsp; <span class="sc3"><span class="re1">&lt;video</span> <span class="re0">id</span>=<span class="st0">&quot;video-3&quot;</span><span class="re2">&gt;</span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;title<span class="re2">&gt;</span></span></span>Video 3 header<span class="sc3"><span class="re1">&lt;/title<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;src<span class="re2">&gt;</span></span></span>resources/media/video3.flv<span class="sc3"><span class="re1">&lt;/src<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;autoPlay<span class="re2">&gt;</span></span></span>true<span class="sc3"><span class="re1">&lt;/autoPlay<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;width<span class="re2">&gt;</span></span></span>400<span class="sc3"><span class="re1">&lt;/width<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;height<span class="re2">&gt;</span></span></span>300<span class="sc3"><span class="re1">&lt;/height<span class="re2">&gt;</span></span></span><br />
&nbsp; <span class="sc3"><span class="re1">&lt;/video<span class="re2">&gt;</span></span></span><br />
<span class="sc3"><span class="re1">&lt;/videos<span class="re2">&gt;</span></span></span></div></div>
<p>We could parse the data into a Vector of VideoVOs like the example below:</p>
<div class="codecolorer-container actionscript3 " style="overflow:auto;white-space:nowrap;width:600px"><div class="actionscript3 codecolorer" style="font-family:Monaco,Lucida Console,monospace"><span class="kw3">function</span> parseVideoXML<span class="br0">&#40;</span>xml<span class="sy0">:</span><a href="http://www.google.com/search?q=xml%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:xml.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">XML</span></a><span class="br0">&#41;</span><span class="sy0">:</span><span class="kw1">void</span><br />
<span class="br0">&#123;</span><br />
&nbsp; <span class="kw2">var</span> i<span class="sy0">:</span><a href="http://www.google.com/search?q=int%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:int.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">int</span></a>;<br />
&nbsp; <span class="kw2">var</span> l<span class="sy0">:</span><a href="http://www.google.com/search?q=int%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:int.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">int</span></a> = xml.video.<span class="kw7">length</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; <span class="kw2">var</span> videos<span class="sy0">:</span>Vector.<span class="sy0">&lt;</span>VideoVO<span class="sy0">&gt;</span> = <span class="kw1">new</span> Vector.<span class="sy0">&lt;</span>VideoVO<span class="sy0">&gt;</span><span class="br0">&#40;</span>l, <span class="kw1">true</span><span class="br0">&#41;</span>;<br />
<br />
&nbsp; <span class="kw1">for</span><span class="br0">&#40;</span>i; i <span class="sy0">&lt;</span> l; <span class="sy0">++</span>i<span class="br0">&#41;</span><br />
&nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; videos<span class="br0">&#91;</span>i<span class="br0">&#93;</span> = <span class="kw1">new</span> VideoVO<span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; videos<span class="br0">&#91;</span>i<span class="br0">&#93;</span>.id = xml.video<span class="br0">&#91;</span>i<span class="br0">&#93;</span>.@id;<br />
&nbsp; &nbsp; videos<span class="br0">&#91;</span>i<span class="br0">&#93;</span>.src = xml.video<span class="br0">&#91;</span>i<span class="br0">&#93;</span>.src;<br />
&nbsp; &nbsp; videos<span class="br0">&#91;</span>i<span class="br0">&#93;</span>.autoPlay = <span class="br0">&#40;</span>xml.video<span class="br0">&#91;</span>i<span class="br0">&#93;</span>.autoPlay == <span class="st0">&quot;true&quot;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; videos<span class="br0">&#91;</span>i<span class="br0">&#93;</span>.<span class="kw7">width</span> = <a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a><span class="br0">&#40;</span>xml.video<span class="br0">&#91;</span>i<span class="br0">&#93;</span>.<span class="kw7">width</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; videos<span class="br0">&#91;</span>i<span class="br0">&#93;</span>.<span class="kw7">height</span> = <a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a><span class="br0">&#40;</span>xml.video<span class="br0">&#91;</span>i<span class="br0">&#93;</span>.<span class="kw7">height</span><span class="br0">&#41;</span>;<br />
&nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span></div></div>
<p>Now in your gallery you can just pass a VideoVO and all your data is organized so you don’t need to pass the XML object around, and remember the structure for referencing elements.</p>
<h2>So why bother using VOs?</h2>
<p>There are a couple of reasons that VOs are useful. Firstly, they help you keep your code organised. It’s a clear way of separating the data from your XML files and other Developers will find it easier to pick up your code. For example, say you have a massive XML file that defines the structure of a microsite, and one small part of that site is a video gallery. Someone working on the gallery doesn’t need to have any knowledge of the XML structure, you can just tell them to write code that expects a VideoVO.</p>
<p>Secondly it is quicker to update things. Say I am using the video data from my XML in several places throughout my code, and the XML structure changes. I would have to go through and edit every place within my project that references the XML. However, if I parse my XML once when it’s loaded, and store the data in VOs, I only have to change path referencing in one place.</p>
<p>Thirdly, if you have a massive XML, it will be quicker to use VOs rather than doing lookups in the XML every time you need data. OK not much quicker, in fact you will never notice the difference, but I believe it’s always worth making your code as optimised as possible.</p>
<h2>Another good way of using VOs in Flash</h2>
<p>Another place where you could use VOs is with a tweening engine that requires an object to be passed to it, for example TweenMax. So for example, using the same video gallery idea, you might want to have a transition to display the video view. You could create a simple TweenVO like this:</p>
<div class="codecolorer-container actionscript3 " style="overflow:auto;white-space:nowrap;width:600px"><div class="actionscript3 codecolorer" style="font-family:Monaco,Lucida Console,monospace"><span class="kw1">public</span> <span class="kw4">class</span> TweenVO<br />
<span class="br0">&#123;</span><br />
&nbsp; <span class="kw1">public</span> <span class="kw2">var</span> rotationY<span class="sy0">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a>;<br />
&nbsp; <span class="kw1">public</span> <span class="kw2">var</span> <span class="kw7">x</span><span class="sy0">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a>;<br />
&nbsp; <span class="kw1">public</span> <span class="kw2">var</span> <span class="kw7">scaleX</span><span class="sy0">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Number</span></a>;<br />
<span class="br0">&#125;</span></div></div>
<p>And then just pass the VO to your tweening engine like this:</p>
<div class="codecolorer-container actionscript3 " style="overflow:auto;white-space:nowrap;width:600px"><div class="actionscript3 codecolorer" style="font-family:Monaco,Lucida Console,monospace"><span class="kw2">var</span> tweenVO<span class="sy0">:</span>TweenVO = <span class="kw1">new</span> TweenVO<span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
tweenVO.rotationY = <span class="nu0">30</span>;<br />
tweenVO.<span class="kw7">x</span> = <span class="nu0">20</span>;<br />
tweenVO.<span class="kw7">scaleX</span> = .6;<br />
<br />
TweenMax.from<span class="br0">&#40;</span>video, <span class="nu0">1</span>, tweenVO<span class="br0">&#41;</span>;</div></div>
<p>If you know any other benefits, or perhaps negatives, for using VOs please make a comment. In fact any comments are always really appreciated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmonkey.co.uk/using-value-objects-in-flash/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ColorSnake</title>
		<link>http://www.flashmonkey.co.uk/colorsnake/</link>
		<comments>http://www.flashmonkey.co.uk/colorsnake/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 13:47:56 +0000</pubDate>
		<dc:creator>FlashMonkey</dc:creator>
		
		<category><![CDATA[ActionScript]]></category>

		<category><![CDATA[Experiment]]></category>

		<guid isPermaLink="false">http://www.flashmonkey.co.uk/?p=868</guid>
		<description><![CDATA[Like ColorWall but sort of a snake, it probably makes more sense after you&#8217;ve seen it so click here to view it. Yesterday I had to create an effect for a site I&#8217;m currently working on and once again turned to ColorWall for inspiration. I actually ended up using something else but while messing around [...]]]></description>
			<content:encoded><![CDATA[<p>Like ColorWall but sort of a snake, it probably makes more sense after you&#8217;ve seen it so <a href="http://flashmonkey.co.uk/flash/colorsnake/" onClick="pageTracker._trackEvent('Internal Link', 'Click', 'http://flashmonkey.co.uk/flash/colorsnake/');" target="_blank">click here</a> to view it. Yesterday I had to create an effect for a site I&#8217;m currently working on and once again turned to <a href="http://flashmonkey.co.uk/flash/colorwall/" onClick="pageTracker._trackEvent('Internal Link', 'Click', 'http://flashmonkey.co.uk/flash/colorwall/');" target="_blank">ColorWall</a> for inspiration. I actually ended up using something else but while messing around with the ColorWall code I created this snake like effect.</p>
<p><a href="http://flashmonkey.co.uk/flash/colorsnake/" onClick="pageTracker._trackEvent('Internal Link', 'Click', 'http://flashmonkey.co.uk/flash/colorsnake/');" target="_blank"><img src="http://flashmonkey.co.uk/flash/colorsnake/snake.png"></a></p>
<p>I only made ColorWall as an experiment to figure out a way of re-creating <a href="http://yugop.com/" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://yugop.com/');" target="_blank">Yugo Nakamura&#8217;s</a> <a href="http://wonder-wall.com/" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://wonder-wall.com/');" target="_blank">wonderwall</a>. However, I&#8217;ve since used the code for a couple of other projects/experiments, including a page flip (which I still need to post about). It&#8217;s great how something so simple can inspire/help with so many other projects.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmonkey.co.uk/colorsnake/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Setting the Stage vanishing point in as3</title>
		<link>http://www.flashmonkey.co.uk/setting-the-stage-vanishing-point-in-as3/</link>
		<comments>http://www.flashmonkey.co.uk/setting-the-stage-vanishing-point-in-as3/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 13:35:24 +0000</pubDate>
		<dc:creator>FlashMonkey</dc:creator>
		
		<category><![CDATA[3D]]></category>

		<category><![CDATA[ActionScript]]></category>

		<guid isPermaLink="false">http://www.flashmonkey.co.uk/?p=858</guid>
		<description><![CDATA[I was playing around with Flash Player 10 3D capabilities yesterday and thought it was worth posting how to set the Stage vanishing point (as it&#8217;s not that well documented). The vanishing point is set to the top left corner of the stage by default. The below code set&#8217;s it to the center of the [...]]]></description>
			<content:encoded><![CDATA[<p>I was playing around with Flash Player 10 3D capabilities yesterday and thought it was worth posting how to set the Stage vanishing point (as it&#8217;s not that well documented). The vanishing point is set to the top left corner of the stage by default. The below code set&#8217;s it to the center of the stage:</p>
<div class="codecolorer-container actionscript3 " style="overflow:auto;white-space:nowrap;width:600px"><div class="actionscript3 codecolorer" style="font-family:Monaco,Lucida Console,monospace"><span class="kw7">root</span>.<span class="kw7">transform</span>.perspectiveProjection.projectionCenter = <span class="kw1">new</span> <a href="http://www.google.com/search?q=point%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:point.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span class="kw5">Point</span></a><span class="br0">&#40;</span><span class="kw7">stage</span>.<span class="kw7">stageWidth</span> <span class="sy0">*</span> .5, <span class="kw7">stage</span>.<span class="kw7">stageHeight</span> <span class="sy0">*</span> .5<span class="br0">&#41;</span>;</div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmonkey.co.uk/setting-the-stage-vanishing-point-in-as3/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Season Speakings</title>
		<link>http://www.flashmonkey.co.uk/season-speakings/</link>
		<comments>http://www.flashmonkey.co.uk/season-speakings/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 00:18:19 +0000</pubDate>
		<dc:creator>FlashMonkey</dc:creator>
		
		<category><![CDATA[ActionScript]]></category>

		<category><![CDATA[Client]]></category>

		<category><![CDATA[Physics]]></category>

		<guid isPermaLink="false">http://www.flashmonkey.co.uk/?p=838</guid>
		<description><![CDATA[I&#8217;ll keep this short and sweet cos I&#8217;m so tired from lack of sleep trying to get this thing live! This is the second xmas project I worked on this year. It was for my good friend Federico&#8217;s company Cocomino, and I built the site with Tavis. I did the front end Flash, Tavis did [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll keep this short and sweet cos I&#8217;m so tired from lack of sleep trying to get this thing live! This is the second xmas project I worked on this year. It was for my good friend Federico&#8217;s company <a href="http://www.cocomino.com/" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://www.cocomino.com/');" target="_blank">Cocomino</a>, and I built the site with <a href="http://tinyrobot.co.uk/" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://tinyrobot.co.uk/');" target="_blank">Tavis</a>. I did the front end Flash, Tavis did the backend / Facebook connect stuff and Fed did the designs.</p>
<p><a href="http://www.seasonspeakings.com/" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://www.seasonspeakings.com/');" target="_blank"><img src="http://www.flashmonkey.co.uk/images/cocoxmas_1.jpg"></a></p>
<p>I&#8217;m really proud of this one and I really hope it goes viral to get Cocomino some good marketing. The site was really fun to build and Tavis did a great job with the text-to-speech stuff. I&#8217;ll probably elaborate on the project more in the future (especially about the headaches we suffer from Facebook connect) but for now go and check it out at <a href="http://www.seasonspeakings.com/" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://www.seasonspeakings.com/');" target="_blank">www.seasonspeakings.com</a>. Create your own season speakings and send them to all your friends (and me)!</p>
<p><a href="http://www.seasonspeakings.com/#/id=83" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://www.seasonspeakings.com/#/id=83');" target="_blank"><img src="http://flashmonkey.co.uk/images/cocoxmas_2.jpg"></a></p>
<p>If you&#8217;ve read the blog recently you&#8217;ll know I&#8217;ve gone a bit particle crazy with the <a href="http://flashmonkey.co.uk/flash/wobblewall/" onClick="pageTracker._trackEvent('Internal Link', 'Click', 'http://flashmonkey.co.uk/flash/wobblewall/');" target="_blank">wobble</a> and <a href="http://flashmonkey.co.uk/flash/colorwall/" onClick="pageTracker._trackEvent('Internal Link', 'Click', 'http://flashmonkey.co.uk/flash/colorwall/');" target="_blank">color</a> walls. I kept it up with this project if you check out the snow in the window and don&#8217;t miss the cigar smoke with the main character shown above.</p>
<p>Big thanks to Tavis for never giving up and Fed for keeping us going (and fantastic designs). Also thanks to Sonya for being so patient with all the late nights. Merry Christmas everyone! I&#8217;m off to India for 3 weeks over xmas so the blog will be quiet for a month but in the new year I&#8217;ll post about how I made a page flip with particles for the <a href="http://www.flashmonkey.co.uk/gordons-christmas/" onClick="pageTracker._trackEvent('Internal Link', 'Click', 'http://www.flashmonkey.co.uk/gordons-christmas/');">Gordon&#8217;s xmas site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmonkey.co.uk/season-speakings/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gordon&#8217;s Christmas</title>
		<link>http://www.flashmonkey.co.uk/gordons-christmas/</link>
		<comments>http://www.flashmonkey.co.uk/gordons-christmas/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 13:41:44 +0000</pubDate>
		<dc:creator>FlashMonkey</dc:creator>
		
		<category><![CDATA[Client]]></category>

		<category><![CDATA[Employment]]></category>

		<guid isPermaLink="false">http://www.flashmonkey.co.uk/?p=824</guid>
		<description><![CDATA[This is the first of two Christmas sites I&#8217;ve worked on this year. This site was created for TMW, the digital agency I currently work at, with the end client being Gordon&#8217;s Gin. The nice thing about the project is that it&#8217;s an integrated online and offline campaign, so there is a nice little book [...]]]></description>
			<content:encoded><![CDATA[<p>This is the first of two Christmas sites I&#8217;ve worked on this year. This site was created for <a href="http://www.tmw.co.uk/" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://www.tmw.co.uk/');" target="_blank">TMW</a>, the digital agency I currently work at, with the end client being Gordon&#8217;s Gin. The nice thing about the project is that it&#8217;s an integrated online and offline campaign, so there is a nice little book that accompanies the site. A lot of people were involved in the project and everyone did a great job to produce the site. My role was to create the main site container, and the page flip functionality. I was pretty please with the page flip as I wrote it from scratch using particles rather than a 3D engine - I&#8217;ll write a blog post about how I created it in the New Year.</p>
<p>Check out the site <a href="http://www.gordons-christmas.co.uk/" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://www.gordons-christmas.co.uk/');" target="_blank">here.</a></p>
<p><a href="http://www.gordons-christmas.co.uk/#/games/detective-game" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://www.gordons-christmas.co.uk/#/games/detective-game');" target="_blank"><img src="http://flashmonkey.co.uk/images/private-eye.jpg"></a></p>
<p>Be sure to check out the <a href="http://www.gordons-christmas.co.uk/#/games/underwater-game" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://www.gordons-christmas.co.uk/#/games/underwater-game');" target="_blank"><i>&#8216;Drop that phrase&#8217;</i></a> page as I made the fish scared of the mouse and they swim away from it (it&#8217;s the little things!)</p>
<p><a href="http://www.gordons-christmas.co.uk/#/games/underwater-game" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://www.gordons-christmas.co.uk/#/games/underwater-game');" target="_blank"><img src="http://flashmonkey.co.uk/images/under-water.jpg"></a></p>
<p>Special mention goes to <a href="http://www.zonkzone.net/" onClick="pageTracker._trackEvent('External Link', 'Click', 'http://www.zonkzone.net/');" target="_blank">Immo Blease</a> who created the page SWFs, Mark Brunt who created the intro 3D animation and Ivan Cho, the Project Manager who kept everything going smoothly. (There&#8217;s a load of other people who did a great job, the Art Director, the Illustrator etc etc but the list could go on forever and I&#8217;ll still only miss someone out!)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmonkey.co.uk/gordons-christmas/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
