<?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>DesignFission</title>
	<atom:link href="http://www.designfission.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.designfission.com/blog</link>
	<description>Flash, Web, Javascript and everything else</description>
	<lastBuildDate>Sat, 21 Aug 2010 13:12:34 +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>Updated Portfolio</title>
		<link>http://www.designfission.com/blog/2010/08/21/updated-portfolio/</link>
		<comments>http://www.designfission.com/blog/2010/08/21/updated-portfolio/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 13:12:34 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=379</guid>
		<description><![CDATA[I&#8217;ve updated my 3 year old portfolio to a temporary wordpress portfolio so that I can showcase my latest work and find it easier to update than the current one. The old site can still be accessed via http://www.qwertydesign.net/v1/ and the new site can be accessed here. The theme is a free WordPress theme from [...]

<h2>Related Posts</h2><a href='http://www.designfission.com/blog/2006/04/07/portfolio-page-updated/' rel='bookmark' title='Permanent Link: Portfolio Page updated'>Portfolio Page updated</a>
<a href='http://www.designfission.com/blog/2007/04/23/updated-linkbase/' rel='bookmark' title='Permanent Link: Updated Linkbase'>Updated Linkbase</a>
<a href='http://www.designfission.com/blog/2007/04/13/i-think-i-finally-found-it/' rel='bookmark' title='Permanent Link: I think I finally found IT.'>I think I finally found IT.</a>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F08%2F21%2Fupdated-portfolio%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F08%2F21%2Fupdated-portfolio%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>I&#8217;ve updated my 3 year old portfolio to a <em>temporary</em> wordpress portfolio so that I can showcase my latest work and find it easier to update than the current one. The old site can still be accessed via <a href="http://www.qwertydesign.net/v1/">http://www.qwertydesign.net/v1/</a> and the new site can be accessed <a href="http://www.qwertydesign.net/">here</a>. </p>
<p>The theme is a free WordPress theme from <a href="http://FROGSTHEMES.COM">FROGSTHEMES.COM</a>. </p>


<h2>Related Posts</h2><a href='http://www.designfission.com/blog/2006/04/07/portfolio-page-updated/' rel='bookmark' title='Permanent Link: Portfolio Page updated'>Portfolio Page updated</a>
<a href='http://www.designfission.com/blog/2007/04/23/updated-linkbase/' rel='bookmark' title='Permanent Link: Updated Linkbase'>Updated Linkbase</a>
<a href='http://www.designfission.com/blog/2007/04/13/i-think-i-finally-found-it/' rel='bookmark' title='Permanent Link: I think I finally found IT.'>I think I finally found IT.</a>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2010/08/21/updated-portfolio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Webhost!</title>
		<link>http://www.designfission.com/blog/2010/06/10/new-webhost/</link>
		<comments>http://www.designfission.com/blog/2010/06/10/new-webhost/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 03:20:33 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[webhost]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/2010/06/10/new-webhost/</guid>
		<description><![CDATA[Since most of my visitors are from USA, I&#8217;ve switched hosts to BlueHost.com. Hopefully, this site loads faster for you guys now! No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F06%2F10%2Fnew-webhost%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F06%2F10%2Fnew-webhost%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Since most of my visitors are from USA, I&#8217;ve switched hosts to BlueHost.com. Hopefully, this site loads faster for you guys now!</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2010/06/10/new-webhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SaltFilms Website wins!</title>
		<link>http://www.designfission.com/blog/2010/05/09/saltfilms-website-wins/</link>
		<comments>http://www.designfission.com/blog/2010/05/09/saltfilms-website-wins/#comments</comments>
		<pubDate>Sat, 08 May 2010 17:50:09 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=373</guid>
		<description><![CDATA[A film production company which brings new perspectives and alternative ideas to TV commercials, animated commercials, music videos, corporate films and more. 


No related posts.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F05%2F09%2Fsaltfilms-website-wins%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F05%2F09%2Fsaltfilms-website-wins%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>This is a website that&#8217;s done by <a href="http://www.thinksimpleactsimple.com/" target="new">Driv </a>- my Art Director at Kinetic, and &#8220;flashed&#8221; by <a href="http://twitter.com/thinklunatic" target="new">Craig</a> &#8211; my Flash mentor.</p>
<p>Congrats to them both for winning the FWA site of the day award! </p>
<p>Enjoy the beautifully crafted and executed site at <a href="http://www.saltfilms.com.sg" target="new">http://www.saltfilms.com.sg</a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2010/05/09/saltfilms-website-wins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Essential Classes for Flash Developers</title>
		<link>http://www.designfission.com/blog/2010/04/02/essential-classes-for-flash-developers/</link>
		<comments>http://www.designfission.com/blog/2010/04/02/essential-classes-for-flash-developers/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 12:42:34 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=363</guid>
		<description><![CDATA[If you’ve been developing microsites in Flash, chances are, you’ve probably met the same problems that I did. I’ve listed down some of the classes that have really helped me in my work with a short description, and some pros and cons.

<h2>Related Posts</h2><a href='http://www.designfission.com/blog/2007/08/21/xml2object/' rel='bookmark' title='Permanent Link: XML2Object'>XML2Object</a>
<a href='http://www.designfission.com/blog/2007/08/18/drag-slide-fade-20-class-library/' rel='bookmark' title='Permanent Link: Drag Slide Fade 2.0 Class Library'>Drag Slide Fade 2.0 Class Library</a>
<a href='http://www.designfission.com/blog/2010/03/21/tank-commander-battlefield-bad-company-2/' rel='bookmark' title='Permanent Link: Flash, Arduino, Influxis and SmartFox'>Flash, Arduino, Influxis and SmartFox</a>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F04%2F02%2Fessential-classes-for-flash-developers%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F04%2F02%2Fessential-classes-for-flash-developers%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<h2>XML2Object (AS2)</h2>
<p><a href="http://www.sephiroth.it/file_detail.php?id=129" target="_blank">Documentation / Download</a></p>
<p>Developed by sephiroth, one of the Flash gurus in the Flash community, XML2Object does what it’s name says. It converts an XML to an Object. Easily, I might add.</p>
<p><strong>Pros:</strong></p>
<ul>
<li>Allows you to access XML elements just like an object.</li>
</ul>
<p><strong>Example:</strong><br />
Transform the passed XML source into an XML readable Object. </p>
<pre class="brush: as3;">
import it.sephiroth.XML2Object;
var dataObj:XML = new XML ();
//
dataObj.ignoreWhite = true;
var sXML:String = &quot;path/to/xml_file.xml&quot;;
function handleLoad (success:Boolean) {
	if (success) {
		_root.xmlObj = new XML2Object ().parseXML (dataObj);
	}
}
//
dataObj.onLoad = handleLoad;
//Load the data
dataObj.load (sXML);
</pre>
<p><strong>Cons: </strong></p>
<ul>
<li>It doesn’t detect a single item as an array. This is a problem if, for example, you load a gallery, and there’s only 1 item in the gallery. Your code will be built to entertain more than 1 item but it will not recognise a single item as an array.</li>
</ul>
<p>?</p>
<h2>Bitmap Exporter (AS2/3)</h2>
<p><a href="http://www.quasimondo.com/archives/000572.php" target="_blank">Documentation</a> | <a href="http://www.quasimondo.com/scrapyard/BitmapExporter_v22.zip" target="_blank">Download</a></p>
<p>There are alot of classes that utilises the ByteArray to export whatever that is in Flash to an image, but for AS2, this is pretty much the only available one. (Do let me know if there’s a better one.)<br />
As mentioned earlier, the Bitmap Exporter allows you to export a movieclip from Flash with predefined width, height and quality settings. </p>
<p><strong>Pros:</strong></p>
<ul>
<li>Probably the only class that allows you to do this with AS2.</li>
</ul>
<p><strong>Cons:</strong></p>
<ul>
<li>Utilises the server heavily.</li>
<li>The exporting takes some time.</li>
</ul>
<h2>Transform Manager (AS2)</h2>
<p><a href="http://www.greensock.com/transformmanageras2/" target="_blank">Documentation</a> | <a href="http://www.greensock.com/as/TransformManager/TransformManager-as2-legacy.zip" target="_blank">Download</a></p>
<p>Ever wanted to create an application just like Photoshop? Well, maybe not exactly like Photoshop, but at least to allow your users to create their own customise their very own [insert brand object here].<br />
The Transform Manager by Grant Skinner does the job perfectly. For me, the class makes rotating, scaling, moving and deleting objects very intuitive. However, usability experts might argue that users who are not used to Photoshop or any other image editing tools might find it a problem. Nevertheless, this is an awesome tool to have, and building on top of the class is possible as gskinner has graciously released the classes with the source code.<br />
Like TweenMax, Grant’s documentation is awesome and is impossible to not understand.<br />
Note: The link I posted above is to an older version that is free, the current and newer version costs $299. An AS3 version is also available but you will need to join the Club Greensock to get it.<br />
?</p>
<h2>Sephiroth Color Picker Component (AS2)</h2>
<p>Documentation/ Download : <a href="http://www.sephiroth.it/file_detail.php?id=147" target="_blank">http://www.sephiroth.it/file_detail.php?id=147</a></p>
<p>This is a UI Component that was never added by Flash. Thanks to Sephiroth though, you now get a lightweight, Color Picker Component for free.</p>
<p>There are dozens of classes released by the great Flash community all the time, and it will be impossible to list them all in this one article, what I’ve listed here are the ones I find myself reusing or has benefited me greatly.<br />
You’ll also realise that I have not added any Tweening engines to this article as I believe they deserve to have a list on their own. Also, the classes listed here are mainly AS2. I will be sharing a similar list for AS3 soon.<br />
Please feel free to add in more classes or components that you believe should be in this list.</p>


<h2>Related Posts</h2><a href='http://www.designfission.com/blog/2007/08/21/xml2object/' rel='bookmark' title='Permanent Link: XML2Object'>XML2Object</a>
<a href='http://www.designfission.com/blog/2007/08/18/drag-slide-fade-20-class-library/' rel='bookmark' title='Permanent Link: Drag Slide Fade 2.0 Class Library'>Drag Slide Fade 2.0 Class Library</a>
<a href='http://www.designfission.com/blog/2010/03/21/tank-commander-battlefield-bad-company-2/' rel='bookmark' title='Permanent Link: Flash, Arduino, Influxis and SmartFox'>Flash, Arduino, Influxis and SmartFox</a>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2010/04/02/essential-classes-for-flash-developers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Basics of Animation: Easing</title>
		<link>http://www.designfission.com/blog/2010/04/02/the-basics-of-animation-easing/</link>
		<comments>http://www.designfission.com/blog/2010/04/02/the-basics-of-animation-easing/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 18:13:20 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=359</guid>
		<description><![CDATA[Looking at what Adobe Flash has become now, one will hardly believe that Flash started out as an animation tool. And with the arrival of Actionscript 3 and the Flex Framework, Flash has seen its user demographics expand from Animators to Designers and now Developers as well. 

<h2>Related Posts</h2><a href='http://www.designfission.com/blog/2007/09/16/actionscript-30-basics-the-moving-ball/' rel='bookmark' title='Permanent Link: Actionscript 3.0 Basics: The Moving Ball'>Actionscript 3.0 Basics: The Moving Ball</a>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F04%2F02%2Fthe-basics-of-animation-easing%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F04%2F02%2Fthe-basics-of-animation-easing%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>Introduction</strong></p>
<p>But Flash has never seem to have forgotten its roots as an animation tool. The interactive experiences that you’ve seen agencies create are always animated. </p>
<p>Yet, I’ve realised that with the freely available TweenMax and other Tweening engines, more and more new users of Flash have taken them for granted, and no longer knows the basics of animation.<br />
Thus, I humbly present to you what I learnt from my teacher, the basics of animation.</p>
<p><strong>What is easing</strong><br />
Easing, simply put, is the acceleration or deceleration of objects In the real physical world, friction and gravity are present which prevents matter from moving freely. </p>
<p>Don’t get what I mean? Take a look at the 2 Flash animations below. </p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_ballanimations_574536112"
			class="flashmovie"
			width="400"
			height="200">
	<param name="movie" value="http://www.designfission.com/blog/post-img/0401/ballanimations.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.designfission.com/blog/post-img/0401/ballanimations.swf"
			name="fm_ballanimations_574536112"
			width="400"
			height="200">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>Which one did you prefer? The ball in the 2nd animation has been applied some easing to simulate acceleration and deceleration. While it might not be true acceleration/deceleration, you can see the huge difference easing gives simple sliding animations.</p>
<blockquote><p>The simple addition of easing effects greatly affects the look of an animation.</p></blockquote>
<p>Before we go on further, take a look at how the ball in Animation 2 slowly picks up speed. This is acceleration in the real world. As the ball slows to a stop, deceleration is happening. But in Flash the terms are changed to easing instead.</p>
<p>Hence, in short, Easing In is acceleration, and Easing Out is deceleration.</p>
<p>Now take a look at the 2 graphs below. Take some time to absorb it as they are the most basic graphs you will ever see. The x axis represents time, and the y axis represents the value. </p>
<p><img src="http://www.designfission.com/blog/post-img/0401/easein.gif" alt="Graph A" /></p>
<p><img src="http://www.designfission.com/blog/post-img/0401/easeout.gif" alt="Graph B" /></p>
<p>You can see that graph A’s value increases slowly and gradually increases.<br />
In graph B, the opposite happens, the value increases sharply, and gradually slows down. </p>
<p>Take your time to analyse which one is Easing In and which one is Easing Out. If you still do not understand what is going on at this point in time, I suggest that you slowly read through the article again before moving on.</p>
<p><strong>Types  of Easing</strong><br />
If you think that’s all there is to easing, think again. Instead of redoing an entire page of examples of various easing effects, I’m going to link you to this great page where I often visit even now, just to see if the feel of the easing fits what I want to use for my website/application.</p>
<p>Click <a href="http://hosted.zeh.com.br/mctween/animationtypes.html" target="_blank">here </a>to visit Zeh Fernando’s great AS2 Tweening Engine, MC Tween.</p>
<p><strong>Know who is Robert Penner?</strong><br />
Chances are if you’ve used Flash to animate something before, you owe this great guy a drink. But who is he?</p>
<p>Robert Penner was the first guy to come up with a set of easing equations for Flash and he does what not many people at the time did, he shared it with the world. </p>
<p><strong>What has he got to do with animation in Flash?</strong><br />
Simply put, Penner’s equations are what makes easing possible, his equations are the core and groundwork of many Tweening Engines. Without his genius, there are probably a lot fewer boring Flash sites.</p>
<p><strong>Conclusion</strong><br />
I hope you have a better idea of easing now after reading this article. In the next article, look forward to learn how to utilise the great Tweening engines, and I will also include some of my personal tips for website animations.</p>


<h2>Related Posts</h2><a href='http://www.designfission.com/blog/2007/09/16/actionscript-30-basics-the-moving-ball/' rel='bookmark' title='Permanent Link: Actionscript 3.0 Basics: The Moving Ball'>Actionscript 3.0 Basics: The Moving Ball</a>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2010/04/02/the-basics-of-animation-easing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Book Review: Write To Sell &#8211; Andy Maslen</title>
		<link>http://www.designfission.com/blog/2010/03/28/book-review-write-to-sell-by-andy-maslen/</link>
		<comments>http://www.designfission.com/blog/2010/03/28/book-review-write-to-sell-by-andy-maslen/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 05:53:44 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[andy maslen]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[copywriting]]></category>
		<category><![CDATA[write to sell]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=339</guid>
		<description><![CDATA[<strong>Want to improve the way you write?</strong>
This book is for you. 

<h2>Related Posts</h2><a href='http://www.designfission.com/blog/2007/05/28/new-book/' rel='bookmark' title='Permanent Link: New Book'>New Book</a>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F03%2F28%2Fbook-review-write-to-sell-by-andy-maslen%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F03%2F28%2Fbook-review-write-to-sell-by-andy-maslen%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<h2>Who should read this book?</h2>
<p>Although the cover states that it&#8217;s the ultimate guide to great copywriting, don&#8217;t be misled into thinking that you need to be a copywriter to relate to what the book has to say. </p>
<p>I picked up this book initially not because I want to be a copywriter &#8211; but because I believe that for me to work with one, I have to have a basic idea of what a copywriter does. However, while reading the book, I realised that the techniques and tips in the book not only apply to copywriting &#8211; it applies for writing in general.</p>
<h2>About the book</h2>
<p>Written by Andy Maslen, a copywriter with years of experience, the book is short, precise, and gets the message across in a simple and effective manner. I&#8217;ve always loved books by copywriters simply because they try to practise what they preach!</p>
<p>From the back of the book, read this book and you&#8217;ll learn:</p>
<ul>
<li>The confidence and the skills to write better copy faster.</li>
<li>New ways to gain readers&#8217; attention, respect and trust.</li>
<li>Hints and tips on turning selling skills into copywriting skills.</li>
<li>Simple techniques to improve the readability of your copy.</li>
<li>The impact of design and layout on copywriting.</li>
<li>The meaning of good written English &#8211; the rules you must follow, the rules you can safely ignore.</li>
</ul>
<p>The book isn&#8217;t that expensive &#8211; just <a href="http://www.bookdepository.com/book/9780462099750/?a_aid=designfission" targer="_blank">US$13.40 at BookDepository.com</a>. </p>
<h2>Conclusion</h2>
<p>Write to Sell isn&#8217;t just for selling. It makes you write better, whether you&#8217;re writing an article for your blog, or even just writing an email to your fellow colleague.</p>
<p><em><strong>About BookDepository:</strong></em><br />
BookDepository offers free worldwide shipping to most countries and the prices of the books are usually even cheaper than Amazon. The turnaround for the books are usually within a week, and the customer service has been excellent.</p>
<p>If you plan to buy the book, please do so by clicking on the link below. Doing so, will give me a small percentage of the profits, and even though it won&#8217;t be much, it&#8217;s a good way to show your appreciation.</p>
<p><a href="http://www.bookdepository.com/book/9780462099750/?a_aid=designfission"><img src="http://www.designfission.com/blog/post-img/common/buythebook.gif" /></a></p>


<h2>Related Posts</h2><a href='http://www.designfission.com/blog/2007/05/28/new-book/' rel='bookmark' title='Permanent Link: New Book'>New Book</a>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2010/03/28/book-review-write-to-sell-by-andy-maslen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Designer&#8217;s Bookmarks</title>
		<link>http://www.designfission.com/blog/2010/03/28/web-designers-bookmarks/</link>
		<comments>http://www.designfission.com/blog/2010/03/28/web-designers-bookmarks/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 20:59:34 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[Showcases]]></category>
		<category><![CDATA[bookmarks]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[freebies]]></category>
		<category><![CDATA[icons]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web designer]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=326</guid>
		<description><![CDATA[Here's a list of sites that all Web Designers should have in their bookmarks.

Do let me know if you have a site that is better, and should be listed here.

<h2>Related Posts</h2><a href='http://www.designfission.com/blog/2007/07/31/web-designer-wall/' rel='bookmark' title='Permanent Link: Web Designer Wall'>Web Designer Wall</a>
<a href='http://www.designfission.com/blog/2007/01/06/screen-resolutions/' rel='bookmark' title='Permanent Link: Screen Resolutions'>Screen Resolutions</a>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F03%2F28%2Fweb-designers-bookmarks%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F03%2F28%2Fweb-designers-bookmarks%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Here&#8217;s a list of sites that all Web Designers should have in their bookmarks.</p>
<p>Do let me know if you have a site that is better, and should be listed here.</p>
<p><a href="http://SmashingMagazine.com" target="new">Smashing Magazine</a><br />
<a href="http://Noupe.com" target="new">Noupe</a><br />
<a href="http://HongKiat.com" target="new">Hong Kiat</a><br />
<a href="http://10Steps.sg" target="new">10Steps</a><br />
<a href="http://designreviver.com/" target="new">Design Reviver</a><br />
<a href="http://webdesignerdepot.com" target="new">WebDesignerDepot</a><br />
<a href="http://www.queness.com/" target="new">Queness</a><br />
<a href="http://scriptandstyle.com/" target="new">Script &#038; Style</a><br />
<a href="http://devsnippets.com/" target="new">DevSnippets</a><br />
<a href="http://www.webdeveloperjuice.com/" target="new">WebDeveloperJuice</a><br />
<a href="http://davidwalsh.name/" target="new">David Walsh&#8217;s Blog</a><br />
<a href="http://tutsplus.com/" target="new">The TUTS network (as I call it)</a><br />
<a href="http://www.webdesignerwall.com/" target="new">Web Designer Wall</a><br />
<a href="http://www.alistapart.com/" target="new">A List Apart</a><br />
<a href="http://abduzeedo.com/" target="new">Abduzeedo</a> &#8211; Contributed by Math.Basset</p>
<p>I was thinking of taking a screenshot of each website to make up this post, but I figured if I do get down to doing it, this blog post will never see the light of day, so here it is. In the no frills version.</p>
<p>Once again, if you know of a site that deserver to be in this list, and in all web designers&#8217; bookmarks, leave a comment!</p>
<p>If this post helped you in any way, help me in return by clicking on the ad below:<br />
<script type="text/javascript"><!--
google_ad_client = "pub-1241157645351204";
/* 300x250, created 3/27/10 */
google_ad_slot = "0640751317";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>


<h2>Related Posts</h2><a href='http://www.designfission.com/blog/2007/07/31/web-designer-wall/' rel='bookmark' title='Permanent Link: Web Designer Wall'>Web Designer Wall</a>
<a href='http://www.designfission.com/blog/2007/01/06/screen-resolutions/' rel='bookmark' title='Permanent Link: Screen Resolutions'>Screen Resolutions</a>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2010/03/28/web-designers-bookmarks/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>SWX Twitter API For Dummies</title>
		<link>http://www.designfission.com/blog/2010/03/22/swx-twitter-api-for-dummies/</link>
		<comments>http://www.designfission.com/blog/2010/03/22/swx-twitter-api-for-dummies/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 10:26:58 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[as2]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[fla]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[swx]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=319</guid>
		<description><![CDATA[Learn how to use the great SWX Twitter API written by Aral Balkan. (with source code)

<h2>Related Posts</h2><a href='http://www.designfission.com/blog/2007/09/16/first-step-into-as30/' rel='bookmark' title='Permanent Link: First step into AS3.0'>First step into AS3.0</a>
<a href='http://www.designfission.com/blog/2007/09/16/actionscript-30-basics-the-moving-ball/' rel='bookmark' title='Permanent Link: Actionscript 3.0 Basics: The Moving Ball'>Actionscript 3.0 Basics: The Moving Ball</a>
<a href='http://www.designfission.com/blog/2007/07/31/fusekit-tutorial-2/' rel='bookmark' title='Permanent Link: Fusekit Tutorial #2'>Fusekit Tutorial #2</a>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F03%2F22%2Fswx-twitter-api-for-dummies%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F03%2F22%2Fswx-twitter-api-for-dummies%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>I&#8217;ve always had a problem understanding documentation for APIs, hence when I do get something, I have this urge to share so that anyone who has the same problem can do what I am trying to do.</p>
<p>In my opinion, the best documentation ever written is by <a href="http://twitter.com/Gskinner" target="_blank">gskinner </a>for <a href="http://www.greensock.com/tweenmax/" target="_blank">TweenMax</a>, and I think few would argue with me about that. </p>
<p>Having said that, the documentation written by aral for the <a href="http://apiwiki.twitter.com/SWX-Twitter-API" target="_blank">SWX Twitter API</a> is actually not too bad as well. But being completely new to both the Twitter API and the <a href="http://apiwiki.twitter.com/SWX-Twitter-API" target="_blank">SWX Twitter API</a>, one might be lost upon landing on the API page. </p>
<p>Now that my ramblings are done, on with the tutorial. </p>
<p>First, download the SWX Code from <a href="http://code.google.com/p/swx-format/downloads/list" target="_blank">here</a>. As of the time of writing, go ahead and download the v2 which is still in BETA as it works just fine.</p>
<p>This tutorial will show you how easy it is to update your Twitter status using the SWX Twitter API. </p>
<p>Here&#8217;s a look at what we will be creating:<br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_twitter_297293925"
			class="flashmovie"
			width="400"
			height="380">
	<param name="movie" value="http://www.designfission.com/swxtutorial/twitter.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.designfission.com/swxtutorial/twitter.swf"
			name="fm_twitter_297293925"
			width="400"
			height="380">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>Code:</p>
<pre class="brush: as3;">
stop();
loader.serviceClass = &quot;Twitter&quot;;
loader.method = &quot;getPublicUpdates&quot;;
loader.debug = true;
loader.loadMovie(&quot;http://swxformat.org/php/swx.php&quot;,&quot;GET&quot;);

import org.swxformat.*;
var swx:SWX = new SWX();
swx.gateway = &quot;http://swxformat.org/php/swx.php&quot;;
swx.encoding = &quot;POST&quot;;
swx.timeout = 10;
swx.debug = true;
swx.faultHandler = Delegate.create(this, faultHandler);
swx.progressHandler = Delegate.create(this, progressHandler);
swx.timeoutHandler = Delegate.create(this, timeoutHandler);

function updateTwitter() {

	var callParameters:Object = {
		serviceClass:&quot;Twitter&quot;,
		method:&quot;update&quot;,
		args:[message_txt.text, username_txt.text, password_txt.text], 

		result: [this, resultHandler],
		progress: [this, progressHandler],
		timeout: [this, timeoutHandler],
		fault: [this, faultHandler],
		debug: true
	}
	swx.call(callParameters);
	isLoading(true);
}

function resultHandler(event:Object) {
	isLoading(false);
	status.text = event.result;
}

function progressHandler(event:Object) {
	trace(&quot;progressHandler: &quot; + event.bytesLoaded + &quot; of &quot; + event.bytesTotal);
}
function timeoutHandler(event:Object) {
	isLoading(false);
	status.text = &quot;Call timeout. Please try again.&quot;;
}
function faultHandler(event:Object) {
	isLoading(false);
	status.text = &quot;Call fault. Please try again.&quot;;
}

update_btn.onRelease = function() {
	updateTwitter();
};
</pre>
<p><a href="http://www.designfission.com/swxtutorial/twitter.zip">Source Files</a> (AS2.0 | CS3 Format)</p>
<p>I&#8217;m not going to explain the code unless someone requests for it as it&#8217;s really quite simple and straightforward. The other reason is due to a lack of time. I figured if I don&#8217;t share this now, I might not want to do it in the future, so hey, at least you have the code. <img src='http://www.designfission.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Once again, hope this helps someone out there.</p>
<p>Note: For other Flash Developers like me out there, if you need to integrate Facebook as well using AS2.0, take a look at <a href="http://www.echoesofburmajones.com/2009/09/18/20/facebook_connect_in_flash_actionscript_2.htm" target="_blank">http://www.echoesofburmajones.com/2009/09/18/20/facebook_connect_in_flash_actionscript_2.htm</a> for an excellent tutorial (w/source files)!</p>
<p>If this post helped you in any way, help me in return by clicking on the ad below:<br />
<script type="text/javascript"><!--
google_ad_client = "pub-1241157645351204";
/* 300x250, created 3/27/10 */
google_ad_slot = "0640751317";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>


<h2>Related Posts</h2><a href='http://www.designfission.com/blog/2007/09/16/first-step-into-as30/' rel='bookmark' title='Permanent Link: First step into AS3.0'>First step into AS3.0</a>
<a href='http://www.designfission.com/blog/2007/09/16/actionscript-30-basics-the-moving-ball/' rel='bookmark' title='Permanent Link: Actionscript 3.0 Basics: The Moving Ball'>Actionscript 3.0 Basics: The Moving Ball</a>
<a href='http://www.designfission.com/blog/2007/07/31/fusekit-tutorial-2/' rel='bookmark' title='Permanent Link: Fusekit Tutorial #2'>Fusekit Tutorial #2</a>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2010/03/22/swx-twitter-api-for-dummies/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Flash, Arduino, Influxis and SmartFox</title>
		<link>http://www.designfission.com/blog/2010/03/21/tank-commander-battlefield-bad-company-2/</link>
		<comments>http://www.designfission.com/blog/2010/03/21/tank-commander-battlefield-bad-company-2/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 20:52:05 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[battlefield]]></category>
		<category><![CDATA[battlefield bad company 2]]></category>
		<category><![CDATA[bf2]]></category>
		<category><![CDATA[bfbc2]]></category>
		<category><![CDATA[flash media server]]></category>
		<category><![CDATA[fms]]></category>
		<category><![CDATA[influxis]]></category>
		<category><![CDATA[rc tank]]></category>
		<category><![CDATA[serproxy]]></category>
		<category><![CDATA[smartfoxserver]]></category>
		<category><![CDATA[tank]]></category>
		<category><![CDATA[xbee]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=311</guid>
		<description><![CDATA[A case study of a microsite for Battlefield Bad Company 2.

Learn how I used Arduino, Flash, Smart Fox Server, and Influxis (Flash Media Server) to create the site.

<h2>Related Posts</h2><a href='http://www.designfission.com/blog/2007/09/11/more-flash-tutorials-coming-your-way/' rel='bookmark' title='Permanent Link: More Flash tutorials coming your way'>More Flash tutorials coming your way</a>
<a href='http://www.designfission.com/blog/2006/05/17/champions-league-who-are-you-rooting-for/' rel='bookmark' title='Permanent Link: Champions League- Who are you rooting for?'>Champions League- Who are you rooting for?</a>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F03%2F21%2Ftank-commander-battlefield-bad-company-2%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F03%2F21%2Ftank-commander-battlefield-bad-company-2%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>The reason why I&#8217;ve not been updating much recently: <a href="http://bit.ly/tcbfc2" target="_blank">http://bit.ly/tcbfc2</a> (the campaign has finished! thanks for all the support!)</p>
<p>The microsite was a campaign for the Singapore launch of the highly anticipated sequel: Battlefield Bad Company 2, an FPS developed by DICE and published by EA games. </p>
<p>As BF2 features destructable environments &#8211; and tanks. We came up with the idea of letting players do exactly that &#8211; in real life. What users were able to do was that they could connect to a real model tank in the physical world and battle 3 other players in a prebuilt environment.</p>
<p>A camera was mounted on each of the tank so that the connected player can &#8220;see through&#8221; the turret of the tank. Players control the tank with the keyboard and then engage other players in battle with other tanks on a diorama that was installed at a cineplex in Singapore.</p>
<p>To be able to control the tank, my tech lead stripped bare the insides of the RC tank that we got from our supplier, <a href="http://www.vstank.com/" target="_blank">VSTank</a>, and put in his own customised and improvised version of the Arduino + XBee shield + Xbee components. Customised batteries were ordered and modded to power the Arduino which then passes the commands received through the XBee to the tank motors. </p>
<p>Each tank has a defined server which is actually a Netbook. To enable the sending of Serial data via the USB COM ports, serproxy was used along with the excellent SmartFoxServer. As there was no stable wifi-connection in the cineplex, the netbooks were connected using M1&#8242;s Mobile Broadband service (a 3G HSDPA network). </p>
<p>Due to the slow speeds of the mobile broadband, we had to sacrifice some video quality to achieve minimum control lag for the players who are connecting to the tanks from all over the world. The other problem we had was the streaming of the video feeds. As Singapore does not have any web hosting companies that offer Flash Media Servers, we turned to <a href="http://www.influxis.com" target="_blank">Influxis</a>. This was perhaps the smoothest part of the entire project. The Influxis support was amazingly helpful, and the free tools and control panel that comes with every account was easy to use and set up. I am thinking of writing a tutorial for broadcasting a live feed to the world using Influxis soon! </p>
<p>As we were looking at a few alternatives at the time, the other service I tried was UStream, a free web streaming service that does exactly what I wanted. The problem though was that there was almost a 4 second delay between the feed I was broadcasting and the one that I was receiving. This was impossible to use for our game as we needed almost zero lag to let players control the tank efficiently. After signing up for the cheapest available plan (US$6/month) to do a test, we decided to go with Influxis as the 4 second delay was brought down to 0.5 seconds! </p>
<p>Next, a queue system was built so that only 4 players were able to connect to each one of the tanks. </p>
<p>The entire project was completed within 2 weeks and it generated thousands of hits from all over the world. I&#8217;m pretty sure that what we did was an industry first. It was tough but the process was fun and I learnt alot along the way. </p>
<p>Some pictures of the diorama, tanks, and Arduino:</p>
<p><img src="http://www.designfission.com/tankcommander/arduino.jpg" alt="Arduino" /><br />
The Arduino</p>
<p><img src="http://www.designfission.com/tankcommander/prototyping2.jpg" alt="Prototyping" /><br />
Prototyping</p>
<p><img src="http://www.designfission.com/tankcommander/tankv1.jpg" alt="Tank version 1" /><br />
Tank Version 1.0</p>
<p><img src="http://www.designfission.com/tankcommander/xbeeshield.jpg" alt="XBEE Shield" /><br />
The XBee Shield</p>
<p><img src="http://www.designfission.com/tankcommander/theinsides.jpg" alt="The Insides of the Tank 1" /><br />
The insides of the tank</p>
<p><img src="http://www.designfission.com/tankcommander/mountedxbees.jpg" alt="Mounted XBees" /><br />
Mounted XBees for minimum interference</p>
<p><img src="http://www.designfission.com/tankcommander/all4tanksreadytoroll.jpg" alt="All 4 Tanks!" /><br />
All 4 Tanks ready to roll!</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Tl48h7_xYMI&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Tl48h7_xYMI&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/nrgmJ4BXGto&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/nrgmJ4BXGto&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/v8A-ytExw7k&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/v8A-ytExw7k&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>That&#8217;s all for now. I&#8217;m just sharing what I learnt during this project with everyone. Hope everyone had fun reading it and watching the videos!</p>


<h2>Related Posts</h2><a href='http://www.designfission.com/blog/2007/09/11/more-flash-tutorials-coming-your-way/' rel='bookmark' title='Permanent Link: More Flash tutorials coming your way'>More Flash tutorials coming your way</a>
<a href='http://www.designfission.com/blog/2006/05/17/champions-league-who-are-you-rooting-for/' rel='bookmark' title='Permanent Link: Champions League- Who are you rooting for?'>Champions League- Who are you rooting for?</a>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2010/03/21/tank-commander-battlefield-bad-company-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Master Volume Control in AS3.0</title>
		<link>http://www.designfission.com/blog/2010/02/12/master-volume-control-in-as3-0/</link>
		<comments>http://www.designfission.com/blog/2010/02/12/master-volume-control-in-as3-0/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 08:55:09 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[setvolume]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[soundmixer]]></category>
		<category><![CDATA[soundtransform]]></category>
		<category><![CDATA[stop]]></category>
		<category><![CDATA[stopall]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/2010/02/12/master-volume-control-in-as3-0/</guid>
		<description><![CDATA[Source code after the jump.

<h2>Related Posts</h2><a href='http://www.designfission.com/blog/2010/01/05/stop-all-sounds-in-flash-as3/' rel='bookmark' title='Permanent Link: stop all sounds in Flash AS3'>stop all sounds in Flash AS3</a>
<a href='http://www.designfission.com/blog/2010/01/31/garbage-collector-in-as3/' rel='bookmark' title='Permanent Link: Garbage Collector in AS3'>Garbage Collector in AS3</a>
<a href='http://www.designfission.com/blog/2007/07/31/new-categories/' rel='bookmark' title='Permanent Link: New categories'>New categories</a>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F02%2F12%2Fmaster-volume-control-in-as3-0%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.designfission.com%2Fblog%2F2010%2F02%2F12%2Fmaster-volume-control-in-as3-0%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Applied to a single button. Frame 1 shows that sound is on, and frame 2 shows that it&#8217;s off.</p>
<pre class="brush: as3;">
sound_mc.buttonMode = true
sound_mc.addEventListener(MouseEvent.CLICK,toggleSound)

function toggleSound(e:MouseEvent){
	var tempMC:MovieClip = e.currentTarget as MovieClip
	var sTransform:SoundTransform = new SoundTransform(1,0);
	if(tempMC.currentFrame == 1){
		tempMC.gotoAndStop(2)
		sTransform.volume = 0;
	}else if(tempMC.currentFrame == 2){
		tempMC.gotoAndStop(1)
		sTransform.volume = 1;
	}
	SoundMixer.soundTransform = sTransform;
}
</pre>
<p>If this post helped you in any way, help me in return by clicking on the ad below:<br />
<script type="text/javascript"><!--
google_ad_client = "pub-1241157645351204";
/* 300x250, created 3/27/10 */
google_ad_slot = "0640751317";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>


<h2>Related Posts</h2><a href='http://www.designfission.com/blog/2010/01/05/stop-all-sounds-in-flash-as3/' rel='bookmark' title='Permanent Link: stop all sounds in Flash AS3'>stop all sounds in Flash AS3</a>
<a href='http://www.designfission.com/blog/2010/01/31/garbage-collector-in-as3/' rel='bookmark' title='Permanent Link: Garbage Collector in AS3'>Garbage Collector in AS3</a>
<a href='http://www.designfission.com/blog/2007/07/31/new-categories/' rel='bookmark' title='Permanent Link: New categories'>New categories</a>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2010/02/12/master-volume-control-in-as3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
