<?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>markstar &#187; General</title>
	<atom:link href="http://markstar.co.uk/blog/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://markstar.co.uk/blog</link>
	<description>blogging about the flash platform</description>
	<lastBuildDate>Sat, 31 Jul 2010 09:16:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>New Year(ish), New Look</title>
		<link>http://markstar.co.uk/blog/2010/general/new-year-new-look/</link>
		<comments>http://markstar.co.uk/blog/2010/general/new-year-new-look/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 17:30:24 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[WordPress Theme]]></category>

		<guid isPermaLink="false">http://markstar.co.uk/blog/?p=206</guid>
		<description><![CDATA[I've always wanted to create my own WordPress theme for my site, but haven't had the time (or patience!) before. I was hoping to have it complete by the new year but it took a back seat whilst I worked on the StatefulToolkit. Over the past week I've had chance to implement the design, and here it is! I hope you like it. Now to get back to the StatefulToolkit...]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always wanted to create my own WordPress theme for my site, but haven&#8217;t had the time (or patience!) before. I was hoping to have it complete by the new year but it took a back seat whilst I worked on the <a title="StatefulToolkit posts" href="http://markstar.co.uk/blog/?s=stateful+toolkit" target="_blank">StatefulToolkit</a>. Over the past week I&#8217;ve had chance to implement the design, and here it is! I hope you like it.</p>
<p>Now to get back to the StatefulToolkit&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://markstar.co.uk/blog/2010/general/new-year-new-look/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy New Year!</title>
		<link>http://markstar.co.uk/blog/2010/general/happy-new-year/</link>
		<comments>http://markstar.co.uk/blog/2010/general/happy-new-year/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 13:16:25 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Resolutions]]></category>

		<guid isPermaLink="false">http://markstar.co.uk/blog/?p=126</guid>
		<description><![CDATA[A quick look back at 2009 and some new years resolutions for 2010.]]></description>
			<content:encoded><![CDATA[<p>OK, so it &#8217;s a couple of days late but I&#8217;m now back at work and in the swing of things so I thought I&#8217;d write a new post.</p>
<p>2009 was a good year for me, I started my full-time job at <a title="MMT Digital" href="http://mmtdigital.co.uk" target="_blank">MMT Digital</a> after finishing university and have really started to delve a lot deeper into programming. The last year has seen me really improve my understanding of OOP as well as use design patterns and frameworks in my daily work.</p>
<p>This year, my new years (programming) resolutions are to:</p>
<ul>
<li>Finish the Flash game I started programming in Autumn 2009</li>
<li>Pull together and publically release my stateful toolkit (AS3)</li>
<li>Learn more about TDD (test driven development) and optimisation</li>
<li>Blog more</li>
<li>and finally, play!</li>
</ul>
<p>I&#8217;m hoping that by posting my resolutions I&#8217;ll actually stick to them, especially the top two &#8211; I&#8217;d really like to seem them out in the wild. I&#8217;d also like to blog more, even if it&#8217;s just some of the random things I come up with when playing with code!</p>
<p>I hope you all have a successful and enjoyable 2010!</p>
]]></content:encoded>
			<wfw:commentRss>http://markstar.co.uk/blog/2010/general/happy-new-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SWFObject not embedding Flash in Firefox</title>
		<link>http://markstar.co.uk/blog/2009/general/swfobject-not-embedding-flash-in-firefox/</link>
		<comments>http://markstar.co.uk/blog/2009/general/swfobject-not-embedding-flash-in-firefox/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 14:18:23 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[SWFObject]]></category>

		<guid isPermaLink="false">http://markstar.co.uk/blog/?p=99</guid>
		<description><![CDATA[Whilst working on a site that used SWFObject to add Flash to a page, I came across a situation where my Flash movie wouldn't embed in Firefox, but it would in all the other browsers. This post shows the solution I found.]]></description>
			<content:encoded><![CDATA[<p>Whilst working on a site that used SWFObject to add Flash to a page, I came across a situation where my Flash movie wouldn&#8217;t embed in Firefox, but it would in all the other browsers. Here&#8217;s an code excerpt from the page.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
   swfobject.<span style="color: #660066;">embedSWF</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;myContent.swf&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;myContent&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;300&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;120&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;9.0.0&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
&nbsp;
&lt;div id=&quot;myContent&quot;&gt;
   &lt;p&gt;Alternative content&lt;/p&gt;
&lt;/div&gt;</pre></td></tr></table></div>

<p>After spending around an hour on extensive research (Google!) and checking the case of my code, I still couldn&#8217;t find a solution to the problem.</p>
<p>Eventually I discovered that Firefox executes JavaScript at a different time to other browsers. Other browsers appear to load the page and then execute the JavaScript on the page, whereas Firefox appears to execute the JavaScript when it gets to it.  So by moving the script to below the div it miraculously worked in Firefox. It would probably be better if the embedSWF function was called on document ready. You can see the corrected code below. It&#8217;s so simple when you know how!</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">&lt;div id=&quot;myContent&quot;&gt;
   &lt;p&gt;Alternative content&lt;/p&gt;
&lt;/div&gt;
&nbsp;
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
   swfobject.<span style="color: #660066;">embedSWF</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;myContent.swf&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;myContent&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;300&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;120&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;9.0.0&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://markstar.co.uk/blog/2009/general/swfobject-not-embedding-flash-in-firefox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hello World</title>
		<link>http://markstar.co.uk/blog/2009/general/hello-world/</link>
		<comments>http://markstar.co.uk/blog/2009/general/hello-world/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 20:33:53 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[First Post]]></category>
		<category><![CDATA[Hello]]></category>
		<category><![CDATA[Welcome]]></category>

		<guid isPermaLink="false">http://markstar.co.uk/blog/?p=4</guid>
		<description><![CDATA[I've been meaning to set up a blog for a while, now that I've recently graduated I thought it was the perfect opportunity for me to finally by a domain name and get blogging!]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been meaning to set up a blog for a while. I&#8217;ve not found the time whilst being at university, so instead I&#8217;ve made some contributions to the blog at <a title="psyked" href="http://www.psyked.co.uk" target="_blank">psyked.co.uk</a>. Now that I&#8217;ve recently graduated, I thought it was the perfect opportunity for me to finally buy a domain and get blogging!</p>
<p>The primary focus of the blog will be the Flash Platform, however other web and desktop technologies may crop up from time to time. I&#8217;m also hoping to share some of the small projects and experiments I do in my spare time.</p>
<p>Well, that&#8217;s the first post out of the way! Hopefully future posts will be more exciting!</p>
]]></content:encoded>
			<wfw:commentRss>http://markstar.co.uk/blog/2009/general/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>