﻿<?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>Elaine is bored now.</title>
	<atom:link href="http://equatorlive.com/eviltwin/feed/" rel="self" type="application/rss+xml" />
	<link>http://equatorlive.com/eviltwin</link>
	<description>web design and other stuff</description>
	<lastBuildDate>Tue, 05 Apr 2011 09:09:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Nintendo 3DS makes you sick</title>
		<link>http://equatorlive.com/eviltwin/technology/nintendo-3ds-makes-you-sick/</link>
		<comments>http://equatorlive.com/eviltwin/technology/nintendo-3ds-makes-you-sick/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 09:09:42 +0000</pubDate>
		<dc:creator>eviltwin</dc:creator>
				<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://equatorlive.com/eviltwin/?p=261</guid>
		<description><![CDATA[I love my Nintendo DS. It&#8217;s pink, battered and the touch screen doesn&#8217;t work properly right now, but at least it doesn&#8217;t give me migraines or make me feel sick. I was listening to the radio this morning and they are saying that this is the biggest return on a product launch. Customers everywhere are [...]]]></description>
			<content:encoded><![CDATA[<p>I love my Nintendo DS. It&#8217;s pink, battered and the touch screen doesn&#8217;t work properly right now, but at least it doesn&#8217;t give me migraines or make me feel sick.</p>
<p>I was listening to the radio this morning and they are saying that this is the biggest return on a product launch. Customers everywhere are trying to get their money back as playing the Nintendo 3DS is making them feel ill. It apparently works by sending different images to each eye to create the impression of depth, which seems to cause the headaches, dizziness and sickness.</p>
<p><a href="http://www.telegraph.co.uk/news/8428514/Gamers-complain-3D-Nintendo-leaves-them-feeling-ill.html">Gamers complain 3D Nintendo leaves them feeling ill</a></p>
<p>You think they might have worked this out when testing!</p>
]]></content:encoded>
			<wfw:commentRss>http://equatorlive.com/eviltwin/technology/nintendo-3ds-makes-you-sick/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Designing a site responsively (no, I didn&#8217;t mean responsibly)</title>
		<link>http://equatorlive.com/eviltwin/design/designing-a-site-responsively/</link>
		<comments>http://equatorlive.com/eviltwin/design/designing-a-site-responsively/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 14:11:54 +0000</pubDate>
		<dc:creator>eviltwin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[responsive web design]]></category>
		<category><![CDATA[UX]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://equatorlive.com/eviltwin/?p=256</guid>
		<description><![CDATA[I&#8217;ve recently been working on a project where we&#8217;ve been creating a website with responsive solution. This basically means that the website is flexible for being viewed on a variety of devices&#8230;.better description here, and this is a rather interesting article on it as well. Anyway &#8211; it&#8217;s been a really interesting challenge so far. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently been working on a project where we&#8217;ve been creating a website with responsive solution. This basically means that the website is flexible for being viewed on a variety of devices&#8230;.better description <a href="http://www.alistapart.com/articles/responsive-web-design/">here</a>, and <a href="http://adactio.com/journal/4443/">this</a> is a rather interesting article on it as well.</p>
<p>Anyway &#8211; it&#8217;s been a really interesting challenge so far. My basic approach has been to create a simple grid structure which is carried over three layouts &#8211; a desktop version, a tablet version and a mobile version. </p>
<p>I&#8217;ve been creating a wireframe for each version for every key page layout. This means that I am constantly considering each layout, how it needs to be flexible, as well as any limits and alterations I have to make to each version as well each previous version to ensure that the site will work irrelevant of the device it&#8217;s being viewed on.</p>
<p>Once all our page wireframes have been created our next step will be to look at the visual variations on look and feel &#8211; basically simplifying the CSS for smaller screen widths to reduce loading times. Then the next challenge will be to actual build the pages and develop the CSS. I&#8217;m sure we&#8217;ll have a lot of tweaking to do but it will be interesting to see how the site develops.</p>
]]></content:encoded>
			<wfw:commentRss>http://equatorlive.com/eviltwin/design/designing-a-site-responsively/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FAQ pages &#8211; still useful?</title>
		<link>http://equatorlive.com/eviltwin/design/faq-pages-still-useful/</link>
		<comments>http://equatorlive.com/eviltwin/design/faq-pages-still-useful/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 14:31:34 +0000</pubDate>
		<dc:creator>eviltwin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[thoughts]]></category>
		<category><![CDATA[UX]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://equatorlive.com/eviltwin/?p=227</guid>
		<description><![CDATA[After a discussion (quite) a while back about whether we should have an FAQ page on a site we were working on, I starting wondering &#8216;do we really need them?&#8217;. In my own experience I will quite often try to find FAQs to get a quick answer rather than having to read a lot of [...]]]></description>
			<content:encoded><![CDATA[<p>After a discussion (quite) a while back about whether we should have an FAQ page on a site we were working on, I starting wondering &#8216;do we really need them?&#8217;. </p>
<p>In my own experience I will quite often try to find FAQs to get a quick answer rather than having to read a lot of information on a page, but is there a way we can design layout and content to ensure that a user can quickly find the information they&#8217;ll need? </p>
<p>I guess for me at the moment I&#8217;m not convinced we can preempt when someone will decide to look for a specific answer to a question, and as long as the FAQs really are questions that a customer will ask then I&#8217;m still for them.</p>
<p>Anyway &#8211; I did find <a href="http://www.noupe.com/how-tos/faq-pages-best-practices-examples.html">this article</a> that has a few FAQ best practices.</p>
]]></content:encoded>
			<wfw:commentRss>http://equatorlive.com/eviltwin/design/faq-pages-still-useful/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Collaboration</title>
		<link>http://equatorlive.com/eviltwin/flash/collboration/</link>
		<comments>http://equatorlive.com/eviltwin/flash/collboration/#comments</comments>
		<pubDate>Tue, 23 Nov 2010 16:12:55 +0000</pubDate>
		<dc:creator>eviltwin</dc:creator>
				<category><![CDATA[flash]]></category>
		<category><![CDATA[adverts]]></category>
		<category><![CDATA[banner]]></category>

		<guid isPermaLink="false">http://equatorlive.com/eviltwin/?p=229</guid>
		<description><![CDATA[I&#8217;d already seen some billboards around advertising that T-Mobile and Orange are now using each others signals&#8230;..then I saw these neato tandem ads on Yahoo&#8230;]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d already seen some billboards around advertising that T-Mobile and Orange are now using each others signals&#8230;..then I saw these neato tandem ads on Yahoo&#8230;</p>
<p><a href="http://equatorlive.com/eviltwin/files/2010/10/banner1.gif"><img src="http://equatorlive.com/eviltwin/files/2010/10/banner1.gif" alt="T-Mobile and Orange Banner" title="banner1" class="alignnone size-large wp-image-230" width="540"></a></p>
<p><a href="http://equatorlive.com/eviltwin/files/2010/10/banner2.gif"><img src="http://equatorlive.com/eviltwin/files/2010/10/banner2.gif" alt="T-Mobile and Orange Banner" title="banner1" class="alignnone size-large wp-image-230" width="540"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://equatorlive.com/eviltwin/flash/collboration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0 &#8211; How exciting!</title>
		<link>http://equatorlive.com/eviltwin/design/wordpress-3-0-how-exciting/</link>
		<comments>http://equatorlive.com/eviltwin/design/wordpress-3-0-how-exciting/#comments</comments>
		<pubDate>Tue, 18 May 2010 13:26:31 +0000</pubDate>
		<dc:creator>eviltwin</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[thoughts]]></category>

		<guid isPermaLink="false">http://equatorlive.com/eviltwin/?p=223</guid>
		<description><![CDATA[Well, apparently WordPress 3.0 should be released in the next few weeks. For someone who is firstly a designer, then after that a pretty sub standard developer it&#8217;s great news. It offers new opportunities to make better CMS driven websites with quite a few of it&#8217;s excellent new features. Custom post types In the past [...]]]></description>
			<content:encoded><![CDATA[<p>Well, apparently WordPress 3.0 should be released in the next few weeks. For someone who is firstly a designer, then after that a pretty sub standard developer it&#8217;s great news. It offers new opportunities to make better CMS driven websites with quite a few of it&#8217;s excellent new features.</p>
<h2>Custom post types</h2>
<p>In the past I&#8217;ve found it a little hard to manage different types of content when you are limited to only <em>pages</em> or <em>posts</em>. Now you can make your own custom post types. Excellent.</p>
<h2>Menu management</h2>
<p>Previously I&#8217;d found a plug-in that helped organise the menu items, but the new menu management feature means you can change the order and destination of the links, as well as manage all the sub pages. </p>
<p>Well, there&#8217;s a whole bunch of other stuff you can find out about here: <a href="http://mashable.com/2010/05/10/new-features-wordpress-3/">WordPress 3.0: The 5 Most Important New Features</a></p>
]]></content:encoded>
			<wfw:commentRss>http://equatorlive.com/eviltwin/design/wordpress-3-0-how-exciting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#8217;s just so gosh darn adorable</title>
		<link>http://equatorlive.com/eviltwin/design/its-just-so-gosh-darn-adorable/</link>
		<comments>http://equatorlive.com/eviltwin/design/its-just-so-gosh-darn-adorable/#comments</comments>
		<pubDate>Tue, 18 May 2010 11:54:24 +0000</pubDate>
		<dc:creator>eviltwin</dc:creator>
				<category><![CDATA[artists]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[shop]]></category>
		<category><![CDATA[thoughts]]></category>
		<category><![CDATA[crafts]]></category>

		<guid isPermaLink="false">http://equatorlive.com/blogs/eviltwin/?p=25</guid>
		<description><![CDATA[I can&#8217;t help it, I just love useless cute stuff. Monster-Munch Cute sock monsters and stuff by @NickyGibson. My Paper Crane Handmade plush&#8230;.um&#8230;.toys? But what would you do with them? And me&#8230;. Well, I&#8217;ve only made the sock monkey toy for my nephew, but these things have inspired me to make more useless adorable things&#8230;and [...]]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t help it, I just love useless cute stuff.</p>
<h2><a href="http://www.monster-munch.com/category/things-ive-made/">Monster-Munch </a></h2>
<p>Cute sock monsters and stuff by <a href="http://twitter.com/NickyGibson">@NickyGibson</a>.</p>
<p><a href="http://www.monster-munch.com/"><img src="http://equatorlive.com/eviltwin/files/2010/05/TwinMonsters05.jpg" alt="twin cat monsters" title="TwinMonsters05" width="500" height="986" class="alignnone size-full wp-image-211" /></a></p>
<p><a href="http://www.monster-munch.com/"><img src="http://equatorlive.com/eviltwin/files/2010/05/2753799219_9586f2c418.jpg" alt="Sock Monster" title="2753799219_9586f2c418" width="255" height="500" class="alignnone size-full wp-image-210" /></a></p>
<h2><a href="http://www.mypapercrane.com/">My Paper Crane</a></h2>
<p>Handmade plush&#8230;.um&#8230;.toys? But what would you do with them?</p>
<p><a href="http://www.mypapercrane.com/"><img src="http://equatorlive.com/eviltwin/files/2010/05/2065603929_a34874dc16.jpg" alt="octopi always burn toast!" title="2065603929_a34874dc16" width="453" height="450" class="alignnone size-full wp-image-219" /></a></p>
<p><a href="http://www.mypapercrane.com/"><img src="http://equatorlive.com/eviltwin/files/2010/05/405276326_970fe18763_o.jpg" alt="Cakes" title="405276326_970fe18763_o" width="312" height="222" class="alignnone size-full wp-image-208" /></a></p>
<p><a href="http://www.mypapercrane.com/"><img src="http://equatorlive.com/eviltwin/files/2010/05/405291108_f11b30dff4_m.jpg" alt="Cactus" title="405291108_f11b30dff4_m" width="150" height="155" class="alignnone size-full wp-image-209" /></a></p>
<h2>And me&#8230;.</h2>
<p>Well, I&#8217;ve only made the sock monkey toy for my nephew, but these things have inspired me to make more useless adorable things&#8230;and maybe even get out my sewing machine&#8230;</p>
<p><img src="http://equatorlive.com/eviltwin/files/2010/05/DSC00607_medium.jpg" alt="Sock Monkey" title="DSC00607_medium" width="500" height="500" class="alignnone size-full wp-image-215" /></p>
<p><img src="http://equatorlive.com/eviltwin/files/2010/05/DSC00604_medium.jpg" alt="Sock Monkey in his box" title="DSC00604_medium" width="500" height="500" class="alignnone size-full wp-image-214" /></p>
<h2>More adorable things</h2>
<p><a href="http://www.flickr.com/photos/rebeccadanger/">Rebecca Danger</a><br />
<a href="http://www.sushiordeath.com/raw/knitted-sushi-ii/2009/">Sushi or Death &#8211; Knitted Sushi</a></p>
]]></content:encoded>
			<wfw:commentRss>http://equatorlive.com/eviltwin/design/its-just-so-gosh-darn-adorable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Social Bookmarking sites</title>
		<link>http://equatorlive.com/eviltwin/design/social-bookmarking-sites/</link>
		<comments>http://equatorlive.com/eviltwin/design/social-bookmarking-sites/#comments</comments>
		<pubDate>Fri, 14 May 2010 08:54:11 +0000</pubDate>
		<dc:creator>eviltwin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[thoughts]]></category>

		<guid isPermaLink="false">http://equatorlive.com/eviltwin/?p=80</guid>
		<description><![CDATA[I&#8217;ve always been happy using my browser bookmarks to store useful or interesting websites; efficiently organising them into folders. Then I started using Digg. Digg was a good way to remember blog posts and tutorials I found useful, keeping them separate from the sites I liked, as well as being a nice way of letting [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always been happy using my browser bookmarks to store useful or interesting websites; efficiently organising them into folders. Then I started using Digg. Digg was a good way to remember blog posts and tutorials I found useful, keeping them separate from the sites I liked, as well as being a nice way of letting the author know that I liked what they&#8217;d written.</p>
<p>Since then I&#8217;ve been recommended a few others, here&#8217;s what I think of them all anyway.</p>
<h2><a href="http://delicious.com/">Delicious</a></h2>
<p>I found Delicious to incredibly irritating to use &#8211; the tags might make it flexible, but you can&#8217;t put anything in to folders, or keep sections separated. It&#8217;s also far too  blue so becomes a really tedious site to look at after a while.</p>
<p><a href="http://delicious.com/"><img class="alignnone size-full wp-image-180" title="delicious" src="http://equatorlive.com/eviltwin/files/2010/04/delicious.png" alt="" width="500" height="359" /></a></p>
<h4>It&#8217;s good at</h4>
<ul>
<li>Tagging your links with topics so they are easy to find</li>
</ul>
<h4>It&#8217;s bad at</h4>
<ul>
<li>Showing screenshots -  appear to be some on the home page, but none of the links I&#8217;ve added seem to have them</li>
<li>Exploring new things &#8211; I find the whole tag structure quite awkward personally</li>
<li>Being interesting &#8211; every time I&#8217;m on the site that blue makes me want to kill myself</li>
</ul>
<h4>Best for</h4>
<ul>
<li>Argh&#8230;&#8230;..driving you mad with the same blue over and over again!!!!</li>
</ul>
<h2><a href="http://digg.com/">Digg</a></h2>
<p>I&#8217;ve been using Digg for a long time &#8211; I found it to be quite a friendly, nice site to use. Seems to be a good community, and it&#8217;s easy to search categories to find something you are interested in.</p>
<p><a href="http://digg.com/"><img class="alignnone size-full wp-image-186" title="digg" src="http://equatorlive.com/eviltwin/files/2010/04/digg.png" alt="" width="500" height="488" /></a></p>
<h4>It&#8217;s good at</h4>
<ul>
<li>Adding blog posts and tutorials</li>
<li>Telling you how popular the link is</li>
<li>Find interesting articles &#8211; Digg feels quite like a news hub &#8211; it shows you latest headlines and has good main category sections.</li>
</ul>
<h4>It&#8217;s bad at</h4>
<ul>
<li>Organising and finding your links &#8211; everything is just in chronological order</li>
</ul>
<h4>Best for</h4>
<ul>
<li>Finding and adding interesting news articles and blog posts</li>
</ul>
<h2><a href="http://www.stumbleupon.com/">StumbleUpon</a></h2>
<p>StumbleUpon I quite like &#8211; it&#8217;s especially easy to add sites you like, but the content other users have added seems to be a lot more juvenile compared the the articles and blog posts in Digg.</p>
<p><a href="http://www.stumbleupon.com/"><img class="alignnone size-full wp-image-188" title="stumbleupon" src="http://equatorlive.com/eviltwin/files/2010/04/stumbleupon.png" alt="" width="500" height="491" /></a></p>
<h4>It&#8217;s good at</h4>
<ul>
<li>The StumbleUpon tool bar &#8211; Its excellent at just quickly adding a site you like, or even one you don&#8217;t &#8211; you don&#8217;t even have to leave the site you are on</li>
<li> As well as that you can just view random websites with the &#8216;Stumble!&#8217; button</li>
<li>Lets you know if you are the first person to add something, and shows you how popular a link is</li>
</ul>
<h4>It&#8217;s bad at</h4>
<ul>
<li>Part of the problem with the &#8216;StumbleUpon!&#8217; button is that a lot of people add a lot of rubbish, so you can see an awful lot of rubbish, as well as &#8216;work unsafe&#8217; stuff before you see something good</li>
</ul>
<h4>Best for</h4>
<ul>
<li>Finding and adding interesting, cool and weird sites and images</li>
</ul>
<h2>So&#8230;</h2>
<p>StumbleUpon and Digg are both sites I like, with nice features, but Delicious? I really think I might just be biased against that blue.</p>
<p>Anyway, to be honest I&#8217;m not massively interested in the social aspect of the bookmarking sites. I like having somewhere where I can keep the things I want to remember, so I think I&#8217;m going to stick to the handy <a title="Xmarks plugin" href="http://www.xmarks.com/">Xmarks plugin</a> so I can view my favourite bookmarked sites on any computer, then continue to add interesting posts and things I like to Digg.</p>
]]></content:encoded>
			<wfw:commentRss>http://equatorlive.com/eviltwin/design/social-bookmarking-sites/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Countdown Timer</title>
		<link>http://equatorlive.com/eviltwin/design/countdown-timer/</link>
		<comments>http://equatorlive.com/eviltwin/design/countdown-timer/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 15:49:56 +0000</pubDate>
		<dc:creator>eviltwin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[countdown]]></category>

		<guid isPermaLink="false">http://equatorlive.com/eviltwin/?p=146</guid>
		<description><![CDATA[Well, here is my Countdown Timer. It is an Adobe Air desktop application that you can use to count down time until an event. You&#8217;ll need to make sure you have Adobe Air installed first, then all you have to do is download the Countdown zip file, extract application file then run it on your [...]]]></description>
			<content:encoded><![CDATA[<p>Well, here is my Countdown Timer. It is an Adobe Air desktop application that you can use to count down time until an event. You&#8217;ll need to make sure you have <a href="http://get.adobe.com/air/">Adobe Air</a> installed first, then all you have to do is download the Countdown zip file, extract application file then run it on your computer.</p>
<p style="text-align:center"><a href="http://www.eqtr.com/eqtrclients/Countdown_Application/CountdownApp.zip"><img class="size-full wp-image-152" src="http://equatorlive.com/eviltwin/files/2010/03/button.png" border="0/" alt="Download Timer" width="285" height="79" style="margin:0 auto"></a></p>
<p><a href="http://get.adobe.com/air/">Get Adobe Air</a></p>
<h2>Features</h2>
<p>It&#8217;s quite a simple little application &#8211; here&#8217;s a some of the things you can do with it.</p>
<h4>Start your countdown</h4>
<p>Use the settings panel to name your event and set the date and time. You can specify it up to 15 minute intervals. </p>
<p><img class="alignnone size-full wp-image-155" src="http://equatorlive.com/eviltwin/files/2010/03/countdown_ss_settings.gif" alt="Countdown Settings" width="630" height="160" style="border:1px solid #CCCCCC" /></p>
<h4>Counting down</h4>
<p>Watch your timer count down to your event. It will countdown up to milliseconds. You can reset the timer to begin again, minimise it to the taskbar, view the mini countdown version, or just close it.</p>
<p><img class="alignnone size-full wp-image-153" src="http://equatorlive.com/eviltwin/files/2010/03/countdown_ss_count.gif" alt="Countdown Counter" width="630" height="160" style="border:1px solid #CCCCCC" /></p>
<h4>The mini view</h4>
<p>This mini view of the countdown allows you to keep your countdown open without taking up too much of your desktop space.</p>
<p><img src="http://equatorlive.com/eviltwin/files/2010/03/countdown_ss_mini.gif" alt="Mini Countdown" width="311" height="58" class="alignnone size-full wp-image-154" style="border:1px solid #CCCCCC" /></p>
<h2>Download the Adobe Air application package</h2>
<p style="text-align:center"><a href="http://www.eqtr.com/eqtrclients/Countdown_Application/CountdownApp.zip"><img class="size-full wp-image-152" src="http://equatorlive.com/eviltwin/files/2010/03/button.png" border="0/" alt="Download Timer" width="285" height="79" style="margin:0 auto"></a></p>
<p><a href="http://get.adobe.com/air/">Get Adobe Air</a></p>
]]></content:encoded>
			<wfw:commentRss>http://equatorlive.com/eviltwin/design/countdown-timer/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>My first Adobe Air Application</title>
		<link>http://equatorlive.com/eviltwin/design/my-first-adobe-air-application/</link>
		<comments>http://equatorlive.com/eviltwin/design/my-first-adobe-air-application/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 11:39:28 +0000</pubDate>
		<dc:creator>eviltwin</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe air]]></category>

		<guid isPermaLink="false">http://equatorlive.com/eviltwin/?p=86</guid>
		<description><![CDATA[To help improve my AS3 skills I thought a good starting project would be to challenge myself to create an Adobe Air desktop application, and after working on a Christmas countdown, I decided it would be rather nice to make a Countdown timer. This article runs through a few things I had to learn in [...]]]></description>
			<content:encoded><![CDATA[<p>To help improve my AS3 skills I thought a good starting project would be to challenge myself to create an Adobe Air desktop application, and after working on a Christmas countdown, I decided it would be rather nice to make a Countdown timer.</p>
<p>This article runs through a few things I had to learn in AS3 to create it.</p>
<h2>Getting Adobe Air working</h2>
<p>First thing I needed to do was ensure that Adobe Air was installed and that everything working.</p>
<ul>
<li>Install <a href="http://get.adobe.com/air/">Adobe Air</a></li>
<li>Ensure Flash is updated, and install all the available updates. For Flash CS4 they are <a href="http://www.adobe.com/support/flash/downloads.html#flashCS4">here</a>.</li>
<li>Get the <a href="http://www.adobe.com/products/air/tools/sdk/">Adobe AIR SDK</a>. Once downloaded this needs to be copied into the AIK folder in the Flash program folder – i.e. C:\Program Files\Adobe\Adobe  Flash  CS4\AIK.</li>
</ul>
<h2>Phew! Now creating the application&#8230;</h2>
<p>First step was to get an accurate countdown mechanism. I found this <a href="http://interactivesection.wordpress.com/2008/07/17/example-countdown-display-including-year-and-month-information-as2/">Countdown example</a> which was a good starting point to create a Countdown class in AS3. The basic idea is that it takes the current date and the specified event date then works out the difference.</p>
<h3>Creating the event date input</h3>
<p>I used Flash UI components for the drop down menus, but controlled their content using my Countdown class. To style the UI combo box component you can edit it in the FLA file, but to change the font you need create a TextFormat variable, then apply it to the component.</p>
<p><code>var comboFont : TextFormat = new TextFormat ();<br />
comboFont.font = "Calvert MT Light";<br />
comboFont.color = 0x333333;<br />
comboFont.size = 12;<br />
eventDayCombo.textField.setStyle ("embedFonts", true);<br />
eventDayCombo.textField.setStyle ("textFormat", comboFont);<br />
eventDayCombo.dropdown.setRendererStyle ("embedFonts", true);<br />
eventDayCombo.dropdown.setRendererStyle ("textFormat", comboFont);</code></p>
<p>I then added data to the combo box. It is important to add this data dynamically to ensure that the Countdown is always up to date.</p>
<p><code>eventDayCombo.addItem ({label: dayStr, data: day})</code></p>
<h3>Reading, saving and using XML data</h3>
<h4>Check if the data exists</h4>
<p>Every time the application opens it checks to see if the user has already set an event date. The first thing it does is specify the name of the file, then where this file should be located. In my Countdown example the application creates an XML file called CountdownPrefs in the user’s My Documents folder.</p>
<p><code>var prefs:String = "CountdownPrefs.xml";<br />
var prefsFile:File = File.documentsDirectory.resolvePath (prefs);</code></p>
<p>To check if a file exists on the system you can use prefsFile.exists; this will give a true or false result.</p>
<p><code>if (prefsFile.exists){</code></p>
<p>AS3 uses file streams to manipulate data; this makes the process much simpler than in AS2. It opens a file stream and reads the data. When it has completed reading the data the event listener calls the function processXMLData.</p>
<p><code>readStream = new FileStream ();<br />
readStream.addEventListener (Event.COMPLETE, processXMLData);<br />
readStream.openAsync (prefsFile, FileMode.READ);<br />
}</code></p>
<h4>Processing the data</h4>
<p>So, to process the XML data I just use the function to specify the data then close the file stream. Now I can set my event date from the data in the XML file.</p>
<p><code>function processXMLData (event : Event) : void {<br />
var prefsXML: XML = XML (readStream.readUTFBytes (readStream.bytesAvailable));<br />
readStream.close ();<br />
TITLE = prefsXML.child ("title");<br />
YEAR = prefsXML.child ("year");<br />
MONTH = prefsXML.child ("month");<br />
DAY = prefsXML.child ("day");<br />
HOUR = prefsXML.child ("hour");<br />
MINUTE = prefsXML.child ("minute");<br />
startCountdown ();<br />
}</code></p>
<h4>Saving new data</h4>
<p>When the user sets their event date in the application it creates an XML file. First I defined what the content of the XML should be.</p>
<p><code>var dateStr:String = "&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;&lt;countdown&gt;&lt;title&gt;" + TITLE + "&lt;/title&gt;&lt;year&gt;" + YEAR + "&lt;/year&gt;&lt;month&gt;" + MONTH + "&lt;/month&gt;&lt;day&gt;" + DAY + "&lt;/day&gt;&lt;hour&gt;" + HOUR + "&lt;/hour&gt;&lt;minute&gt;" + MINUTE + "&lt;/minute&gt;&lt;/countdown&gt;";</code></p>
<p>It then opens a file stream and writes the data to the location specified previously using the string variable to construct the XML content.</p>
<p><code>var newStream:FileStream = new FileStream();<br />
newStream = new FileStream();<br />
newStream.open(prefsFile, FileMode.WRITE);<br />
newStream.writeUTFBytes(dateStr);<br />
newStream.close();</code></p>
<h4>Delete the data</h4>
<p>To reset the countdown application all you need to do is simply delete the XML file then I called my reset function to restart the application.</p>
<p><code>if (prefsFile.exists){<br />
prefsFile.deleteFile ();<br />
resetCountdown ();<br />
}</code></p>
<h3>Using the Timer Class</h3>
<p>So my Countdown function returns an object with the years, months, days, hours, minutes, seconds and milliseconds, then to update my countdown display I need to repeat the call every millisecond.   I can use the Timer class to repeat the function call and get the updated countdown object.</p>
<p><code>timerObject:Timer = new Timer (delay, repeatCount );<br />
timerObject.addEventListener (TimerEvent.TIMER, updateCountdown);<br />
timerObject.start ();</code></p>
<h3>The finishing touches</h3>
<h4>Creating a custom chrome</h4>
<p>To make the application visually nicer I added my own chrome to it with minimise and close buttons, here is how: <a href="http://www.adobe.com/devnet/air/flash/articles/custom_chrome_app.html">http://www.adobe.com/devnet/air/flash/articles/custom_chrome_app.html</a></p>
<h4>Creating an application icon</h4>
<p>This is very simple. All you need to do is create little image files in the sizes: 128&#215;128, 48&#215;48,32&#215;32, 16&#215;16 then on the publish settings you can add the icon images.</p>
<h4>Publishing the application</h4>
<p>All you have to do then is publish the application and it’s ready to go. Look out for my next post if you want to download the application and try it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://equatorlive.com/eviltwin/design/my-first-adobe-air-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Buttons with ActionScript 3.0</title>
		<link>http://equatorlive.com/eviltwin/code/creating-buttons-with-actionscript-3-0/</link>
		<comments>http://equatorlive.com/eviltwin/code/creating-buttons-with-actionscript-3-0/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 13:48:53 +0000</pubDate>
		<dc:creator>eviltwin</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[buttons]]></category>

		<guid isPermaLink="false">http://equatorlive.com/eviltwin/?p=121</guid>
		<description><![CDATA[This is a quick guide on how to create and set up a button in AS3. Set up the movie clip as a button To make sure that your movie clip will act like a button you need to set the buttonMode and also set the movie clip to have a hand cursor. bttn.buttonMode = [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick guide on how to create and set up a button in AS3.</p>
<h2>Set up the movie clip as a button</h2>
<p>To make sure that your movie clip will act like a button you need to set the buttonMode and also set the movie clip to have a hand cursor.</p>
<p><code>bttn.buttonMode = true;<br />
bttn.useHandCursor = true;</code></p>
<h2>Ensure that you won&#8217;t interact with the child movie clips</h2>
<p>When you rollover a movie clip in AS3, then the mouse cursor will recognise child clips within your button movie clip. To ensure that this doesn&#8217;t happen you can set the mouseChildren to false.</p>
<p><code>bttn.mouseChildren = false;</code></p>
<h2>Making the button do stuff</h2>
<p>Create a event listeners to call a function when the you interact with the movie clip.</p>
<p><code>bttn.addEventListener (MouseEvent.MOUSE_DOWN, doStuff);<br />
bttn.addEventListener (MouseEvent.MOUSE_OVER, overBttn);<br />
bttn.addEventListener (MouseEvent.MOUSE_OUT, outBttn);</code></p>
<h2>Using mouse events</h2>
<p>Here is a sample of how you use the mouse events. This function will trace the movie clip that you have clicked on.<br />
<code>function doStuff (evt : MouseEvent) : void<br />
{<br />
trace(evt.target)<br />
}</code></p>
]]></content:encoded>
			<wfw:commentRss>http://equatorlive.com/eviltwin/code/creating-buttons-with-actionscript-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

