<?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>danrichardson.net &#187; tech</title>
	<atom:link href="http://danrichardson.net/blog/category/tech/feed" rel="self" type="application/rss+xml" />
	<link>http://danrichardson.net/blog</link>
	<description>tech / health / fitness blog</description>
	<lastBuildDate>Thu, 01 Jul 2010 09:06:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>danrichardson.net</title>
		<link>http://danrichardson.net/blog/tech/2009/10/14/danrichardson-net</link>
		<comments>http://danrichardson.net/blog/tech/2009/10/14/danrichardson-net#comments</comments>
		<pubDate>Wed, 14 Oct 2009 20:11:26 +0000</pubDate>
		<dc:creator>reason</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://danrichardson.net/blog/?p=37</guid>
		<description><![CDATA[Over the last few weeks I have been re-designing this site and plan to add a new &#8220;code&#8221; section. Along with that I have a fair bit of freelance work on-the-go, so things are on the go-slow.
I&#8217;m really liking my new design (if I may say so myself!), and I cannot wait to get it [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last few weeks I have been re-designing this site and plan to add a new &#8220;code&#8221; section. Along with that I have a fair bit of freelance work on-the-go, so things are on the go-slow.</p>
<p>I&#8217;m really liking my new design (if I may say so myself!), and I cannot wait to get it marked up and online. It&#8217;s not going to be fully active right away as I plan to learn and re-program it all in Ruby (on rails).</p>
<p>The most exciting part of this overhaul is the new &#8220;code&#8221; section. In my day-to-day job with <a title="Skylight Media" href="http://www.skylightmedia.co.uk" target="_blank">Skylight Media</a>, I come across lots of instances where I need/WANT to learn new/better/faster ways of doing things. I will be mainly focusing the code section on <a href="http://www.jquery.com" target="_blank">jQuery</a> though as i absolutely love this library and constantly find myself writing a wide range of small and big plugins to make my everyday job easier.<br />
One of my first posts on the new site will be of an image plugin I recently made for a Skylight Media client Rachel Ellen. Not another I hear you say, but this one I believe is pretty unique and is pretty scalable, best of all it rocks! :p</p>
<p>Keep your eyes peeled as hopefully something will be online soon! :)</p>
<p>Dan</p>
]]></content:encoded>
			<wfw:commentRss>http://danrichardson.net/blog/tech/2009/10/14/danrichardson-net/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moved to WordPress!</title>
		<link>http://danrichardson.net/blog/tech/2009/02/10/hello-world</link>
		<comments>http://danrichardson.net/blog/tech/2009/02/10/hello-world#comments</comments>
		<pubDate>Tue, 10 Feb 2009 20:42:39 +0000</pubDate>
		<dc:creator>reason</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://danrichardson.net/wp/?p=1</guid>
		<description><![CDATA[WordPress says hi]]></description>
			<content:encoded><![CDATA[<p>Well it&#8217;s been far too long and i haven&#8217;t had a chance to create an admin backend to my site. So i have decided to just use wordpress as it does just what i need. So expect more post&#8217;s, as it&#8217;s no longet a chore to get a post in! :)</p>
]]></content:encoded>
			<wfw:commentRss>http://danrichardson.net/blog/tech/2009/02/10/hello-world/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby On Rails</title>
		<link>http://danrichardson.net/blog/tech/2008/12/16/ruby-on-rails</link>
		<comments>http://danrichardson.net/blog/tech/2008/12/16/ruby-on-rails#comments</comments>
		<pubDate>Tue, 16 Dec 2008 23:32:12 +0000</pubDate>
		<dc:creator>reason</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://danrichardson.net/wp/?p=24</guid>
		<description><![CDATA[After a bit of umming and arring last week, i finally decided to take another look at Ruby and Rails.
So far i&#8217;m quite liking what I see and some of it&#8217;s in-built functionality looks pretty darn sweet. I&#8217;m very much liking the scaffold command to do a quick &#38; dirty table manipulation setup.
I&#8217;m reading a [...]]]></description>
			<content:encoded><![CDATA[<p>After a bit of umming and arring last week, i finally decided to take another look at Ruby and Rails.</p>
<p>So far i&#8217;m quite liking what I see and some of it&#8217;s in-built functionality looks pretty darn sweet. I&#8217;m very much liking the scaffold command to do a quick &amp; dirty table manipulation setup.</p>
<p>I&#8217;m reading a really nice simple beginner&#8217;s guide on sitepoint (<a title="Learn Ruby On Rails" href="http://www.sitepoint.com/article/learn-ruby-on-rails" target="_blank">which can be found here</a>) which set&#8217;s a good understanding to the basics of Ruby On Rails.</p>
<p>Will probably be playing more with Ruby On Rails over the christmas period (or at least until my xbox comes back from Microsoft after its RRoD :( ), so will keep an update on here as to how I&#8217;m getting on with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://danrichardson.net/blog/tech/2008/12/16/ruby-on-rails/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamic getURL in flash</title>
		<link>http://danrichardson.net/blog/tech/2008/07/29/dynamic-geturl-in-flash</link>
		<comments>http://danrichardson.net/blog/tech/2008/07/29/dynamic-geturl-in-flash#comments</comments>
		<pubDate>Tue, 29 Jul 2008 14:24:52 +0000</pubDate>
		<dc:creator>reason</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://danrichardson.net/wp/?p=18</guid>
		<description><![CDATA[Dynamic getURL in flash]]></description>
			<content:encoded><![CDATA[<p>Today i got asked to add links to a flash animation that i have done recently. The flash animation in question has dynamic title&#8217;s and content based on two movie clips, which are built from an array of data pulled in from XML.</p>
<p>Knowing i needed to add a &#8220;getUrl()&#8221; function and &#8220;onRelease&#8221; event handler for the dynamic movie clips, I thought to myself <em>&#8220;what would be the easiest was to do this&#8230;&#8221;</em></p>
<p>With the clips being made inside a simple for loop, i hoped the data being pulled from the array would be retained and correct for when the event handler was eventually triggered (optimistic i know!). If you hadn&#8217;t already guessed this didn&#8217;t work, so off i went thinking how i can have the right data when the event handler fires.</p>
<p>After a little while and tinkering with my code i finally figured out a solution. When attaching the movieClip you can store the instance in a variable and then set a variable inside the movie clip. When the event handler is triggered it simply calls &#8220;this.linkTo&#8221; (&#8221;this&#8221;, referring to the movieClip, and &#8220;linkTo&#8221; refferring to the variable) as the getURL() address parameter</p>
<p>The code snippet for this is:</p>
<pre>
// Create new instance of the Section_Title movie clip
var SectionTitle = attachMovie("Section_Title", Sections[ii][0], ii, { _x:-230, _y:_yPos });

// Set a variable for this movie clip for the navigate link
SectionTitle.linkTo = Sections[ii][2];

// Create event handler for the click release
SectionTitle.onRelease = function(){
// Goto page save in thje movie clip linkTo variable
getURL(this.linkTo);
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://danrichardson.net/blog/tech/2008/07/29/dynamic-geturl-in-flash/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

