<?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>sentient beings &#187; ActionScript 3.0</title>
	<atom:link href="http://www.sentientbeings.com/tag/actionscript-30/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sentientbeings.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 06 Jun 2010 08:22:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Visualisations Part II</title>
		<link>http://www.sentientbeings.com/2008/05/visualisations-part-ii/</link>
		<comments>http://www.sentientbeings.com/2008/05/visualisations-part-ii/#comments</comments>
		<pubDate>Mon, 12 May 2008 18:51:16 +0000</pubDate>
		<dc:creator>Kristof</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Visions]]></category>

		<guid isPermaLink="false">http://www.sentientbeings.com/?p=7</guid>
		<description><![CDATA[In an effort to keep things more user-friendly and to make sure you don't miss any of the available visualisations, I decided to enhance the demo player.

This is a follow-up on ]]></description>
			<content:encoded><![CDATA[<p>In an effort to keep things more user-friendly and to make sure you don't miss any of the available visualisations, I decided to enhance the demo player.<br />
<span id="more-7"></span></p>
<p>This is a follow-up on <a href=<"http://www.sentientbeings.com/2008/05/visualisations/">Visualisations</a>.</p>
<p>Unfortunately, that also resulted in me throwing the concept of the player around and build a proper Flex application. Getting my head around the complete system took me about a day, but once I got my head around it fully (some stretching was required), I was amazed by the Power of FlexBuilder. Hallelujah!</p>
<p>So, here is the next version of the SBMP3. It contains a control panel that allows you to modify all the parameters and also allows you to go fullscreen. Unfortunately, you're still stuck with the samples from my band but I promise to fix that in another update.</p>
<p>One final note: I'm still getting the random security errors. I can't find anything on the web about complete random security errors.</p>
<p>Press the fullscreen button (bottom-right) to enter fullscreen and enjoy the viewer fully. Or, you can <a href="/swf/SBMP3/v0_6/SBMP3P.swf">open the player full-window</a> so you can play around with height and width ratios.</p>
<p>Adjust the sample frequency depending on the size of the viewport. The smaller the stage, the higher your sample_width should be for maximum effect. The "bubbly" visualisations profit from a little blur and solid fills, especially when viewed fullscreen.</p>
<p>If you find some "sweet settings", be sure to post them in a comment.</p>
<p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="SBMP3P" width="100%" height="420" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="/swf/SBMP3/v0_6/SBMP3P.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#869ca7" /><param name="allowScriptAccess" value="sameDomain" /><embed src="/swf/SBMP3/v0_6/SBMP3P.swf" quality="high" bgcolor="#869ca7" width="100%" height="420" name="SBMP3P" align="middle" play="true" loop="false" allowFullScreen="true" quality="high" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object></p>


<!-- Begin TwitThis script (http://twitthis.com/) -->
<div class="twitThis">
<script type="text/javascript" src="http://s3.chuug.com/chuug.twitthis.scripts/twitthis.js"></script>
<script type="text/javascript">
<!--
document.write('<a href="javascript:;" onclick="TwitThis.pop();"><img src="http://i14.photobucket.com/albums/a318/intGod/Blog/twitter_icons_24.png" alt="Tweet this"></a>');
//-->
</script>
</div>
<!-- /End -->

<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em><hr></em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.sentientbeings.com/2008/05/visualisations-part-ii/&amp;title=Visualisations+Part+II" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.sentientbeings.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.sentientbeings.com/2008/05/visualisations-part-ii/&amp;title=Visualisations+Part+II" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.sentientbeings.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.sentientbeings.com/2008/05/visualisations-part-ii/&amp;title=Visualisations+Part+II" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.sentientbeings.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.sentientbeings.com/2008/05/visualisations-part-ii/&amp;title=Visualisations+Part+II" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.sentientbeings.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://www.sentientbeings.com/2008/05/visualisations-part-ii/&amp;title=Visualisations+Part+II" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.sentientbeings.com/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.sentientbeings.com/2008/05/visualisations-part-ii/&amp;title=Visualisations+Part+II" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.sentientbeings.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.sentientbeings.com/2008/05/visualisations-part-ii/" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.sentientbeings.com/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.sentientbeings.com/2008/05/visualisations-part-ii/&amp;t=Visualisations+Part+II" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.sentientbeings.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.sentientbeings.com/2008/05/visualisations-part-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loading non-existent domains with Firefox on OS-X</title>
		<link>http://www.sentientbeings.com/2008/05/loading-non-existent-domains-with-firefox-on-os-x/</link>
		<comments>http://www.sentientbeings.com/2008/05/loading-non-existent-domains-with-firefox-on-os-x/#comments</comments>
		<pubDate>Thu, 08 May 2008 17:54:49 +0000</pubDate>
		<dc:creator>Kristof</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.sentientbeings.com/?p=3</guid>
		<description><![CDATA[Consider the following code.
&#160;
var myLoader:Loader = new Loader&#40;&#41;;
var myRequest:URLRequest = new URLRequest&#40;&#34;http://www.sentientbeings.com/deadDomain.jpg&#34;&#41;;
//var myRequest:URLRequest = new URLRequest(&#34;http://www.xxxyyyzzzabcdefg.com/deadDomain.jpg&#34;);
&#160;
myLoader.load&#40;myRequest&#41;;
myLoader.contentLoaderInfo.addEventListener &#40;Event.COMPLETE, function&#40;&#41;:void&#123;trace&#40;&#34;load complete&#34;&#41;&#125;&#41;;
myLoader.contentLoaderInfo.addEventListener &#40;IOErrorEvent.NETWORK_ERROR, function&#40;&#41;:void&#123;trace&#40;&#34;network failed&#34;&#41;&#125;&#41;;
myLoader.contentLoaderInfo.addEventListener &#40;IOErrorEvent.IO_ERROR, function&#40;&#41;:void&#123;trace&#40;&#34;IO failed&#34;&#41;&#125;&#41;;
&#160;
When you run this code, you'll get an IO_ERROR. But if you comment the first myRequest and then uncomment the second myRequest, you'll get nothing when testing on a Mac with [...]]]></description>
			<content:encoded><![CDATA[<p>Consider the following code.</p>
<pre class="actionscript">&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> myLoader:Loader = <span style="color: #000000; font-weight: bold;">new</span> Loader<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> myRequest:URLRequest = <span style="color: #000000; font-weight: bold;">new</span> URLRequest<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;http://www.sentientbeings.com/deadDomain.jpg&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">//var myRequest:URLRequest = new URLRequest(&quot;http://www.xxxyyyzzzabcdefg.com/deadDomain.jpg&quot;);</span>
&nbsp;
myLoader.<span style="color: #0066CC;">load</span><span style="color: #66cc66;">&#40;</span>myRequest<span style="color: #66cc66;">&#41;</span>;
myLoader.<span style="color: #006600;">contentLoaderInfo</span>.<span style="color: #006600;">addEventListener</span> <span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">COMPLETE</span>, <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span><span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;load complete&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
myLoader.<span style="color: #006600;">contentLoaderInfo</span>.<span style="color: #006600;">addEventListener</span> <span style="color: #66cc66;">&#40;</span>IOErrorEvent.<span style="color: #006600;">NETWORK_ERROR</span>, <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span><span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;network failed&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
myLoader.<span style="color: #006600;">contentLoaderInfo</span>.<span style="color: #006600;">addEventListener</span> <span style="color: #66cc66;">&#40;</span>IOErrorEvent.<span style="color: #006600;">IO_ERROR</span>, <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span><span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;IO failed&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;</pre>
<p>When you run this code, you'll get an IO_ERROR. But if you comment the first myRequest and then uncomment the second myRequest, you'll get nothing when testing on a Mac with Firefox. With "nothing", I mean the code does nothing. Somehow, the way Firefox on a Mac instantiates requests keeps Flash from firing the IO_ERROR event that you should be getting when trying to load a resource from a domain that does not exist.</p>


<!-- Begin TwitThis script (http://twitthis.com/) -->
<div class="twitThis">
<script type="text/javascript" src="http://s3.chuug.com/chuug.twitthis.scripts/twitthis.js"></script>
<script type="text/javascript">
<!--
document.write('<a href="javascript:;" onclick="TwitThis.pop();"><img src="http://i14.photobucket.com/albums/a318/intGod/Blog/twitter_icons_24.png" alt="Tweet this"></a>');
//-->
</script>
</div>
<!-- /End -->

<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em><hr></em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.sentientbeings.com/2008/05/loading-non-existent-domains-with-firefox-on-os-x/&amp;title=Loading+non-existent+domains+with+Firefox+on+OS-X" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.sentientbeings.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.sentientbeings.com/2008/05/loading-non-existent-domains-with-firefox-on-os-x/&amp;title=Loading+non-existent+domains+with+Firefox+on+OS-X" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.sentientbeings.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.sentientbeings.com/2008/05/loading-non-existent-domains-with-firefox-on-os-x/&amp;title=Loading+non-existent+domains+with+Firefox+on+OS-X" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.sentientbeings.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.sentientbeings.com/2008/05/loading-non-existent-domains-with-firefox-on-os-x/&amp;title=Loading+non-existent+domains+with+Firefox+on+OS-X" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.sentientbeings.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://www.sentientbeings.com/2008/05/loading-non-existent-domains-with-firefox-on-os-x/&amp;title=Loading+non-existent+domains+with+Firefox+on+OS-X" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.sentientbeings.com/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.sentientbeings.com/2008/05/loading-non-existent-domains-with-firefox-on-os-x/&amp;title=Loading+non-existent+domains+with+Firefox+on+OS-X" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.sentientbeings.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.sentientbeings.com/2008/05/loading-non-existent-domains-with-firefox-on-os-x/" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.sentientbeings.com/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.sentientbeings.com/2008/05/loading-non-existent-domains-with-firefox-on-os-x/&amp;t=Loading+non-existent+domains+with+Firefox+on+OS-X" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.sentientbeings.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.sentientbeings.com/2008/05/loading-non-existent-domains-with-firefox-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
