<?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>SRJM.co.uk &#187; Flash and Actionscript</title>
	<atom:link href="http://www.srjm.co.uk/journal/tagged/flash-and-actionscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.srjm.co.uk</link>
	<description>The online journal of digital artist and web designer Simon R.J. Mutton.</description>
	<lastBuildDate>Fri, 09 Jul 2010 20:56:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Added sIFR to the Site</title>
		<link>http://www.srjm.co.uk/journal/2009/09/added-sifr-to-the-site/</link>
		<comments>http://www.srjm.co.uk/journal/2009/09/added-sifr-to-the-site/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 14:50:06 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.srjm.co.uk/?p=645</guid>
		<description><![CDATA[<p>Tired with the poor antialiasing observed in big header fonts, I decided to introduce sIFR to the site. Here's a preview shot allowing me to use High Tower Text as my page heading:</p>
<p class="alignCentre"><a href="http://www.flickr.com/photos/thanandyr/3933619965/" title="sIFR-preview by srjm, on Flickr"><img src="http://farm4.static.flickr.com/3494/3933619965_39646bfbc7_o.jpg" width="500" height="329" alt="sIFR-preview" /></a></p>]]></description>
			<content:encoded><![CDATA[<p>Tired with the poor antialiasing observed in big header fonts, I decided to introduce sIFR to the site. Here&#8217;s a preview shot allowing me to use High Tower Text as my page heading:</p>
<p class="alignCentre"><a href="http://www.flickr.com/photos/thanandyr/3933619965/" title="sIFR-preview by srjm, on Flickr"><img src="http://farm4.static.flickr.com/3494/3933619965_39646bfbc7_o.jpg" width="500" height="329" alt="sIFR-preview" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2009/09/added-sifr-to-the-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Completed a Flash Drag and Drop Demo</title>
		<link>http://www.srjm.co.uk/journal/2009/09/completed-a-flash-drag-and-drop-demo/</link>
		<comments>http://www.srjm.co.uk/journal/2009/09/completed-a-flash-drag-and-drop-demo/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 12:11:48 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Diagram]]></category>
		<category><![CDATA[e-learning]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.srjm.co.uk/?p=639</guid>
		<description><![CDATA[<p>Following applying for a position at spongeuk I had to produce a demonstration Flash piece creating a drag and drop e-learning game.</p>
<p class="alignCentre"><a href="http://www.srjm.co.uk/sponge.html"><img src="http://www.srjm.co.uk/images/sponge-flash-demo.jpg" alt="Sponge Drag and Drop Demo" /></a></p>
<p></p>]]></description>
			<content:encoded><![CDATA[<p>Following applying for a position at spongeuk I had to produce a demonstration Adobe Flash and Actionscript piece from a sample brief creating a drag and drop e-learning game.</p>
<p class="alignCentre"><a href="http://www.srjm.co.uk/portfolio/sponge/"><img src="http://www.srjm.co.uk/images/sponge-flash-demo.jpg" alt="Sponge Drag and Drop Demo" /></a></p>
<p>This involved forming an interface based on the style of their website and creating actionscripted animation for button and label motion, as well as learning a bit about SLR cameras myself in the process! I await to see if this demonstrates suitable skills for the position.</p>
<p>Update: the company was suitably impressed by this demo however my application was too late before they had to hire another person.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2009/09/completed-a-flash-drag-and-drop-demo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Narrative Project Begins</title>
		<link>http://www.srjm.co.uk/journal/2009/03/narrative-project-begins/</link>
		<comments>http://www.srjm.co.uk/journal/2009/03/narrative-project-begins/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 18:02:50 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Final Year]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[narrative]]></category>
		<category><![CDATA[Sketch]]></category>
		<category><![CDATA[Theory]]></category>

		<guid isPermaLink="false">http://www.srjm.co.uk/?p=482</guid>
		<description><![CDATA[Over the weekend I made an effort to get as much of the body of my Narrative Project done. Essentially the concept will be a parody of traditional fantasy/fairytale like storytelling, and an opportunity to let off some steam from the formal writing required for my Dissertation. To go with this, my story needed an [...]]]></description>
			<content:encoded><![CDATA[<p>Over the weekend I made an effort to get as much of the body of my Narrative Project done. Essentially the concept will be a parody of traditional fantasy/fairytale like storytelling, and an opportunity to let off some steam from the formal writing required for my Dissertation.</p>
<p>To go with this, my story needed an image for use as background (or cover), so I seized the moment to do a quick sketch of my concept.</p>
<p class="alignCentre"><a href="http://www.flickr.com/photos/thanandyr/3314801914/" title="Narrative Parody Background Sketch by srjm, on Flickr"><img src="http://farm4.static.flickr.com/3465/3314801914_893dfa6eab.jpg" width="500" height="334" alt="Narrative Parody Background Sketch" /></a></p>
<p>My &#8216;book&#8217; will be based on rewritten code for my gallery, and made to look as tangible and booklike as possible through the use of styles and fonts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2009/03/narrative-project-begins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Game Screenshot</title>
		<link>http://www.srjm.co.uk/journal/2009/02/game-screenshot/</link>
		<comments>http://www.srjm.co.uk/journal/2009/02/game-screenshot/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 16:41:31 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[BSc Digital Art and Technology (i-dat)]]></category>
		<category><![CDATA[Final Year]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>
		<category><![CDATA[Screenshots]]></category>
		<category><![CDATA[Synergy Games]]></category>
		<category><![CDATA[Vector]]></category>

		<guid isPermaLink="false">http://www.srjm.co.uk/?p=474</guid>
		<description><![CDATA[Having finished linking animations to actual realtime world movement I thought it was time for another screenshot since the game is really coming together. Here you can observe a character jumping down from a height while the blocks get revealed by the map movement mid-transition. Also below are a couple of power up objects.]]></description>
			<content:encoded><![CDATA[<p>Having finished linking animations to actual realtime world movement I thought it was time for another screenshot since the game is really coming together. Here you can observe a character jumping down from a height while the blocks get revealed by the map movement mid-transition.</p>
<p class="alignCentre"><a href="http://www.flickr.com/photos/thanandyr/3269869458/" title="game-10.02.09 by srjm, on Flickr"><img src="http://farm4.static.flickr.com/3524/3269869458_7b45d1d3f0.jpg" width="500" height="375" alt="game-10.02.09" /></a></p>
<p class="imageCaption">Also below are a couple of power up objects.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2009/02/game-screenshot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Game Icons (and Update)</title>
		<link>http://www.srjm.co.uk/journal/2009/02/more-game-icons-and-update/</link>
		<comments>http://www.srjm.co.uk/journal/2009/02/more-game-icons-and-update/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 09:12:59 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Art and Photography]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Artwork]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>
		<category><![CDATA[Synergy Games]]></category>
		<category><![CDATA[Vector]]></category>

		<guid isPermaLink="false">http://www.srjm.co.uk/?p=466</guid>
		<description><![CDATA[I spent a huge amount of time over the weekend attempting to build a &#8216;rotateWorld&#8217; function that animates the flipping of the world on its head, while inverting all the controls, collisions and gravity etc. to cope with being upsidedown! More icons Meanwhile however here are some additional collectible/buttons/mechanics icons for the game: In order: [...]]]></description>
			<content:encoded><![CDATA[<p>I spent a huge amount of time over the weekend attempting to build a &#8216;rotateWorld&#8217; function that animates the flipping of the world on its head, while inverting all the controls, collisions and gravity etc. to cope with being upsidedown!</p>
<h4>More icons</h4>
<p>Meanwhile however here are some additional collectible/buttons/mechanics icons for the game:</p>
<p class="noIndent">In order: Blank, Gravity, Vision, Random Teleports, Jump Strength and World Flip.</p>
<p class="alignCentre"><a href="http://www.flickr.com/photos/thanandyr/3264727654/" title="icons by srjm, on Flickr"><img src="http://farm1.static.flickr.com/189/3264727654_066bf99b4d_o.jpg" width="500" height="1514" alt="icons" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2009/02/more-game-icons-and-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m busy</title>
		<link>http://www.srjm.co.uk/journal/2009/02/im-busy/</link>
		<comments>http://www.srjm.co.uk/journal/2009/02/im-busy/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 11:38:07 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Artwork]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>
		<category><![CDATA[Synergy Games]]></category>
		<category><![CDATA[Vector]]></category>

		<guid isPermaLink="false">http://www.srjm.co.uk/?p=459</guid>
		<description><![CDATA[That&#8217;s right, busy writing a game engine and considering level designs as I add functionality to what the game should be able to do. Additionally, I&#8217;m adding towards my dissertation full draft. Hence there hasn&#8217;t been much in the way of blog posts lately. Here is the game with both players fully functional and able [...]]]></description>
			<content:encoded><![CDATA[<p>That&#8217;s right, busy writing a game engine and considering level designs as I add functionality to what the game should be able to do. Additionally, I&#8217;m adding towards my dissertation full draft. Hence there hasn&#8217;t been much in the way of blog posts lately.</p>
<p>Here is the game with both players fully functional and able to move around the same map independantly:</p>
<p class="alignCentre"><a href="http://www.flickr.com/photos/thanandyr/3250439806/" title="two-maps by srjm, on Flickr"><img src="http://farm4.static.flickr.com/3306/3250439806_80e00b53cb.jpg" width="500" height="375" alt="two-maps" /></a></p>
<p>The latest demo of the game can be seen here: <a href="http://www.srjm.co.uk/i-dat/idat310/">http://www.srjm.co.uk/i-dat/idat310/</a></p>
<p class="alignCentre"><a href="http://www.flickr.com/photos/thanandyr/3250098439/" title="newton-gravity-icons by srjm, on Flickr"><img src="http://farm4.static.flickr.com/3398/3250098439_115c144ccf_o.png" width="345" height="553" alt="newton-gravity-icons" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2009/02/im-busy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scripting Finished</title>
		<link>http://www.srjm.co.uk/journal/2008/12/scripting-finished/</link>
		<comments>http://www.srjm.co.uk/journal/2008/12/scripting-finished/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 19:57:26 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>
		<category><![CDATA[Screenshots]]></category>

		<guid isPermaLink="false">http://www.srjm.co.uk/?p=392</guid>
		<description><![CDATA[So as of Friday the scripting module will be over, done and finished. This is also the first &#8216;traditional&#8217; hand-in I&#8217;ve had in a very long while, so I note now that the uni sends an email the very minute you hand your work in as a receipt. Screenshot of the Piece]]></description>
			<content:encoded><![CDATA[<p>So as of Friday the scripting module will be over, done and finished. This is also the first &#8216;traditional&#8217; hand-in I&#8217;ve had in a very long while, so I note now that the uni sends an email the very minute you hand your work in as a receipt.</p>
<h4>Screenshot of the Piece</h4>
<p class="alignCentre"><a href="http://www.flickr.com/photos/thanandyr/3116671442/" title="gallery by srjm, on Flickr"><img src="http://farm4.static.flickr.com/3223/3116671442_e874be35d9.jpg" width="500" height="343" alt="gallery" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2008/12/scripting-finished/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finishing Scripting and Update</title>
		<link>http://www.srjm.co.uk/journal/2008/12/finishing-scripting-and-update/</link>
		<comments>http://www.srjm.co.uk/journal/2008/12/finishing-scripting-and-update/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 18:11:43 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>

		<guid isPermaLink="false">http://www.srjm.co.uk/?p=382</guid>
		<description><![CDATA[I haven&#8217;t posted in a few days because I have been busy rounding off the rough edges to my scripting coursework, most of which was completed a long while ago. I have solved a couple of the persistent issues, one of which was a depth problem where randomly half-way through a gallery the depths of [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t posted in a few days because I have been busy rounding off the rough edges to my scripting coursework, most of which was completed a long while ago. I have solved a couple of the persistent issues, one of which was a depth problem where randomly half-way through a gallery the depths of the images after the one being displayed would reverse their order (a pretty unsightly effect).</p>
<p>Following this I&#8217;ve withdrawn some light reading for my dissertation&hellip; and of course I need to concentrate on dealing with C++ and DirectX.</p>
<h4>Gallery Menu Image</h4>
<p class="alignCentre"><img src="http://www.srjm.co.uk/images/scripting-menu-photo.png" alt="Gallery menu image" /><img src="http://www.srjm.co.uk/images/scripting-menu-demo.png" alt="Gallery menu image" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2008/12/finishing-scripting-and-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Flash Player Menus</title>
		<link>http://www.srjm.co.uk/journal/2008/12/custom-flash-player-menus/</link>
		<comments>http://www.srjm.co.uk/journal/2008/12/custom-flash-player-menus/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 15:44:54 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[General Stuff]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.srjm.co.uk/?p=376</guid>
		<description><![CDATA[I&#8217;ve posted a little tutorial here on making custom Flash context (right click) menus because when I learnt to do it (a long while back now though) there was very little out there describing how. First of all you need a function to take the menu action. It can do absolutely nothing, but it does [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve posted a little tutorial here on making custom Flash context (right click) menus because when I learnt to do it (a long while back now though) there was very little out there describing how.</p>
<ul>
<li>First of all you need a function to take the menu action. It can do absolutely nothing, but it does need to exist for the menu item to work. For the example here though it will link to a website:<br />
<code>function menuClick() {<br />
<span class="oneTab">getURL(&quot;http://www.srjm.co.uk&quot;, _blank);</span><br />
}</code></li>
<li>Next, declare the menu variable, it&#8217;s good practice (and incredibly helpful) to do it this way because then whenever you add to the menu you get the Code Hints.<br />
<code>var menu:ContextMenu = new ContextMenu();</code></li>
<li>Finally, hide the existing menu (unless you wish to keep the play/rewind and other options) and add your own options instead, and apply it to the root context menu:<br />
<code>menu.hideBuiltInItems();<br />
var menuItem1:ContextMenuItem = new ContextMenuItem(&quot;http://www.srjm.co.uk/&quot;, menuClick);<br />
var menuItem2:ContextMenuItem = new ContextMenuItem(&quot;SRJM Design&quot;, menuClick, true, false);<br />
menu.customItems.push(menuItem1);<br />
menu.customItems.push(menuItem2);<br />
_root.menu = menu;</code><br />
The second ContextMenuItem has additional parameters to give it a horizontal line above and also make it unclickable.</li>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2008/12/custom-flash-player-menus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Game Development</title>
		<link>http://www.srjm.co.uk/journal/2008/11/game-development/</link>
		<comments>http://www.srjm.co.uk/journal/2008/11/game-development/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 11:30:42 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>
		<category><![CDATA[Synergy Games]]></category>

		<guid isPermaLink="false">http://www.srjm.co.uk/?p=347</guid>
		<description><![CDATA[Here is a little screenshot of what I&#8217;ve been developing for our Games Module game. Basically it&#8217;s been world generation and character control, and lots of difficulty getting a decent collision system going. I started off with using a hitTest function on all the surrounding cells only (9 in total for the sake of using [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a little screenshot of what I&#8217;ve been developing for our Games Module game. Basically it&#8217;s been world generation and character control, and lots of difficulty getting a decent collision system going.</p>
<p class="alignCentre"><img src="http://www.srjm.co.uk/images/game-development.png" alt="Game Dev screenshot" /></p>
<p>I started off with using a hitTest function on all the surrounding cells only (9 in total for the sake of using hardly any CPU), but this led to issues where the character would get permanently stuck a little-way into one of the walls. Not good&hellip;</p>
<p>Instead I&#8217;ve implemented my own system where I have a function that tests whether the target location, ie. where the player wants to go, is solid or not, and returns true or false as to whether they can move there or not.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2008/11/game-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

