<?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 &#187; as3</title>
	<atom:link href="http://www.designfission.com/blog/tag/as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.designfission.com/blog</link>
	<description>Flash, Web, Javascript and everything else</description>
	<lastBuildDate>Sun, 25 Dec 2011 18:31:49 +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>Flash AS3 Light Painting</title>
		<link>http://www.designfission.com/blog/2011/10/18/flash-as3-light-painting/</link>
		<comments>http://www.designfission.com/blog/2011/10/18/flash-as3-light-painting/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 17:50:26 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[light painting]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=595</guid>
		<description><![CDATA[Just created my first Github Public repo and did an initial commit. Take a look here: https://github.com/EdwinToh/LightPainter LightPainter is an app that allows you to create your own light painting effects with your web cam. It&#8217;s an initial commit so documentation and comments are scarce and unorganized. Have fun painting!]]></description>
			<content:encoded><![CDATA[<p>Just created my first Github Public repo and did an initial commit. </p>
<p>Take a look here: <a href="https://github.com/EdwinToh/LightPainter">https://github.com/EdwinToh/LightPainter</a></p>
<p>LightPainter is an app that allows you to create your own light painting effects with your web cam. It&#8217;s an initial commit so documentation and comments are scarce and unorganized. </p>
<p>Have fun painting!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2011/10/18/flash-as3-light-painting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Opening a ColorBox in Flash</title>
		<link>http://www.designfission.com/blog/2010/09/19/opening-a-colorbox-in-flash/</link>
		<comments>http://www.designfission.com/blog/2010/09/19/opening-a-colorbox-in-flash/#comments</comments>
		<pubDate>Sun, 19 Sep 2010 07:54:33 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[colorbox]]></category>
		<category><![CDATA[externalinterface]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=390</guid>
		<description><![CDATA[The update to my previous method to "Opening a Thickbox in iFrame" is finally here.]]></description>
			<content:encoded><![CDATA[<p>The update to my previous method to &#8220;Opening a Thickbox in iFrame&#8221; is finally here.</p>
<p>As you all know, ThickBox is no longer under development since 2007, the next popular alternative to take over the reigns of ThickBox seems to be ColorBox, and so I&#8217;ve done a new tutorial to do the same thing with ColorBox.</p>
<p>There are a few things that remain the same from the other example.</p>
<h2>Step 1: Prepare your HTML.</h2>
<p>Include the source files to ColorBox&#8217;s CSS, and Javascript files, as well as the original jQuery JS files.</p>
<p><em>Insert in the <head> tags of your HTML:</em></p>
<pre class="brush: plain; title: ; notranslate">
&lt;link media=&quot;screen&quot; rel=&quot;stylesheet&quot; href=&quot;colorbox.css&quot; /&gt;
&lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;colorbox/jquery.colorbox.js&quot;&gt;&lt;/script&gt;
</pre>
<h2>Step 2: Insert the Flash</h2>
<p>Using SWFObject, insert Flash in your HTML and remember to set the following 2 parameters: &#8220;<strong>allowScriptAccess</strong>&#8221; to &#8220;<strong>always</strong>&#8221; and &#8220;<strong>wmode</strong>&#8221; to &#8220;<strong>transparent</strong>&#8220;.</p>
<p><em>Insert in the <head> tags of your HTML:</em></p>
<pre class="brush: plain; title: ; notranslate">
&lt;script src=&quot;Scripts/swfobject_modified.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre>
<p><em>Insert in the <body> tags of your HTML:</em></p>
<pre class="brush: plain; title: ; notranslate">
&lt;object id=&quot;FlashID&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; width=&quot;550&quot; height=&quot;200&quot;&gt;
  &lt;param name=&quot;movie&quot; value=&quot;colorbox.swf&quot;&gt;
  &lt;param name=&quot;quality&quot; value=&quot;high&quot;&gt;
  &lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;
  &lt;param name=&quot;swfversion&quot; value=&quot;6.0.65.0&quot;&gt;
  &lt;!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. --&gt;
  &lt;param name=&quot;expressinstall&quot; value=&quot;Scripts/expressInstall.swf&quot;&gt;
  &lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;
  &lt;!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --&gt;
  &lt;!--[if !IE]&gt;--&gt;
  &lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;colorbox.swf&quot; width=&quot;550&quot; height=&quot;200&quot;&gt;
    &lt;!--&lt;![endif]--&gt;
    &lt;param name=&quot;quality&quot; value=&quot;high&quot;&gt;
    &lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;
    &lt;param name=&quot;swfversion&quot; value=&quot;6.0.65.0&quot;&gt;
    &lt;param name=&quot;expressinstall&quot; value=&quot;Scripts/expressInstall.swf&quot;&gt;
    &lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;
    &lt;!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --&gt;
    &lt;div&gt;
      &lt;h4&gt;Content on this page requires a newer version of Adobe Flash Player.&lt;/h4&gt;
      &lt;p&gt;&lt;a href=&quot;http://www.adobe.com/go/getflashplayer&quot;&gt;&lt;img src=&quot;http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif&quot; alt=&quot;Get Adobe Flash player&quot; width=&quot;112&quot; height=&quot;33&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
    &lt;/div&gt;
    &lt;!--[if !IE]&gt;--&gt;
  &lt;/object&gt;
  &lt;!--&lt;![endif]--&gt;
&lt;/object&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
swfobject.registerObject(&quot;FlashID&quot;);
&lt;/script&gt;
</pre>
<h2>Step 3: Prepare the Javascript Function</h2>
<p>Because ColorBox does some parsing of the Javascript functions and ExternalInterface doesn&#8217;t seem to be able to call functions with the dollar sign in them. What I&#8217;ve done here is to create a simple javascript function and use Flash to call this very function. </p>
<p><em>Insert in the <head> tags of your HTML:</em></p>
<pre class="brush: plain; title: ; notranslate">
&lt;script&gt;

	function launchColorBox(url){
		$.colorbox({href:url,width:&quot;80%&quot;, height:&quot;80%&quot;,iframe:true});
	}

&lt;/script&gt;
</pre>
<h3>Step 4: The Flash Code!</h3>
<p>The final step is to actually reuse the Flash Code in my previous version, making only slight changes. Create a button with the instance name &#8220;btn1&#8243; and put the code in the first frame of your Flash file.</p>
<pre class="brush: plain; title: ; notranslate">
stop()
//Imports the ExternalInterface Class
import flash.external.ExternalInterface;

//Adds the CLICK eventlistener to the button btn1
btn1.addEventListener(MouseEvent.CLICK,openColorBox)

//Launches the JS function that we created earlier.
function openColorBox(e:MouseEvent){
	ExternalInterface.call(&quot;launchColorBox&quot;,&quot;http://www.google.com&quot;);
}
</pre>
<p>You can view the demo <a href="http://www.designfission.com/colorbox">here </a>and download the source files <a href="http://www.designfission.com/colorbox-example-updated.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2010/09/19/opening-a-colorbox-in-flash/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>short &#8211; bringing back sweet old AS2 syntax to AS3</title>
		<link>http://www.designfission.com/blog/2010/09/06/short-bringing-back-sweet-old-as2-syntax-to-as3/</link>
		<comments>http://www.designfission.com/blog/2010/09/06/short-bringing-back-sweet-old-as2-syntax-to-as3/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 03:01:39 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[fug]]></category>
		<category><![CDATA[short]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=384</guid>
		<description><![CDATA[A new AS3 framework has been released by Arul @ Luracast. Do check it out at http://code.google.com/p/short/. I&#8217;m pretty excited about it because of 2 things. Firstly, it&#8217;s the first framework released by someone based in Singapore. Secondly, I share the same frustration as the creator &#8211; a simple getURL that used to be so [...]]]></description>
			<content:encoded><![CDATA[<p>A new AS3 framework has been released by Arul @ Luracast. Do check it out at <a href="http://code.google.com/p/short/">http://code.google.com/p/short/</a>.</p>
<p>I&#8217;m pretty excited about it because of 2 things. Firstly, it&#8217;s the first framework released by someone based in Singapore. Secondly, I share the same frustration as the creator &#8211; a simple getURL that used to be so simple now takes more than 3 lines of code to create!</p>
<p>And lastly, if you&#8217;re based in Singapore, do check out the upcoming <a href="http://fug.sg/">Flex User Group</a> (fug) meeting that&#8217;s on this Wednesday (8 Sep 2010). <a href="http://www.facebook.com/event.php?eid=149346475090039&#038;ref=mf">RSVP at Facebook</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2010/09/06/short-bringing-back-sweet-old-as2-syntax-to-as3/feed/</wfw:commentRss>
		<slash:comments>0</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[Arduino]]></category>
		<category><![CDATA[AS3]]></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.]]></description>
			<content:encoded><![CDATA[<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>
<figure><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></figure>
<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>
]]></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.]]></description>
			<content:encoded><![CDATA[<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; title: ; notranslate">
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>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2010/02/12/master-volume-control-in-as3-0/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Garbage Collector in AS3</title>
		<link>http://www.designfission.com/blog/2010/01/31/garbage-collector-in-as3/</link>
		<comments>http://www.designfission.com/blog/2010/01/31/garbage-collector-in-as3/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 10:35:39 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[garbage collector]]></category>
		<category><![CDATA[gc]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/2010/01/31/garbage-collector-in-as3/</guid>
		<description><![CDATA[Being new to AS3, I didn't realise that removing a child from the display list does not kill all it's listeners, sounds, and some other stuff I don't know...]]></description>
			<content:encoded><![CDATA[<p>The Garbage Collector in AS3 is smart, but it&#8217;s driving me crazy.</p>
<p>Being new to AS3, I didn&#8217;t realise that removing a child from the display list does not kill all it&#8217;s listeners, sounds, and some other stuff I don&#8217;t know.</p>
<p>When it affected me, I stopped for a moment and thought why is it built this way. It is true that sometimes, after removing a child from the display list, you do want the listener to stay. </p>
<p>Yet, I don&#8217;t see why they didn&#8217;t create another function that lets user kill all listeners in a particular child before removing it. </p>
<p>Anyway, after being stuck at this problem for a few agonizing hours, I realised all I need to do, is actually create a if statement inside any listener I want to kill as well, that if it&#8217;s parent is already null, i.e. to say it is already removed, then it should kill itself! </p>
<p>A simple solution. Hopefully no new bugs turn up after implementing this as a solution. Keeping my fingers crossed. </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>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2010/01/31/garbage-collector-in-as3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>stop all sounds in Flash AS3</title>
		<link>http://www.designfission.com/blog/2010/01/05/stop-all-sounds-in-flash-as3/</link>
		<comments>http://www.designfission.com/blog/2010/01/05/stop-all-sounds-in-flash-as3/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 12:20:17 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[sound]]></category>

		<guid isPermaLink="false">http://designfission.com/blog/2010/01/05/stop-all-sounds-in-flash-as3/</guid>
		<description><![CDATA[You can call it the global mute as well. What this line of code does is actually just turning down the entire flash&#8217;s volume down to 0. This is great for websites or games alike when a &#8220;Sound Off&#8221; or &#8220;Mute&#8221; feature is needed.]]></description>
			<content:encoded><![CDATA[<p>You can call it the global mute as well. What this line of code does is actually just turning down the entire flash&#8217;s volume down to 0. This is great for websites or games alike when a &#8220;Sound Off&#8221; or &#8220;Mute&#8221; feature is needed.</p>
<pre class="brush: as3; title: ; notranslate">SoundMixer.soundTransform = new SoundTransform(0);</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2010/01/05/stop-all-sounds-in-flash-as3/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>AS3 Fur/Hair Generator</title>
		<link>http://www.designfission.com/blog/2010/01/05/as3-furhair-generator/</link>
		<comments>http://www.designfission.com/blog/2010/01/05/as3-furhair-generator/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 03:17:21 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[fur]]></category>
		<category><![CDATA[generator]]></category>
		<category><![CDATA[hair]]></category>

		<guid isPermaLink="false">http://designfission.com/blog/2010/01/05/as3-furhair-generator/</guid>
		<description><![CDATA[Stumbled upon this great flasher&#8217;s blog recently while trying to research for something I want to do: http://en.nicoptere.net/?p=574 The speed and quality of the fur generator is, I believe, the best out there right now. Awesome stuff. Other generators: http://blog.inspirit.ru/?p=131 http://projects.stroep.nl/fur/]]></description>
			<content:encoded><![CDATA[<p>Stumbled upon this great flasher&#8217;s blog recently while trying to research for something I want to do:</p>
<p>http://en.nicoptere.net/?p=574</p>
<p>The speed and quality of the fur generator is, I believe, the best out there right now. </p>
<p>Awesome stuff.</p>
<p>Other generators:</p>
<p>http://blog.inspirit.ru/?p=131</p>
<p>http://projects.stroep.nl/fur/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2010/01/05/as3-furhair-generator/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>AS3: remove All Children in a DisplayObject</title>
		<link>http://www.designfission.com/blog/2010/01/05/as3-remove-all-movieclips-and-sprites-in-a-displayobject/</link>
		<comments>http://www.designfission.com/blog/2010/01/05/as3-remove-all-movieclips-and-sprites-in-a-displayobject/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 19:00:57 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[function]]></category>

		<guid isPermaLink="false">http://designfission.com/blog/2010/01/05/as3-remove-all-movieclips-and-sprites-in-a-displayobject/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<pre class="brush: as3; title: ; notranslate">
function removeChildrenOf(mc:MovieClip):void{
	if(mc_mc.numChildren!=0){
		var k:int = mc.numChildren;
		while( k -- )
		{
			mc.removeChildAt( k );
		}
	}
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2010/01/05/as3-remove-all-movieclips-and-sprites-in-a-displayobject/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Overlapping Movieclips in AS3</title>
		<link>http://www.designfission.com/blog/2009/12/29/overlapping-movieclips-in-as3/</link>
		<comments>http://www.designfission.com/blog/2009/12/29/overlapping-movieclips-in-as3/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 04:26:32 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as2]]></category>
		<category><![CDATA[as3]]></category>

		<guid isPermaLink="false">http://designfission.com/blog/2009/12/29/overlapping-movieclips-in-as3/</guid>
		<description><![CDATA[Back in AS2, when a MovieClip(MC) is underneath another one, as long as the MC that is on top doesn&#8217;t have any button actions (eg. onRollOver, onRelease etc), assigning button actions to the MC below will work. Not anymore in AS3. A quick fix is to give the following properties to the MC on top [...]]]></description>
			<content:encoded><![CDATA[<p>Back in AS2, when a MovieClip(MC) is underneath another one, as long as the MC that is on top doesn&#8217;t have any button actions (eg. onRollOver, onRelease etc), assigning button actions to the MC below will work. </p>
<p>Not anymore in AS3. </p>
<p>A quick fix is to give the following properties to the MC on top in AS3:</p>
<pre class="brush: as3; title: ; notranslate">
mc.mouseEnabled = false;
mc.mouseChildren = false;
</pre>
<p>Hope this will help someone!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2009/12/29/overlapping-movieclips-in-as3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Content Delivery Network via dfblog.qwertydesign.netdna-cdn.com

Served from: www.designfission.com @ 2012-02-06 13:47:01 -->
