<?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/"
	>

<channel>
	<title>W.J. Warren</title>
	<atom:link href="http://blog.ansuz.nl/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ansuz.nl</link>
	<description>Flash Developer</description>
	<pubDate>Thu, 15 Jul 2010 08:59:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Some things are null on Win, but not on Mac</title>
		<link>http://blog.ansuz.nl/index.php/2010/07/15/some-things-are-null-on-win-but-not-on-mac/</link>
		<comments>http://blog.ansuz.nl/index.php/2010/07/15/some-things-are-null-on-win-but-not-on-mac/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 08:18:05 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=235</guid>
		<description><![CDATA[PLAIN TEXT
Actionscript:




var myArray:Array = new Array&#40;new SomeObject&#40;&#41;, new SomeObject&#40;&#41;, new SomeObject&#40;&#41;&#41;;


// true on Win, false on Mac


trace&#40;myArray&#91;3&#93; == null&#41;; 






Such fun those little differences in the Flash Player!  
]]></description>
			<content:encoded><![CDATA[<div class="igBar"><span id="lactionscript-2"><a href="#" onclick="javascript:showPlainTxt('actionscript-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-2">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">var</span> myArray:<span style="color: #0066CC;">Array</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Array</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> SomeObject<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>, <span style="color: #000000; font-weight: bold;">new</span> SomeObject<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>, <span style="color: #000000; font-weight: bold;">new</span> SomeObject<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">// true on Win, false on Mac</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>myArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">3</span><span style="color: #66cc66;">&#93;</span> == <span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Such fun those little differences in the Flash Player! <img src='http://blog.ansuz.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2010/07/15/some-things-are-null-on-win-but-not-on-mac/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Grazia 3D</title>
		<link>http://blog.ansuz.nl/index.php/2010/03/23/grazia-3d/</link>
		<comments>http://blog.ansuz.nl/index.php/2010/03/23/grazia-3d/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 12:59:26 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=233</guid>
		<description><![CDATA[I thought this was going to be yet another AR (augmented reality) app, but it is actually quite impressive! Have a look here: http://www.graziadaily.co.uk/graziatv/archive/2010/03/23/video--check-out-grazia-s-3d-walk-in-talking-issue.htm 
I'm wondering what agency built this one...
Source: http://gizmodo.com/5499785/now-womens-mags-are-doing-augmented-reality
]]></description>
			<content:encoded><![CDATA[<p>I thought this was going to be yet another AR (augmented reality) app, but it is actually quite impressive! Have a look here: <a href="http://www.graziadaily.co.uk/graziatv/archive/2010/03/23/video--check-out-grazia-s-3d-walk-in-talking-issue.htm " target="_blank">http://www.graziadaily.co.uk/graziatv/archive/2010/03/23/video--check-out-grazia-s-3d-walk-in-talking-issue.htm </a></p>
<p>I'm wondering what agency built this one...</p>
<p><strong>Source:</strong> <a href="http://gizmodo.com/5499785/now-womens-mags-are-doing-augmented-reality" target="_blank">http://gizmodo.com/5499785/now-womens-mags-are-doing-augmented-reality</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2010/03/23/grazia-3d/feed/</wfw:commentRss>
		</item>
		<item>
		<title>De MonsterDebugger</title>
		<link>http://blog.ansuz.nl/index.php/2010/03/11/de-monsterdebugger/</link>
		<comments>http://blog.ansuz.nl/index.php/2010/03/11/de-monsterdebugger/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 10:51:14 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[Air]]></category>

		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=229</guid>
		<description><![CDATA[I'm always looking for a nice debugger to use on the fly, the "De MonsterDebugger" looks really nice.
De MonsterDebugger is an open source debugger for Adobe Flash, Flex and AIR. De MonsterDebugger is made in Flex and AIR by design studio De Monsters.
One of the nicest features in my opinion is the live editing of [...]]]></description>
			<content:encoded><![CDATA[<p>I'm always looking for a nice debugger to use on the fly, the "De MonsterDebugger" looks really nice.</p>
<blockquote><p>De MonsterDebugger is an open source debugger for Adobe Flash, Flex and AIR. De MonsterDebugger is made in Flex and AIR by design studio De Monsters.</p></blockquote>
<p>One of the nicest features in my opinion is the <a href="http://www.demonsterdebugger.com/features/liveediting" target="_blank">live editing</a> of properties, very handy when fiddling to position elements correctly.</p>
<p><strong>Links:</strong></p>
<ul>
<li>Homepage: <a href="http://www.demonsterdebugger.com/ " target="_blank">http://www.demonsterdebugger.com/ </a></li>
<li>Download: <a href="http://www.demonsterdebugger.com/download" target="_blank">http://www.demonsterdebugger.com/download</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2010/03/11/de-monsterdebugger/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Video Converter</title>
		<link>http://blog.ansuz.nl/index.php/2010/01/22/video-converter/</link>
		<comments>http://blog.ansuz.nl/index.php/2010/01/22/video-converter/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 13:12:00 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=227</guid>
		<description><![CDATA[A colleague pointed WinFF out to me, a nice GUI for FFmpeg. No more worrying about command line options, long life laziness!  
PS: No need to download FFmpeg, it comes packaged with WinFF.
]]></description>
			<content:encoded><![CDATA[<p>A colleague pointed <a href="http://winff.org/html_new/" target="_blank">WinFF</a> out to me, a nice GUI for <a href="http://ffmpeg.org/index.html" target="_blank">FFmpeg</a>. No more worrying about command line options, long life laziness! <img src='http://blog.ansuz.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>PS: No need to download FFmpeg, it comes packaged with WinFF.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2010/01/22/video-converter/feed/</wfw:commentRss>
		</item>
		<item>
		<title>wmode=&#8221;transparent&#8221;</title>
		<link>http://blog.ansuz.nl/index.php/2010/01/21/wmodetransparent/</link>
		<comments>http://blog.ansuz.nl/index.php/2010/01/21/wmodetransparent/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 15:08:55 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[HTML / CSS]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=223</guid>
		<description><![CDATA[I never knew/realised this, but it's very useful to know:
The background of a Flash movie can be set to transparent. This allows the background color or image of the HTML page that contains the Flash movie to show through and allows the layering of Flash content with DHTML content.
Very useful when your Flash is on [...]]]></description>
			<content:encoded><![CDATA[<p>I never knew/realised this, but it's very useful to know:</p>
<blockquote><p>The background of a Flash movie can be set to transparent. This allows the background color or image of the HTML page that contains the Flash movie to show through and <strong>allows the layering of Flash content with DHTML content</strong>.</p></blockquote>
<p>Very useful when your Flash is on a layer in HTML that could be covered by something else when you're scrolling the page.</p>
<p>Wmode not set:</p>
<div class="wp-caption alignnone" style="width: 410px"><img title="Wmode not set" src="http://blog.ansuz.nl/tests/wmode/wmode_normal.jpg" alt="Wmode not set" width="400" height="276" /><p class="wp-caption-text">Wmode not set</p></div>
<p>Wmode set to "transparent":</p>
<div class="wp-caption alignnone" style="width: 410px"><img title="wmode set to transparent" src="http://blog.ansuz.nl/tests/wmode/wmode_transparent.jpg" alt="wmode set to transparent" width="400" height="276" /><p class="wp-caption-text">wmode set to transparent</p></div>
<p><strong>Source:</strong> <a href="http://kb2.adobe.com/cps/142/tn_14201.html" target="_blank">Adobe TechNote</a></p>
<p><em>PS: Never mind the awesome (ahem) colours, this was just a quick test.</em> <img src='http://blog.ansuz.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2010/01/21/wmodetransparent/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Phidgets / Arduino</title>
		<link>http://blog.ansuz.nl/index.php/2010/01/20/phidgets-arduino/</link>
		<comments>http://blog.ansuz.nl/index.php/2010/01/20/phidgets-arduino/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 13:10:21 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=219</guid>
		<description><![CDATA[I'd love to have some time to mess around with a Phidgets or Arduino board, it looks like a lot of fun! Using Flash to control something analog/physical!  
]]></description>
			<content:encoded><![CDATA[<p>I'd love to have some time to mess around with a <a href="http://www.phidgets.com/index.php" target="_blank">Phidgets</a> or <a href="http://arduino.cc/" target="_blank">Arduino</a> board, it looks like a lot of fun! Using Flash to control something analog/physical! <img src='http://blog.ansuz.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2010/01/20/phidgets-arduino/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flex IRC Client</title>
		<link>http://blog.ansuz.nl/index.php/2010/01/14/flex-irc-client/</link>
		<comments>http://blog.ansuz.nl/index.php/2010/01/14/flex-irc-client/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 12:00:16 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=214</guid>
		<description><![CDATA[Just came across this when browsing around a bit. This Flex IRC client is a port of the Java-based PircBot.
Flex IRC Client aims to be a Flex / Flash based IRC Client. Currently most browser-based chat solutions are either proprietary or applets. Flex IRC Client wants to bring the power of IRC to the majority [...]]]></description>
			<content:encoded><![CDATA[<p>Just came across this when browsing around a bit. This Flex IRC client is a port of the Java-based <a href="http://code.google.com/p/flexircclient/wiki/PircBot">PircBot</a>.</p>
<blockquote><p>Flex IRC Client aims to be a Flex / Flash based IRC Client. Currently most browser-based chat solutions are either proprietary or applets. Flex IRC Client wants to bring the power of IRC to the majority of the Internet-users without requiring a download or an install.</p></blockquote>
<p>I know this client is still under development, but it could really do with a window showing some progress when connecting to a server. Also, a proxy of sorts would be nice since I get a lot of Security Errors when trying to connect to a server: <em>"SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2048: Security sandbox violation: http://ansuz.nl/toys/irc/FlexIRCClient.swf cannot load data from irc.efnet.nl:6667.""</em>, probably due to no cross-domain policies being set on the IRC servers. Connecting works when running this locally <img src='http://blog.ansuz.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong>Links</strong></p>
<ul>
<li>Project page: <a href="http://code.google.com/p/flexircclient/" target="_blank">http://code.google.com/p/flexircclient/</a></li>
<li>Demo: <a href="http://ansuz.nl/toys/irc/" target="_blank">http://ansuz.nl/toys/irc/</a></li>
<li>Server: irc.servercentral.net</li>
<li>Port: 6667</li>
<li>Channel: #flexnet</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2010/01/14/flex-irc-client/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hello Robots! :)</title>
		<link>http://blog.ansuz.nl/index.php/2010/01/04/hello-robots/</link>
		<comments>http://blog.ansuz.nl/index.php/2010/01/04/hello-robots/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 10:53:06 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=212</guid>
		<description><![CDATA[Just thought this was funny.
Welcome the robots, just click the link using FF and say hello to the robots  
]]></description>
			<content:encoded><![CDATA[<p>Just thought this was funny.</p>
<p><a href="about:robots" target="_blank">Welcome the robots</a>, just click the link using FF and say hello to the robots <img src='http://blog.ansuz.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2010/01/04/hello-robots/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Glaze: game and physics engine</title>
		<link>http://blog.ansuz.nl/index.php/2009/12/15/glaze-game-and-physics-engine/</link>
		<comments>http://blog.ansuz.nl/index.php/2009/12/15/glaze-game-and-physics-engine/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 15:44:55 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=208</guid>
		<description><![CDATA[Just stumbled upon this one.  
A game and physics engine for Flash including:

Rigid Body Dynamics
Scene management
Line of sight
User Input
Scrolling
AI


Project home: http://code.google.com/p/glaze/
Example: http://home.planet.nl/~borst595/glaze.html
Blog: http://yaa-blog.blogspot.com/
]]></description>
			<content:encoded><![CDATA[<p>Just stumbled upon this one. <img src='http://blog.ansuz.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote><p>A game and physics engine for Flash including:</p>
<ul>
<li>Rigid Body Dynamics</li>
<li>Scene management</li>
<li>Line of sight</li>
<li>User Input</li>
<li>Scrolling</li>
<li>AI</li>
</ul>
</blockquote>
<p><strong>Project home:</strong> <a href="http://code.google.com/p/glaze/" target="_blank">http://code.google.com/p/glaze/<br />
</a><strong>Example:</strong> <a href="http://home.planet.nl/~borst595/glaze.html" target="_blank">http://home.planet.nl/~borst595/glaze.html</a><br />
<strong>Blog:</strong> <a href="http://yaa-blog.blogspot.com/" target="_blank">http://yaa-blog.blogspot.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2009/12/15/glaze-game-and-physics-engine/feed/</wfw:commentRss>
		</item>
		<item>
		<title>AS Frameworks</title>
		<link>http://blog.ansuz.nl/index.php/2009/12/15/as-frameworks/</link>
		<comments>http://blog.ansuz.nl/index.php/2009/12/15/as-frameworks/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 13:43:59 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[ActionScript 2.0]]></category>

		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=203</guid>
		<description><![CDATA[Recently I've been looking into different frameworks, just to get some experience with other interesting frameworks out there. I've compiled a list of some of the frameworks I've found. I'm sure I've missed a couple of other good ones, if you know of one, please let me know.  
Gaia
A framework package as a Flash [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I've been looking into different frameworks, just to get some experience with other interesting frameworks out there. I've compiled a list of some of the frameworks I've found. I'm sure I've missed a couple of other good ones, if you know of one, please let me know. <img src='http://blog.ansuz.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Gaia</strong><br />
A framework package as a Flash component. Handy for designers, but it kinda made me shrug... Though reading through the docs a couple of interesting features showed through, like the generation of the navigation through the context menu.<br />
<em>Link:</em> <a href="http://www.gaiaflashframework.com/index.php" target="_blank">http://www.gaiaflashframework.com/index.php</a></p>
<p><strong>Cairngorm</strong><br />
Used this framework / micro architecture a lot already. Nice Event-Command pairs as well as delegates for calling all (web)services.<br />
<em>Link:</em> <a href="http://opensource.adobe.com/wiki/display/cairngorm/Cairngorm" target="_blank">http://opensource.adobe.com/wiki/display/cairngorm/Cairngorm</a></p>
<p><strong>PureMVC</strong><br />
I've been working with a PureMVC project lately and looked at it before, quite similar in some ways to Cairngorm, just different names. <img src='http://blog.ansuz.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
A nice resource for pureMVC: <a href="http://puremvc.tv/" target="_blank">http://puremvc.tv/</a><br />
<em>Link:</em> <a href="http://puremvc.org/" target="_blank">http://puremvc.org/</a></p>
<p><strong>Swiz</strong></p>
<blockquote><p>Swiz is a framework for Adobe Flex that aims to bring complete simplicity to RIA development. Swiz provides Inversion of Control, event handing, and simple life cycle for asynchronous remote methods.</p></blockquote>
<p><em>Link:</em> <a href="http://code.google.com/p/swizframework/" target="_blank">http://code.google.com/p/swizframework/</a></p>
<p><strong>Dawn</strong></p>
<blockquote><p>Dawn is a lightweight framework for ActionScript inspired by Google Guice. In addition to Dependency Injection, it provides type safe notifications and helps you to build apps which are loosely coupled, easily unit tested, and less error-prone.</p></blockquote>
<p><em>Link:</em> <a href="http://wiki.github.com/sammyt/dawn" target="_blank">http://wiki.github.com/sammyt/dawn</a></p>
<p><strong>Mate</strong></p>
<blockquote><p>Mate is a tag-based, event-driven Flex framework.</p>
<p>Mate framework has been created to make it easy to handle the events your Flex application creates. Mate allows you to define who is handling those events, whether data needs to be retrieved from the server, or other events need to be triggered.</p>
<p>In addition, Mate provides a mechanism for dependency injection to make it easy for the different parts of your application to get the data and objects they need.</p></blockquote>
<p><em>Link:</em> <a href="http://mate.asfusion.com/" target="_blank">http://mate.asfusion.com/</a></p>
<p>I think I'm going to give <strong><em>Dawn</em></strong> a try soon enough, of all the above it looks the most interesting to me.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2009/12/15/as-frameworks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Exclude files from Flex PMD</title>
		<link>http://blog.ansuz.nl/index.php/2009/12/01/exclude-files-from-flex-pmd/</link>
		<comments>http://blog.ansuz.nl/index.php/2009/12/01/exclude-files-from-flex-pmd/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 10:37:38 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=198</guid>
		<description><![CDATA[You can exclude files and/or packages from Flex PMD by creating your own rule set, use the "exclude-pattern" tag to exclude files.
PLAIN TEXT
XML:




&#38;lt;ruleset name=&#34;myruleset&#34;


xmlns=...&#38;gt;


&#38;lt;description&#38;gt;My ruleset&#38;lt;/description&#38;gt;


&#38;lt;exclude-pattern&#38;gt;.*/some/package/.*&#38;lt;/exclude-pattern&#38;gt;


&#38;lt;exclude-pattern&#38;gt;.*/some/other/package/FunkyClassNamePrefix.*&#38;lt;/exclude-pattern&#38;gt;


&#38;lt;include-pattern&#38;gt;.*/some/package/ButNotThisClass.*&#38;lt;/include-pattern&#38;gt;


&#38;lt;rule&#38;gt;...


&#38;lt;/ruleset&#38;gt; 






Link: http://pmd.sourceforge.net/howtomakearuleset.html
]]></description>
			<content:encoded><![CDATA[<p>You can exclude files and/or packages from Flex PMD by creating your own rule set, use the "exclude-pattern" tag to exclude files.</p>
<div class="igBar"><span id="lxml-4"><a href="#" onclick="javascript:showPlainTxt('xml-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-4">
<div class="xml">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #ddbb00;">&amp;lt;</span>ruleset name=&quot;myruleset&quot;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">xmlns=...<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #ddbb00;">&amp;lt;</span>description<span style="color: #ddbb00;">&amp;gt;</span>My ruleset<span style="color: #ddbb00;">&amp;lt;</span>/description<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #ddbb00;">&amp;lt;</span>exclude-pattern<span style="color: #ddbb00;">&amp;gt;</span>.*/some/package/.*<span style="color: #ddbb00;">&amp;lt;</span>/exclude-pattern<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #ddbb00;">&amp;lt;</span>exclude-pattern<span style="color: #ddbb00;">&amp;gt;</span>.*/some/other/package/FunkyClassNamePrefix.*<span style="color: #ddbb00;">&amp;lt;</span>/exclude-pattern<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #ddbb00;">&amp;lt;</span>include-pattern<span style="color: #ddbb00;">&amp;gt;</span>.*/some/package/ButNotThisClass.*<span style="color: #ddbb00;">&amp;lt;</span>/include-pattern<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #ddbb00;">&amp;lt;</span>rule<span style="color: #ddbb00;">&amp;gt;</span>...</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #ddbb00;">&amp;lt;</span>/ruleset<span style="color: #ddbb00;">&amp;gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Link: <a href="http://pmd.sourceforge.net/howtomakearuleset.html" target="_blank">http://pmd.sourceforge.net/howtomakearuleset.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2009/12/01/exclude-files-from-flex-pmd/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Encyclopedia, or a systematic dictionary of the sciences, arts, and crafts</title>
		<link>http://blog.ansuz.nl/index.php/2009/11/05/encyclopedia-or-a-systematic-dictionary-of-the-sciences-arts-and-crafts/</link>
		<comments>http://blog.ansuz.nl/index.php/2009/11/05/encyclopedia-or-a-systematic-dictionary-of-the-sciences-arts-and-crafts/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 12:46:35 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=196</guid>
		<description><![CDATA[Encyclopédie, ou dictionnaire raisonné des sciences, des arts et des métiers (English: Encyclopedia, or a systematic dictionary of the sciences, arts, and crafts) was a general encyclopedia published in France between 1751 and 1772, with later supplements and revisions in 1772, 1777 and 1780 and numerous foreign editions and later derivatives.

Have a look at http://diderot.alembert.free.fr/ [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Encyclopédie, ou dictionnaire raisonné des sciences, des arts et des métiers (English: Encyclopedia, or a systematic dictionary of the sciences, arts, and crafts) was a general encyclopedia published in France between 1751 and 1772, with later supplements and revisions in 1772, 1777 and 1780 and numerous foreign editions and later derivatives.</p></blockquote>
<p><img class="alignnone" src="http://diderot.alembert.free.fr/PLANCHES/slides/MILITAIRE23.jpg" alt="" width="720" height="490" /></p>
<p>Have a look at <a href="http://diderot.alembert.free.fr/">http://diderot.alembert.free.fr/</a> for loads of nice and old images, like the one above.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2009/11/05/encyclopedia-or-a-systematic-dictionary-of-the-sciences-arts-and-crafts/feed/</wfw:commentRss>
		</item>
		<item>
		<title>htaccess trickery</title>
		<link>http://blog.ansuz.nl/index.php/2009/11/04/htaccess-trickery/</link>
		<comments>http://blog.ansuz.nl/index.php/2009/11/04/htaccess-trickery/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 09:57:40 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=194</guid>
		<description><![CDATA[I was looking the other day for a way to make a directory that is behind a .htaccess password protected directory accessible for anybody. Does that make any sense? For instance: www.somedomain.com/protected is password protected directory. I wanted anybody to be able to access www.somedomain.com/protected/notthisone/ without a password. After a little searching I found the [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking the other day for a way to make a directory that is behind a .htaccess password protected directory accessible for anybody. Does that make any sense? For instance: www.somedomain.com/protected is password protected directory. I wanted anybody to be able to access www.somedomain.com/protected/notthisone/ without a password. After a little searching I found the following trick:</p>
<blockquote><p>AuthType Basic<br />
AuthName "Anybody"<br />
AuthUserFile /path/to/some/autfile</p>
<p>Require valid-user</p>
<p>Allow from All<br />
Satisfy Any</p></blockquote>
<p>I'm actually not sure if I need all of the above or if I can just get away with "Allow from All" and "Satisfy Any".</p>
<p>So basically by adding "Allow from All" you say anybody is allowed to access this directory. The "Satisfy Any" makes sure that you can access it either when you have already entered the password or when you don't have a password.</p>
<p>A nice way to circumvent .htaccess directory protection.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2009/11/04/htaccess-trickery/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dragon Age Journeys</title>
		<link>http://blog.ansuz.nl/index.php/2009/10/26/dragon-age-journeys/</link>
		<comments>http://blog.ansuz.nl/index.php/2009/10/26/dragon-age-journeys/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 13:06:40 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[Games]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=191</guid>
		<description><![CDATA[A very nice, quite large Flash RPG. It also shows that 2D sprites still rock very hard! \m/
Also makes me want to build something like that!  
Links

Dragon Age Journeys
Daniel Stracwick (developer of DAJ)
Biclops Games (Daniel's company)

]]></description>
			<content:encoded><![CDATA[<p>A very nice, quite large Flash RPG. It also shows that 2D sprites still rock very hard! \m/</p>
<p>Also makes me want to build something like that! <img src='http://blog.ansuz.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Links</p>
<ul>
<li><a href="http://www.dragonagejourneys.com/" target="_blank">Dragon Age Journeys</a></li>
<li><a href="http://twitter.com/monstersden" target="_blank">Daniel Stracwick</a> (developer of DAJ)</li>
<li><a href="http://www.biclopsgames.com/" target="_blank">Biclops Games</a> (Daniel's company)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2009/10/26/dragon-age-journeys/feed/</wfw:commentRss>
		</item>
		<item>
		<title>AS3 Version Injection + Flex PMD + TDSI = Rock &#8216;n Roll! \m/</title>
		<link>http://blog.ansuz.nl/index.php/2009/10/21/as3-version-injection-flex-pmd-tdsi-rock-n-roll/</link>
		<comments>http://blog.ansuz.nl/index.php/2009/10/21/as3-version-injection-flex-pmd-tdsi-rock-n-roll/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 09:46:37 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=184</guid>
		<description><![CDATA[AS3 Version Injection
Ever been annoyed by Project Managers telling you that a bug you fixed is still in the latest release you did and after some investigation find out that they forgot to clear their cache? Well, fear not! An AS3 Version Injection script is here! 
I've created a simple AS3 class called Version that [...]]]></description>
			<content:encoded><![CDATA[<p><strong>AS3 Version Injection</strong></p>
<p>Ever been annoyed by Project Managers telling you that a bug you fixed is still in the latest release you did and after some investigation find out that they forgot to clear their cache? Well, fear not! An AS3 Version Injection script is here! <img src='http://blog.ansuz.nl/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br />
I've created a simple AS3 class called Version that will add a time stamp to the context menu. All you need to do is instantiate the Version class once and pass it a reference to you Document Class. On top of the AS I've written a little Ant script that will take a template of the Version class, insert the current date and time and write out the Version class. This way you can just make it part of your Ant build and don't need to worry about manually updating the version number. Also, now you'll have a way of quickly identifying what version somebody is looking at. <img src='http://blog.ansuz.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Flex PMD</strong></p>
<p>This is great for auditing your own code as well as other people's code. I've written a small Ant task that can be ran as part of a build that will run your project through Flex PMD and create a PMD file for you. The PMD file will have a time stamp suffix so you don't overwrite your old file and you can compare issues. To use this Ant script make sure you've downloaded PMD for Ant.</p>
<p><strong>TDSI</strong></p>
<p>Another piece of very useful technology. Up to 20% performance increase just by passing your SWF through it. I downloaded the Apparat source (where TDSI is part of) from Google Code and compiled it. Built another little Ant script to use TDSI with Ant. Just specify the input and the output file and you're done!</p>
<p><strong>Bringing it all together</strong></p>
<p>All the above Ant scripts are saved in a separate file. This way I can import whatever piece I want in my build script, example:</p>
<div class="igBar"><span id="lxml-6"><a href="#" onclick="javascript:showPlainTxt('xml-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-6">
<div class="xml">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #ddbb00;">&amp;lt;</span>import file=&quot;as3_version.xml&quot; /<span style="color: #ddbb00;">&amp;gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><em>TIP:</em> Place the import after you have defined your properties in the build script, this way the imported scripts can use the properties set in the build script.</p>
<p><strong>Links</strong></p>
<ul>
<li><a href="http://github.com/wjwarren/valhalla/tree/master/as3/nl/ansuz/util/" target="_blank">AS3 Version Injection - AS files</a></li>
<li><a href="http://github.com/wjwarren/valhalla/blob/master/ant/as3_version.xml" target="_blank">AS3 Version Injection - Ant</a></li>
<li><a href="http://github.com/wjwarren/valhalla/blob/master/ant/flex_pmd.xml" target="_blank">Flex PMD Ant Script</a></li>
<li><a href="http://github.com/wjwarren/valhalla/blob/master/ant/tdsi.xml" target="_blank">TDSI Ant Script</a></li>
<li><a href="http://github.com/wjwarren/valhalla/blob/master/ant/build.xml" target="_blank">Example Ant Build Script using the scripts above</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2009/10/21/as3-version-injection-flex-pmd-tdsi-rock-n-roll/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flex PMD</title>
		<link>http://blog.ansuz.nl/index.php/2009/10/13/flex-pmd/</link>
		<comments>http://blog.ansuz.nl/index.php/2009/10/13/flex-pmd/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 16:12:28 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=179</guid>
		<description><![CDATA[Nice! A Flex (automated) auditing tool!  
FlexPMD is a tool that helps to improve code quality by auditing any AS3/Flex source directory and detecting common bad practices
Would be interesting to start using this.
Gotcha:
The PMD Violations Viewer only accepts files that are named "pmd.xml", all other files will not be recognized. I run an Ant [...]]]></description>
			<content:encoded><![CDATA[<p>Nice! A Flex (automated) auditing tool! <img src='http://blog.ansuz.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote><p>FlexPMD is a tool that helps to improve code quality by auditing any AS3/Flex source directory and detecting common bad practices</p></blockquote>
<p>Would be interesting to start using this.</p>
<p><strong>Gotcha:</strong><br />
The PMD Violations Viewer only accepts files that are named "pmd.xml", all other files will not be recognized. I run an Ant task to rename the generated pmd.xml to pmd_[insert timestamp here].xml. When I tried uploading the renamed file the PMD Violations Viewer wouldn't accept it. <img src='http://blog.ansuz.nl/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Links:</p>
<ul>
<li><a href="http://onflash.org/ted/2009/09/flexpmd-finding-worst-practices-in-your.php" target="_blank">Blog post from Ted Patrick</a></li>
<li><a href="http://opensource.adobe.com/wiki/display/flexpmd/FlexPMD" target="_blank">Flex PMD Home</a></li>
<li><a href="http://opensource.adobe.com/svn/opensource/flexpmd/bin/flex-pmd-ruleset-creator.html" target="_blank">Flex PMD ruleset creator</a></li>
<li><a href="http://opensource.adobe.com/svn/opensource/flexpmd/bin/flex-pmd-violations-viewer.html" target="_blank">Flex PMD violations viewer</a></li>
<li><a href="http://opensource.adobe.com/wiki/display/flexpmd/Downloads" target="_blank">Flex PMD downloads</a></li>
<li><a href="http://opensource.adobe.com/wiki/display/flexpmd/How+to+invoke+FlexPMD" target="_blank">How to invoke Flex PMD</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2009/10/13/flex-pmd/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flash CS5 - Apps for iPhone</title>
		<link>http://blog.ansuz.nl/index.php/2009/10/06/flash-cs5-apps-for-iphone/</link>
		<comments>http://blog.ansuz.nl/index.php/2009/10/06/flash-cs5-apps-for-iphone/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 09:19:46 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=176</guid>
		<description><![CDATA[This is awesome! With CS5 you'll be able to produce iPhone application using AS3, that's insane!  
Links:

(Flash) Applications for the iPhone
Developer FAQ
Developing for the Apple iPhone using Flash
Sign up for the CS5 Beta

]]></description>
			<content:encoded><![CDATA[<p>This is awesome! With CS5 you'll be able to produce iPhone application using AS3, that's insane! <img src='http://blog.ansuz.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong>Links:</strong></p>
<ul>
<li><a href="http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/" target="_blank">(Flash) Applications for the iPhone</a></li>
<li><a href="http://labs.adobe.com/wiki/index.php/Applications_for_iPhone" target="_blank">Developer FAQ</a></li>
<li><a href="http://www.adobe.com/devnet/logged_in/abansod_iphone.html" target="_blank">Developing for the Apple iPhone using Flash</a></li>
<li><a href="https://www.adobe.com/cfusion/mmform/index.cfm?name=fpcs5_notify" target="_blank">Sign up for the CS5 Beta</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2009/10/06/flash-cs5-apps-for-iphone/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flash on the Beach 09 - Links</title>
		<link>http://blog.ansuz.nl/index.php/2009/09/28/flash-on-the-beach-09-links/</link>
		<comments>http://blog.ansuz.nl/index.php/2009/09/28/flash-on-the-beach-09-links/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 14:15:31 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=170</guid>
		<description><![CDATA[Below is a list (and some brief explanation) of links with interesting stuff found at Flash on the Beach this year.
Joa Ebert (from hobnox) talked about one of the geekiest subject known to man : Compiler optimization. Good to know some people care about those  things. This is how you can get cooler stuff on [...]]]></description>
			<content:encoded><![CDATA[<p>Below is a list (and some brief explanation) of links with interesting stuff found at Flash on the Beach this year.</p>
<p>Joa Ebert (from hobnox) talked about one of the geekiest subject known to man : Compiler optimization. Good to know some people care about those  things. This is how you can get cooler stuff on the screen. It have the potential to made our work run 10 times faster.<br />
<a href="http://code.google.com/p/apparat/" target="_blank">http://code.google.com/p/apparat/</a><br />
<a href="http://blog.joa-ebert.com/2009/08/05/turbodieselsportinjection/" target="_blank">http://blog.joa-ebert.com/2009/08/05/turbodieselsportinjection/</a></p>
<p>Some good optimization techniques from Grant skinner too: <a href="http://gskinner.com/talks/quick/" target="_blank">http://gskinner.com/talks/quick/</a></p>
<p>Contrast’s presentation about breaking design convention:<br />
<a href="http://www.contrast.ie/blog/" target="_blank">http://www.contrast.ie/blog/</a><br />
Some good arguments here. Especially about the end of portal pages and brand over sale (yes we don’t need a massive logo on every single page).</p>
<p>Live feed visualization by Trevor Boyle during the elevator pitch:<br />
<a href="http://blog.trevorboyle.com/wp-content/uploads/twittersphere/Twittersphere-Visualizer.html" target="_blank">http://blog.trevorboyle.com/wp-content/uploads/twittersphere/Twittersphere-Visualizer.html</a></p>
<p>What can be done with sound from various presenters:<br />
<a href="http://www.hobnox.com/index.1056.en.html" target="_blank">http://www.hobnox.com/index.1056.en.html</a><br />
<a href="http://www.frogdesign.com/" target="_blank">http://www.frogdesign.com/</a><br />
Ruben's tube + propane: <a href="http://www.youtube.com/watch?v=HpovwbPGEoo" target="_blank">http://www.youtube.com/watch?v=HpovwbPGEoo</a><br />
<a href="http://blog.drwoohoo.com/" target="_blank">http://blog.drwoohoo.com/</a><br />
<a href="http://designmind.frogdesign.com" target="_blank">designmind.frogdesign.com</a><br />
<a href="http://www.openframeworks.cc" target="_blank">www.openframeworks.cc</a></p>
<p>We saw some really cool live drawing session from James Jarvis:<br />
<a href="http://www.youtube.com/watch?v=oZHBSBG7RSs" target="_blank">http://www.youtube.com/watch?v=oZHBSBG7RSs</a><br />
<a href="http://www.amostoys.com " target="_blank">http://www.amostoys.com </a><br />
James Patterson: <a href="http://www.presstube.com" target="_blank">www.presstube.com</a></p>
<p>And Art made with flash:<br />
<a href="http://www.joshuadavis.com/" target="_blank">http://www.joshuadavis.com/</a><br />
<a href="http://hype.joshuadavis.com/" target="_blank">http://hype.joshuadavis.com/</a></p>
<p>As well, Joel Baumann from Tomato introduced us to some early century artists who being playing with generative art way before flash came about. And shown us us some of his work, some of it still remain really cool like the TV-Asahi indent - sound generated logo !</p>
<p>Stacey Mulcahy, talked about how devs and creatives can work together<br />
better: <a href="http://www.bitchwhocodes.com" target="_blank">www.bitchwhocodes.com</a><br />
Some good technologies that can facilitate that:<br />
- SVN: <a href="http://versionsapp.com/" target="_blank">http://versionsapp.com/</a><br />
- Version Cue: <a href="http://www.adobe.com/products/creativesuite/versioncue/" target="_blank">http://www.adobe.com/products/creativesuite/versioncue/</a><br />
- Catalyst: <a href="http://labs.adobe.com/technologies/flashcatalyst/" target="_blank">http://labs.adobe.com/technologies/flashcatalyst/</a> (Though I don't believe in it too much...)</p>
<p>Learn OOP in Flash: <a href="http://www.lostactionscriptweekend.com" target="_blank">www.lostactionscriptweekend.com</a><br />
And Automate publishing of .fla files: <a href="http://www.deleteaso.com" target="_blank">www.deleteaso.com</a><br />
Koen de Weggheleire: <a href="http://www.newmovieclip.com" target="_blank">www.newmovieclip.com</a></p>
<p>Union multiuser Flash platform: <a href="http://www.tryunion.com" target="_blank">www.tryunion.com</a><br />
- documentation + tutorials: <a href="http://www.unionplatform.com" target="_blank">www.unionplatform.com</a><br />
- cool example: <a href="http://clockmaker.jp/blog-en/2009/08/union/" target="_blank">http://clockmaker.jp/blog-en/2009/08/union/</a><br />
Multi user experience cheap and easy</p>
<p>MegaPhone, using mobile phones as controllers for billboards:<br />
<a href="http://www.playmegaphone.com" target="_blank">www.playmegaphone.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2009/09/28/flash-on-the-beach-09-links/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flash on the Beach 09 - Play with Vectors</title>
		<link>http://blog.ansuz.nl/index.php/2009/09/24/flash-on-the-beach-09-play-with-vectors/</link>
		<comments>http://blog.ansuz.nl/index.php/2009/09/24/flash-on-the-beach-09-play-with-vectors/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 16:04:07 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[ActionScript 2.0]]></category>

		<category><![CDATA[ActionScript 3.0]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[2009]]></category>

		<category><![CDATA[flash on the beach]]></category>

		<category><![CDATA[fotb]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=164</guid>
		<description><![CDATA[This year I was only able to go to Flash on the Beach on the very last day. Never the less it was once again a really awesome experience and I learned a lot and got a lot of inspiration as well. I'll try and post my notes from all the talks I've seen, but [...]]]></description>
			<content:encoded><![CDATA[<p>This year I was only able to go to Flash on the Beach on the very last day. Never the less it was once again a really awesome experience and I learned a lot and got a lot of inspiration as well. I'll try and post my notes from all the talks I've seen, but it might take a while...</p>
<p><strong>23-09-2009 9.00 Koen de Wieggheleire - Play with Vectors</strong><br />
Koen did a very in depth talk about the Vector class in AS3.</p>
<p>The Vector class is a dence array which means that it can't have any gaps, so something like the below would throw an error:</p>
<div class="igBar"><span id="lactionscript-10"><a href="#" onclick="javascript:showPlainTxt('actionscript-10'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-10">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">myVector<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#93;</span> = <span style="color: #ff0000;">'bla'</span>; <span style="color: #808080; font-style: italic;">// See how we're skipping positions 1 and 2?</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">myVector<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">3</span><span style="color: #66cc66;">&#93;</span> = <span style="color: #ff0000;">'something else'</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>You can you an array as a 'data provider' to populate a Vector:</p>
<div class="igBar"><span id="lactionscript-11"><a href="#" onclick="javascript:showPlainTxt('actionscript-11'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-11">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">myVector = Vector.&amp;lt;String&amp;gt;<span style="color: #66cc66;">&#40;</span>myArray<span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Using the Vector class will give you a performance boost of about 40 to 60%.<br />
Unfortunately you can't directly bind to a Vector in Flex, you can however write a wrapper class and bind to that. <img src='http://blog.ansuz.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong><em>How to use in 3D</em></strong></p>
<p>The Matrix3D class is somewhat complex to understand, but the image below should clarify it a bit</p>
<p><img class="aligncenter" title="Matrix3D" src="http://help.adobe.com/en_US/AS3LCR/Flash_10.0/images/Matrix3Delements.jpg" alt="" width="300" height="246" /></p>
<p>You can use myDisplayObject.transform.matrix3D to retrieve a DO's Matrix3D or assign a new matrix3D to it. There are also build in methods to user rather than creating a new Matrix3D all the time, see <a href="http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/geom/Matrix3D.html" target="_blank">http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/geom/Matrix3D.html</a></p>
<p>Nice thing I only found out now about matrixes: You can skew objects with it! Rock on!!! \m/</p>
<p><strong><em>How to use with 2D</em></strong></p>
<p>Pretty much the entire graphics API in Flash relies on Vectors. The drawPath() method below (which is pretty much the core of drawing vector shapes) takes two Vectors (the Vector data type) as arguments.</p>
<div class="igBar"><span id="lactionscript-12"><a href="#" onclick="javascript:showPlainTxt('actionscript-12'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-12">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">graphics.<span style="color: #006600;">drawPath</span><span style="color: #66cc66;">&#40;</span>commands, <span style="color: #0066CC;">data</span><span style="color: #66cc66;">&#41;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<ul>
<li>the <em>commands</em> argument is a Vector containing GraphicPathCommands</li>
<li>the <em>data</em> argument is a Vector containing x and y pairs that determine the path to draw.</li>
</ul>
<p>The new Illustrator can export to FXG and you can actually import this FXG data on the fly in Flash, parse it and draw the exact same.</p>
<p>Some notes on UVT (texture) mapping:</p>
<ul>
<li>U matches up with the x location</li>
<li>V matches up with the y location</li>
<li>T determines the focal length</li>
</ul>
<p>The right value for T can be calculated with the following formula: T = focalLength / (focalLength + z)</p>
<p>Useful links:</p>
<ul>
<li>Koen's site: <a href="www.newmovieclip.com" target="_blank">www.newmovieclip.com</a></li>
<li>The presentation online: <a href="http://newmovieclip.wordpress.com/2009/02/23/play-with-vectors-in-flash-cs4-presentation-online/" target="_blank">http://newmovieclip.wordpress.com/2009/02/23/play-with-vectors-in-flash-cs4-presentation-online/</a></li>
<li>Files from the presentation, including FXG parser: <a href="https://share.acrobat.com/adc/adc.do?docid=e352dd84-1b09-472b-9ecd-5089c51019dc" target="_blank">https://share.acrobat.com/adc/adc.do?docid=e352dd84-1b09-472b-9ecd-5089c51019dc</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2009/09/24/flash-on-the-beach-09-play-with-vectors/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MXML and code behind</title>
		<link>http://blog.ansuz.nl/index.php/2009/09/18/mxml-and-code-behind/</link>
		<comments>http://blog.ansuz.nl/index.php/2009/09/18/mxml-and-code-behind/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 11:20:11 +0000</pubDate>
		<dc:creator>Wijnand</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.ansuz.nl/?p=161</guid>
		<description><![CDATA[I'm a big fan of keeping MXML files clean by not having any code and style information in them. You can get rid of the style information by using a style sheet. A nice way to get all of your code out of the MXML is by using the code-behind method.
Code-behind encourages developers to build [...]]]></description>
			<content:encoded><![CDATA[<p>I'm a big fan of keeping MXML files clean by not having any code and style information in them. You can get rid of the style information by using a style sheet. A nice way to get all of your code out of the MXML is by using the code-behind method.</p>
<blockquote><p>Code-behind encourages developers to build applications with <a title="Separation of presentation and content" href="http://en.wikipedia.org/wiki/Separation_of_presentation_and_content">separation of presentation and content</a> in mind. In theory, this would allow a web designer, for example, to focus on the design markup with less potential for disturbing the programming code that drives it.</p></blockquote>
<p>There is a good article by Aral Balkan at the Adobe Devnet on using the code-behind method with Flex.</p>
<p>Links:</p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/ASP.NET#Code-behind_model" target="_blank">Wikipedia on asp.net code-behind</a></li>
<li><a href="http://www.adobe.com/devnet/flex/quickstart/building_components_using_code_behind/" target="_blank">Building components by using code behind at Adobe Devnet</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.ansuz.nl/index.php/2009/09/18/mxml-and-code-behind/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
