<?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>noCreativity.com &#187; Open-source</title>
	<atom:link href="http://nocreativity.com/blog/tag/open-source/feed" rel="self" type="application/rss+xml" />
	<link>http://nocreativity.com</link>
	<description>The life and discoveries of a new media artist</description>
	<lastBuildDate>Sat, 07 Jan 2012 17:03:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Updated version of Playr</title>
		<link>http://nocreativity.com/blog/updated-version-of-playr</link>
		<comments>http://nocreativity.com/blog/updated-version-of-playr#comments</comments>
		<pubDate>Fri, 29 Jan 2010 13:53:06 +0000</pubDate>
		<dc:creator>Ronny</dc:creator>
				<category><![CDATA[Download]]></category>
		<category><![CDATA[Open-source]]></category>
		<category><![CDATA[Playr]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://nocreativity.com/blog/?p=867</guid>
		<description><![CDATA[It took a while&#8230; A long while&#8230; Like&#8230; A year. But I finally updated Playr and made actual plans for V3. Thanks again for all of your great support and feedback during the past year! It really means a lot to me! It was really great to see how Playr popped up on different blogs; [...]]]></description>
			<content:encoded><![CDATA[<p>It took a while&#8230; A long while&#8230; Like&#8230; A year.<br />
But I finally updated Playr and made actual plans for V3. Thanks again for all of your great support and feedback during the past year! It really means a lot to me!</p>
<p>It was really great to see how Playr popped up on different blogs; Sometimes mentioned as part of a project/experiment, sometimes mentioned in lists of handy AS3 classes. That really made me happy and it inspired me to add even more features, and make it even more useful. But those are to yet to be built <img src='http://nocreativity.com/blog-engine/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>For now I just fixed a few bugs and I added a pretty important feature which wasn&#8217;t there yet: the <em>debug</em> property. Set <em>debug</em> to <em>true</em> and Playr will trace any errors that occur without breaking your app, without you having to listen to these errorEvents.</p>
<p>I also changed the shuffle internals (I still wonder what I was thinking when I wrote a &#8216;setShuffle&#8217; instead of simple getters/setters&#8230;) and as far as I know: Nothing seems broken after updating old projects using Playr to the new Playr version (but I&#8217;ve been wrong before&#8230;).</p>
<p>And the last thing I want to mention: I changed the way Playr handles stream errors. The old version would just skip the track, and try again later. However I think the new implementation is better: The &#8216;broken&#8217; track just gets removed from the playlist before proceeding to the next track.</p>
<p>So there you go: It&#8217;s online, it&#8217;s free, it&#8217;s open-source, it&#8217;s for you to use and save time!<br />
(And it&#8217;s created by me, so you&#8217;ll probably find bugs sooner or later: Do tell me about them and I&#8217;ll look into fixing them <img src='http://nocreativity.com/blog-engine/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  )</p>
<p>Happy playing!</p>
<p>Playr Site: <a href="http://playr.nocreativity.com/" target="_blank">Playr.noCreativity.com</a><br />
Download Playr: <a href="http://playr.nocreativity.com/download.php" target="_blank">Click</a><br />
Playr Documentation: <a href="http://playr.nocreativity.com/docs/" target="_blank">Playr.noCreativity.com/docs</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nocreativity.com/blog/updated-version-of-playr/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Flash vs HTML? What is wrong with you people??</title>
		<link>http://nocreativity.com/blog/flash-vs-html-what-is-wrong-with-you-people</link>
		<comments>http://nocreativity.com/blog/flash-vs-html-what-is-wrong-with-you-people#comments</comments>
		<pubDate>Thu, 04 Jun 2009 10:00:07 +0000</pubDate>
		<dc:creator>Ronny</dc:creator>
				<category><![CDATA[Everything else]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[debate]]></category>
		<category><![CDATA[Flash Player]]></category>
		<category><![CDATA[Flash vs HTML]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Open-source]]></category>
		<category><![CDATA[SWF]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[Web standards]]></category>

		<guid isPermaLink="false">http://nocreativity.com/blog/?p=500</guid>
		<description><![CDATA[And I&#8217;m dead serious. Let me start by saying that I am a passionate Actionscript Creative (if someday I might grow up, you can call me a Flash developer but not just yet) and I absolute love the web as it exists today. I love HTML and CSS. I even like Javascript (a bit) (it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>And I&#8217;m dead serious.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-509" title="One can't live without the other" src="http://nocreativity.com/blog-engine/wp-content/uploads/2009/05/flashvshtml.jpg" alt="One can't live without the other" width="525" height="233" /></p>
<p>Let me start by saying that I am a passionate Actionscript Creative (if someday I might grow up, you can call me a <em>Flash developer</em> but not just yet) and I absolute love the web as it exists today. I love HTML and CSS. I even like Javascript (a bit) (it&#8217;s not my favorite, but we get along pretty good). So don&#8217;t go off thinking I&#8217;m taking sides.</p>
<h4><strong>What are we talking about today?</strong></h4>
<p>Earlier this week, <a href="http://www.webkitchen.be/" target="_blank" target="_blank">Serge Jespers</a> wrote about <a href="http://www.webkitchen.be/2009/05/27/adobe-versus-the-open-web/" target="_blank" target="_blank"><em>Adobe vs the open web</em></a>, which kinda looked like a <em>Flash vs HTML5</em> article from a distance (because let&#8217;s face it: The <a href="http://adobe.com" target="_blank" target="_blank">Adobe</a> platform on the web is mainly <a href="http://nocreativity.com/blog-engine/wp-content/uploads/2009/05/picture-1366.jpg" target="_blank">the Flash platform</a>). I had a lot of conversations about that in the past and the one thing I have come to conclude is that you can&#8217;t actually compare those to each other.<br />
Not even remotely.</p>
<h4><strong>So to what should we compare it then?</strong></h4>
<p>People keep referring to the features that the Flash Player offers and which the developer <em>might</em> want to use. And then their statement goes on with &#8216;<em>You can&#8217;t do that with HTML!</em>&#8216;<br />
Of course you can&#8217;t! There are thousands of things you can do with Flash, which you just can&#8217;t pull of with HTML, CSS or Javascript. But if you really want to compare Flash and HTML, you gotta do it right:</p>
<p style="padding-left: 30px;"><em><strong>Flash Player</strong> vs FireFox ( or IE or Safari or Opera or <strong>any</strong> other <strong>browser</strong>)<br />
<strong>Timeline and Actionscript</strong> vs <strong>HTML and Javascript</strong> (and <strong>CSS</strong> if you really want)</em></p>
<p>(Please, stop throwing those vegetables at me&#8230; Thank you.)<span id="more-500"></span></p>
<h3>Comparing the Comparables</h3>
<p>So now you&#8217;re looking at me, thinking I am completely nuts&#8230; So let me clarify&#8230;</p>
<h4><strong>The Web Browser</strong></h4>
<p><strong> </strong>A piece of software that allows you to browse the web and renders HTML and CSS into a beautiful layout (depending on the website that is) for your viewing pleasure.</p>
<h4><strong>The Flash Player</strong></h4>
<p>A browser plugin that allows you to view .SWF files and render them as described in the bytecode (or wherever) into a vector based movie.</p>
<p>This is a very brief description, and despite that I think you could already conclude their first difference (and what they got in common).<br />
<strong>Both the Flash Player and the browser are built to display content, and render that content using a specific set of rules. </strong>They are both the same on a different level.<strong><br />
</strong></p>
<h4><strong>W3C and &#8216;Web standards&#8217;</strong></h4>
<p>I really like how &#8216;<a href="http://en.wikipedia.org/wiki/Web_standards" target="_blank" target="_blank">Web standards</a>&#8216; is such an often used term (which sounds so professional and simple at the same time), and yet I am unable to describe exactly what it means (even after reading the Wikipedia explanation, I understand but don&#8217;t quite know it&#8230;). But I bet you, you already know where I&#8217;m heading&#8230; Exactly. There are <em><a href="http://www.w3.org/" target="_blank" target="_blank">rules</a> </em>being written, just to make sure everybody is writing valid code, and every browser displays it the same. Silly to say: <strong>Not everyone</strong> is writing valid code and nearly <strong>no browser displays exactly the same</strong>. I&#8217;m not bashing the W3C people here (although this might really look like it). In fact, I admire them for their effort. But in spite of that: The problem is there. Everybody is building browsers; websites look different on each and every one of them &#8211; even if the HTML/CSS you wrote is 100% valid.</p>
<h4><strong>Adobe and the Flash Player<br />
</strong></h4>
<p>Adobe is (mainly) the only instance developing, evolving, releasing and publishing the Flash Player (mobile devices and such left out). A lot of people think that this is a bad thing. <em>Only one company in charge of whatever is going to happen with our beloved browser plugin?</em> Hell yea!!<br />
I can see how open-sourcing the Flash Player might help evolving the capabilities (features AND efficiency) but the payoff would be &#8216;Crossplayer compatibility issues&#8217;.<br />
Imagine how you would publish your SWF, upload it to the server, and then test it in different Flash Players. (This is actually where my previous point of &#8216;Browser vs Player&#8217; should start making sense)</p>
<p>So there&#8217;s our second conclusion. Browsers can be built and released by about anybody whereas the Flash Player is developed and maintained only by Adobe. Both do have ground rules to which you better stick when creating content but seen as only 1 company is creating the Flash Player and a lot of people are creating browsers, the browser implementation of those rules differs and results (may) vary. (Flash content which is not perfectly &#8216;valid&#8217; will just result in a &#8216;movie not loaded&#8217; message&#8230;)</p>
<h3>Soooo&#8230;</h3>
<p>Comparing &#8216;Flash&#8217; to &#8216;HTML&#8217; is wrong. The Flash Player is more like a browser, but on a different level (it runs as a plugin inside the browser). Comparing them is just plain senseless.</p>
<h3>Okay&#8230; Still&#8230; SWF kicks HTML&#8217;s ass!</h3>
<p>That&#8217;s a plausible one&#8230; but I don&#8217;t know any self-respecting webdeveloper that would agree (same goes for the opposite). If you&#8217;re on the same page as I am you&#8217;ll agree that it&#8217;s a situation depended statement.</p>
<p>If you want to build a game, Flash is the right choice.<br />
If you want to create an experience to promote your latest product, Flash <em>might</em> be the right choice.<br />
If you want to build a message board, Flash is undoubtedly the wrong choice.</p>
<h4><strong>Back to basics</strong></h4>
<p>In it&#8217;s early years Flash was meant to be used as &#8216;animated vector graphic&#8217;. For the sake of simplicity let&#8217;s just say: &#8216;the enhanced version of an image&#8217;. Of course today the capabilities and the use-cases of Flash have long exceeded this basic idea.</p>
<p>But doesn&#8217;t it feel strange to deliver information using a technology that was meant to be used as an &#8216;entertaining addition&#8217;?<br />
Google doesn&#8217;t present its search results using an image or a Flash movie, right?<br />
I can hear you go &#8220;<em>Yea duh! That&#8217;s because Flash isn&#8217;t intended to be used for that kind of application</em>&#8220;. Exactly&#8230;</p>
<h4><strong>&#8216;The problem is choice&#8217;</strong></h4>
<p style="text-align: center;"><strong><img class="size-full wp-image-506 aligncenter" title="Taking the red pill" src="http://nocreativity.com/blog-engine/wp-content/uploads/2009/05/red-pill-or-blue-pill.jpg" alt="Taking the red pill" width="500" height="205" /><br />
</strong></p>
<p>It&#8217;s not about what you like most&#8230; It&#8217;s not about what is &#8216;the best&#8217;. It&#8217;s about what is &#8216;better in this case&#8217;. Right now, if somebody asks you to put a video on their HTML site, you&#8217;ll use a Flash Videoplayer (because right now Flash is the best choice to deliver video on the web: Everybody (<a href="http://www.adobe.com/products/player_census/flashplayer/" target="_blank" target="_blank">about 99%, Adobe</a>?) has a Flash Player installed, no (additional) codecs are needed, and not everyone is able to view HTML5 in their browser yet). That&#8217;s a no-brainer. You could go for Windows Media/Quicktime plugins but Flash would be the <em>better choice in this case</em>.</p>
<p>But if people are being asked to build a datadriven application, they&#8217;ll have a different idea about what to use. Some keep it simple and stick to basic HTML tables. Some others go nuts using jQuery and other Javascript libraries to enhance the dataviewing experience and useability of those tables. Others push it even further and choose a Flex based solution. All 3 of them will get the job done, that&#8217;s for sure, but what is the <em>better choice in this case</em> ? (Personally I&#8217;d go with the jQuery enhanced version)</p>
<p>The use of Flash or HTML each come with their own pro&#8217;s and con&#8217;s. And this is where people start arguing&#8230;</p>
<h3>Pro&#8217;s and Con&#8217;s</h3>
<blockquote><p>Google can&#8217;t index Flash sites</p></blockquote>
<div class="wp-caption alignright" style="width: 250px"><a href="http://www.flickr.com/photos/ari/1151236941/" target="_blank"><img src="http://farm2.static.flickr.com/1086/1151236941_e9730fdda5_m.jpg" alt="Bad implementation of Alternate Content" width="240" height="123" /></a><p class="wp-caption-text">Bad implementation of &#39;Alternate Content&#39;</p></div>
<p>That&#8217;s true, although they&#8217;re working on it, it&#8217;s for from being ready (Google apparently has a special Flash Player that indexes Flash Movies. The only thing I can say about that: I don&#8217;t know about any of my previous Flash sites being indexed by Google yet&#8230;) . You could make use of the alternate content feature when embedding your Flash movie in the website. That way Google can actually index the content of the website, and bring the user to your website (where he/she can then view the Flash based version). But you have to implement the alternate content. And: No. &#8216;<em>You need Adobe Flash Player to view this site</em>&#8216; is no alternate content (read: Bad Alternate Content). And talking about alternate content: I haven&#8217;t seen many Flash sites being built to be able to &#8216;<a href="http://en.wikipedia.org/wiki/Fault-tolerant_system" target="_blank" target="_blank">gracefully degrade</a>&#8216;. What if you users just don&#8217;t have the requested Flash version (company computer networks often disallow installation of new software). How do you enable them to use your website/webapplication? Right: <a href="http://en.wikipedia.org/wiki/Progressive_enhancement" target="_blank" target="_blank">Progressive enhancement</a>. But building a Flash website, and not providing decent alternate content (read: alternate HTML/JS version of the Flash application) is not it!</p>
<blockquote><p>People with accessibility issues can&#8217;t rely on screenreaders and such on a Flash based website.</p></blockquote>
<p>As far as I know, today it is possible to help screenreaders understand what Flash is doing, and what the user can do. However: You have to implement this in your website.</p>
<blockquote><p>You can now manage the browser history in a Flash site</p></blockquote>
<p>Sure, and by all means: SWFAddress is great! But you have to manage it and that&#8217;s where it boils down to: It&#8217;s standard browser behaviour! You shouldn&#8217;t have to manage that.</p>
<p>Let&#8217;s face it: Flash <em>breaks</em> the regular web. So choosing Flash <em>because it&#8217;s prettier</em> isn&#8217;t the right choice. Choosing Flash should <strong>ALWAYS</strong> be a result of weighing the pro&#8217;s and con&#8217;s; not a result of you (or your client) liking Flash sites <em>better</em> than standard HTML sites&#8230;</p>
<h3>Grand conclusion</h3>
<p>(I&#8217;ll start this one with a disclaimer. Unlike Serge Jespers, I&#8217;m not paid by Adobe so this is really my opinion and not the one of my employee <img src='http://nocreativity.com/blog-engine/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' />  )</p>
<p>For now (and even for the HTML5-era): Flash will always offer a bigger and probably faster featureset than HTML (video, audio, audio analyzing, drawing, shape morphing, complex animations, special effects, levels of interaction perharps, etc&#8230;) but as long as you don&#8217;t really have to rely on Flash&#8217;s special features, stick to plain old HTML and CSS.</p>
<p>Flash and HTML are no opponents. They should be seen as couple that complement each other. Both should be used for what they&#8217;re best at. There is no winner, there&#8217;s no best. There&#8217;s only &#8216;<em>better in this case</em>&#8216;.</p>
]]></content:encoded>
			<wfw:commentRss>http://nocreativity.com/blog/flash-vs-html-what-is-wrong-with-you-people/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WordPress Theme SuperMini reloaded</title>
		<link>http://nocreativity.com/blog/wordpress-theme-supermini-reloaded</link>
		<comments>http://nocreativity.com/blog/wordpress-theme-supermini-reloaded#comments</comments>
		<pubDate>Thu, 15 Jan 2009 17:22:46 +0000</pubDate>
		<dc:creator>Ronny</dc:creator>
				<category><![CDATA[Download]]></category>
		<category><![CDATA[Open-source]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[freebies]]></category>
		<category><![CDATA[Wordpress theme]]></category>

		<guid isPermaLink="false">http://nocreativity.com/blog/?p=342</guid>
		<description><![CDATA[A long time ago Smashing Magazine listed 100 of the best WordPress themes. That list totally kicked ass to be honest. At one point I decided to restyle my poetry site. I took a look at their list and when I found the SuperMini theme, my choice was immediately made. After I downloaded the theme [...]]]></description>
			<content:encoded><![CDATA[<p>A long time ago <a href="http://www.smashingmagazine.com/" target="_blank" target="_blank">Smashing Magazine</a> listed<a href="http://www.smashingmagazine.com/2008/01/08/100-excellent-free-high-quality-wordpress-themes/" target="_blank" target="_blank"> 100 of the best WordPress themes</a>. That list totally kicked ass to be honest. At one point I decided to restyle <a href="http://ikdicht.be" target="_blank" target="_blank">my poetry site</a>. I took a look at their list and when I found the SuperMini theme, my choice was immediately made.</p>
<p>After I downloaded the theme I realized a lot of features were missing: No searchbox, no searchresults page, no archives, no global archives, no blogroll support, no pages support, no 404 pages and a few design flaws&#8230;</p>
<p>I actually went on, and built those things myself. Later on I wanted to contact the orginal author (<a href="http://www.statictype.com" target="_blank" target="_blank">Patrick Behrend</a>) of the theme to send him my updates but by the time I got to send my mail, his site was down and he completely dissappeared from the web. I never received an aswer regarding the theme updates I sent him.</p>
<p><strong>UPDATE</strong>: Patrick commented in on this post and I got in touch with him. Patrick seemed pleased I kept the theme alive. I updated the URL in the footer which now links to Patrick&#8217;s (new) site. Make sure you go check it out and leave him a comment <img src='http://nocreativity.com/blog-engine/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>By now the original download isn&#8217;t even online anymore, and Smashing Magazine disabled the link to the SuperMini theme (as it is a 404). So I recently decided to finish the theme, and translate it back to English and re-publish it. I thought the initial theme was awesome, and I figured it would be cool if other people would be able to actually use the completed theme.<span id="more-342"></span></p>
<p>I think Patrick did a great job designing a very clean and simple theme, which doesn&#8217;t look like most other WordPress themes.</p>
<h3>SuperMini V1.0</h3>
<p>Download: <a href="http://nocreativity.com/blog-engine/wp-content/plugins/download-monitor/download.php?id=9" title="SuperMini Wordpress Theme - Downloaded 2285 times">Click</a><br />
Preview: <a href="http://ikdicht.be" target="_blank" target="_blank">ikDicht.be</a></p>
<p><strong>Screenshots</strong></p>
<div><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2009/01/screenshot.jpg"><img class="size-medium wp-image-343 alignleft" title="Screenshot" src="http://nocreativity.com/blog-engine/wp-content/uploads/2009/01/screenshot-226x300.jpg" alt="Screenshot" width="226" height="300" /></a>It&#8217;s a one column theme, showing the latest post. Other posts are shown, but only the title and post date is visible.Pages and blogroll links are also featured in the same column, in almost the same style as the links to the other posts.</p>
<p>The searchbox is initially hidden and replaced by text in order to keep the layout as clean as possible.<br />
Clicking the search links reveals the search box.</p>
</div>
<p><br style="clear: both;" /></p>
<div><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2009/01/sidebar.jpg"><img class="alignleft size-medium wp-image-344" title="Sidebar  Preview" src="http://nocreativity.com/blog-engine/wp-content/uploads/2009/01/sidebar_preview-160x300.jpg" alt="Sidebar  Preview" width="160" height="300" /></a> The list of other posts, blogroll links, pages, and the searchbox is set up as clean as possible, yet very transparent.</div>
<div>(<a href="http://nocreativity.com/blog-engine/wp-content/uploads/2009/01/sidebar.jpg">Click</a> to see the different sections)</div>
<div>You can enable the Archives page by adding a new page (leave it empty), and then choosing the &#8216;Archives&#8217; page template.</div>
<p><br style="clear: both;" /></p>
<div><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2009/01/moderation.jpg"><img class="alignleft size-medium wp-image-346" title="Comment awaiting moderation" src="http://nocreativity.com/blog-engine/wp-content/uploads/2009/01/moderation-300x93.jpg" alt="Comment awaiting moderation" width="300" height="93" /></a></div>
<p>The comments area is as clean as the rest of the theme. No gravaters in order to keep the comments area pretty light.<br style="clear: both;" /></p>
<p>I hope you guys like it. Feel free to report bugs, or browser errors.</p>
]]></content:encoded>
			<wfw:commentRss>http://nocreativity.com/blog/wordpress-theme-supermini-reloaded/feed</wfw:commentRss>
		<slash:comments>87</slash:comments>
		</item>
		<item>
		<title>Visualizr source</title>
		<link>http://nocreativity.com/blog/visualizr-source</link>
		<comments>http://nocreativity.com/blog/visualizr-source#comments</comments>
		<pubDate>Wed, 07 Jan 2009 00:11:30 +0000</pubDate>
		<dc:creator>Ronny</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Open-source]]></category>
		<category><![CDATA[Visualizr]]></category>

		<guid isPermaLink="false">http://nocreativity.com/blog/?p=339</guid>
		<description><![CDATA[A few people asked me for the Visualizr source. I always said I&#8217;d post it on my blog &#8216;pretty soon&#8217;&#8230; Well&#8230; It&#8217;s not pretty soon, but at least I didn&#8217;t totally forget about it. Anyway here&#8216;s the Actionscript class I made in a Flex Actionscript project I did some pretty naughty things in there, but [...]]]></description>
			<content:encoded><![CDATA[<p>A few people asked me for the <a href="http://nocreativity.com/blog/some-more-bitmapdata-and-soundspectrum-progress">Visualizr</a> source. I always said I&#8217;d post it on my blog &#8216;pretty soon&#8217;&#8230; Well&#8230; It&#8217;s not pretty soon, but at least I didn&#8217;t <em>totally</em> forget about it. Anyway <a href="http://labs.nocreativity.com/soundCoolness/Visualizr.as" target="_blank">here</a>&#8216;s the Actionscript class I made in a Flex Actionscript project <img src='http://nocreativity.com/blog-engine/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I did some pretty naughty things in there, but it worked out the way I wanted it&#8230; So be nice :p<br />
Make sure you have got the MP3 tracks in place <img src='http://nocreativity.com/blog-engine/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  You&#8217;ll need at least one. Make sure you change the tracknames too.</p>
]]></content:encoded>
			<wfw:commentRss>http://nocreativity.com/blog/visualizr-source/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Playr 2.0 is here!</title>
		<link>http://nocreativity.com/blog/playr-20-is-here</link>
		<comments>http://nocreativity.com/blog/playr-20-is-here#comments</comments>
		<pubDate>Thu, 18 Dec 2008 00:31:10 +0000</pubDate>
		<dc:creator>Ronny</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Open-source]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[Playr]]></category>

		<guid isPermaLink="false">http://nocreativity.com/blog/?p=299</guid>
		<description><![CDATA[It almost took me an eternity, but at last it&#8217;s there: Playr 2.0 is ready. Playr is a Flash Actionscript 3 class built to take the heavy lifting off your hands when building any kind of music player appliction in Flash, Flex or AIR. I put a lot of work and time in this project, [...]]]></description>
			<content:encoded><![CDATA[<p>It almost took me an eternity, but at last it&#8217;s there: Playr 2.0 is ready.<br />
Playr is a Flash Actionscript 3 class built to take the heavy lifting off your hands when building any kind of music player appliction in Flash, Flex or AIR. I put a lot of work and time in this project, and I think the result is amazing: Playr is hands down the easiest way to do so!</p>
<p>I&#8217;m very happy to finally release this. A lot of people helped me test it and gave me feedback.<br />
That helped me a lot, and changed a lot of features. Special thanks to all of you!</p>
<p>I&#8217;ve put up <a href="http://playr.nocreativity.com/" target="_blank">a dedicated site for Playr</a> where all of the information, code examples, downloads are gathered.<br />
Head over there to read more about it!</p>
<p><strong>More info</strong>:<br />
Playr site: <a href="http://playr.nocreativity.com/" target="_blank">Click</a><br />
Download Playr 2.0: <a href="http://playr.nocreativity.com/download.php">Click</a><br />
Playr 2.0 documentation: <a href="http://playr.nocreativity.com/docs" target="_blank">Click</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nocreativity.com/blog/playr-20-is-here/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Playr 2.0 is coming!</title>
		<link>http://nocreativity.com/blog/playr-20-is-coming</link>
		<comments>http://nocreativity.com/blog/playr-20-is-coming#comments</comments>
		<pubDate>Wed, 12 Nov 2008 13:21:35 +0000</pubDate>
		<dc:creator>Ronny</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Everything else]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Open-source]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Playr 2.0]]></category>
		<category><![CDATA[PlayrDiscovr]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://nocreativity.com/blog/?p=232</guid>
		<description><![CDATA[I just wanted to update you guys on how the update for the next version of Playr is progressing. In the past week, I&#8217;ve been pretty busy adding the finishing  touches to the features and fixing the last few bugs that popped up. Most of the last-minute changes are a result of using the class [...]]]></description>
			<content:encoded><![CDATA[<p>I just wanted to update you guys on how the update for the next version of <a href="http://nocreativity.com/blog/playr-de-actionscript-3-music-player-class" target="_blank">Playr</a> is progressing.</p>
<p>In the past week, I&#8217;ve been pretty busy adding the finishing  touches to the features and fixing the last few bugs that popped up. Most of the last-minute changes are a result of using the class in <a href="http://nocreativity.com/blog/my-latest-project-walter-ego" target="_blank">one of my own projects</a>.</p>
<p>It&#8217;s then when I realized I&#8217;m missing some key features like adding the music directory, and some properties of the PlayrEvents. I also added some ear candy like fadeIn() and fadeOut() methods.</p>
<p>On a more functional note: I&#8217;ve abstracted the playlist to an independent class. So now you&#8217;re provided with lots and lots of ways to customize and manage your playlists.</p>
<p>The shuffle mode is now smart. In English that means the playlist remembers what songs have played and which ones haven&#8217;t.</p>
<p>Finally I&#8217;m happy to tell you guys won&#8217;t ever have to write an XML playlist file yourself. I&#8217;ve got a <a href="http://nocreativity.com/blog/playrdiscovr-de-playlistxml-bouwer" target="_blank">PHP4</a> and <a href="http://nocreativity.com/blog/playrdiscovr-update" target="_blank">PHP5</a> version of PlayrDiscovr which reads a directory and returns the corresponding XML listing the tracks and their properties.<br />
On top of that, I&#8217;ve got some help from other people (I still need to contact you guys) who are willing to help me out with building PlayrDiscover in ASP, Ruby and Python.</p>
<p>Even though I&#8217;m listing all of the new features, the Playr class is still the easiest way of implementing any kind of sound-feature in any Flash/Flex/AIR application. But the simplicity shouldn&#8217;t be a limitation, which it isn&#8217;t: you&#8217;re still able to build full-feature media-playing applications.</p>
<p>One of the little challenges I still have to tackle is the Tween problem. I&#8217;ve implemented fadeIn() and fadeOut() methods. Those methods actually tween the volume property of the Playr instance. The problem with that is when using the Playr class in a Flex project, you get a cool error message telling you it can&#8217;t import fl.transitions (which is the class package for the Tween class and the easing package).<br />
I still haven&#8217;t figured out how to work around this problem. If any of you have any suggestion on this problem, feel free to tell me about it.</p>
<p>I plan on releasing Playr 2.0 in the coming week (or 2) depending on PlayrDiscovr impementations, final changes, demo&#8217;s and site development (yes, I&#8217;m building a dedicated site for Playr <img src='http://nocreativity.com/blog-engine/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) Feel free to suggest other implementations you&#8217;d like <img src='http://nocreativity.com/blog-engine/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://nocreativity.com/blog/playr-20-is-coming/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PlayrDiscovr: De playlist.xml bouwer!</title>
		<link>http://nocreativity.com/blog/playrdiscovr-de-playlistxml-bouwer</link>
		<comments>http://nocreativity.com/blog/playrdiscovr-de-playlistxml-bouwer#comments</comments>
		<pubDate>Fri, 15 Aug 2008 16:02:46 +0000</pubDate>
		<dc:creator>Ronny</dc:creator>
				<category><![CDATA[Download]]></category>
		<category><![CDATA[Open-source]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[ID3]]></category>
		<category><![CDATA[MP3]]></category>
		<category><![CDATA[Playr]]></category>

		<guid isPermaLink="false">http://nocreativity.com/blog/?p=130</guid>
		<description><![CDATA[Enkele dagen geleden heb ik een oproep gedaan om tips en suggesties te krijgen in verband met de nieuwe Playr class. Jarne heeft een geautomatiseerde playlist.xml generator voorgesteld. Ik heb hier al vaker aan gedacht, maar altijd de hoop opgegeven als ik moest denken aan de ID3 tags&#8230; Ik ben geen PHP guru, waardoor ik [...]]]></description>
			<content:encoded><![CDATA[<p>Enkele dagen geleden heb ik een <a href="http://nocreativity.com/blog/playr-20-is-coming-what-do-you-want">oproep gedaan</a> om tips en suggesties te krijgen in verband met de nieuwe Playr class. <a href="http://www.cencrea.be/Jarne/Fortunedesign" target="_blank" target="_blank">Jarne</a> heeft een <a href="http://nocreativity.com/blog/playr-20-is-coming-what-do-you-want#comment-1115">geautomatiseerde playlist.xml generator</a> voorgesteld.</p>
<p>Ik heb hier al vaker aan gedacht, maar altijd de hoop opgegeven als ik moest denken aan de ID3 tags&#8230; Ik ben geen PHP guru, waardoor ik nooit echt heb beginnen zoeken.<br />
Nu heb ik mij vandaag toch opeens afgevraagd of er nog geen ID3 support in PHP zit&#8230;<br />
Daar heb ik in feite geen antwoord op gevonden, maar ik heb wel gevonden wat ik zocht: Een open-source project waarmee de ID3 tags van MP3 bestanden (en meer) kunnen gelezen en gebruikt worden, namelijk <a href="http://getid3.sourceforge.net/" target="_blank" target="_blank">getID3</a>.</p>
<p>Sinds dit het moeilijkste van het hele automatiseren was kon ik meteen aan de slag. Ik ben echt positief verrast over hoe simpel getID3 in te zetten is, en hoeveel informatie daarmee op te halen was.</p>
<p>Om een lang verhaal kort te maken heb ik dus nu een geautomatiseerde versie van de playlist.xml gebouwd.<br />
Het leuke is dat je nu zelf de lengte van de track niet meer moet uitrekenen (wat op zich het meest storende van het hele playlist.xml gebeuren was). En natuurlijk: <strong>Nooit meer playlists updaten!</strong></p>
<h3>PlayrDiscovr</h3>
<p><a href="http://nocreativity.com/Playr/PlayrDiscovr.zip">Download</a></p>
<p><strong>Gebruik</strong></p>
<p>Gewoon PlayrDiscovr unzippen, en de inhoud van de map uploaden naar je server.<br />
De MP3 bestanden komen in de &#8216;music&#8217; folder te staan.<br />
In Flash moet je nog even de URL naar je playlist aanpassen van &#8216;playlist.xml&#8217; naar &#8216;playlist.php&#8217;, en je bent klaar. Nooit meer playlists updaten!<br />
PlayrDiscovr haalt alle info over de tracks op vanuit de ID3v2 tag. Als deze dus in orde is, is zijn je playlists automatisch aangepast, vanaf dat je een liedje op de server hebt upgeload.</p>
<p>Veel plezier!</p>
]]></content:encoded>
			<wfw:commentRss>http://nocreativity.com/blog/playrdiscovr-de-playlistxml-bouwer/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Playr 2.0 is coming&#8230; What do YOU want?</title>
		<link>http://nocreativity.com/blog/playr-20-is-coming-what-do-you-want</link>
		<comments>http://nocreativity.com/blog/playr-20-is-coming-what-do-you-want#comments</comments>
		<pubDate>Wed, 13 Aug 2008 17:38:23 +0000</pubDate>
		<dc:creator>Ronny</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Open-source]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Playr]]></category>

		<guid isPermaLink="false">http://nocreativity.com/blog/?p=129</guid>
		<description><![CDATA[Ja, hoor: Een volledig Engelse titel! Maar toch ga ik nog even doorbloggen in het Nederlands Op het moment van schrijven ben ik zo goed als klaar met de nieuwste versie van Playr, de Actionscript musicplayer class. Ik moet nog even kijken of ik geen domme fouten heb, en nog wat schoonheidsfouten opruimen. Eens ik [...]]]></description>
			<content:encoded><![CDATA[<p>Ja, hoor: Een volledig Engelse titel!<br />
Maar toch ga ik nog even doorbloggen in het Nederlands <img src='http://nocreativity.com/blog-engine/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Op het moment van schrijven ben ik zo goed als klaar met de nieuwste versie van Playr, de Actionscript musicplayer class. Ik moet nog even kijken of ik geen domme fouten heb, en nog wat schoonheidsfouten opruimen. Eens ik daarmee klaar ben, zal ik deze versie releasen.</p>
<p>Relatief veel mensen hebben deze klasse gebruikt, velen zonder problemen, sommigen met.<br />
Nu is mijn vraag:</p>
<p><strong>Wat heb ik vergeten in de vorige versie? Wat willen jullie er nog meer bij? </strong></p>
<p>Als er voorstellen zijn die bij Playr aansluiten zou ik deze met plezier verwezenlijken.<br />
Alvast bedankt voor jullie tijd <img src='http://nocreativity.com/blog-engine/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://nocreativity.com/blog/playr-20-is-coming-what-do-you-want/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Playr: De ActionScript 3 music player class!</title>
		<link>http://nocreativity.com/blog/playr-de-actionscript-3-music-player-class</link>
		<comments>http://nocreativity.com/blog/playr-de-actionscript-3-music-player-class#comments</comments>
		<pubDate>Wed, 19 Mar 2008 14:46:13 +0000</pubDate>
		<dc:creator>Ronny</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Open-source]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[docs]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[MusicPlayer]]></category>
		<category><![CDATA[Playr]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://nocreativity.com/blog/playr-de-actionscript-3-music-player-class</guid>
		<description><![CDATA[Update: Er is een nieuwe versie van deze klasse die je hier kan vinden. De download van deze versie heb ik verwijderd om die reden. Ik heb gisteren de laatste wijzigingen aangebracht aan de vroegere MusicPlayer class. Zoals het er nu uitziet lijkt deze klasse af, voor een eerste ronde echt gebruik, keiharde feedback en [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong> <em>Er is <a href="http://nocreativity.com/blog/playr-20-is-here">een nieuwe versie</a> van deze klasse die je hier kan vinden. De download van deze versie heb ik verwijderd om die reden.</em></p>
<p><em> </em></p>
<p>Ik heb gisteren de laatste wijzigingen aangebracht aan de vroegere MusicPlayer class. Zoals het er nu uitziet lijkt deze klasse af, voor een eerste ronde echt gebruik, keiharde feedback en vele suggesties.</p>
<p>Belangrijke wijzigingen zijn:</p>
<ul>
<li> Classnames, en package names zijn aangepast.
<ul>
<li>De klasse zelf heet nu <strong>Playr </strong>in plaats van MusicPlayer.</li>
<li>Package name is aangepast. com.noCreativity.MusicPlayer is nu <strong>com.nocreativity.playr</strong> (met dank aan Peter Elst voor de best practice tip <img src='http://nocreativity.com/blog-engine/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )</li>
</ul>
</li>
<li> Shuffle mode toegevoegd</li>
<li>Trackprogress kan nu ook opgevraagd worden</li>
<li>Singletrack werkt nu volledig</li>
<li>Bug ivm repeat weggewerkt</li>
</ul>
<h3>Wat doet Playr?</h3>
<p>Playr is een Flash Actionscript 3 klasse die het maken van een volwaardige music player in Flash/Flex/AIR reduceert tot enkele regels code. Of je nu maar 1 loop wilt laten spelen, of een volledige playlist wilt 	afspelen in Flash/Flex/AIR: Playr kan het sneller dan jij!</p>
<p>Playr kan je gebruiken om een enkele loop af te spelen, of voor volledige XML afspeellijsten te laten 	afspelen. Zowel shuffle als repeat zijn mogelijk. Ook de interactiviteit met de gebruiker kan snel worden toegevoegd.<br />
De Playr class is ontworpen met snelheid en gemak voor ogen<span id="more-72"></span></p>
<h3>Hoe gebruik ik Playr?</h3>
<p>3 Korte voorbeelden hoe je de Playr class kunt inzetten.</p>
<p>Minimaal<br />
Je wilt gewoon één track laten afspelen.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">import</span> com<span style="color: #000066; font-weight: bold;">.</span>nocreativity<span style="color: #000066; font-weight: bold;">.</span>playr<span style="color: #000066; font-weight: bold;">.*;</span>
<span style="color: #6699cc; font-weight: bold;">var</span> myPlayer<span style="color: #000066; font-weight: bold;">:</span>Playr = <span style="color: #0033ff; font-weight: bold;">new</span> Playr<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>singleTrack = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>loadTrack<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;music/myTrack.mp3&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">play</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></pre></div></div>

<p>Minimaal<br />
Je wilt een volledige playlist afspelen zonder interactie of weer te geven informatie.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">import</span> com<span style="color: #000066; font-weight: bold;">.</span>nocreativity<span style="color: #000066; font-weight: bold;">.</span>playr<span style="color: #000066; font-weight: bold;">.*;</span>
<span style="color: #6699cc; font-weight: bold;">var</span> myPlayer<span style="color: #000066; font-weight: bold;">:</span>Playr = <span style="color: #0033ff; font-weight: bold;">new</span> Playr<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>autoPlay=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>loadPlaylist<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;playlist.xml&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></pre></div></div>

<p>Maximaal</p>
<p>Je wilt een volwaardige music player maken, met alles erop en eraan.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">import</span> com<span style="color: #000066; font-weight: bold;">.</span>nocreativity<span style="color: #000066; font-weight: bold;">.</span>playr<span style="color: #000066; font-weight: bold;">.*;</span>
<span style="color: #6699cc; font-weight: bold;">var</span> myPlayer<span style="color: #000066; font-weight: bold;">:</span>Playr = <span style="color: #0033ff; font-weight: bold;">new</span> Playr<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>autoPlay=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>repeat = <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">volume</span> = <span style="color: #000000; font-weight:bold;">100</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>shuffle = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>loadPlaylist<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;playlist.xml&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>registerPlayButton<span style="color: #000000;">&#40;</span>btnPlay<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>registerStopButton<span style="color: #000000;">&#40;</span>btnStop<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>registerPauseButton<span style="color: #000000;">&#40;</span>btnPause<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>registerNextButton<span style="color: #000000;">&#40;</span>btnNext<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>registerPreviousButton<span style="color: #000000;">&#40;</span>btnPrevious<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>registerMuteButton<span style="color: #000000;">&#40;</span>btnMute<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>ID3SourceEnabled =<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
myPlayer<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span>PlayrEvent<span style="color: #000066; font-weight: bold;">.</span>SONGINFO<span style="color: #000066; font-weight: bold;">,</span>infoHandler<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span>PlayrEvent<span style="color: #000066; font-weight: bold;">.</span>SONG_PROGRESS<span style="color: #000066; font-weight: bold;">,</span>songprogressHandler<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span>PlayrEvent<span style="color: #000066; font-weight: bold;">.</span>LOAD_PROGRESS<span style="color: #000066; font-weight: bold;">,</span>loadprogressHandler<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
<span style="color: #339966; font-weight: bold;">function</span> songprogressHandler<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">:</span>PlayrEvent<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>
txtSongProgress<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span> = <span style="color: #990000;">&quot;Time elapsed: &quot;</span> <span style="color: #000066; font-weight: bold;">+</span>  myPlayer<span style="color: #000066; font-weight: bold;">.</span>trackProgress<span style="color: #000066; font-weight: bold;">;</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #339966; font-weight: bold;">function</span> loadprogressHandler<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">:</span>PlayrEvent<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>
txtLoadProgress<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span> = <span style="color: #990000;">&quot;Load progress: &quot;</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #000066; font-weight: bold;">+</span> e<span style="color: #000066; font-weight: bold;">.</span>loadprogress<span style="color: #000066; font-weight: bold;">;</span>
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #339966; font-weight: bold;">function</span> infoHandler<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">:</span>PlayrEvent<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>
txtTrackInfo<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span> = myPlayer<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">artist</span> <span style="color: #000066; font-weight: bold;">+</span> <span style="color: #990000;">&quot; - &quot;</span> <span style="color: #000066; font-weight: bold;">+</span> myPlayer<span style="color: #000066; font-weight: bold;">.</span>trackName<span style="color: #000066; font-weight: bold;">;</span>
<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>myPlayer<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">album</span> <span style="color: #000066; font-weight: bold;">!</span>= <span style="color: #990000;">&quot;&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
txtTrackInfo<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">appendText</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot; (&quot;</span><span style="color: #000066; font-weight: bold;">+</span>myPlayer<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">album</span><span style="color: #000066; font-weight: bold;">+</span><span style="color: #990000;">&quot;)&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
<span style="color: #000000;">&#125;</span>
txtTrackInfo<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">appendText</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot; | &quot;</span> <span style="color: #000066; font-weight: bold;">+</span> myPlayer<span style="color: #000066; font-weight: bold;">.</span>trackDuration<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<h3>Playlist.xml?</h3>
<p>Hoe deze noemt maakt in feite niet echt veel uit, zolang de inhoud volgens <a href="http://nocreativity.com/Playr/playlist.xml">deze structuur</a> is.<br />
Betekenis van de verschillende nodes:</p>
<ul>
<li>Artist: Naam van de artiest</li>
<li>Title: Naam van het liedje</li>
<li>TotalTime: Totale duur van het liedje in seconden</li>
<li>Filename: bestandspad naar de af te spelen MP3 file. (absoluut of relatief).</li>
</ul>
<h3>Documentatie over Playr?</h3>
<p>Deze is er en kun je <a href="http://nocreativity.com/Playr/docs/" target="_blank">hier</a> vinden.</p>
<h3>Download</h3>
<p>Download de Playr class <a href="http://nocreativity.com/Playr/Playr-1.0.zip" target="_blank">hier</a>.</p>
<h3>Feedback &amp; Suggesties</h3>
<p>Heb je vragen, of zijn er onduidelijkheden? Schiet maar raak, ik bijt niet!<br />
Zijn er onvolmaaktheden, of heb je dat geniale extra dat deze klasse nog tekort heeft? Laat mij het weten, en ik zal er zeker naar kijken.<br />
Gebruik je deze  class en ben je er tevreden mee? Ik hoor het graag. Laat ook zien in welk(e) project(en) je de class inzet!</p>
<p>Veel plezier!</p>
<p><img src="http://creativecommons.nl/wp-content/themes/ccnl/img/licenses/BY-SA.png" border="0" alt="Naamsvermelding &amp; Gelijk delen" width="69" height="32" /> <span style="font-size: 11px">Ik release de Playr class en de PlayrEvent class onder de <a href="http://creativecommons.org/licenses/by-sa/3.0/nl/legalcode"title="Naams vermelding &amp; gelijk delen"  target="_blank">Creative Commons</a> license. Dat wil zeggen dat je alles in deze classes mag aanpassen zolang je er een verwijzing naar de originele auteur ( ik dus <img src='http://nocreativity.com/blog-engine/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) in laat staan, en je deze classes met dezelfde rechten verder verdeeld.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://nocreativity.com/blog/playr-de-actionscript-3-music-player-class/feed</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Bitmapdata + Soundmixer.computeSpectrum = Soundcoolness!</title>
		<link>http://nocreativity.com/blog/bitmapdata-soundmixercomputespectrum-soundcoolness</link>
		<comments>http://nocreativity.com/blog/bitmapdata-soundmixercomputespectrum-soundcoolness#comments</comments>
		<pubDate>Sat, 19 Jan 2008 13:24:53 +0000</pubDate>
		<dc:creator>Ronny</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Open-source]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Experimenten]]></category>

		<guid isPermaLink="false">http://nocreativity.com/blog/bitmapdata-soundmixercomputespectrum-soundcoolness</guid>
		<description><![CDATA[Een paar dagen geleden ben ik eens aan de slag gegaan met de bitmapdata class. En tegelijk heb ik ook eens gekeken hoe je gebruik kunt maken van de &#8216;computeSpectrum()&#8217; method die de SoundMixer class te bieden heeft. Na een half uurtje te prutsen had ik door hoe het werkte en ik kon ik ik [...]]]></description>
			<content:encoded><![CDATA[<p>Een paar dagen geleden ben ik eens aan de slag gegaan met de bitmapdata class. En tegelijk heb ik ook eens gekeken hoe je gebruik kunt maken van de &#8216;computeSpectrum()&#8217; method die de SoundMixer class te bieden heeft.</p>
<p>Na een half uurtje te prutsen had ik door hoe het werkte en ik kon ik ik er wat verder in gaan, en gebruik maken van de Filters die je in AS3 kunt gebruiken. Echt coole shit zit daarin!!</p>
<p>Ik heb wat speelse dingen gemaakt, en ik moet zeggen dat ik best wel onder de indruk ben van de kracht van AS3: telkens opnieuw vind ik AS3 een stuk cooler!</p>
<p>Hieronder staan de links naar de SWF&#8217;s</p>
<ul>
<li><a href="http://nocreativity.com/lab/soundCoolness/computeSpectrum.swf" target="_blank">Versie 1</a></li>
<li><a href="http://nocreativity.com/lab/soundCoolness/soundCurve.swf" target="_blank">Versie 2</a></li>
<li><a href="http://nocreativity.com/lab/soundCoolness/horichoor.swf" target="_blank">Versie 3</a></li>
<li><a href="http://nocreativity.com/lab/soundCoolness/horichoor_simple.swf" target="_blank">Versie 3 (gewijzigd)</a></li>
<li><a href="http://nocreativity.com/lab/soundCoolness/hoogiroor.swf" target="_blank">Versie 4</a></li>
<li><a href="http://nocreativity.com/lab/soundCoolness/soundCircle.swf" target="_blank">Versie 5</a></li>
<li><a href="http://nocreativity.com/lab/soundCoolness/livestream.swf" target="_blank">Versie 6 (livestream) (werk alleen offline)</a></li>
</ul>
<p>Enkele opmerkingen hierover:</p>
<p>Versie 5 is op zich wat zwaar. Ik wou een <a href="http://www.infovis.net/imagenes/T1_N161_A862_WinMediaVidaFresa.gif" target="_blank" target="_blank">Windows Media Player-achtig effect</a> namaken.<br />
Versie 6 werkt in mijn lokale Flash Player zonder veel problemen, online lijkt dat een ander resultaat te zijn&#8230; Ik heb het gevoel dat dat met de security sandbox van de FlashPlayer te maken heeft. Als iemand weet wat het probleem is: Shout! Ook performantie tips zijn meer dan welkom, want ik heb al andere visualisaties gezien die maar tot 20% van de CPU gaan, terwijl deze hier met gemak de 50% halen.</p>
<p>De sources van deze items staan <a href="http://nocreativity.com/lab/soundCoolness/sources.zip" target="_blank">hier</a> zodat je ernaar kunt kijken, en er zelf ook wat mee kan gaan spelen!<br />
Gewoon ergens een MP3 plukken uit je collectie deze in bij je fla gaan plaatsen en de code zo aanpassen zodat je deze dan ook inlaadt. Ik geef mijn gebruikte liedjes in de voorbeelden niet mee door auteursrechten e.d. <img src='http://nocreativity.com/blog-engine/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Aarzel niet om te posten wat er beter kan, wat jullie in elkaar gestoken hebben, of welke tips jullie voor me hebben! Ik hoor het graag.</p>
<p>Alvast veel plezier met de sources!</p>
]]></content:encoded>
			<wfw:commentRss>http://nocreativity.com/blog/bitmapdata-soundmixercomputespectrum-soundcoolness/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

