<?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-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.0.1</generator>
		<item>
		<title>Flash Portfolio Gallery</title>
		<link>http://www.srjm.co.uk/journal/2007/11/flash-portfolio-gallery/</link>
		<comments>http://www.srjm.co.uk/journal/2007/11/flash-portfolio-gallery/#comments</comments>
		<pubDate>Tue, 06 Nov 2007 09:14:14 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Work Placement]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>
		<category><![CDATA[Placement]]></category>

		<guid isPermaLink="false">http://srjm.co.uk/journal/2007/11/flash-portfolio-gallery/</guid>
		<description><![CDATA[I was given a task to create a gallery in flash that cycled through portfolio images like so many you see. Here is an example of my initial efforts. Its set for 40 pictures at 1 second per picture and doesn&#8217;t loop but flicks everything back to the start in quite an impressive (if accidental) [...]]]></description>
			<content:encoded><![CDATA[<p>I was given a task to create a gallery in flash that cycled through portfolio images like so many you see.</p>
<p><a href="http://www.srjm.co.uk/examples/portfolio.swf" title="portfolio example">Here is an example of my initial efforts.</a> Its set for 40 pictures at 1 second per picture and doesn&#8217;t loop but flicks everything back to the start in quite an impressive (if accidental) manner.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2007/11/flash-portfolio-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash and Javascript</title>
		<link>http://www.srjm.co.uk/journal/2007/10/flash-and-javascript/</link>
		<comments>http://www.srjm.co.uk/journal/2007/10/flash-and-javascript/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 08:32:24 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[General Stuff]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://srjm.co.uk/journal/2007/10/31/flash-and-javascript/</guid>
		<description><![CDATA[The next plan was to enable the flash in my new design&#8217;s header to change the dimensions of the div it was sat in so that for most the time it takes up less room, but when it needs it the space expands to allow for larger content there. I had already anticipated doing something [...]]]></description>
			<content:encoded><![CDATA[<p>The next plan was to enable the flash in my new design&#8217;s header to change the dimensions of the div it was sat in so that for most the time it takes up less room, but when it needs it the space expands to allow for larger content there. I had already anticipated doing something like this so had included the mootools JS library at the very start of building my new design.</p>
<p><a href="http://www.broken-links.com/2007/05/01/a-mootools-quickstart-guide/">http://www.broken-links.com/2007/05/01/a-mootools-quickstart-guide/</a></p>
<p><a href="http://www.flickr.com/photos/thanandyr/907129075/" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1015/907129075_aca3d477f7_m.jpg" width="240" height="160" alt="Lit Halloween Pumpkin" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2007/10/flash-and-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Placement Update</title>
		<link>http://www.srjm.co.uk/journal/2007/09/placement-update/</link>
		<comments>http://www.srjm.co.uk/journal/2007/09/placement-update/#comments</comments>
		<pubDate>Sun, 16 Sep 2007 09:52:11 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[BSc Digital Art and Technology (i-dat)]]></category>
		<category><![CDATA[General Stuff]]></category>
		<category><![CDATA[Work Placement]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>
		<category><![CDATA[Placement]]></category>

		<guid isPermaLink="false">http://srjm.co.uk/journal/?p=39</guid>
		<description><![CDATA[So I have been working for my placement with the guys behind http://www.neovirtua.com/ and realised I haven&#8217;t done much in the way of updating my website in a while. I started a couple of days back a personal project to build a flash puzzle game, which can be found at http://www.srjm.co.uk/puzzle.swf. At this point it [...]]]></description>
			<content:encoded><![CDATA[<p>
So I have been working for my placement with the guys behind <a href="http://www.neovirtua.com/" title="Neovirtua Web Designers">http://www.neovirtua.com/</a> and realised I haven&#8217;t done much in the way of updating my website in a while.
</p>
<p>I started a couple of days back a personal project to build a flash puzzle game, which can be found at <a href="http://www.srjm.co.uk/puzzle.swf">http://www.srjm.co.uk/puzzle.swf</a>. At this point it only swaps around a single piece to make it easy for me to complete (this still involves no less than 7 moves to get the pieces in place) as I test functions but soon that will change.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2007/09/placement-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An Update</title>
		<link>http://www.srjm.co.uk/journal/2007/04/an-update/</link>
		<comments>http://www.srjm.co.uk/journal/2007/04/an-update/#comments</comments>
		<pubDate>Fri, 27 Apr 2007 10:05:34 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[BSc Digital Art and Technology (i-dat)]]></category>
		<category><![CDATA[Second Year]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[AINT204]]></category>
		<category><![CDATA[Eden Project]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>
		<category><![CDATA[idat203]]></category>
		<category><![CDATA[idat205]]></category>

		<guid isPermaLink="false">http://srjm.co.uk/journal/?p=26</guid>
		<description><![CDATA[Having worked right up to the deadline on the final courseworks for idat203 and 205 I&#8217;m pretty glad thats all over. And some good feedback from the few results I&#8217;ve had back. AI Coursework Exercise 4 &#8211; Tic Tac Toe AI &#8211; Play this simple noughts and crosses game against either an intelligent computer player, [...]]]></description>
			<content:encoded><![CDATA[<p>Having worked right up to the deadline on the final courseworks for idat203 and 205 I&#8217;m pretty glad thats all over. And some good feedback from the few results I&#8217;ve had back.</p>
<h4>AI Coursework</h4>
<p>
Exercise 4 &#8211; Tic Tac Toe AI &#8211; Play this simple noughts and crosses game against either an intelligent computer player, or one who choses moves at random.</p>
<p>
Exercise 2/3 &#8211; A-Life and Genetic Algorithms &#8211; Demonstrates the evolution of insect-like organisms through the process of selection and mutation. Start by clicking &#8216;Initialise&#8217; and then trying to catch 4 parent organisms before clicking &#8216;Replicate&#8217; and watching the outcome of your selection.</p>
<p>
Exercise 1 &#8211; Flash Arrays for Vectors and Matrices &#8211; A demonstration of the use of vectors and matrices, an important component of AI.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2007/04/an-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some AI Work, and a lot of Flash</title>
		<link>http://www.srjm.co.uk/journal/2007/03/some-ai-work-and-a-lot-of-flash/</link>
		<comments>http://www.srjm.co.uk/journal/2007/03/some-ai-work-and-a-lot-of-flash/#comments</comments>
		<pubDate>Sun, 04 Mar 2007 10:00:05 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[BSc Digital Art and Technology (i-dat)]]></category>
		<category><![CDATA[Second Year]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[AINT204]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>

		<guid isPermaLink="false">http://srjm.co.uk/journal/?p=24</guid>
		<description><![CDATA[Artificial Intelligence All my AI work can be found at http://www.srjm.co.uk/portfolio/aint204/ 4th Exercise Play against a computer player in a game of tictactoe with AI enabled or disabled. 2nd/3rd Exercise Developing a selection and mutation system.]]></description>
			<content:encoded><![CDATA[<h4>Artificial Intelligence</h4>
<p>All my AI work can be found at <a href="http://www.srjm.co.uk/portfolio/aint204/">http://www.srjm.co.uk/portfolio/aint204/</a></p>
<p class="alignCentre">
<a href="http://www.srjm.co.uk/portfolio/aint204/exercise4/"><strong>4th Exercise</strong></a></p>
<p>
Play against a computer player in a game of tictactoe with AI enabled or disabled.</p>
<p class="alignCentre">
<a href="http://www.srjm.co.uk/portfolio/aint204/exercise2-3/"><strong>2nd/3rd Exercise</strong></a></p>
<p>
Developing a selection and mutation system.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2007/03/some-ai-work-and-a-lot-of-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drag and Drop</title>
		<link>http://www.srjm.co.uk/journal/2007/02/drag-and-drop/</link>
		<comments>http://www.srjm.co.uk/journal/2007/02/drag-and-drop/#comments</comments>
		<pubDate>Wed, 21 Feb 2007 09:55:18 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[BSc Digital Art and Technology (i-dat)]]></category>
		<category><![CDATA[General Stuff]]></category>
		<category><![CDATA[Second Year]]></category>
		<category><![CDATA[e-learning]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>
		<category><![CDATA[idat202]]></category>

		<guid isPermaLink="false">http://srjm.co.uk/journal/?p=23</guid>
		<description><![CDATA[A small working demo of drag and drop flash! //]]></description>
			<content:encoded><![CDATA[<p>A small working demo of drag and drop flash!</p>
<p id="flashdragdropdemo" class="alignCentre">
<p><script type="text/javascript">
// <![CDATA[
	var so = new SWFObject("http://www.srjm.co.uk/examples/drag-and-drop-example.swf", "menu", "460", "280", "8", "#ffffff");
	so.write("flashdragdropdemo");
// ]]&gt;
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2007/02/drag-and-drop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XML</title>
		<link>http://www.srjm.co.uk/journal/2006/12/xml/</link>
		<comments>http://www.srjm.co.uk/journal/2006/12/xml/#comments</comments>
		<pubDate>Tue, 12 Dec 2006 09:09:43 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[BSc Digital Art and Technology (i-dat)]]></category>
		<category><![CDATA[Second Year]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>
		<category><![CDATA[idat201]]></category>
		<category><![CDATA[idat204]]></category>
		<category><![CDATA[Simulacrum]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://srjm.co.uk/journal/?p=17</guid>
		<description><![CDATA[As the simulacrum work reaches its finalisation point, and all I would be able to do is sit and wait, my attention turns to the XML work and HCI essay (both of which have been very slowly warming up for the past couple of weeks). Between driving and setting the final 20 second simulacrum scene [...]]]></description>
			<content:encoded><![CDATA[<p>As the simulacrum work reaches its finalisation point, and all I would be able to do is sit and wait, my attention turns to the XML work and HCI essay (both of which have been very slowly warming up for the past couple of weeks). Between driving and setting the final 20 second simulacrum scene up for rendering, this morning has been dedicated to creating an XML search script in actionscript (Flash yet again&hellip;).</p>
<p>
<a href="http://www.srjm.co.uk/portfolio-files/idat204/xml/" title="XML Project" >View the XML project as it comes along.</a><br />
To get results, try the search terms &#8216;silver&#8217; and &#8216;blue&#8217; for now, but anything else if its there can be searched for.</p>
<h4>Finishing the Simulacrum Project</h4>
<p class="alignCentre">
<img src="http://www.srjm.co.uk/portfolio-files/idat201/simulacrum-workbook/video-link.jpg" alt="Screenshot of the final quicktime" />
</p>
<p>
And finally, the last 20 second section of my simulacrum video is complete. Saving it as Quicktime initially created a 1.3GB file, however this was before I set it to compress with mpeg4, giving me a nice 118MB 100% quality file. Still nothing near the size I would reasonably put online though. <strong>: (</strong></p>
<p>
<a href="http://www.srjm.co.uk/portfolio/idat201/simulacrum-workbook">Simulacrum Online Workbook</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2006/12/xml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Organism News</title>
		<link>http://www.srjm.co.uk/journal/2006/10/organism-news/</link>
		<comments>http://www.srjm.co.uk/journal/2006/10/organism-news/#comments</comments>
		<pubDate>Mon, 09 Oct 2006 07:32:33 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[BSc Digital Art and Technology (i-dat)]]></category>
		<category><![CDATA[Second Year]]></category>
		<category><![CDATA[a-life]]></category>
		<category><![CDATA[Flash and Actionscript]]></category>
		<category><![CDATA[idat204]]></category>
		<category><![CDATA[Organism Project]]></category>

		<guid isPermaLink="false">http://srjm.co.uk/journal/?p=8</guid>
		<description><![CDATA[While running a test of our organism flash project, and in particular studying my brand new Bee and Beehive behaviour, something which shouldn&#8217;t have been possible occurred. With a theoretical maximum of 3 bees, a fourth bee appeared. Believing this to be an interesting fluke, I was proven wrong again when a fifth and sixth [...]]]></description>
			<content:encoded><![CDATA[<p>While running a test of our organism flash project, and in particular studying my brand new Bee and Beehive behaviour, something which shouldn&#8217;t have been possible occurred. With a theoretical maximum of 3 bees, a fourth bee appeared. Believing this to be an interesting fluke, I was proven wrong again when a fifth and sixth bee appeared over time.</p>
<p><span id="more-8"></span></p>
<h4>Possible Explanation</h4>
<p class="noIndent">The musings of someone staring at ACTIONSCRIPT CODE:</p>
<p>
Of course, there is a reasonable explanation. There is a time delay between creating a new bee after one dies, and should two die in quick succession, the hive notices that two have died perfectly normally. So the hive creates a new one, and waits to respawn the second. But what happens if another bee dies during this time? The hive counts 2 dead again, creates another, and then at some point one of the new bees dies too quickly, and again the hive is on 2. Three more are created, with a fourth of the new ones still flying about. The extra bee can be accomodated forever because every bee will report when it dies to the hive, that the total number are one down, which to the hive means 3 &#8211; 1 = 2 (create a new bee). A seventh has appeared while I typed this, scary&#8230;</p>
<p>
While watching a trace of the number of bees the hive THINKS there are and the number actually onscreen, it is possible for the hive to say 2 while there are 3.</p>
<p>
I&#8217;m not sure how to stop this, whether I can, or indeed if I WANT to stop this from happening. And finally, it seems I can&#8217;t get it to happen again, so maybe this IS a freak occurrence. I also assume, that the larger the number of bees, the more likely this event is to become.</p>
<p>
UPDATE: With patience, it did happen within flash and I watched as the trace of the number said 2 alive, while 3 were flying and therefore it created another, fourth bee.</p>
<p>
Thinking about it, the simple solution would be to make sure a bee can&#8217;t die faster than the hive can keep count, currently the hive takes 8 seconds to cycle around its activities twice (spawn 2 bees) and also, 8 seconds is the shortest lifespan of a bee. Unfortunately, while this is good for 3 bees, any more and the shortest lifespan will need to be more than 12, 16, 20 etc. The hard solution would be to replace the register of bees in the hive, and replace it with an actual counting of each bee every time it checks to see if any are needed to be spawned.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.srjm.co.uk/journal/2006/10/organism-news/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
