<?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>TheNittyGritty - Flash Blog</title>
	<atom:link href="http://www.thenittygritty.nl/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.thenittygritty.nl/blog</link>
	<description>A blog about Flash and more ...</description>
	<pubDate>Thu, 18 Dec 2008 22:43:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SWF Testing</title>
		<link>http://www.thenittygritty.nl/blog/?p=29</link>
		<comments>http://www.thenittygritty.nl/blog/?p=29#comments</comments>
		<pubDate>Thu, 18 Dec 2008 22:35:27 +0000</pubDate>
		<dc:creator>Thomas Brekelmans</dc:creator>
		
		<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://www.thenittygritty.nl/blog/?p=29</guid>
		<description><![CDATA[<script type="text/javascript" src="http://www.thenittygritty.nl/blog/wp-includes/js/jquery/jquery.js"></script><script type="text/javascript" src="http://www.thenittygritty.nl/blog/wp-content/plugins/pb-embedflash/js/sbadapter/shadowbox-jquery.js"></script><script type="text/javascript" src="http://www.thenittygritty.nl/blog/wp-content/plugins/pb-embedflash/js/shadowbox.js"></script><script type="text/javascript"><!--
window.onload = function() {var options ={assetURL:'',loadingImage:'http://www.thenittygritty.nl/blog/wp-content/plugins/pb-embedflash/css/images/loading.gif',flvPlayer:'http://www.thenittygritty.nl/blog/wp-content/plugins/pb-embedflash/swf/mediaplayer.swf',animate:true,animSequence:'wh',overlayColor:'#000',overlayOpacity:0.85,overlayBgImage:'http://www.thenittygritty.nl/blog/wp-content/plugins/pb-embedflash/css/images/overlay-85.png',listenOverlay:true,autoplayMovies:true,showMovieControls:true,resizeDuration:0.35,fadeDuration:0.35,displayNav:true,continuous:false,displayCounter:true,counterType:'default',viewportPadding:20,handleLgImages:'resize',initialHeight:160,initialWidth:320,enableKeys:true,keysClose:['c', 'q', 27],keysPrev:['p', 37],keysNext:['n', 39],handleUnsupported:'',text: {cancel:'Cancel',loading: 'loading',close:'<span class="shortcut">C</span>lose',next:'<span class="shortcut">N</span>ext',prev:'<span class="shortcut">P</span>revious',errors:{single: 'You must install the <a href="{0}">{1}</a> browser plugin to view this content.',shared: 'You must install both the <a href="{0}">{1}</a> and <a href="{2}">{3}</a> browser plugins to view this content.',either: 'You must install either the <a href="{0}">{1}</a> or the <a href="{2}">{3}</a> browser plugin to view this content.'}}};Shadowbox.init(options);}
--></script>Let&#8217;s try displaying some .swf content.

Youtube (SWFObject):
(Please open the article to see the flash file or player.)
				var flashvars = {}; var params = {}; var attributes = {};params.allowfullscreen = "true"; params.allowscriptaccess = "always";
				swfobject.embedSWF("http://www.youtube.com/v/_kJFbrRoDuQ","swfid7facbd14c306d1427400cb9b216fd24b","650","400","9.0.0","http://www.thenittygritty.nl/blog/wp-content/plugins/pb-embedflash/swf/expressInstall.swf",flashvars,params,attributes);
		
Youtube (Shadowbox):
(Please open the article to see the flash file or player.)
Youtube (Popup):
(Please open the article to see the flash file or player.)
]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s try displaying some .swf content.<br />
<span id="more-29"></span><br />
Youtube (SWFObject):<br />
<script type="text/javascript" src="http://www.thenittygritty.nl/blog/wp-content/plugins/pb-embedflash/js/swfobject.js"></script><span class="embedflash" id="swfidce47ded347151e2bf50db305e1ecc755"><small>(Please open the article to see the flash file or player.)</small></span><script type="text/javascript">
				var flashvars = {}; var params = {}; var attributes = {};params.allowfullscreen = "true"; params.allowscriptaccess = "always";
				swfobject.embedSWF("http://www.youtube.com/v/_kJFbrRoDuQ","swfidce47ded347151e2bf50db305e1ecc755","650","400","9.0.0","http://www.thenittygritty.nl/blog/wp-content/plugins/pb-embedflash/swf/expressInstall.swf",flashvars,params,attributes);
		</script></p>
<p>Youtube (Shadowbox):<br />
<small>(Please open the article to see the flash file or player.)</small></p>
<p>Youtube (Popup):<br />
<small>(Please open the article to see the flash file or player.)</small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thenittygritty.nl/blog/?feed=rss2&amp;p=29</wfw:commentRss>
		</item>
		<item>
		<title>Syntax highlighter test</title>
		<link>http://www.thenittygritty.nl/blog/?p=25</link>
		<comments>http://www.thenittygritty.nl/blog/?p=25#comments</comments>
		<pubDate>Thu, 18 Dec 2008 22:06:10 +0000</pubDate>
		<dc:creator>Thomas Brekelmans</dc:creator>
		
		<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://www.thenittygritty.nl/blog/?p=25</guid>
		<description><![CDATA[Does syntax highlighting work?
Code testing:

package nl.thenittygritty.toolbox.ui.element.parameter.values 
&#123;
	import nl.thenittygritty.toolbox.ui.element.parameter.values.IValues;
	import nl.thenittygritty.toolbox.utils.NumberUtils;	
&#160;
	/**
	 * @author Thomas Brekelmans
	 */
	public class LinearValues implements IValues
	&#123;
		private var minimumValue:Number;
		private var maximumValue:Number;
		private var numberOfDecimals:Number;
&#160;
		public function LinearValues&#40;minimumValue:Number, maximumValue:Number, numberOfDecimals:int = 0&#41;:void
		&#123;
			this.minimumValue = minimumValue;
			this.maximumValue = maximumValue;
			this.numberOfDecimals = numberOfDecimals;
		&#125;
&#160;
		public function getValueForPercentage&#40;percentage:Number&#41;:Number
		&#123;
			return NumberUtils.getPercentageValue&#40;percentage, minimumValue, maximumValue&#41;;
		&#125;
&#160;
		public function getValueAsPercentage&#40;value:Number&#41;:Number
		&#123;
			return NumberUtils.getNormalizedValue&#40;value, minimumValue, maximumValue&#41;;	
		&#125;
&#160;
		public function getNumberOfDecimals&#40;&#41;:Number
		&#123;
			return numberOfDecimals;
		&#125;
&#160;
		/**
		 * Returns the name of the [...]]]></description>
			<content:encoded><![CDATA[<p>Does syntax highlighting work?<br />
<span id="more-25"></span>Code testing:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #9900cc; font-weight: bold;">package</span> nl.thenittygritty.toolbox.ui.element.parameter.values 
<span style="color: #000000;">&#123;</span>
	<span style="color: #0033ff; font-weight: bold;">import</span> nl.thenittygritty.toolbox.ui.element.parameter.values.IValues;
	<span style="color: #0033ff; font-weight: bold;">import</span> nl.thenittygritty.toolbox.utils.NumberUtils;	
&nbsp;
	<span style="color: #3f5fbf;">/**
	 * @author Thomas Brekelmans
	 */</span>
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> LinearValues implements IValues
	<span style="color: #000000;">&#123;</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> minimumValue<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> maximumValue<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> numberOfDecimals<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>;
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> LinearValues<span style="color: #000000;">&#40;</span>minimumValue<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>, maximumValue<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>, numberOfDecimals<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span> = 0<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #0033ff; font-weight: bold;">this</span>.minimumValue = minimumValue;
			<span style="color: #0033ff; font-weight: bold;">this</span>.maximumValue = maximumValue;
			<span style="color: #0033ff; font-weight: bold;">this</span>.numberOfDecimals = numberOfDecimals;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> getValueForPercentage<span style="color: #000000;">&#40;</span>percentage<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #0033ff; font-weight: bold;">return</span> NumberUtils.getPercentageValue<span style="color: #000000;">&#40;</span>percentage, minimumValue, maximumValue<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> getValueAsPercentage<span style="color: #000000;">&#40;</span><span style="color: #004993;">value</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #0033ff; font-weight: bold;">return</span> NumberUtils.getNormalizedValue<span style="color: #000000;">&#40;</span><span style="color: #004993;">value</span>, minimumValue, maximumValue<span style="color: #000000;">&#41;</span>;	
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> getNumberOfDecimals<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #0033ff; font-weight: bold;">return</span> numberOfDecimals;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #3f5fbf;">/**
		 * Returns the name of the class in a String.
		 *
		 * @return LinearMapping as a String.
		 */</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> <span style="color: #004993;">toString</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">String</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #0033ff; font-weight: bold;">return</span> <span style="color: #990000;">&quot;LinearMapping&quot;</span>;
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #9900cc; font-weight: bold;">package</span> nl.thenittygritty.toolbox.ui.element.parameter.values 
<span style="color: #000000;">&#123;</span>
	<span style="color: #0033ff; font-weight: bold;">import</span> nl.thenittygritty.toolbox.ui.element.parameter.values.IValues;
	<span style="color: #0033ff; font-weight: bold;">import</span> nl.thenittygritty.toolbox.utils.NumberUtils;	
&nbsp;
	<span style="color: #3f5fbf;">/**
	 * @author Thomas Brekelmans
	 */</span>
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> LinearValues implements IValues
	<span style="color: #000000;">&#123;</span>
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> minimumValue<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> maximumValue<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>;
		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> numberOfDecimals<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>;
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> LinearValues<span style="color: #000000;">&#40;</span>minimumValue<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>, maximumValue<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>, numberOfDecimals<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span> = 0<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #0033ff; font-weight: bold;">this</span>.minimumValue = minimumValue;
			<span style="color: #0033ff; font-weight: bold;">this</span>.maximumValue = maximumValue;
			<span style="color: #0033ff; font-weight: bold;">this</span>.numberOfDecimals = numberOfDecimals;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> getValueForPercentage<span style="color: #000000;">&#40;</span>percentage<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #0033ff; font-weight: bold;">return</span> NumberUtils.getPercentageValue<span style="color: #000000;">&#40;</span>percentage, minimumValue, maximumValue<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> getValueAsPercentage<span style="color: #000000;">&#40;</span><span style="color: #004993;">value</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #0033ff; font-weight: bold;">return</span> NumberUtils.getNormalizedValue<span style="color: #000000;">&#40;</span><span style="color: #004993;">value</span>, minimumValue, maximumValue<span style="color: #000000;">&#41;</span>;	
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> getNumberOfDecimals<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #0033ff; font-weight: bold;">return</span> numberOfDecimals;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #3f5fbf;">/**
		 * Returns the name of the class in a String.
		 *
		 * @return LinearMapping as a String.
		 */</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> <span style="color: #004993;">toString</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">String</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #0033ff; font-weight: bold;">return</span> <span style="color: #990000;">&quot;LinearMapping&quot;</span>;
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>Yes it does.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thenittygritty.nl/blog/?feed=rss2&amp;p=25</wfw:commentRss>
		</item>
		<item>
		<title>Lorem ipsum dolor sit amet</title>
		<link>http://www.thenittygritty.nl/blog/?p=3</link>
		<comments>http://www.thenittygritty.nl/blog/?p=3#comments</comments>
		<pubDate>Sat, 13 Dec 2008 13:30:31 +0000</pubDate>
		<dc:creator>Thomas Brekelmans</dc:creator>
		
		<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://www.thenittygritty.nl/blog/?p=3</guid>
		<description><![CDATA[Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse vel mi. Nunc ac diam ut nibh vulputate bibendum. Suspendisse a nunc in ante tincidunt tincidunt. Quisque dapibus elit et ipsum laoreet blandit. Mauris metus. Aenean eu felis. Aliquam eget eros sit amet pede porta tincidunt. In tristique tellus in magna. Integer vehicula ante quis orci. [...]]]></description>
			<content:encoded><![CDATA[<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse vel mi. Nunc ac diam ut nibh vulputate bibendum. Suspendisse a nunc in ante tincidunt tincidunt. Quisque dapibus elit et ipsum laoreet blandit. Mauris metus. Aenean eu felis. Aliquam eget eros sit amet pede porta tincidunt. In tristique tellus in magna. Integer vehicula ante quis orci. Nulla mauris risus, blandit id, auctor nec, scelerisque ut, ligula. Integer lectus. Fusce laoreet aliquam ante. Curabitur condimentum. Nam lacinia, est eu tempor consectetur, justo erat condimentum felis, ut dapibus elit justo sit amet nibh. Quisque sed turpis nec massa adipiscing faucibus. Nunc adipiscing massa at velit.</p>
<p>Vivamus adipiscing velit vel dolor pretium adipiscing. Nam sed ipsum lobortis mi dapibus viverra. Aliquam erat volutpat. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin sit amet metus. Donec in lorem. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc mattis ipsum et quam. Nullam viverra eros ut tellus. Donec euismod rhoncus diam. Sed ultricies. Suspendisse non eros at nunc placerat mollis. Nam vulputate sagittis velit. Suspendisse potenti. Nunc consectetur. Suspendisse ultrices metus at sapien. Curabitur ullamcorper neque eu mi. Sed at nulla et magna tempus adipiscing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thenittygritty.nl/blog/?feed=rss2&amp;p=3</wfw:commentRss>
		</item>
	</channel>
</rss>
