<?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>Ndid</title>
	<atom:link href="http://www.ndid.se/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ndid.se</link>
	<description>Home of flash developer and jazz guitarist Nicolás Delfino</description>
	<lastBuildDate>Wed, 09 Jan 2013 10:18:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Inertia &#8211; promo site for my cd</title>
		<link>http://www.ndid.se/2012/12/inertia-promo-site-for-my-cd/</link>
		<comments>http://www.ndid.se/2012/12/inertia-promo-site-for-my-cd/#comments</comments>
		<pubDate>Sun, 02 Dec 2012 20:07:24 +0000</pubDate>
		<dc:creator>nicolasdelfino</dc:creator>
				<category><![CDATA[Case]]></category>
		<category><![CDATA[Case Studies]]></category>
		<category><![CDATA[Spotlight]]></category>

		<guid isPermaLink="false">http://www.ndid.se/?p=675</guid>
		<description><![CDATA[Promo site I did to promote my debut cd &#8220;Inertia&#8221;. I did the design, the code AND the music :) Visit www.experienceinertia.com]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ndid.se/wp-content/uploads/2012/12/inertia.png"><img src="http://www.ndid.se/wp-content/uploads/2012/12/inertia.png" alt="" title="inertia" width="635" height="300" class="alignnone size-full wp-image-676" /></a></p>
<div>Promo site I did to promote my debut cd &#8220;Inertia&#8221;. I did the design, the code AND the music :)</div>
<div><a title="Visit www.experienceinertia.com" href="http://www.experienceinertia.com/" target="_blank">Visit www.experienceinertia.com</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ndid.se/2012/12/inertia-promo-site-for-my-cd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Number 6 &#8211; Coffee</title>
		<link>http://www.ndid.se/2012/12/678/</link>
		<comments>http://www.ndid.se/2012/12/678/#comments</comments>
		<pubDate>Sun, 02 Dec 2012 19:50:15 +0000</pubDate>
		<dc:creator>nicolasdelfino</dc:creator>
				<category><![CDATA[Case]]></category>
		<category><![CDATA[Case Studies]]></category>
		<category><![CDATA[Spotlight]]></category>

		<guid isPermaLink="false">http://www.ndid.se/?p=678</guid>
		<description><![CDATA[Website for Cafe Number 6, best cafe in Malmö. Visit www.number6.se]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ndid.se/wp-content/uploads/2012/12/no6.png"><img src="http://www.ndid.se/wp-content/uploads/2012/12/no6.png" alt="" title="no6" width="635" height="300" class="alignnone size-full wp-image-679" /></a></p>
<div>Website for Cafe Number 6, best cafe in Malmö.</div>
<div><a title="Visit www.number6.se" href="http://www.number6.se/" target="_blank">Visit www.number6.se</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ndid.se/2012/12/678/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Peter Nilsson &#8211; drummer</title>
		<link>http://www.ndid.se/2012/12/www-peternilssonmusic-com/</link>
		<comments>http://www.ndid.se/2012/12/www-peternilssonmusic-com/#comments</comments>
		<pubDate>Sun, 02 Dec 2012 19:43:30 +0000</pubDate>
		<dc:creator>nicolasdelfino</dc:creator>
				<category><![CDATA[Case]]></category>
		<category><![CDATA[Case Studies]]></category>
		<category><![CDATA[Spotlight]]></category>

		<guid isPermaLink="false">http://www.ndid.se/?p=670</guid>
		<description><![CDATA[WordPress website for legendary jazz drummer Peter Nilsson. NDID made the design and WordPress impementation Visit www.peternilssonmusic.com]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ndid.se/wp-content/uploads/2012/12/peter1.png"><img src="http://www.ndid.se/wp-content/uploads/2012/12/peter1.png" alt="" title="peter1" width="635" height="300" class="alignnone size-full wp-image-672" /></a></p>
<div>WordPress website for legendary jazz drummer Peter Nilsson. NDID made the design and WordPress impementation</div>
<div><a title="Visit www.peternilssonmusic.com" href="http://www.peternilssonmusic.com/" target="_blank">Visit www.peternilssonmusic.com</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ndid.se/2012/12/www-peternilssonmusic-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scoreoid &#8211; Highscores the easy way</title>
		<link>http://www.ndid.se/2011/09/scoreoid-highscores-the-easy-way/</link>
		<comments>http://www.ndid.se/2011/09/scoreoid-highscores-the-easy-way/#comments</comments>
		<pubDate>Sat, 24 Sep 2011 23:25:08 +0000</pubDate>
		<dc:creator>nicolasdelfino</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[highscores]]></category>
		<category><![CDATA[scoreoid]]></category>

		<guid isPermaLink="false">http://www.ndid.se/?p=635</guid>
		<description><![CDATA[A basic introduction to the awesome game platform Scoreoid]]></description>
			<content:encoded><![CDATA[<div id="article-post">
<img src="http://scoreoid.net/wp-content/themes/kaboodle/images/logo-2.png" width="200" height="60" alt="Scoreoid" /></p>
<p>
Today I got the chance to finally play with the awesome game platform by Almog Design (www.almogdesign.net) called Scoreoid.
</p>
<h2>What Scoreoid is:</h2>
<p>
Scoreoid is a non-restrictive, reliable and easy to use gaming platform designed to handle scoring, leaderboards and game management, including advanced functions for multi-platform games such as platform content awareness to advanced player management. Developed by game developers for game developers.
</p>
<p>(Info from www.scoreoid.net)</p>
<h2>Why Scoreoid:</h2>
<p>
The reason I´m thrilled about Scoreoid is simply because it lets you cut time on an otherwise potentially time exhaustive part of game development, scores.
</p>
<p>
With that said I thought I´d write a basic tutorial.</p>
<h2>Using Scoreoid:</h2>
<p>
Getting started with Scoreoid is a breeze, all you really need to do is to sign up (<a href="http://www.scoreoid.com/register/">www.scoreoid.com/register</a>) and to add a game, the rest is taken cared of by Scoreoid!</p>
<p>
To create a game simply navigate to the dashboard and click on &#8220;Add new game&#8221;. There´s some basic data you need to enter, nothing weird so I leave that up to you.</p>
<p>
There´s actually tons of stuff you can do here, and I do recommend you to check it out, but to get to get started on this tutorial you´ll need 2 things:</p>
<h5>An API-key</h5>
<p>found under your Account Info.</p>
<h5>A Game-ID</h5>
<p>found under games and specific for the game you´re working on.</p>
<h2>Scoreoid + Flash:</h2>
<p><a href="http://www.ndid.se/wp-content/uploads/2011/09/scoflash.jpg"><img src="http://www.ndid.se/wp-content/uploads/2011/09/scoflash.jpg" alt="" title="scoflash" width="450" height="88" class="alignnone size-full wp-image-651" /></a></p>
<p>
Here´s where the magic happens, no downloads &#8211; no nothing.<br />
From here on I´ll show you just the absolute basics needed to get you started on a real world situation.</p>
<p>
Please note that his example doesn´t necessary follow best practices and how you end up using this is up to you. Also note that I´m writing this inside a document class.</p>
<h2>The Document class (Main.as)</h2>
<pre class="brush: as3; title: ;">

package
{
	//SCOREOID - www.scoreoid.net | www.scoreoid.com

	import flash.display.MovieClip;
	import flash.net.URLVariables;
	import flash.net.URLRequest;
	import flash.net.URLRequestMethod;
	import flash.net.URLLoaderDataFormat;
	import flash.net.URLLoader;
	import flash.events.Event;

	public class Main extends MovieClip
	{
		//setup:
		private var url:String = &quot;https://www.scoreoid.com/api/getGameField&quot;;
		private var request:URLRequest;
		private var requestVars:URLVariables;

		private var apiKey:String = &quot;enter your API-key&quot;;
		private var gameId:String = &quot;enter your game-ID&quot;;
		private var responseType:String = &quot;XML&quot;;

		private var ulGetScore:URLLoader = new URLLoader();
		private var ulSendScore:URLLoader = new URLLoader();

		public function Main()
		{
			/*
			Send a score to Scoreoid containing the name of the user and his or hers score */
			sendScore(&quot;Player name&quot;, &quot;player score e.g 8278&quot;);	

			/*
			Show the score on stage
			*/
			getScores();
		}
</pre>
<h2>The sendScore function</h2>
<p>This simple function recieves two values passed in as strings: user and score.</p>
<p>We start by pointing the url variable to the appropiate API-call, in this case the one called &#8220;createScore&#8221; and continue by packing a request handler with data.
</p>
<p>The data is contained by an URLVariable we call requestVars which stores the fundamental elements needed to talk to Scoreoid (API-key / game-ID etc…)
</p>
<p>Before sending the request we make sure to pass in the two crucial variables needed (score and user, both strings).
</p>
<pre class="brush: as3; title: ;">

		private function sendScore(user:String, score:String):void
		{
			url = &quot;https://www.scoreoid.com/api/createScore&quot;;
			request = new URLRequest(url);
			requestVars = new URLVariables();
			request.data = requestVars;
			requestVars.api_key = apiKey;
			requestVars.game_id = gameId;
			requestVars.response = responseType;

			/* send score variables: */
			requestVars.score = score;
			requestVars.username = user;

			request.method = URLRequestMethod.POST;
			ulSendScore.dataFormat = URLLoaderDataFormat.TEXT;
			ulSendScore.addEventListener(Event.COMPLETE, sendScoreCompleteHandler);
			ulSendScore.load(request);
		}
</pre>
<h2>Listen for a respond</h2>
<p>By casting the data send back from Scoreoid as xml we´re able to check against a string &#8220;The score has been saved&#8221; to assure that the score we just send in fact got processed and saved by Scoreoid.</p>
<pre class="brush: as3; title: ;">

		//Send score complete handler:
		private function sendScoreCompleteHandler(e:Event):void
		{
			//sending scores to scoreoid...
			var xml:XML = new XML(e.target.data);
			if (xml == &quot;The score has been saved&quot;)
			{
				trace(&quot;The score has been saved.&quot;)
			}
		}
</pre>
<h2>Get scores &#8211; using it all</h2>
<p>This function looks a lot like the sendScore function and would definitly need some cleanup considering the main difference lies in the url (getScores) and the score variables.</p>
<p>
<h5>The get score variables:</h5>
<p>
Again, there´s plenty more to check out but to receive the 4 highest scores we use &#8220;limit&#8221; to limit the result, &#8220;order_by&#8221; to order the result by score values (&#8220;name&#8221; would give you a list ordered in alphabetical order) and lastly &#8220;dsc&#8221; to get the highest score first.
</p>
<pre class="brush: as3; title: ;">

		private function getScores():void
		{
			url = &quot;https://www.scoreoid.com/api/getScores&quot;;
			request = new URLRequest(url);
			requestVars = new URLVariables();
			request.data = requestVars;
			requestVars.api_key = apiKey;
			requestVars.game_id = gameId;
			requestVars.response = responseType;

			/* get score variables: */
			requestVars.limit = 4;
			requestVars.order_by = &quot;score&quot;;
			requestVars.order = &quot;dsc&quot;;

			request.method = URLRequestMethod.POST;
			ulGetScore.dataFormat = URLLoaderDataFormat.TEXT;
			ulGetScore.addEventListener(Event.COMPLETE, getScoreCompleteHandler);
			ulGetScore.load(request);

		}
</pre>
<h2>Putting it out there!</h2>
<p>Inside our handler we cast the Scoreoid respond once again as xml and loop through each player object to put a movieclip on stage.</p>
<p>The movieclip we´re using lies inside the Flash IDE library  exported for actionscript with the linkage name &#8220;PlayerResult&#8221;.
</p>
<p>
<h5>PlayerResult:</h5>
<p>
Contains two dynamic textfields: &#8220;name_t&#8221; for names and &#8220;score_t&#8221; for scores.
</p>
<p>
<h5>Scoreoid values:</h5>
<p>
To show something in our textfields we use &#8220;player.@username&#8221; and  &#8220;player.score.@score&#8221;.
</p>
<pre class="brush: as3; title: ;">

		//Get score complete handler:
		private function getScoreCompleteHandler(e:Event):void
		{
			var scoreXML:XML = new XML(e.target.data);
			var playerResult:MovieClip;
			var pX:Number = 86;
			var pY:Number = 116;

			for each (var player:Object in scoreXML.player)
			{
				//show results on stage:
				playerResult = new PlayerResult();
				playerResult.x = pX;
				playerResult.y = pY;

				playerResult.name_t.text = player.@username;
				playerResult.score_t.text = player.score.@score;

				addChild(playerResult);

				pY += playerResult.height -1;

			}
		}
	}
}
</pre>
<h2>Presto!</h2>
<p>That´s all there is to it really, again you could propably optimize this to half the size but that´s not really the point here.</p>
<p>This is the end result btw:</p>
<p><img src="http://www.ndid.se/wp-content/uploads/2011/09/scree2.jpg" alt="" title="scree2" width="635" height="353" class="alignnone size-full wp-image-658" /></p>
<p>So <a href="http://www.ndid.se/tutorials1/scoreoid/scoreoid basic example.zip">download the fla</a> if you want and get your ass over to <a href="http://www.scoreoid.net">www.scoreoid.net!</a></p>
<p>Cheers!<br />/Nicolás</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ndid.se/2011/09/scoreoid-highscores-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>AMFPHP vid diary</title>
		<link>http://www.ndid.se/2011/09/amfphp-vid-diary/</link>
		<comments>http://www.ndid.se/2011/09/amfphp-vid-diary/#comments</comments>
		<pubDate>Sun, 18 Sep 2011 17:10:02 +0000</pubDate>
		<dc:creator>nicolasdelfino</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Spotlight]]></category>
		<category><![CDATA[amfphp]]></category>
		<category><![CDATA[as3]]></category>

		<guid isPermaLink="false">http://www.ndid.se/?p=602</guid>
		<description><![CDATA[A video showing me playing around with the awesome amfphp framework<br /><p>Amfphp makes it really easy to create / read / update and delete records on a mysql database</p>]]></description>
			<content:encoded><![CDATA[<div id="spotlight-vimeo">
<iframe src="http://player.vimeo.com/video/29221633?title=0&amp;byline=0&amp;portrait=0" width="635" height="291" background="#FFFFFF" frameborder="0" wmode="transparent" param name="wmode" value="transparent"></iframe></div>
<p>A video showing me playing around with the awesome amfphp framework</p>
<p>
<p>Amfphp makes it really easy to create / read / update and delete records on a mysql database.</p>
<p>A tutorial showing the basics of the framework coming soo !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ndid.se/2011/09/amfphp-vid-diary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fretris device gameplay</title>
		<link>http://www.ndid.se/2011/08/fretris-device-gameplay/</link>
		<comments>http://www.ndid.se/2011/08/fretris-device-gameplay/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 13:26:26 +0000</pubDate>
		<dc:creator>nicolasdelfino</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash game]]></category>
		<category><![CDATA[Fretris]]></category>

		<guid isPermaLink="false">http://www.ndid.se/?p=598</guid>
		<description><![CDATA[Short gameplay video of Fretris running om my Samsung Galaxy S]]></description>
			<content:encoded><![CDATA[<div id="spotlight-vimeo">
<iframe style="background:#000000;" src="http://player.vimeo.com/video/27813522?title=0&amp;byline=0&amp;portrait=0&amp;color=00adef&amp;autoplay=0&amp;loop=1" width="635" height="300" frameborder="0"></iframe></div>
<p>Fretris gameplay on my Samsung Galaxy S running a high framerate.</p>
<p>Sorry for the blurriness!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ndid.se/2011/08/fretris-device-gameplay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SiON &#8211; mobile fail&#8230;</title>
		<link>http://www.ndid.se/2011/08/sion-mobile-fail/</link>
		<comments>http://www.ndid.se/2011/08/sion-mobile-fail/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 15:54:37 +0000</pubDate>
		<dc:creator>nicolasdelfino</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[SiON]]></category>

		<guid isPermaLink="false">http://www.ndid.se/?p=594</guid>
		<description><![CDATA[So as I wrote last week I looked into the cool sound framework SiON, hoping that it would work as a sound engine on mobile games What flash genius Terry Patton predicted was true, the framework &#8211; though small in size, is a huge burden on a mobile processor&#8230; Anyway I recommend to check it [...]]]></description>
			<content:encoded><![CDATA[<div id="article-post">
<p>So as I wrote last week I looked into the cool sound framework SiON, hoping that it would work as a sound engine on mobile games</p>
<p>What flash genius Terry Patton predicted was true, the framework &#8211; though small in size, is a huge burden on a mobile processor&#8230;</p>
<p>Anyway I recommend to check it out at <a href="http://www.libspark.org/wiki/keim/SiON_e">SiON Spark</a></p>
<p><a href="http://www.ndid.se/wp-content/uploads/2011/08/sion.jpg"><img src="http://www.ndid.se/wp-content/uploads/2011/08/sion.jpg" alt="" title="sion" width="635" height="200" class="alignnone size-full wp-image-577" /></a></p>
<p>Flash on! &#8211; Nicolas</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ndid.se/2011/08/sion-mobile-fail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fretris &#8211; Flash iOS &amp; Android game &#8211; vid diary</title>
		<link>http://www.ndid.se/2011/08/fretris-flash-ios-android-game-vid-diary/</link>
		<comments>http://www.ndid.se/2011/08/fretris-flash-ios-android-game-vid-diary/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 15:24:38 +0000</pubDate>
		<dc:creator>nicolasdelfino</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Spotlight]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Fretris]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[jazz]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://www.ndid.se/?p=585</guid>
		<description><![CDATA[The game was initially published as a flash game on MySpace 4 years ago where crazy jazz guitarists and classical guitar virtuosos competed against each other for the highest score. This version shows a fully blitted game running 52 fps on my Samsung Galaxy S and modest 48 on my old iPhone 3GS Actual device [...]]]></description>
			<content:encoded><![CDATA[<div id="spotlight-vimeo">
<iframe style="background:#000000;" src="http://player.vimeo.com/video/27724857?title=0&amp;byline=0&amp;portrait=0&amp;color=00adef&amp;autoplay=0&amp;loop=1" width="635" height="300" frameborder="0"></iframe></div>
<p>The game was initially published as a flash game on MySpace 4 years ago where crazy jazz guitarists and classical guitar virtuosos competed against each other for the highest score.</p>
<p>
<p>This version shows a fully blitted game running 52 fps on my Samsung Galaxy S and modest 48 on my old iPhone 3GS</p>
<p>Actual device video comming soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ndid.se/2011/08/fretris-flash-ios-android-game-vid-diary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SiON Sound AS3 &#8211; example 1</title>
		<link>http://www.ndid.se/2011/08/sion-sound-as3-example-1/</link>
		<comments>http://www.ndid.se/2011/08/sion-sound-as3-example-1/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 14:58:11 +0000</pubDate>
		<dc:creator>nicolasdelfino</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[instructional]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[SiON]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.ndid.se/?p=569</guid>
		<description><![CDATA[Simple example of how to write harmonies using the awesome sound library SiON. This example also shows how to alter the default instrument.]]></description>
			<content:encoded><![CDATA[<div id="article-post">
<p>I´ve been playing around a bit with the excellent sound framework made by Kei Mesuda called SiON</p>
<p>This example uses SiON in its simplest way, playing two jazzy chords when the user clicks the stage</p>
<h2>Get the swc / source:</h2>
<p>To get started you need to head over to <a href="http://www.libspark.org/wiki/keim/SiON_e">SiON Spark</a></p>
<p><a href="http://www.ndid.se/wp-content/uploads/2011/08/sion.jpg"><img src="http://www.ndid.se/wp-content/uploads/2011/08/sion.jpg" alt="" title="sion" width="635" height="200" class="alignnone size-full wp-image-577" /></a></p>
<h2>Example 1 &#8211; Jazz SiON non standard voice:</h2>
<p>Click stage for sound:</p>
<pre class="brush: as3; title: ;">
// Sample for event trigger
package
{
	import flash.display.*;
	import flash.events.*;
	import org.si.sion.*;
	import org.si.sion.SiONData;
	import org.si.sion.SiONVoice;
	import org.si.sion.utils.SiONPresetVoice;

	public class Sion extends Sprite
	{
		public var composer:SiONDriver = new SiONDriver();
		public var melody:SiONData;
		public var presets:SiONPresetVoice;
		public var voice:SiONVoice;

		private var _on:Boolean = false;

		function Sion()
		{
			stage.addEventListener(MouseEvent.CLICK, playSound);
		}

		private function playSound(e:MouseEvent):void
		{
			var sheet:String;

			if (! _on)
			{
				sheet = &quot;t100;&quot;;
				sheet +=  &quot;%3@8 [b+2]1;&quot;;
				sheet +=  &quot;%3@8 [f+2]1;&quot;;
				sheet +=  &quot;%3@8 [c+2]1;&quot;;
				sheet +=  &quot;%3@8 [g2]1;&quot;;
				sheet +=  &quot;%3@8 [o2a2]1;&quot;;
			}
			else
			{
				sheet = &quot;t100;&quot;;
				sheet +=  &quot;%3@8 t100 [b2]1;&quot;;
				sheet +=  &quot;%3@8 [e2]1;&quot;;
				sheet +=  &quot;%3@8 [c+2]1;&quot;;
				sheet +=  &quot;%3@8 [f+2]1;&quot;;
				sheet +=  &quot;%3@8 [o3d2]1;&quot;;
			}

			presets = new SiONPresetVoice();;
			voice = presets['valsound.bells2'];

			melody = composer.compile(sheet);

			composer.play();
			composer.sequenceOn(melody, voice, 0, 0, 1, 1);

			_on = ! _on;
		}
	}
}
</pre>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_0" width="635" height="300">
      <param name="movie" value="http://www.ndid.se/wp-content/uploads/2011/08/sion.swf" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://www.ndid.se/wp-content/uploads/2011/08/sion.swf" width="635" height="300">
      <!--<![endif]-->
        
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

<p>/ Nicolas</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ndid.se/2011/08/sion-sound-as3-example-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blox 4 Fighter Facebook game</title>
		<link>http://www.ndid.se/2011/06/blox-4-fighter-facebook-game/</link>
		<comments>http://www.ndid.se/2011/06/blox-4-fighter-facebook-game/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 10:01:57 +0000</pubDate>
		<dc:creator>nicolasdelfino</dc:creator>
				<category><![CDATA[Case]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Spotlight]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash game]]></category>
		<category><![CDATA[nindev]]></category>

		<guid isPermaLink="false">http://www.ndid.se/?p=565</guid>
		<description><![CDATA[Space Invaders clone coded by NDID in a fun collaboration with awesome Gothenburg based media company Nindev. NDID wrote the game engine, Nindev all graphics and Facebook integration Play Blox 4 Fighter at http://apps.facebook.com/bloxfourfighter/]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ndid.se/wp-content/uploads/2011/06/blox.jpg"><img src="http://www.ndid.se/wp-content/uploads/2011/06/blox.jpg" alt="" title="blox" width="635" height="300" class="alignnone size-full wp-image-566" /></a></p>
<div>Space Invaders clone coded by NDID in a fun collaboration with awesome Gothenburg based media company Nindev. NDID wrote the game engine, Nindev all graphics and Facebook integration</div>
<div><a title="Play Blox 4 Fighter at http://apps.facebook.com/bloxfourfighter/" href="http://apps.facebook.com/bloxfourfighter/" target="_blank">Play Blox 4 Fighter at http://apps.facebook.com/bloxfourfighter/</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ndid.se/2011/06/blox-4-fighter-facebook-game/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
