<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.2" -->
<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/"
	>

<channel>
	<title>Labs Jaap Kooiker AKA Flashcoders - Flash, Flex, AIR, IPhone</title>
	<link>http://jaapkooiker.nl/blog</link>
	<description>Flash, Flex, AIR, IPhone</description>
	<pubDate>Wed, 09 Dec 2009 22:17:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
	<language>en</language>
			<item>
		<title>European Border Breakers Awards</title>
		<link>http://jaapkooiker.nl/blog/2009/12/08/european-border-breakers-awards/</link>
		<comments>http://jaapkooiker.nl/blog/2009/12/08/european-border-breakers-awards/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 11:13:04 +0000</pubDate>
		<dc:creator>Jaap Kooiker</dc:creator>
		
		<category><![CDATA[Actionscript 3.0]]></category>

		<category><![CDATA[Interaction Design]]></category>

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

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

		<category><![CDATA[European Border Breakers Awards]]></category>

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

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

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

	<!-- AutoMeta Start -->
	<category>ebba</category>
	<category>site</category>
	<category>europeanborderbreakersawards</category>
	<category>developer</category>
	<category>sites</category>
	<category>turned</category>
	<category>combination</category>
	<category>opportunity</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://jaapkooiker.nl/blog/2009/12/08/european-border-breakers-awards/</guid>
		<description><![CDATA[What&#8217;s new?
I finished working on a new partially flash website for EBBA (European Border Breakers Awards).
The site is nice combination between flash and HTML.
I must say it was really fun to do and I hope I get more opportunities to work on projects like this one!
Check out the result at : EBBA
(Only &#8220;Home&#8221; and &#8220;The [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://jaapkooiker.nl/blog/wp-content/ebba_logo.jpg' title='Ebba Logo'><img src='http://jaapkooiker.nl/blog/wp-content/ebba_logo.jpg' alt='Ebba Logo' align='left' /></a>What&#8217;s new?</p>
<p>I finished working on a new partially flash website for EBBA (European Border Breakers Awards).<br />
The site is nice combination between flash and HTML.</p>
<p>I must say it was really fun to do and I hope I get more opportunities to work on projects like this one!</p>
<p>Check out the result at : <a href="http://www.europeanborderbreakersawards.eu">EBBA</a></p>
<p>(Only &#8220;<a href="http://www.europeanborderbreakersawards.eu/">Home</a>&#8221; and &#8220;<a href="http://www.europeanborderbreakersawards.eu/the-winners.html">The winners</a>&#8221; are flash)</p>
]]></content:encoded>
			<wfw:commentRss>http://jaapkooiker.nl/blog/2009/12/08/european-border-breakers-awards/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Watwiljijmetwiet.nl wins Preffi-prijs 2009 (Dutch)</title>
		<link>http://jaapkooiker.nl/blog/2009/01/30/watwiljijmetwietnl-wins-preffi-prijs-2009-dutch/</link>
		<comments>http://jaapkooiker.nl/blog/2009/01/30/watwiljijmetwietnl-wins-preffi-prijs-2009-dutch/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 08:26:03 +0000</pubDate>
		<dc:creator>Jaap Kooiker</dc:creator>
		
		<category><![CDATA[Actionscript 3.0]]></category>

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

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

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

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

	<!-- AutoMeta Start -->
	<category>2009</category>
	<category>watwiljijmetwiet</category>
	<category>prijs</category>
	<category>preffi</category>
	<category>voor</category>
	<category>vooral</category>
	<category>jongeren</category>
	<category>problematisch</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://jaapkooiker.nl/blog/2009/01/30/watwiljijmetwietnl-wins-preffi-prijs-2009-dutch/</guid>
		<description><![CDATA[The website Watwiljijmetwiet.nl (Dutch) from Tactus Verslavingszorg has won the Preffi-prijs 2009. theFactor.e has developed this website and I was one of the lead Flex developers.
Watwiljijmetwiet.nl is a site for prevention and decreasing of problematic cannabis usage. The site is mainly targeting people between 16 and 25 years of age. Watwiljijmetwiet.nl offers information, tips, but [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://jaapkooiker.nl/blog/wp-content/banner_wiet.jpg" alt="WWJMW" align="left" />The website <a href="http://www.watwiljijmetwiet.nl" target="_blank" />Watwiljijmetwiet.nl</a> (Dutch) from <a href="http://www.tactus.nl" target="_blank">Tactus Verslavingszorg</a> has won the <a href="http://www.nigz.nl/index.cfm?act=actueel.persitem&#038;id=379" target="_blank">Preffi-prijs 2009</a>. <a href="http://www.tfe.nl" target="_blank">theFactor.e</a> has developed this website and I was one of the lead Flex developers.</p>
<p>Watwiljijmetwiet.nl is a site for prevention and decreasing of problematic cannabis usage. The site is mainly targeting people between 16 and 25 years of age. Watwiljijmetwiet.nl offers information, tips, but mainly a selftest and selfhelpprogram. Last year there where about 220.000 people using cannabis in the Netherlands. </p>
<p>The Preffi-prijs 2009 is an initiative of <a href="http://nigz.nl/" target="_blank">NIGZ</a> and is handed out to the most promising project in the area of healthcare and illnessprevention.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaapkooiker.nl/blog/2009/01/30/watwiljijmetwietnl-wins-preffi-prijs-2009-dutch/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Adobe UserGroup Netherlands: Tactive presentation</title>
		<link>http://jaapkooiker.nl/blog/2009/01/28/adobe-usergroup-netherlands-tactive-presentation/</link>
		<comments>http://jaapkooiker.nl/blog/2009/01/28/adobe-usergroup-netherlands-tactive-presentation/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 07:47:22 +0000</pubDate>
		<dc:creator>Jaap Kooiker</dc:creator>
		
		<category><![CDATA[Addictions]]></category>

		<category><![CDATA[Did you know?]]></category>

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

		<category><![CDATA[Social networking]]></category>

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

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

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

	<!-- AutoMeta Start -->
	<category>tactive</category>
	<category>presented</category>
	<category>consultant</category>
	<category>nuijten</category>
	<category>senior</category>
	<category>joost</category>
	<category>wednesday</category>
	<category>platform</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://jaapkooiker.nl/blog/2009/01/28/adobe-usergroup-netherlands-tactive-presentation/</guid>
		<description><![CDATA[Last Wednesday our Senior Rich Internet Consultant aka Joost Nuijten has presented the Tactive platform (see my previous post) at the Adobe Usergroup Netherlands.
You can watch it here : Tactive presentation (Dutch)
]]></description>
			<content:encoded><![CDATA[<p>Last Wednesday our Senior Rich Internet Consultant aka Joost Nuijten has presented the Tactive platform (see my previous post) at the Adobe Usergroup Netherlands.<br />
You can watch it here : <a href="http://adobeusergroup.dev.react.nl/forum.php/list_messages/206">Tactive presentation</a> (Dutch)</p>
]]></content:encoded>
			<wfw:commentRss>http://jaapkooiker.nl/blog/2009/01/28/adobe-usergroup-netherlands-tactive-presentation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What have I been up to lately: Tactive showcase</title>
		<link>http://jaapkooiker.nl/blog/2008/12/11/what-have-i-been-up-to-lately-tactive-showcase/</link>
		<comments>http://jaapkooiker.nl/blog/2008/12/11/what-have-i-been-up-to-lately-tactive-showcase/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 09:33:54 +0000</pubDate>
		<dc:creator>Jaap Kooiker</dc:creator>
		
		<category><![CDATA[Actionscript 3.0]]></category>

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

		<category><![CDATA[Did you know?]]></category>

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

		<category><![CDATA[Interaction Design]]></category>

		<category><![CDATA[actionscript 3]]></category>

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

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

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

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

	<!-- AutoMeta Start -->
	<category>treatment</category>
	<category>alcohol</category>
	<category>platform</category>
	<category>client</category>
	<category>afbeelding</category>
	<category>counselor</category>
	<category>tactive</category>
	<category>addictions</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://jaapkooiker.nl/blog/2008/12/11/what-have-i-been-up-to-lately-tactive-showcase/</guid>
		<description><![CDATA[Last year at TFE we (Gerben and I) have been working on a project called Tactive. It’s an online platform for treatment of addictions. This platform is a replacement for the already existing treatment for an alcohol addiction. It seems to be easier for people to sign up for a treatment online rather than meeting [...]]]></description>
			<content:encoded><![CDATA[<p>Last year at <a href="http://www.tfe.nl">TFE</a> we (<a href="http://labs.gerbenrobijn.nl">Gerben</a> and I) have been working on a project called Tactive. It’s an online platform for treatment of addictions. This platform is a replacement for the already existing treatment for an alcohol addiction. It seems to be easier for people to sign up for a treatment online rather than meeting an expert face to face. </p>
<p>The platform is build generic and can be extended for other addictions but the first release is for an alcohol addiction. The platform consists of seven Flex applications, from these applications the client uses three. The other applications are used by counselors and administrators. </p>
<p><strong>The Clientapplication</strong></p>
<p>Via this application the client communicates with the counselor. The counselor can send assignments which help the client to complete the treatment. From this application the diary and help can be openend.</p>
<p><a href="http://jaapkooiker.nl/blog/wp-content/clientapplication.png"><img src="http://jaapkooiker.nl/blog/wp-content/clientapplication450.png" alt="Client application" /></a></p>
<p><strong>The Diary</strong></p>
<p>During the treatment a client can fill in his alcohol consumption. Also the counselor can monitor the drinking habit and set a drinking target for the clients.</p>
<p><a href="http://jaapkooiker.nl/blog/wp-content/diary_overzicht.png"><img src="http://jaapkooiker.nl/blog/wp-content/diary_overzicht450.png" alt="Diary overview" /></a></p>
<p>Via the moment description panel a client can describe what he was feeling and why they wanted to drink.</p>
<p><a href="http://jaapkooiker.nl/blog/wp-content/diary_moment.png"><img src="http://jaapkooiker.nl/blog/wp-content/diary_moment450.png" alt="Diary moment description" /></a></p>
<p>The other applications which are used by administrators and counselors are used for administration and maintainability. </p>
<p><strong>Tips</strong></p>
<p>Define your stylesheets beforehand! Doing this after a couple of months without any good structure in the beginning isn’t  the best thing to do.</p>
<p>We learned a lot about security. Medical information has the highest privacy rating so it needs to be kept as save as possible.</p>
<p>We used subversion and cruisecontrol on a remote server to develop and deploy our project with ease.</p>
<p>Potential clients can sign up via a website called <a href="http://www.alcoholdebaas.nl">alcoholdebaas.nl</a> (alcohol treatment [dutch]) . </p>
]]></content:encoded>
			<wfw:commentRss>http://jaapkooiker.nl/blog/2008/12/11/what-have-i-been-up-to-lately-tactive-showcase/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My first game: Shoot The Bubbles</title>
		<link>http://jaapkooiker.nl/blog/2008/11/17/my-first-game-shoot-the-bubbles/</link>
		<comments>http://jaapkooiker.nl/blog/2008/11/17/my-first-game-shoot-the-bubbles/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 21:22:22 +0000</pubDate>
		<dc:creator>Jaap Kooiker</dc:creator>
		
		<category><![CDATA[Actionscript 3.0]]></category>

		<category><![CDATA[Flash CS3]]></category>

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

		<category><![CDATA[Shoot The Bubbles]]></category>

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

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

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

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

	<!-- AutoMeta Start -->
	<category>game</category>
	<category>bubbles</category>
	<category>games</category>
	<category>effect</category>
	<category>shoot</category>
	<category>experience</category>
	<category>concentrate</category>
	<category>groups</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://jaapkooiker.nl/blog/2008/11/17/my-first-game-shoot-the-bubbles/</guid>
		<description><![CDATA[Today is the day I released my FIRST FLASH GAME EVER! Normally I create RIAs and this is something way different but it is interesting and especially fun to do.
First of all I know that there are more games like this one, but I like it very much and that&#8217;s why I chose this one [...]]]></description>
			<content:encoded><![CDATA[<p>Today is the day I released my FIRST FLASH GAME EVER! Normally I create RIAs and this is something way different but it is interesting and especially fun to do.<br />
First of all I know that there are more games like this one, but I like it very much and that&#8217;s why I chose this one to make.<br />
 <a href="http://jaapkooiker.nl/blog/2008/11/17/my-first-game-shoot-the-bubbles/#more-81" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jaapkooiker.nl/blog/2008/11/17/my-first-game-shoot-the-bubbles/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flickrbabes in the AIR Desktop Application</title>
		<link>http://jaapkooiker.nl/blog/2008/09/11/flickrbabes-in-the-air-desktop-application/</link>
		<comments>http://jaapkooiker.nl/blog/2008/09/11/flickrbabes-in-the-air-desktop-application/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 17:44:10 +0000</pubDate>
		<dc:creator>Jaap Kooiker</dc:creator>
		
		<category><![CDATA[AIR]]></category>

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

		<category><![CDATA[Flash CS3]]></category>

		<category><![CDATA[Social networking]]></category>

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

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

	<!-- AutoMeta Start -->
	<category>created</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://jaapkooiker.nl/blog/2008/09/11/flickrbabes-in-the-air-desktop-application/</guid>
		<description><![CDATA[Sorry to say that FlickrBabes.com is still off the air
So, it&#8217;s been a while&#8230;
To make it up to you I asked myself the following question:
What is interesting for them and me. 
Obvious AIR is something interesting to play with, and (maybe you know it) www.flickrbabes.com is interesting to. Seems to be a perfect match! Therefore [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Sorry to say that FlickrBabes.com is still off the air</strong></p>
<p>So, it&#8217;s been a while&#8230;<br />
To make it up to you I asked myself the following question:<br />
<em>What is interesting for them and me. </em></p>
<p>Obvious AIR is something interesting to play with, and (maybe you know it) www.flickrbabes.com is interesting to. Seems to be a perfect match! Therefore I created an AIR application which shows you your daily dosis of <a href="http://flickrbabes.com">FlickrBabes</a>. And to make sure you don&#8217;t forget it, it has the option to start at login!</p>
<p>It will probably have some issues (hope not) and because it seems to be a trend to release everything in BETA, I will do it to. Here&#8217;s Flickrbabes in the AIR app BETA :P<br />
<img src="http://jaapkooiker.nl/blog/wp-content/flickrbabesairapp.png" alt="Flickrbabes in the AIR Application" border="0" /></p>
<p><del>In the sidebar there&#8217;s an automated installer !</del> While FB is offline I decided to remove it.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaapkooiker.nl/blog/2008/09/11/flickrbabes-in-the-air-desktop-application/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rediscover funky particles</title>
		<link>http://jaapkooiker.nl/blog/2008/04/04/rediscover-funky-particles/</link>
		<comments>http://jaapkooiker.nl/blog/2008/04/04/rediscover-funky-particles/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 13:55:22 +0000</pubDate>
		<dc:creator>Jaap Kooiker</dc:creator>
		
		<category><![CDATA[Actionscript 3.0]]></category>

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

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

		<category><![CDATA[actionscript 3]]></category>

	<!-- AutoMeta Start -->
	<category>particle</category>
	<category>decided</category>
	<category>today</category>
	<category>experiments</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://jaapkooiker.nl/blog/2008/04/04/rediscover-funky-particles/</guid>
		<description><![CDATA[Today I decided to do a few funky particle experiments. This is what I came up with. The&#8217;re relatively simple to make, but the result is fantastic. Click on the images to see the real deal. Maybe next week I create some kind of an interface to change the properties at realtime&#8230;Lookin&#8217; forward to that [...]]]></description>
			<content:encoded><![CDATA[<p>Today I decided to do a few funky particle experiments. This is what I came up with. The&#8217;re relatively simple to make, but the result is fantastic. Click on the images to see the real deal. Maybe next week I create some kind of an interface to change the properties at realtime&#8230;Lookin&#8217; forward to that already&#8230;.<br />
<a href="http://jaapkooiker.nl/test/experiments/particles/exp1/" target="_blank"><img src="http://jaapkooiker.nl/blog/wp-content/particles_1.png" alt="Particles part 1" /></a><br />
<a href="http://jaapkooiker.nl/test/experiments/particles/exp2/" target="_blank"><img src="http://jaapkooiker.nl/blog/wp-content/particles_2.png" alt="Particles part 2" /></a><br />
<a href="http://jaapkooiker.nl/test/experiments/particles/exp3/" target="_blank"><img src="http://jaapkooiker.nl/blog/wp-content/particles_3.png" alt="Particles part 3" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://jaapkooiker.nl/blog/2008/04/04/rediscover-funky-particles/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Experiment : Create in Cinema4D and finish in Flash</title>
		<link>http://jaapkooiker.nl/blog/2008/03/26/experiment-create-in-cinema4d-and-finish-in-flash/</link>
		<comments>http://jaapkooiker.nl/blog/2008/03/26/experiment-create-in-cinema4d-and-finish-in-flash/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 13:03:37 +0000</pubDate>
		<dc:creator>Jaap Kooiker</dc:creator>
		
		<category><![CDATA[3D]]></category>

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

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

		<category><![CDATA[Flash CS3]]></category>

		<category><![CDATA[Flash Video]]></category>

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

	<!-- AutoMeta Start -->
	<category>timeline</category>
	<category>cinema4d</category>
	<category>practice</category>
	<category>sphere</category>
	<category>video</category>
	<category>made</category>
	<category>simple</category>
	<category>created</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://jaapkooiker.nl/blog/2008/03/26/experiment-create-in-cinema4d-and-finish-in-flash/</guid>
		<description><![CDATA[I wanted to combine the power of Cinema4D and Flash (in a relatively short period) and see what happens. 
I started to create a simple 'lava planet' in Cinema4D, made a video of it and put it on the timeline in flash (I know on the timeline is not a best practice but it will [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to combine the power of Cinema4D and Flash (in a relatively short period) and see what happens. </p>
<p>I started to create a simple 'lava planet' in Cinema4D, made a video of it and put it on the timeline in flash (I know on the timeline is not a best practice but it will do for now). Next I came up with a nice effect with dynamic particles and decided to get lava pouring out of the sphere.<br />
<strong>What it does:</strong><br />
<em>- Every frame</em><br />
1. It creates a bitmap of the video.<br />
2. It "reads" every pixel (of the bitmap) and looks for a specific color range.<br />
3. When there's a pixel located, a new particle is added.<br />
4. The particle starts to live its own life untill it reaches a specific y value and dies.<br />
5. From all the particles one bitmap is created<br />
6. Put some filters on the particles bitmap.<br />
7. Place the particles bitmap on top of the video and your done.</p>
<p>
<object type="application/x-shockwave-flash" style="width: 448px; height: 386px;" data="http://jaapkooiker.nl/test/experiments/lava/ball_of_lava.swf">
<param name="quality" value="best" />
<param name="wmode" value="transparent" />
<param name="movie" value="http://jaapkooiker.nl/test/experiments/lava/ball_of_lava.swf" />
<param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />
</object>
<br/>
<!-- Valid XHTML video object delivered by XHTML Video Embed. Get it at: http://saltwaterc.net/xhtml-video-embed -->
</p>
]]></content:encoded>
			<wfw:commentRss>http://jaapkooiker.nl/blog/2008/03/26/experiment-create-in-cinema4d-and-finish-in-flash/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cinema4D here I come&#8230;</title>
		<link>http://jaapkooiker.nl/blog/2008/03/21/cinema4d-here-i-come/</link>
		<comments>http://jaapkooiker.nl/blog/2008/03/21/cinema4d-here-i-come/#comments</comments>
		<pubDate>Fri, 21 Mar 2008 11:16:04 +0000</pubDate>
		<dc:creator>Jaap Kooiker</dc:creator>
		
		<category><![CDATA[3D]]></category>

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

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://jaapkooiker.nl/blog/2008/03/21/cinema4d-here-i-come/</guid>
		<description><![CDATA[The last couple of days I spend some time working with Cinema4D. I think it's really great.
I just started to do 3d stuff (remember http://totallosameland.nl) and I'm still a long way from perfect, but I decided to place some of the renderers. Tell me what you think...
FCS Sphere

Volumetric Light

Sword (updated)

That's it for now....
]]></description>
			<content:encoded><![CDATA[<p>The last couple of days I spend some time working with Cinema4D. I think it's really great.<br />
I just started to do 3d stuff <em>(remember <a href="http://totallosameland.nl">http://totallosameland.nl</a>)</em> and I'm still a long way from perfect, but I decided to place some of the renderers. Tell me what you think...</p>
<p>FCS Sphere<br />
<img src="http://jaapkooiker.nl/blog/wp-content/fcs_sphere.jpg" /></p>
<p>Volumetric Light<br />
<img src="http://jaapkooiker.nl/blog/wp-content/volumetric_light.jpg" /></p>
<p>Sword (updated)<br />
<img src="http://jaapkooiker.nl/blog/wp-content/sword_medium.jpg" /></p>
<p>That's it for now....</p>
]]></content:encoded>
			<wfw:commentRss>http://jaapkooiker.nl/blog/2008/03/21/cinema4d-here-i-come/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Why SOMETIMES &#8230; (String == Number) &#8230;.</title>
		<link>http://jaapkooiker.nl/blog/2008/03/10/why-sometimes-isnanstring-number/</link>
		<comments>http://jaapkooiker.nl/blog/2008/03/10/why-sometimes-isnanstring-number/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 10:21:25 +0000</pubDate>
		<dc:creator>Jaap Kooiker</dc:creator>
		
		<category><![CDATA[Actionscript 2.0]]></category>

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

		<category><![CDATA[Flash 8]]></category>

		<category><![CDATA[Flash CS3]]></category>

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

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

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

	<!-- AutoMeta Start -->
	<category>true</category>
	<category>trace</category>
	<category>explainable</category>
	<category>yesterday</category>
	<category>encountered</category>
	<category>weird</category>
	<category>problem</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://jaapkooiker.nl/blog/2008/03/10/why-sometimes-isnanstring-number/</guid>
		<description><![CDATA[So I encountered a really weird, but probably "explainable" problem in AS2 yesterday.
We all know that
trace("200.1" == 200.1)  //true
and
trace("200.2" == 200.2)  //true
trace("200.3" == 200.3)  //true

trace("200.81" == 200.81)  //true
trace("200.81" != 200.81)  //false

This above works fine...but the following is what scares me the most....
trace("200.82" == 200.82)  //false
Why the hell is the [...]]]></description>
			<content:encoded><![CDATA[<p>So I encountered a really weird, but probably "explainable" problem in AS2 yesterday.<br />
We all know that<br />
<code>trace("200.1" == 200.1)  //true</code><br />
and<br />
<code>trace("200.2" == 200.2)  //true<br />
trace("200.3" == 200.3)  //true</code><br />
<code><br />
trace("200.81" == 200.81)  //true<br />
trace("200.81" != 200.81)  //false<br />
</code></p>
<p>This above works fine...but the following is what scares me the most....<br />
<code>trace("200.82" == 200.82)  //false</code><br />
Why the hell is the above false ???? And the really weird thing is<br />
<code>trace("200.82" != 200.82)  //false</code><br />
also false ???<br />
So... it is <strong>NOT</strong> the same <em>and</em> it is <strong>NOT NOT</strong> the same?...wtf is it. AS doesn't seem to know what it is.</p>
<p>Ok, bear with me a second. The following:<br />
<code><br />
trace("200.83" == 200.83)  //true<br />
trace("200.83" != 200.83)  //false<br />
</code><br />
...that seems alright</p>
<p>At this point, I tried to make some sense of it and applied the following rules....<br />
If a string has one decimal....it turns out to work fine...<br />
If a string has two decimals....it only works fine if the last digit is uneven...</p>
<p>The next thing to check is a string with three decimals and...there seems to be a <strong>different stupid rule</strong> here...check...</p>
<p><code>trace("200.811" == 200.811)  //true<br />
trace("200.811" != 200.811)  //false</p>
<p>trace("200.812" == 200.812)  //true (should be false according to last "rules")<br />
trace("200.812" != 200.812)  //false<br />
</code></p>
<p>Hmmm, it seems that we can erase the above rules from our head. It works fine at this point...what is that about?</p>
<p>One more sample...the second decimal after decimal point is an even digit.</p>
<p><code>trace("200.821" == 200.821)  //false<br />
trace("200.821" != 200.821)  //false</p>
<p>trace("200.822" == 200.822)  //false<br />
trace("200.822" != 200.822)  //false<br />
</code></p>
<p>Oh my god.....the second digit after decimal point is even and it is always false?? I can't seem to make sense of it....sorry...<br />
I can probably go on and on with more samples (four / five / etc. decimal digits) but the point is clear....it's fucked.</p>
<p>If I trace typeof, it all seems to be a Number</p>
<p>trace(typeof(parseFloat("200.81")))  //number<br />
trace(typeof(parseFloat("200.82")))  //number<br />
trace(typeof(parseFloat("200.821")))  //number</p>
<p>Converting the String to a Number or use parseFloat doesn't work....so don't bother trying. </p>
<p>Maybe it has something (the way it parses a string to a number or visa versa) to do with rounding Numbers...<a href="http://blog.justgreat.nl/2007/12/20/013-030000000000000004/">see what Arno has to say</a>...</p>
<p>Jaap</p>
]]></content:encoded>
			<wfw:commentRss>http://jaapkooiker.nl/blog/2008/03/10/why-sometimes-isnanstring-number/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
