<?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>terrypaton.com &#187; Library</title>
	<atom:link href="http://www.terrypaton.com/category/library/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.terrypaton.com</link>
	<description>Games, sketches, paintings and stuff!</description>
	<lastBuildDate>Sun, 14 Mar 2010 03:00:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>AS3 Waving New Zealand Flag</title>
		<link>http://www.terrypaton.com/as3-waving-new-zealand-flag/</link>
		<comments>http://www.terrypaton.com/as3-waving-new-zealand-flag/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 04:43:46 +0000</pubDate>
		<dc:creator>Terry</dc:creator>
				<category><![CDATA[Library]]></category>

		<guid isPermaLink="false">http://www.terrypaton.com/?p=7564</guid>
		<description><![CDATA[An Actionscript 3 Flag and compatible with Flash Player 9+. Using a bitmap for the flag from the library this creates perlin noise and applies it as a displacement map to create an simple flag wave. I then add the perlin noise BitmapData on top for highlights using BlendMode.HARDLIGHT. Quite a lot can be achieved [...]]]></description>
			<content:encoded><![CDATA[<p>An Actionscript 3 Flag and compatible with Flash Player 9+. Using a bitmap for the flag from the library this creates perlin noise and applies it as a displacement map to create an simple flag wave. I then add the perlin noise BitmapData on top for highlights using BlendMode.HARDLIGHT. Quite a lot can be achieved with this. Download the source fla here (it&#8217;s timeline code) &#8211; <a href="http://www.terrypaton.com/wp-content/uploads/library/nzflag.zip">Download zip</a> Tags: AS3 Flag, </p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_nzflag_2016263534"
			class="flashmovie"
			width="320"
			height="240">
	<param name="movie" value="http://www.terrypaton.com/wp-content/uploads/library/nzflag.swf" />
	<param name="wmode" value="opaque" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.terrypaton.com/wp-content/uploads/library/nzflag.swf"
			name="fm_nzflag_2016263534"
			width="320"
			height="240">
		<param name="wmode" value="opaque" />
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>Here&#8217;s the code for it too, though it&#8217;s probably messy &#8230;</p>
<p>import flash.display.*;<br />
//<br />
var flagWidth:Number = 320;<br />
var flagHeight:Number = 240;<br />
//<br />
var _bmpd:BitmapData=new BitmapData(flagWidth,flagHeight,false,0xff0000);<br />
var _bmp:Bitmap=new Bitmap(_bmpd);<br />
var num1:Number=1;<br />
var offset0:Point= new Point(10,10);<br />
var offset1:Point = new Point(10,10);<br />
var offset2:Object = new Point(10,10);</p>
<p>var rippleSize:Number=150;<br />
//<br />
stage.addEventListener(Event.ENTER_FRAME, loop);<br />
var _tempFlag:BitmapData=new flags_sprite(18,10);<br />
var _tflag2:BitmapData=new BitmapData(_tempFlag.width,_tempFlag.height,false,0&#215;000055);<br />
var flagRect:Rectangle=new Rectangle(0,0,_tempFlag.width,_tempFlag.height);<br />
_tflag2.copyPixels(_tempFlag,flagRect,new Point());<br />
//<br />
flagRect=new Rectangle(0,0,_tempFlag.width,_tempFlag.height);<br />
var _flagBitmapData:BitmapData=new BitmapData(flagWidth,flagHeight,false,0&#215;00FF00);<br />
//<br />
var matrix:Matrix = new Matrix();<br />
var scaleVal:Number=flagWidth/flagRect.width;<br />
var scaleVal2:Number=flagHeight/flagRect.height;<br />
matrix.scale(scaleVal,scaleVal2);<br />
flagRect.width*=scaleVal;<br />
flagRect.height*=scaleVal2;<br />
_flagBitmapData.draw(_tflag2,matrix,null,null,flagRect,true);<br />
//<br />
var flag:Bitmap=new Bitmap(_flagBitmapData);<br />
var mapPoint:Point=new Point(0,0);<br />
var channels:uint=BitmapDataChannel.RED;<br />
var componentX:uint=channels;<br />
var componentY:uint=channels;<br />
var scalex:Number=50;<br />
var scaley:Number=100;<br />
var dmode:String=DisplacementMapFilterMode.COLOR;<br />
var color:uint=0;<br />
var dalpha:Number=0;</p>
<p>addChild(flag);<br />
addChild(_bmp);</p>
<p>_bmp.blendMode = BlendMode.HARDLIGHT;<br />
_bmp.alpha = .3<br />
//<br />
function loop(event:Event):void {<br />
	offset0.y+=.5;<br />
	offset0.x+=5;<br />
	offset1.y-=5;<br />
	offset1.x-=.5;</p>
<p>	offset2.y+=5;<br />
	offset2.x+=.5;<br />
	_bmpd.perlinNoise(rippleSize, rippleSize,num1, 2, true, true, 3, true,[offset0,offset1,offset2]);<br />
	var _filter:DisplacementMapFilter=new DisplacementMapFilter(_bmpd,mapPoint,componentX,componentY,scalex,scaley,dmode,color,dalpha);</p>
<p>	var _filtersArray:Array=new Array(_filter);<br />
	flag.filters=_filtersArray;<br />
}<br />
stop();</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.terrypaton.com/as3-waving-new-zealand-flag/&amp;title=AS3+Waving+New+Zealand+Flag" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.terrypaton.com/as3-waving-new-zealand-flag/&amp;title=AS3+Waving+New+Zealand+Flag" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.terrypaton.com/as3-waving-new-zealand-flag/&amp;title=AS3+Waving+New+Zealand+Flag" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.terrypaton.com/as3-waving-new-zealand-flag/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.terrypaton.com/as3-waving-new-zealand-flag/&amp;t=AS3+Waving+New+Zealand+Flag" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.terrypaton.com/as3-waving-new-zealand-flag/&amp;t=AS3+Waving+New+Zealand+Flag" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=AS3+Waving+New+Zealand+Flag+-+http://b2l.me/hv4cm+" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22AS3%20Waving%20New%20Zealand%20Flag%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22An%20Actionscript%203%20Flag%20and%20compatible%20with%20Flash%20Player%209%2B.%20Using%20a%20bitmap%20for%20the%20flag%20from%20the%20library%20this%20creates%20perlin%20noise%20and%20applies%20it%20as%20a%20displacement%20map%20to%20create%20an%20simple%20flag%20wave.%20I%20then%20add%20the%20perlin%20noise%20BitmapData%20on%20top%20for%20highlights%20using%20BlendMode.HARDLIGHT.%20Quite%20a%20lot%20c%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://www.terrypaton.com/as3-waving-new-zealand-flag/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.terrypaton.com/as3-waving-new-zealand-flag/&amp;title=AS3+Waving+New+Zealand+Flag" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.terrypaton.com/as3-waving-new-zealand-flag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessing static var with just class name</title>
		<link>http://www.terrypaton.com/accessing-static-var-with-just-class-name/</link>
		<comments>http://www.terrypaton.com/accessing-static-var-with-just-class-name/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 00:56:28 +0000</pubDate>
		<dc:creator>Terry</dc:creator>
				<category><![CDATA[Library]]></category>

		<guid isPermaLink="false">http://www.terrypaton.com/?p=6550</guid>
		<description><![CDATA[I needed to access a public static var (called &#8216;description&#8217; in this case), from a class that hasn&#8217;t been instantiated. The description var is simply used to fill a text box.
I had several classes all name Test_1, Test_2 etc, All I had was it&#8217;s ID number. Something to note though is each class must be [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to access a public static var (called &#8216;description&#8217; in this case), from a class that hasn&#8217;t been instantiated. The description var is simply used to fill a text box.</p>
<p>I had several classes all name Test_1, Test_2 etc, All I had was it&#8217;s ID number. Something to note though is each class must be referenced in the class so the compiler knows to include it, I did this by storing them in an array.</p>
<p><span style="color: #00ff00;">Main class</span></p>
<p><span style="color: #3366ff;"> </span></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 31px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">package {</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 31px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>import com.*;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 31px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>import flash.display.Sprite;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 31px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>import flash.utils.getDefinitionByName;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 31px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>public class ClassTest extends Sprite {</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 31px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>public function ClassTest() {</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 31px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>var _num:int = 1</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 31px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>var className:String = &#8220;com.Test_&#8221; + _num</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 31px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>trace(getDefinitionByName(className).description)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 31px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>}</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 31px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>private var classArray:Array = [Test_1, Test_2]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 31px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>}</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 31px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">}</div>
<p><span style="color: #ffff00;">package {</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">import com.*;</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">import flash.display.Sprite;</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">import flash.utils.getDefinitionByName;</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">public class ClassTest extends Sprite {</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">public function ClassTest() {</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">var _num:int = 1</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">var className:String = &#8220;com.Test_&#8221; + _num</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">trace(getDefinitionByName(className).description)</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">}</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">private var classArray:Array = [Test_1, Test_2]</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">}</span></p>
<p><span style="color: #ffff00;">}</span></p>
<p><span style="color: #00ff00;">In the com folder we have two classes &#8230;</span></p>
<p><span style="color: #00ff00;">Test_1</span></p>
<p><span style="color: #ffff00;">package com {</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">public class Test_1 extends TestBase {</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">public function Test_1() {</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">}</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">public static var description:String = &#8220;DESCRIPTION #1&#8243;</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">}</span></p>
<p><span style="color: #ffff00;">}</span></p>
<p><span style="color: #00ff00;">&amp; Test_2</span></p>
<p><span style="color: #ffff00;">package com {</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">public class Test_2 extends TestBase {</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">public function Test_2() {</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">}</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">public static var description:String = &#8220;DESCRIPTION #2&#8243;</span></p>
<p><span style="white-space: pre;"><span style="color: #ffff00;"> </span></span><span style="color: #ffff00;">}</span></p>
<p><span style="color: #ffff00;">}</span></p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.terrypaton.com/accessing-static-var-with-just-class-name/&amp;title=Accessing+static+var+with+just+class+name" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.terrypaton.com/accessing-static-var-with-just-class-name/&amp;title=Accessing+static+var+with+just+class+name" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.terrypaton.com/accessing-static-var-with-just-class-name/&amp;title=Accessing+static+var+with+just+class+name" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.terrypaton.com/accessing-static-var-with-just-class-name/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.terrypaton.com/accessing-static-var-with-just-class-name/&amp;t=Accessing+static+var+with+just+class+name" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.terrypaton.com/accessing-static-var-with-just-class-name/&amp;t=Accessing+static+var+with+just+class+name" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Accessing+static+var+with+just+class+name+-+http://b2l.me/aayx5+" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22Accessing%20static%20var%20with%20just%20class%20name%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22I%20needed%20to%20access%20a%20public%20static%20var%20%28called%20%27description%27%20in%20this%20case%29%2C%20from%20a%20class%20that%20hasn%27t%20been%20instantiated.%20The%20description%20var%20is%20simply%20used%20to%20fill%20a%20text%20box.%0D%0A%0D%0AI%20had%20several%20classes%20all%20name%20Test_1%2C%20Test_2%20etc%2C%20All%20I%20had%20was%20it%27s%20ID%20number.%20Something%20to%20note%20though%20is%20each%20class%20mu%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://www.terrypaton.com/accessing-static-var-with-just-class-name/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.terrypaton.com/accessing-static-var-with-just-class-name/&amp;title=Accessing+static+var+with+just+class+name" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.terrypaton.com/accessing-static-var-with-just-class-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Difficulty Graph</title>
		<link>http://www.terrypaton.com/difficulty-graph/</link>
		<comments>http://www.terrypaton.com/difficulty-graph/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 07:26:32 +0000</pubDate>
		<dc:creator>Terry</dc:creator>
				<category><![CDATA[Library]]></category>

		<guid isPermaLink="false">http://www.terrypaton.com/?p=6537</guid>
		<description><![CDATA[This bit of code came about as I needed a way to make enemies get more progressively more difficult as the player played through levels. I didn&#8217;t want the enemies getting difficult at a steady rate, but rather to have a ebb and flow of difficulty, this was the result. X represents the level, and [...]]]></description>
			<content:encoded><![CDATA[<p>This bit of code came about as I needed a way to make enemies get more progressively more difficult as the player played through levels. I didn&#8217;t want the enemies getting difficult at a steady rate, but rather to have a ebb and flow of difficulty, this was the result. X represents the level, and the y represents the difficuly, displayed here as pixels on a bitmap. It&#8217;s pretty straightforward and the values can be tweaked to provide a range of results. Leave a comment if you don&#8217;t understand!</p>
<p>(Actionscript 3)</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_DifficultyWaves_1774700392"
			class="flashmovie"
			width="320"
			height="240">
	<param name="movie" value="http://www.terrypaton.com/wp-content/uploads/library/DifficultyWaves.swf" />
	<param name="wmode" value="opaque" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.terrypaton.com/wp-content/uploads/library/DifficultyWaves.swf"
			name="fm_DifficultyWaves_1774700392"
			width="320"
			height="240">
		<param name="wmode" value="opaque" />
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p><a href="http://www.terrypaton.com/wp-content/uploads/library/DifficultyWaves.zip">Download zip</a></p>
<p>The code:</p>
<p>var scaleFactor:Number = 1.5;<br />
var _bmpd:BitmapData = new BitmapData(40,40,false,0xff999999);<br />
var _bmp:Bitmap = new Bitmap(_bmpd);<br />
var ypos:Number = 0;<br />
var _rotAmount:Number = 90;<br />
for (var i:int=0; i<40; i++) {<br />
	var _rad:Number =( _rotAmount/180)*Math.PI;<br />
	var yFactor:Number =  ( 1+(i *.01) );<br />
	var scaling:Number = i + Math.cos(_rad) * yFactor;<br />
	_bmpd.setPixel32 (i,scaling,0xFF0000);<br />
	scaleFactor *= 1.01;<br />
	_rotAmount+=30;<br />
}<br />
addChild (_bmp);<br />
_bmp.scaleX=_bmp.scaleY=5;</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.terrypaton.com/difficulty-graph/&amp;title=Difficulty+Graph" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.terrypaton.com/difficulty-graph/&amp;title=Difficulty+Graph" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.terrypaton.com/difficulty-graph/&amp;title=Difficulty+Graph" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.terrypaton.com/difficulty-graph/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.terrypaton.com/difficulty-graph/&amp;t=Difficulty+Graph" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.terrypaton.com/difficulty-graph/&amp;t=Difficulty+Graph" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Difficulty+Graph+-+http://b2l.me/aabgb+" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22Difficulty%20Graph%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22This%20bit%20of%20code%20came%20about%20as%20I%20needed%20a%20way%20to%20make%20enemies%20get%20more%20progressively%20more%20difficult%20as%20the%20player%20played%20through%20levels.%20I%20didn%27t%20want%20the%20enemies%20getting%20difficult%20at%20a%20steady%20rate%2C%20but%20rather%20to%20have%20a%20ebb%20and%20flow%20of%20difficulty%2C%20this%20was%20the%20result.%20X%20represents%20the%20level%2C%20and%20the%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://www.terrypaton.com/difficulty-graph/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.terrypaton.com/difficulty-graph/&amp;title=Difficulty+Graph" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.terrypaton.com/difficulty-graph/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 Camera</title>
		<link>http://www.terrypaton.com/as3-camera/</link>
		<comments>http://www.terrypaton.com/as3-camera/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 05:10:43 +0000</pubDate>
		<dc:creator>terrypaton</dc:creator>
				<category><![CDATA[Library]]></category>

		<guid isPermaLink="false">http://www.terrypaton.com/?p=3738</guid>
		<description><![CDATA[This is my first go at setting up a reusable camera class so it may need a bit of tweaking when used in a real situation.
Setup a camera, giving it x,y, render window width and height, zoom,  a maximum zoom value, and constraints. The camera will then keep the bitmap edges within the render [...]]]></description>
			<content:encoded><![CDATA[<p>This is my first go at setting up a reusable camera class so it may need a bit of tweaking when used in a real situation.<br />
Setup a camera, giving it x,y, render window width and height, zoom,  a maximum zoom value, and constraints. The camera will then keep the bitmap edges within the render window frame regardless of the zoom (it works out the furthest you can zoom out based on the constraints you give it, but you can make you maximum zoom whatever you like.<br />
This camera class needs to work with a rendering system to support it, which I have in the main class.<br />
I have used my &#8216;<a href="http://www.terrypaton.com/as3-landscape-generator/">landscape generator</a>&#8216; code to make the map for this, but it&#8217;s very easlily adapted to using a library bitmap.</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_AS3Camera_1607110350"
			class="flashmovie"
			width="320"
			height="240">
	<param name="movie" value="http://www.terrypaton.com/wp-content/uploads/library/AS3Camera.swf" />
	<param name="wmode" value="opaque" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.terrypaton.com/wp-content/uploads/library/AS3Camera.swf"
			name="fm_AS3Camera_1607110350"
			width="320"
			height="240">
		<param name="wmode" value="opaque" />
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p><a href="http://www.terrypaton.com/wp-content/uploads/library/AS3Camera.zip">Download zip</a></p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.terrypaton.com/as3-camera/&amp;title=AS3+Camera" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.terrypaton.com/as3-camera/&amp;title=AS3+Camera" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.terrypaton.com/as3-camera/&amp;title=AS3+Camera" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.terrypaton.com/as3-camera/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.terrypaton.com/as3-camera/&amp;t=AS3+Camera" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.terrypaton.com/as3-camera/&amp;t=AS3+Camera" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=AS3+Camera+-+http://b2l.me/vh4q+" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22AS3%20Camera%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22This%20is%20my%20first%20go%20at%20setting%20up%20a%20reusable%20camera%20class%20so%20it%20may%20need%20a%20bit%20of%20tweaking%20when%20used%20in%20a%20real%20situation.%0ASetup%20a%20camera%2C%20giving%20it%20x%2Cy%2C%20render%20window%20width%20and%20height%2C%20zoom%2C%20%20a%20maximum%20zoom%20value%2C%20and%20constraints.%20The%20camera%20will%20then%20keep%20the%20bitmap%20edges%20within%20the%20render%20window%20f%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://www.terrypaton.com/as3-camera/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.terrypaton.com/as3-camera/&amp;title=AS3+Camera" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.terrypaton.com/as3-camera/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 Landscape generator</title>
		<link>http://www.terrypaton.com/as3-landscape-generator/</link>
		<comments>http://www.terrypaton.com/as3-landscape-generator/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 09:03:06 +0000</pubDate>
		<dc:creator>terrypaton</dc:creator>
				<category><![CDATA[Library]]></category>

		<guid isPermaLink="false">http://www.terrypaton.com/?p=3712</guid>
		<description><![CDATA[A top down terrain / landscape generator using perlinNoise and paletteMap to create the effect. The gradient that applies the colours can easily be adjusted.
CLICK TO GENERATE NEW IMAGES.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_AS3LandscapeGen_2145507985"
			class="flashmovie"
			width="320"
			height="240">
	<param name="movie" value="http://www.terrypaton.com/wp-content/uploads/library/AS3LandscapeGen.swf" />
	<param name="wmode" value="opaque" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.terrypaton.com/wp-content/uploads/library/AS3LandscapeGen.swf"
			name="fm_AS3LandscapeGen_2145507985"
			width="320"
			height="240">
		<param name="wmode" value="opaque" />
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
Download zip
Here&#8217;s the code &#8230;
package {
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	import flash.display.BlendMode;
	import flash.display.GradientType;
	import flash.display.Shape;
	import flash.display.Sprite;
	import flash.geom.ColorTransform;
	import flash.geom.Matrix;
	import flash.geom.Point;
	import flash.events.MouseEvent
	public class AS3LandscapeGenerator extends Sprite {
		public function [...]]]></description>
			<content:encoded><![CDATA[<p>A top down terrain / landscape generator using perlinNoise and paletteMap to create the effect. The gradient that applies the colours can easily be adjusted.<br />
CLICK TO GENERATE NEW IMAGES.</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_AS3LandscapeGen_1382217842"
			class="flashmovie"
			width="320"
			height="240">
	<param name="movie" value="http://www.terrypaton.com/wp-content/uploads/library/AS3LandscapeGen.swf" />
	<param name="wmode" value="opaque" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.terrypaton.com/wp-content/uploads/library/AS3LandscapeGen.swf"
			name="fm_AS3LandscapeGen_1382217842"
			width="320"
			height="240">
		<param name="wmode" value="opaque" />
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p><a href="http://www.terrypaton.com/wp-content/uploads/library/AS3LandscapeGen.zip">Download zip</a></p>
<p>Here&#8217;s the code &#8230;</p>
<p>package {<br />
	import flash.display.Bitmap;<br />
	import flash.display.BitmapData;<br />
	import flash.display.BlendMode;<br />
	import flash.display.GradientType;<br />
	import flash.display.Shape;<br />
	import flash.display.Sprite;<br />
	import flash.geom.ColorTransform;<br />
	import flash.geom.Matrix;<br />
	import flash.geom.Point;<br />
	import flash.events.MouseEvent<br />
	public class AS3LandscapeGenerator extends Sprite {<br />
		public function AS3LandscapeGenerator() {<br />
			generatePaletteMap();<br />
			bdColor = new BitmapData(320,240,false);<br />
			bdNoise = new BitmapData(320,240,false);<br />
			var _bmp:Bitmap = new Bitmap(bdColor);<br />
			addChild(_bmp);<br />
			stage.addEventListener(MouseEvent.CLICK, generate)<br />
			generate(null)<br />
		}<br />
		private var paletteMap:Array;<br />
		private var bdColor:BitmapData<br />
		private var bdNoise:BitmapData<br />
		private function generate(event:MouseEvent):void {<br />
			trace(&#8220;generate&#8221;)<br />
			generatePaletteMap();<br />
			var seed:int = Math.random() * 30000;<br />
			bdColor.perlinNoise(70,70,3,seed,true,true,7,true);<br />
			bdColor.paletteMap(bdColor, bdColor.rect, new Point(), paletteMap, [], []);<br />
			bdNoise.perlinNoise(2,2,1,seed,true,true,7,true);<br />
			bdColor.draw(bdNoise,null,new ColorTransform(1,1,1,.2),BlendMode.OVERLAY);<br />
		}<br />
		private function generatePaletteMap():void {<br />
			paletteMap = [];<br />
			var myShape:Shape = new Shape();<br />
			var gradientBoxMatrix:Matrix = new Matrix();<br />
			gradientBoxMatrix.createGradientBox(256,40,0,0,0);<br />
myShape.graphics.beginGradientFill(GradientType.LINEAR,[0x023175,0x0250C1,0xC7BC96,0x115525,0x725C5A,0x666666,0xFFffff],[1,1,1,1,1,1,1],[0,128,148,157,182,193,218],gradientBoxMatrix);<br />
			myShape.graphics.drawRect(0,0,256,10);<br />
			myShape.graphics.endFill();<br />
			var _bmpData:BitmapData = new BitmapData(256,10,true,0);<br />
			var _bit:Bitmap = new Bitmap(_bmpData);<br />
			_bmpData.draw(myShape);<br />
			_bit.y = 269<br />
			for (var n:int = 0;n < 256;n++) {<br />
				paletteMap.push(_bmpData.getPixel32(n,0));<br />
			}<br />
		}</p>
<p>	}</p>
<p>}</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.terrypaton.com/as3-landscape-generator/&amp;title=AS3+Landscape+generator" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.terrypaton.com/as3-landscape-generator/&amp;title=AS3+Landscape+generator" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.terrypaton.com/as3-landscape-generator/&amp;title=AS3+Landscape+generator" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.terrypaton.com/as3-landscape-generator/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.terrypaton.com/as3-landscape-generator/&amp;t=AS3+Landscape+generator" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.terrypaton.com/as3-landscape-generator/&amp;t=AS3+Landscape+generator" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=AS3+Landscape+generator+-+http://b2l.me/vmaf+" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22AS3%20Landscape%20generator%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22A%20top%20down%20terrain%20%2F%20landscape%20generator%20using%20perlinNoise%20and%20paletteMap%20to%20create%20the%20effect.%20The%20gradient%20that%20applies%20the%20colours%20can%20easily%20be%20adjusted.%0ACLICK%20TO%20GENERATE%20NEW%20IMAGES.%0A%0A%5Bkml_flashembed%20movie%3D%22http%3A%2F%2Fwww.terrypaton.com%2Fwp-content%2Fuploads%2Flibrary%2FAS3LandscapeGen.swf%22%20height%3D%22240%22%20w%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://www.terrypaton.com/as3-landscape-generator/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.terrypaton.com/as3-landscape-generator/&amp;title=AS3+Landscape+generator" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.terrypaton.com/as3-landscape-generator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AS3 Right Click menu</title>
		<link>http://www.terrypaton.com/as3-right-click-menu/</link>
		<comments>http://www.terrypaton.com/as3-right-click-menu/#comments</comments>
		<pubDate>Thu, 28 May 2009 04:04:43 +0000</pubDate>
		<dc:creator>terrypaton</dc:creator>
				<category><![CDATA[Library]]></category>

		<guid isPermaLink="false">http://www.terrypaton.com/?p=3688</guid>
		<description><![CDATA[Very simple post, and I&#8217;ve made this very simply, it&#8217;s coded on the timeline in this instance, but I should make it into a class.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_AS3rightClick_1132789082"
			class="flashmovie"
			width="320"
			height="240">
	<param name="movie" value="http://www.terrypaton.com/wp-content/uploads/library/AS3rightClick.swf" />
	<param name="wmode" value="opaque" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.terrypaton.com/wp-content/uploads/library/AS3rightClick.swf"
			name="fm_AS3rightClick_1132789082"
			width="320"
			height="240">
		<param name="wmode" value="opaque" />
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
Download zip
And here&#8217;s the code &#8230;
stop ();
var MENU_ITEM_0:String=&#8221;www.terrypaton.com&#8221;;
var MENU_ITEM_1:String=&#8221;Made by Terry!&#8221;;
var MENU_ITEM_2:String=&#8221;LOW Quality&#8221;;
var MENU_ITEM_3:String=&#8221;HIGH Quality&#8221;;
var myContextMenu:ContextMenu;
myContextMenu = new ContextMenu();
addCustomMenuItems ();
function addCustomMenuItems ():void {
	myContextMenu.hideBuiltInItems ();
	var defaultItems:ContextMenuBuiltInItems=myContextMenu.builtInItems;
	defaultItems.print = [...]]]></description>
			<content:encoded><![CDATA[<p>Very simple post, and I&#8217;ve made this very simply, it&#8217;s coded on the timeline in this instance, but I should make it into a class.</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_AS3rightClick_1111426932"
			class="flashmovie"
			width="320"
			height="240">
	<param name="movie" value="http://www.terrypaton.com/wp-content/uploads/library/AS3rightClick.swf" />
	<param name="wmode" value="opaque" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.terrypaton.com/wp-content/uploads/library/AS3rightClick.swf"
			name="fm_AS3rightClick_1111426932"
			width="320"
			height="240">
		<param name="wmode" value="opaque" />
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p><a href="http://www.terrypaton.com/wp-content/uploads/library/AS3rightClick.zip">Download zip</a></p>
<p>And here&#8217;s the code &#8230;</p>
<p>stop ();</p>
<p>var MENU_ITEM_0:String=&#8221;www.terrypaton.com&#8221;;<br />
var MENU_ITEM_1:String=&#8221;Made by Terry!&#8221;;<br />
var MENU_ITEM_2:String=&#8221;LOW Quality&#8221;;<br />
var MENU_ITEM_3:String=&#8221;HIGH Quality&#8221;;</p>
<p>var myContextMenu:ContextMenu;<br />
myContextMenu = new ContextMenu();<br />
addCustomMenuItems ();</p>
<p>function addCustomMenuItems ():void {<br />
	myContextMenu.hideBuiltInItems ();<br />
	var defaultItems:ContextMenuBuiltInItems=myContextMenu.builtInItems;<br />
	defaultItems.print = false;<br />
	var item0:ContextMenuItem=new ContextMenuItem(MENU_ITEM_0);<br />
	myContextMenu.customItems.push (item0);<br />
	var item1:ContextMenuItem=new ContextMenuItem(MENU_ITEM_1);<br />
	myContextMenu.customItems.push (item1);<br />
	var item2:ContextMenuItem=new ContextMenuItem(MENU_ITEM_2);<br />
	myContextMenu.customItems.push (item2);<br />
	var item3:ContextMenuItem=new ContextMenuItem(MENU_ITEM_3);<br />
	myContextMenu.customItems.push (item3);</p>
<p>	item0.addEventListener (ContextMenuEvent.MENU_ITEM_SELECT, menuItemSelectHandler);<br />
	item1.addEventListener (ContextMenuEvent.MENU_ITEM_SELECT, menuItemSelectHandler);<br />
	item2.addEventListener (ContextMenuEvent.MENU_ITEM_SELECT, menuItemSelectHandler);<br />
	item3.addEventListener (ContextMenuEvent.MENU_ITEM_SELECT, menuItemSelectHandler);</p>
<p>	contextMenu=myContextMenu;<br />
}<br />
function menuItemSelectHandler (event:ContextMenuEvent):void {<br />
	var request:URLRequest;<br />
	switch (event.target.caption) {</p>
<p>		case MENU_ITEM_0 :<br />
			request=new URLRequest(&#8220;http://www.soap.com.au&#8221;);<br />
			navigateToURL (request, &#8220;_blank&#8221;);<br />
			break;<br />
		case MENU_ITEM_2 :<br />
		trace(&#8220;make low&#8221;)<br />
			//change quality to low<br />
			stage.quality=&#8221;LOW&#8221;;<br />
			break;<br />
		case MENU_ITEM_3 :<br />
			//change quality to high<br />
			stage.quality=&#8221;HIGH&#8221;;<br />
			break;<br />
	}<br />
}</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.terrypaton.com/as3-right-click-menu/&amp;title=AS3+Right+Click+menu" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.terrypaton.com/as3-right-click-menu/&amp;title=AS3+Right+Click+menu" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.terrypaton.com/as3-right-click-menu/&amp;title=AS3+Right+Click+menu" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.terrypaton.com/as3-right-click-menu/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.terrypaton.com/as3-right-click-menu/&amp;t=AS3+Right+Click+menu" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.terrypaton.com/as3-right-click-menu/&amp;t=AS3+Right+Click+menu" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=AS3+Right+Click+menu+-+http://b2l.me/vxmm+" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22AS3%20Right%20Click%20menu%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22Very%20simple%20post%2C%20and%20I%27ve%20made%20this%20very%20simply%2C%20it%27s%20coded%20on%20the%20timeline%20in%20this%20instance%2C%20but%20I%20should%20make%20it%20into%20a%20class.%0A%0A%5Bkml_flashembed%20movie%3D%22http%3A%2F%2Fwww.terrypaton.com%2Fwp-content%2Fuploads%2Flibrary%2FAS3rightClick.swf%22%20height%3D%22240%22%20width%3D%22320%22%20wmode%3D%22opaque%22%20%2F%5D%0A%0ADownload%20zip%0A%0AAnd%20here%27s%20the%20c%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://www.terrypaton.com/as3-right-click-menu/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.terrypaton.com/as3-right-click-menu/&amp;title=AS3+Right+Click+menu" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.terrypaton.com/as3-right-click-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 Drop down menu</title>
		<link>http://www.terrypaton.com/as3-drop-down-menu/</link>
		<comments>http://www.terrypaton.com/as3-drop-down-menu/#comments</comments>
		<pubDate>Fri, 22 May 2009 09:58:25 +0000</pubDate>
		<dc:creator>terrypaton</dc:creator>
				<category><![CDATA[Library]]></category>

		<guid isPermaLink="false">http://www.terrypaton.com/?p=3678</guid>
		<description><![CDATA[A customisable dropdown menu, not the greatest setup, flexible, scrolls and seems to work ok!

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_AS3DropDown_309536899"
			class="flashmovie"
			width="320"
			height="240">
	<param name="movie" value="http://www.terrypaton.com/wp-content/uploads/library/AS3DropDown.swf" />
	<param name="wmode" value="opaque" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.terrypaton.com/wp-content/uploads/library/AS3DropDown.swf"
			name="fm_AS3DropDown_309536899"
			width="320"
			height="240">
		<param name="wmode" value="opaque" />
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
Download zip





		
			Share this on del.icio.us
		
		
			Digg this!
		
		
			Stumble upon something good? Share it on StumbleUpon
		
		
			Share this on Technorati
		
		
			Post this to MySpace
		
		
			Share this on Facebook
		
		
			Tweet This!
		
		
			Email this to a friend?
		
		
			Add this to Google Bookmarks
		





]]></description>
			<content:encoded><![CDATA[<p>A customisable dropdown menu, not the greatest setup, flexible, scrolls and seems to work ok!</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_AS3DropDown_812878102"
			class="flashmovie"
			width="320"
			height="240">
	<param name="movie" value="http://www.terrypaton.com/wp-content/uploads/library/AS3DropDown.swf" />
	<param name="wmode" value="opaque" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.terrypaton.com/wp-content/uploads/library/AS3DropDown.swf"
			name="fm_AS3DropDown_812878102"
			width="320"
			height="240">
		<param name="wmode" value="opaque" />
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p><a href="http://www.terrypaton.com/wp-content/uploads/library/AS3DropDown.zip">Download zip</a></p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.terrypaton.com/as3-drop-down-menu/&amp;title=AS3+Drop+down+menu" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.terrypaton.com/as3-drop-down-menu/&amp;title=AS3+Drop+down+menu" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.terrypaton.com/as3-drop-down-menu/&amp;title=AS3+Drop+down+menu" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.terrypaton.com/as3-drop-down-menu/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.terrypaton.com/as3-drop-down-menu/&amp;t=AS3+Drop+down+menu" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.terrypaton.com/as3-drop-down-menu/&amp;t=AS3+Drop+down+menu" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=AS3+Drop+down+menu+-+http://b2l.me/vj7v+" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22AS3%20Drop%20down%20menu%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22A%20customisable%20dropdown%20menu%2C%20not%20the%20greatest%20setup%2C%20flexible%2C%20scrolls%20and%20seems%20to%20work%20ok%21%0A%0A%5Bkml_flashembed%20movie%3D%22http%3A%2F%2Fwww.terrypaton.com%2Fwp-content%2Fuploads%2Flibrary%2FAS3DropDown.swf%22%20height%3D%22240%22%20width%3D%22320%22%20wmode%3D%22opaque%22%20%2F%5D%0A%0ADownload%20zip%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://www.terrypaton.com/as3-drop-down-menu/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.terrypaton.com/as3-drop-down-menu/&amp;title=AS3+Drop+down+menu" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.terrypaton.com/as3-drop-down-menu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>AS3 Threshold transition effect</title>
		<link>http://www.terrypaton.com/as3-threshold-transition-effect/</link>
		<comments>http://www.terrypaton.com/as3-threshold-transition-effect/#comments</comments>
		<pubDate>Tue, 19 May 2009 21:30:26 +0000</pubDate>
		<dc:creator>terrypaton</dc:creator>
				<category><![CDATA[Library]]></category>

		<guid isPermaLink="false">http://www.terrypaton.com/?p=3597</guid>
		<description><![CDATA[Here&#8217;s a simple but effective technique to disolve between images using the bitmapData threshold command. I&#8217;ve setup a class that&#8217;ll make it easy to apply, but this is really just the start and can be extended and developed quite a bit!

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_AS3Threshold_460895614"
			class="flashmovie"
			width="320"
			height="240">
	<param name="movie" value="http://www.terrypaton.com/wp-content/uploads/library/AS3Threshold.swf" />
	<param name="wmode" value="opaque" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.terrypaton.com/wp-content/uploads/library/AS3Threshold.swf"
			name="fm_AS3Threshold_460895614"
			width="320"
			height="240">
		<param name="wmode" value="opaque" />
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
Download zip





		
			Share this on del.icio.us
		
		
			Digg this!
		
		
			Stumble upon something good? Share [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a simple but effective technique to disolve between images using the bitmapData threshold command. I&#8217;ve setup a class that&#8217;ll make it easy to apply, but this is really just the start and can be extended and developed quite a bit!</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_AS3Threshold_1845918238"
			class="flashmovie"
			width="320"
			height="240">
	<param name="movie" value="http://www.terrypaton.com/wp-content/uploads/library/AS3Threshold.swf" />
	<param name="wmode" value="opaque" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.terrypaton.com/wp-content/uploads/library/AS3Threshold.swf"
			name="fm_AS3Threshold_1845918238"
			width="320"
			height="240">
		<param name="wmode" value="opaque" />
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p><a href="http://www.terrypaton.com/wp-content/uploads/library/AS3Threshold.zip">Download zip</a></p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.terrypaton.com/as3-threshold-transition-effect/&amp;title=AS3+Threshold+transition+effect" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.terrypaton.com/as3-threshold-transition-effect/&amp;title=AS3+Threshold+transition+effect" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.terrypaton.com/as3-threshold-transition-effect/&amp;title=AS3+Threshold+transition+effect" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.terrypaton.com/as3-threshold-transition-effect/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.terrypaton.com/as3-threshold-transition-effect/&amp;t=AS3+Threshold+transition+effect" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.terrypaton.com/as3-threshold-transition-effect/&amp;t=AS3+Threshold+transition+effect" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=AS3+Threshold+transition+effect+-+http://b2l.me/vztj+" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22AS3%20Threshold%20transition%20effect%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22Here%27s%20a%20simple%20but%20effective%20technique%20to%20disolve%20between%20images%20using%20the%20bitmapData%20threshold%20command.%20I%27ve%20setup%20a%20class%20that%27ll%20make%20it%20easy%20to%20apply%2C%20but%20this%20is%20really%20just%20the%20start%20and%20can%20be%20extended%20and%20developed%20quite%20a%20bit%21%0A%0A%5Bkml_flashembed%20movie%3D%22http%3A%2F%2Fwww.terrypaton.com%2Fwp-content%2Fup%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://www.terrypaton.com/as3-threshold-transition-effect/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.terrypaton.com/as3-threshold-transition-effect/&amp;title=AS3+Threshold+transition+effect" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.terrypaton.com/as3-threshold-transition-effect/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AS3 Draw Landscape</title>
		<link>http://www.terrypaton.com/as3-draw-landscape/</link>
		<comments>http://www.terrypaton.com/as3-draw-landscape/#comments</comments>
		<pubDate>Sat, 16 May 2009 03:13:56 +0000</pubDate>
		<dc:creator>terrypaton</dc:creator>
				<category><![CDATA[Library]]></category>

		<guid isPermaLink="false">http://www.terrypaton.com/?p=3590</guid>
		<description><![CDATA[Here&#8217;s a small class that I setup to draw a &#8216;landscape&#8217;, well a bunch of wiggly lines at least with a little blurring. Pass a bitmapData and it will draw to it. This could be modified top accept colour parameters and a few other things to make it snazzy.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_AS3DrawLandscape_399741217"
			class="flashmovie"
			width="320"
			height="240">
	<param name="movie" value="http://www.terrypaton.com/wp-content/uploads/library/AS3DrawLandscape.swf" />
	<param name="wmode" value="opaque" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.terrypaton.com/wp-content/uploads/library/AS3DrawLandscape.swf"
			name="fm_AS3DrawLandscape_399741217"
			width="320"
			height="240">
		<param name="wmode" value="opaque" />
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
Download zip





		
			Share [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a small class that I setup to draw a &#8216;landscape&#8217;, well a bunch of wiggly lines at least with a little blurring. Pass a bitmapData and it will draw to it. This could be modified top accept colour parameters and a few other things to make it snazzy.</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_AS3DrawLandscape_1362677043"
			class="flashmovie"
			width="320"
			height="240">
	<param name="movie" value="http://www.terrypaton.com/wp-content/uploads/library/AS3DrawLandscape.swf" />
	<param name="wmode" value="opaque" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.terrypaton.com/wp-content/uploads/library/AS3DrawLandscape.swf"
			name="fm_AS3DrawLandscape_1362677043"
			width="320"
			height="240">
		<param name="wmode" value="opaque" />
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p><a href="http://www.terrypaton.com/wp-content/uploads/library/AS3DrawLandscape.zip">Download zip</a></p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.terrypaton.com/as3-draw-landscape/&amp;title=AS3+Draw+Landscape" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.terrypaton.com/as3-draw-landscape/&amp;title=AS3+Draw+Landscape" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.terrypaton.com/as3-draw-landscape/&amp;title=AS3+Draw+Landscape" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.terrypaton.com/as3-draw-landscape/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.terrypaton.com/as3-draw-landscape/&amp;t=AS3+Draw+Landscape" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.terrypaton.com/as3-draw-landscape/&amp;t=AS3+Draw+Landscape" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=AS3+Draw+Landscape+-+http://b2l.me/wd72+" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22AS3%20Draw%20Landscape%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22Here%27s%20a%20small%20class%20that%20I%20setup%20to%20draw%20a%20%27landscape%27%2C%20well%20a%20bunch%20of%20wiggly%20lines%20at%20least%20with%20a%20little%20blurring.%20Pass%20a%20bitmapData%20and%20it%20will%20draw%20to%20it.%20This%20could%20be%20modified%20top%20accept%20colour%20parameters%20and%20a%20few%20other%20things%20to%20make%20it%20snazzy.%0A%0A%5Bkml_flashembed%20movie%3D%22http%3A%2F%2Fwww.terrypaton%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://www.terrypaton.com/as3-draw-landscape/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.terrypaton.com/as3-draw-landscape/&amp;title=AS3+Draw+Landscape" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.terrypaton.com/as3-draw-landscape/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 Mute sounds globally</title>
		<link>http://www.terrypaton.com/as3-mute-sounds-globally/</link>
		<comments>http://www.terrypaton.com/as3-mute-sounds-globally/#comments</comments>
		<pubDate>Tue, 12 May 2009 20:43:44 +0000</pubDate>
		<dc:creator>terrypaton</dc:creator>
				<category><![CDATA[Library]]></category>

		<guid isPermaLink="false">http://www.terrypaton.com/?p=3582</guid>
		<description><![CDATA[var sTransform:SoundTransform = new SoundTransform(1,0);
sTransform.volume = 0;
SoundMixer.soundTransform = sTransform;





		
			Share this on del.icio.us
		
		
			Digg this!
		
		
			Stumble upon something good? Share it on StumbleUpon
		
		
			Share this on Technorati
		
		
			Post this to MySpace
		
		
			Share this on Facebook
		
		
			Tweet This!
		
		
			Email this to a friend?
		
		
			Add this to Google Bookmarks
		





]]></description>
			<content:encoded><![CDATA[<p>var sTransform:SoundTransform = new SoundTransform(1,0);<br />
sTransform.volume = 0;<br />
SoundMixer.soundTransform = sTransform;</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.terrypaton.com/as3-mute-sounds-globally/&amp;title=AS3+Mute+sounds+globally" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.terrypaton.com/as3-mute-sounds-globally/&amp;title=AS3+Mute+sounds+globally" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.terrypaton.com/as3-mute-sounds-globally/&amp;title=AS3+Mute+sounds+globally" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://www.terrypaton.com/as3-mute-sounds-globally/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.terrypaton.com/as3-mute-sounds-globally/&amp;t=AS3+Mute+sounds+globally" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.terrypaton.com/as3-mute-sounds-globally/&amp;t=AS3+Mute+sounds+globally" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=AS3+Mute+sounds+globally+-+http://b2l.me/vpyp+" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22AS3%20Mute%20sounds%20globally%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22var%20sTransform%3ASoundTransform%20%3D%20new%20SoundTransform%281%2C0%29%3B%0AsTransform.volume%20%3D%200%3B%0ASoundMixer.soundTransform%20%3D%20sTransform%3B%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://www.terrypaton.com/as3-mute-sounds-globally/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.terrypaton.com/as3-mute-sounds-globally/&amp;title=AS3+Mute+sounds+globally" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.terrypaton.com/as3-mute-sounds-globally/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
