<?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>Randomize Everything</title>
	<atom:link href="http://www.bartclaessens.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bartclaessens.com</link>
	<description>and create the perfect world!</description>
	<lastBuildDate>Thu, 07 Jan 2010 21:53:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Quicktip #6: fixing the cut off character on embedded-font-textfields</title>
		<link>http://www.bartclaessens.com/2010/01/07/quicktip-6-fixing-the-cut-off-character-on-embedded-font-textfields/</link>
		<comments>http://www.bartclaessens.com/2010/01/07/quicktip-6-fixing-the-cut-off-character-on-embedded-font-textfields/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 21:50:42 +0000</pubDate>
		<dc:creator>Bart Claessens</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[QuickTips]]></category>
		<category><![CDATA[failing width calculation]]></category>
		<category><![CDATA[font embedding]]></category>
		<category><![CDATA[quicktip]]></category>
		<category><![CDATA[textfield autosize]]></category>

		<guid isPermaLink="false">http://www.bartclaessens.com/?p=191</guid>
		<description><![CDATA[As we all know, Flash has these crazy bugs nobody ever understands. One of those is the fact that the last character of a dynamic textfield (which has been set to &#8220;AutoSize&#8221;) gets cut off when you&#8217;re using an embedded font. Up till now I still don&#8217;t understand what kind of situation leads to this [...]]]></description>
			<content:encoded><![CDATA[<p>As we all know, Flash has these crazy bugs nobody ever understands. One of those is the fact that the last character of a dynamic textfield (which has been set to &#8220;AutoSize&#8221;) gets cut off when you&#8217;re using an embedded font. Up till now I still don&#8217;t understand what kind of situation leads to this exceptional behavior. The only thing I can say is that Flash Player fails to determine the correct text length which screws up the textfield width to be shorter than it has to be.</p>
<p>Example:<br />
<div id="attachment_193" class="wp-caption alignnone" style="width: 261px"><a href="http://www.bartclaessens.com/wp-content/uploads/2010/01/blurredchars.jpg" rel="lightbox[191]"><img src="http://www.bartclaessens.com/wp-content/uploads/2010/01/blurredchars.jpg" alt="Blurred/Cut Off Characters" title="Blurred Characters" width="251" height="53" class="size-full wp-image-193" /></a><p class="wp-caption-text">Blurred/Cut Off Characters</p></div><br />
<span id="more-191"></span><br />
<br/><br />
A quicktip post wouldn&#8217;t be a quicktip post without a solution. So, here&#8217;s one of the tricks you might give a go: increase the rightMargin property of the TextField to a small value like 1 or 2.</p>

<div class="wp_syntax"><div class="code"><pre class="as3" style="font-family:monospace;">var textFormat:TextFormat = new TextFormat();
textFormat.rightMargin = 1;	
&nbsp;
textField.antiAliasType = AntiAliasType.ADVANCED;
textField.gridFitType = GridFitType.SUBPIXEL;
textField.embedFonts = true;			
textField.autoSize = TextFieldAutoSize.CENTER;
textField.defaultTextFormat = textFormat;
textField.setTextFormat(textFormat);</pre></div></div>

<p>Hope this helps!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bartclaessens.com%2F2010%2F01%2F07%2Fquicktip-6-fixing-the-cut-off-character-on-embedded-font-textfields%2F&amp;linkname=Quicktip%20%236%3A%20fixing%20the%20cut%20off%20character%20on%20embedded-font-textfields"><img src="http://www.bartclaessens.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bartclaessens.com/2010/01/07/quicktip-6-fixing-the-cut-off-character-on-embedded-font-textfields/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Amphion, my new love &#8211; and she&#8217;s hot indeed</title>
		<link>http://www.bartclaessens.com/2010/01/07/amphion-my-new-love-and-she-s-hot-indeed/</link>
		<comments>http://www.bartclaessens.com/2010/01/07/amphion-my-new-love-and-she-s-hot-indeed/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 23:53:30 +0000</pubDate>
		<dc:creator>Bart Claessens</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[amphion]]></category>
		<category><![CDATA[coca cola]]></category>
		<category><![CDATA[cool]]></category>
		<category><![CDATA[exciting projects]]></category>
		<category><![CDATA[swithing jobs]]></category>

		<guid isPermaLink="false">http://www.bartclaessens.com/?p=184</guid>
		<description><![CDATA[I&#8217;ve been with my new love for three weeks now and it feels like it&#8217;s going to be a healthy marriage for a long time. We both respect each other&#8217;s opinion about web related stuff and have good make up sex when things go off the right track.
Ok, a bit more serious now: I felt [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been with my new love for three weeks now and it feels like it&#8217;s going to be a healthy marriage for a long time. We both respect each other&#8217;s opinion about web related stuff and have good make up sex when things go off the right track.</p>
<p>Ok, a bit more serious now: I felt the need to change jobs because I needed to do more creative work and concentrate on the things that really matter to me: good atmosphere, cool people and challenging projects in a loose and respected environment. Since my previous employer didn&#8217;t really offer high levels of these essential potions, I had to find a company that actually did. </p>
<p>Without looking too far, I accidentally stumbled upon a company called Amphion, located on a ten minutes walk from my new apartment in Antwerp. It&#8217;s one of those companies that sniffs around here and there, keeping an eye out for creative and brain twisted people and allowing them to do what they&#8217;re good at: being crazy in any possible way! Since this is a motive I can but only encourage, Amphion seemed to be the right pick for me. </p>
<p>So I began working at their office in december 2009 as a lead developer on the new Coca Cola (Belgium) campaign website for the first quarter of 2010. I certainly hope that these kind of projects keep coming their (and my) way, not only to keep me busy for some time but also to fill this blog with cool shizzle and programming problems I encounter and have to find a solution for.<br />
Summarized: I.learn() == you.learn().</p>
<p>Say no more? Ok, you&#8217;re right: <a href="http://www.amphion.be/" target="_blank">www.amphion.be</a> should convince (opens in a new browser window/tab).</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bartclaessens.com%2F2010%2F01%2F07%2Famphion-my-new-love-and-she-s-hot-indeed%2F&amp;linkname=Amphion%2C%20my%20new%20love%20%26%238211%3B%20and%20she%26%238217%3Bs%20hot%20indeed"><img src="http://www.bartclaessens.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bartclaessens.com/2010/01/07/amphion-my-new-love-and-she-s-hot-indeed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quicktip #5: int is faster than uint</title>
		<link>http://www.bartclaessens.com/2009/06/15/quicktip-5-int-is-faster-than-uint/</link>
		<comments>http://www.bartclaessens.com/2009/06/15/quicktip-5-int-is-faster-than-uint/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 08:35:59 +0000</pubDate>
		<dc:creator>Bart Claessens</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[QuickTips]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[actionscript performance]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[Number]]></category>
		<category><![CDATA[performance gains]]></category>
		<category><![CDATA[uint]]></category>

		<guid isPermaLink="false">http://www.bartclaessens.com/?p=177</guid>
		<description><![CDATA[The past few weeks I&#8217;ve been programming a scheduling component in Flash which has to be extremely performant. Every small adaption in my code that could help with limiting the processing needs is a good adaption. Today I stumbled upon a post of Grant Skinner in which he explains that using a uint is slower [...]]]></description>
			<content:encoded><![CDATA[<p>The past few weeks I&#8217;ve been programming a scheduling component in Flash which has to be extremely performant. Every small adaption in my code that could help with limiting the processing needs is a good adaption. Today I stumbled upon a post of Grant Skinner in which he explains that using a uint is slower than a normal int. The uint&#8217;s can get five times slower than using a normal int. </p>
<p><span id="more-177"></span></p>
<p>So, what about the Number type? Well, I thought the Number type was a very slow type compared to the new int and uint but that also didn&#8217;t seem to be right!</p>
<blockquote><p>
Sho just posted a really interested article on why he won&#8217;t be using the int data type very frequently in ActionScript 3. Up until reading it, I had believed that as in other languages, there were large performance benefits to using ints and uints appropriately in AS3. Turns out that isn&#8217;t the case.</p>
<p>I did some quick testing on this, which confirm Sho&#8217;s assertion that int is only slightly faster than Number in ideal circumstances, but the results from uint were much more surprising.
</p></blockquote>
<p>Read the complete post here: <a href="http://www.gskinner.com/blog/archives/2006/06/types_in_as3_in.html">gskinner.com</a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bartclaessens.com%2F2009%2F06%2F15%2Fquicktip-5-int-is-faster-than-uint%2F&amp;linkname=Quicktip%20%235%3A%20int%20is%20faster%20than%20uint"><img src="http://www.bartclaessens.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bartclaessens.com/2009/06/15/quicktip-5-int-is-faster-than-uint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Time Tracker: easy task tracking</title>
		<link>http://www.bartclaessens.com/2009/05/01/time-tracker-easy-task-tracking/</link>
		<comments>http://www.bartclaessens.com/2009/05/01/time-tracker-easy-task-tracking/#comments</comments>
		<pubDate>Fri, 01 May 2009 16:20:13 +0000</pubDate>
		<dc:creator>Bart Claessens</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Air]]></category>
		<category><![CDATA[Project Management]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Adobe Air]]></category>
		<category><![CDATA[clock]]></category>
		<category><![CDATA[lagging timer]]></category>
		<category><![CDATA[scrum]]></category>
		<category><![CDATA[steadytimer]]></category>
		<category><![CDATA[time task]]></category>
		<category><![CDATA[timer]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.bartclaessens.com/?p=134</guid>
		<description><![CDATA[Today I made a small Adobe Air application to track time on different kind of tasks while developing.
Time tracker can come in handy when you want to know the exact time you were working on a specific task. I felt in need of application like this to compare my project estimates with the real time [...]]]></description>
			<content:encoded><![CDATA[<p>Today I made a small Adobe Air application to track time on different kind of tasks while developing.</p>
<p>Time tracker can come in handy when you want to know the exact time you were working on a specific task. I felt in need of application like this to compare my project estimates with the real time I spent on that particular project. As you know sometimes a developer has to go to the bathroom, take a small nap or refill his <del datetime="2009-05-04T21:09:59+00:00">coke</del> coffee level. Time tracker allows you to pause development time and resume it when you are back and ready to rock your keyboards buttons off!</p>
<p><span id="more-134"></span></p>
<p>A little bit about the application itself: this is my first Adobe Air application, I made it in the Flash IDE and compiled it against the Adobe Air 1.5 runtime. Many thanks to <a href="http://www.novio.be/blog/">Hans Van de Velde</a> for his <a href="http://www.novio.be/blog/?p=564">SteadyTimer class</a>. The SteadyTimer class fixes the lagging problem of the AS3 Timer class.</p>
<p>I hope you guys enjoy it and if you have any cool ideas to make it even better, let me know.<br />
Please mind that this is only the first version. It still needs some extra work because it doesn&#8217;t check for user input and stuff like that.</p>
<p>Download the .air installer: <a href='http://www.bartclaessens.com/wp-content/uploads/2009/05/timetracker_bin.zip'>here</a> (you&#8217;ll need <a href="http://get.adobe.com/air/">Adobe Air 1.5 runtime</a>)<br />
Download the sources: <a href='http://www.bartclaessens.com/wp-content/uploads/2009/05/timetracker_src.zip'>here</a></p>
<p>Screenshot:<br />
<div id="attachment_136" class="wp-caption alignnone" style="width: 409px"><img class="size-full wp-image-136" title="Time Tracker" src="http://www.bartclaessens.com/wp-content/uploads/2009/05/picture-1.png" alt="Time Tracker" width="399" height="288" /><p class="wp-caption-text">Time Tracker</p></div></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bartclaessens.com%2F2009%2F05%2F01%2Ftime-tracker-easy-task-tracking%2F&amp;linkname=Time%20Tracker%3A%20easy%20task%20tracking"><img src="http://www.bartclaessens.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bartclaessens.com/2009/05/01/time-tracker-easy-task-tracking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ClearSpring: sharing widgets made simple</title>
		<link>http://www.bartclaessens.com/2009/03/20/clearspring-sharing-widgets-made-simple/</link>
		<comments>http://www.bartclaessens.com/2009/03/20/clearspring-sharing-widgets-made-simple/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 12:28:36 +0000</pubDate>
		<dc:creator>Bart Claessens</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Platforms]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[clearspring]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[myspace]]></category>
		<category><![CDATA[netlog]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[sharing]]></category>
		<category><![CDATA[social network]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.bartclaessens.com/?p=124</guid>
		<description><![CDATA[Today I had the chance to create my first real Internet-widget in Flash. Since this was (and still is) a new topic to me, I asked a few colleagues how they develop and share widgets. One thing popped up quite immediately: use ClearSpring!
ClearSpring is a platform you can use to manage, distribute and analyze your [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had the chance to create my first real Internet-widget in Flash. Since this was (and still is) a new topic to me, I asked a few colleagues how they develop and share widgets. One thing popped up quite immediately: use ClearSpring!</p>
<p>ClearSpring is a platform you can use to manage, distribute and analyze your widgets. The cool thing about it: it&#8217;s not Flash only, you can even use it for normal html-widgets.</p>
<p><span id="more-124"></span></p>
<p>What it actually does: it creates a kind of wrapper around your Flash or HTML widget to add extra functionality. One of the most important features is that you can share your widget around the whole social landscape out there. A few other pro&#8217;s are:<br />
- Search engine optimization<br />
- Analytics<br />
- Skinnable menu&#8217;s<br />
- One-click-widget-distribution</p>
<p>So, if you are a widget developer, you definitely have to check out this platform!<br />
Go ahead: <a href="http://www.clearspring.com" target="_blank">http://www.clearspring.com</a></p>
<p>Want to see it in action? Here&#8217;s the widget I made today:<br />
<!--[if IE]><br />
  <object width="161" height="255" type="application/x-shockwave-flash" quality="high" id="W49c38bab6a68ad7b"><param value="http://widgets.clearspring.com/o/49c37ed5a7a5e859/49c38bab6a68ad7b/49c37ed5a7a5e859/d96cb182" name="movie"/><![endif]--><br />
<!--[if !IE]><!--><br />
  <object width="161" height="255" type="application/x-shockwave-flash" id="W49c38bab6a68ad7b" data="http://widgets.clearspring.com/o/49c37ed5a7a5e859/49c38bab6a68ad7b/49c37ed5a7a5e859/d96cb182"><br />
<!--<![endif]--><param name="wmode" value="transparent"/><param name="allowScriptAccess" value="always"/><param name="allowNetworking" value="all"/></object><br />
<script type="text/javascript" src= "http://widgets.clearspring.com/o/49c37ed5a7a5e859/49c38bab6a68ad7b/49c37ed5a7a5e859/d96cb182/widget.js"></script></p>
<p><!--[if IE]><br />
  <object width="161" height="255" type="application/x-shockwave-flash" quality="high" id="W49ccc6229d5d9f42"><param value="http://widgets.clearspring.com/o/49c38b09558d7b8d/49ccc6229d5d9f42/49c38b09558d7b8d/3dd286f0" name="movie"/><![endif]--><br />
<!--[if !IE]><!--><br />
  <object width="161" height="255" type="application/x-shockwave-flash" id="W49ccc6229d5d9f42" data="http://widgets.clearspring.com/o/49c38b09558d7b8d/49ccc6229d5d9f42/49c38b09558d7b8d/3dd286f0"><br />
<!--<![endif]--><param name="wmode" value="transparent"/><param name="allowScriptAccess" value="always"/><param name="allowNetworking" value="all"/></object><br />
<script type="text/javascript" src= "http://widgets.clearspring.com/o/49c38b09558d7b8d/49ccc6229d5d9f42/49c38b09558d7b8d/3dd286f0/widget.js"></script></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bartclaessens.com%2F2009%2F03%2F20%2Fclearspring-sharing-widgets-made-simple%2F&amp;linkname=ClearSpring%3A%20sharing%20widgets%20made%20simple"><img src="http://www.bartclaessens.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bartclaessens.com/2009/03/20/clearspring-sharing-widgets-made-simple/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quicktip #4: Casting and the &#8216;as&#8217;-keyword</title>
		<link>http://www.bartclaessens.com/2009/02/15/quicktip-4-casting-and-the-as-keyword/</link>
		<comments>http://www.bartclaessens.com/2009/02/15/quicktip-4-casting-and-the-as-keyword/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 13:50:23 +0000</pubDate>
		<dc:creator>Bart Claessens</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[QuickTips]]></category>
		<category><![CDATA['as'-keyword]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[casting]]></category>

		<guid isPermaLink="false">http://www.bartclaessens.com/?p=114</guid>
		<description><![CDATA[Some of you will probably know the &#8216;as&#8217;-keyword. If not, a short explanation: 
The &#8216;as&#8217;-keyword is used to cast an object to another one. (Well it&#8217;s not exactly &#8216;casting&#8217;, if someone feels like explaining the difference between casting with the &#8216;as&#8217;-keyword or by using the class constructor, please go ahead in the comment below!).
To make [...]]]></description>
			<content:encoded><![CDATA[<p>Some of you will probably know the &#8216;as&#8217;-keyword. If not, a short explanation: </p>
<p>The &#8216;as&#8217;-keyword is used to cast an object to another one. <em>(Well it&#8217;s not exactly &#8216;casting&#8217;, if someone feels like explaining the difference between casting with the &#8216;as&#8217;-keyword or by using the class constructor, please go ahead in the comment below!).</em></p>
<p>To make it more concrete, here is an example: <span id="more-114"></span></p>

<div class="wp_syntax"><div class="code"><pre class="as3" style="font-family:monospace;">bart as Person</pre></div></div>

<p>Where &#8216;bart&#8217; is the variable and &#8216;Person&#8217; the class you want the variable to cast to.</p>
<p>Now, the trouble starts when you want to use this keyword in combination with other operators.<br />
Why? I hear you asking. Well: the &#8216;as&#8217;-keyword has a lower priority than i.e. the concatenation operator (+) in ActionScript.</p>
<p>To show you in an example:</p>

<div class="wp_syntax"><div class="code"><pre class="as3" style="font-family:monospace;">trace(&quot;Result: &quot; + bart as Person);   // The output will look like: &quot;null&quot;</pre></div></div>

<p>Hu? Yes. It actually concatinates &#8220;Result: &#8221; and bart first and than casts the whole thing to a Person object.</p>
<p>The fix is easy:</p>

<div class="wp_syntax"><div class="code"><pre class="as3" style="font-family:monospace;">trace(&quot;Result: &quot; + (bart as Person));</pre></div></div>

<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bartclaessens.com%2F2009%2F02%2F15%2Fquicktip-4-casting-and-the-as-keyword%2F&amp;linkname=Quicktip%20%234%3A%20Casting%20and%20the%20%26%238216%3Bas%26%238217%3B-keyword"><img src="http://www.bartclaessens.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bartclaessens.com/2009/02/15/quicktip-4-casting-and-the-as-keyword/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Adobe Certified Flash CS3 Developer</title>
		<link>http://www.bartclaessens.com/2009/01/29/adobe-certified-developer-flash-cs3-developer/</link>
		<comments>http://www.bartclaessens.com/2009/01/29/adobe-certified-developer-flash-cs3-developer/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 19:26:44 +0000</pubDate>
		<dc:creator>Bart Claessens</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[CS3]]></category>
		<category><![CDATA[exam]]></category>

		<guid isPermaLink="false">http://www.bartclaessens.com/?p=112</guid>
		<description><![CDATA[In times of crisis there is little few work than other busy-o-noo-we-have-to-reach-our-deadline-developer-days. 
So, there are a few useful things we can do: invest our time into new technologies or play with things (with the technology we daily use) we didn&#8217;t play with before. Mostly because we didn&#8217;t have enough time back then. The second most [...]]]></description>
			<content:encoded><![CDATA[<p>In times of crisis there is little few work than other busy-o-noo-we-have-to-reach-our-deadline-developer-days. </p>
<p>So, there are a few useful things we can do: invest our time into new technologies or play with things (with the technology we daily use) we didn&#8217;t play with before. Mostly because we didn&#8217;t have enough time back then. The second most useful thing we can do is getting a certificate for the technologies we use every day.  </p>
<p><span id="more-112"></span></p>
<p>That&#8217;s why I got myself certified for Flash CS3. The exam was made up out of 57 questions. I have to admit that the exam wasn&#8217;t a peace of cake at all, I thought it would be but some of the questions I had to answer were very complicated and about things I seldom use, like &#8216;accessibility&#8217; in Flash.<br />
I think I underestimated the exam because I have been developing Flash ActionScript 2.0 and 3.0 for about two to two and a half years. Now, this didn&#8217;t seem enough because there were a lot of questions about the Flash IDE, embedding video&#8217;s, exporting to correct formats, using the correct symbols and there specific use as Adobe intended them.</p>
<p>So, if you are considering getting a Flash CS3 certificate yourself: consider looking around for a good book with a detailed description of the complete Flash IDE and a few basics of the ActionScript Language (both ActionScript 2.0 and 3.0).</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bartclaessens.com%2F2009%2F01%2F29%2Fadobe-certified-developer-flash-cs3-developer%2F&amp;linkname=Adobe%20Certified%20Flash%20CS3%20Developer"><img src="http://www.bartclaessens.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bartclaessens.com/2009/01/29/adobe-certified-developer-flash-cs3-developer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quicktip #3: Getting newlines parsed correctly from XML to AS3</title>
		<link>http://www.bartclaessens.com/2008/11/25/quicktip-3-getting-newlines-parsed-correctly-from-xml-to-as3/</link>
		<comments>http://www.bartclaessens.com/2008/11/25/quicktip-3-getting-newlines-parsed-correctly-from-xml-to-as3/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 14:56:18 +0000</pubDate>
		<dc:creator>Bart Claessens</dc:creator>
				<category><![CDATA[QuickTips]]></category>
		<category><![CDATA[carriage return]]></category>
		<category><![CDATA[newline]]></category>
		<category><![CDATA[parsing]]></category>
		<category><![CDATA[tab]]></category>
		<category><![CDATA[w3schools]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.bartclaessens.com/?p=97</guid>
		<description><![CDATA[Today I stumbled upon the following problem while parsing an xml: I tried to parse an attribute of an XML node which contained &#8216;\n&#8217;-characters and tried to put this parsed text into a dynamic text field on the stage.
Guess what, instead of parsing &#8216;\n&#8217; to a newline, AS3 showed me the &#8216;\n&#8217; in my text. [...]]]></description>
			<content:encoded><![CDATA[<p>Today I stumbled upon the following problem while parsing an xml: I tried to parse an attribute of an XML node which contained &#8216;\n&#8217;-characters and tried to put this parsed text into a dynamic text field on the stage.<br />
Guess what, instead of parsing &#8216;\n&#8217; to a newline, AS3 showed me the &#8216;\n&#8217; in my text. This is not as I had hoped.</p>
<p>You can fix this very easily by <span id="more-97"></span>changing the &#8216;\n&#8217;-characters in your XML to:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #ddbb00;">&amp;#10;</span></pre></div></div>

<p>Original:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;book</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;my \n book&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/book<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>Changed:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;book</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;my &amp;#10; book&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/book<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>You can find other codes to replace characters with on this reference: <a href="http://www.w3schools.com/tags/ref_entities.asp">w3 schools</a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bartclaessens.com%2F2008%2F11%2F25%2Fquicktip-3-getting-newlines-parsed-correctly-from-xml-to-as3%2F&amp;linkname=Quicktip%20%233%3A%20Getting%20newlines%20parsed%20correctly%20from%20XML%20to%20AS3"><img src="http://www.bartclaessens.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bartclaessens.com/2008/11/25/quicktip-3-getting-newlines-parsed-correctly-from-xml-to-as3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Quicktip #2: Webcam and Flash on a MacBook (Pro)</title>
		<link>http://www.bartclaessens.com/2008/11/25/quicktip-2-webcamming-in-flash-on-a-macbook-pro/</link>
		<comments>http://www.bartclaessens.com/2008/11/25/quicktip-2-webcamming-in-flash-on-a-macbook-pro/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 23:00:31 +0000</pubDate>
		<dc:creator>Bart Claessens</dc:creator>
				<category><![CDATA[QuickTips]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[not working]]></category>
		<category><![CDATA[settings]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://www.bartclaessens.com/?p=87</guid>
		<description><![CDATA[If you feel like your built-in iSight Macbook Cam is not working correctly when you are visiting a Flash website or viewing a Flash application, you are pretty much wrong my friend.
Ok, I have to admit, it&#8217;s a kind of hidden but you&#8217;ll have to change a small option to get it working.
Here&#8217;s a little [...]]]></description>
			<content:encoded><![CDATA[<p>If you feel like your built-in iSight Macbook Cam is not working correctly when you are visiting a Flash website or viewing a Flash application, you are pretty much wrong my friend.<br />
Ok, I have to admit, it&#8217;s a kind of hidden but you&#8217;ll have to change a small option to get it working.</p>
<p>Here&#8217;s a little walkthrough:</p>
<p><span id="more-87"></span> </p>
<ul>
<li>Right click on the Flash (website/app) you are visiting</li>
<li>Click &#8217;settings&#8230;&#8217; in the right click dialog box</li>
<li>Click the webcam tab</li>
<li>Change your camera to &#8216;USB Video Class Video&#8217;</li>
</ul>
<p>That&#8217;s it!</p>
<div id="attachment_88" class="wp-caption alignnone" style="width: 491px"><a href="http://www.bartclaessens.com/wp-content/uploads/2008/11/picture-2.jpg" rel="lightbox[87]"><img src="http://www.bartclaessens.com/wp-content/uploads/2008/11/picture-2.jpg" alt="Flash settings dialog box to change certain settings like the webcam." title="Flash Settings Dialog Box" width="481" height="360" class="size-full wp-image-88" /></a><p class="wp-caption-text">Flash settings dialog box to change certain settings like the webcam.</p></div>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bartclaessens.com%2F2008%2F11%2F25%2Fquicktip-2-webcamming-in-flash-on-a-macbook-pro%2F&amp;linkname=Quicktip%20%232%3A%20Webcam%20and%20Flash%20on%20a%20MacBook%20%28Pro%29"><img src="http://www.bartclaessens.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bartclaessens.com/2008/11/25/quicktip-2-webcamming-in-flash-on-a-macbook-pro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quicktip #1: Casting to Number()</title>
		<link>http://www.bartclaessens.com/2008/11/21/quicktip-1-casting-to-number/</link>
		<comments>http://www.bartclaessens.com/2008/11/21/quicktip-1-casting-to-number/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 09:52:45 +0000</pubDate>
		<dc:creator>Bart Claessens</dc:creator>
				<category><![CDATA[QuickTips]]></category>
		<category><![CDATA[casting]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[not correct]]></category>
		<category><![CDATA[Number]]></category>
		<category><![CDATA[uint]]></category>
		<category><![CDATA[zero]]></category>

		<guid isPermaLink="false">http://www.bartclaessens.com/?p=80</guid>
		<description><![CDATA[Did you know that casting a String to a Number using the &#8216;as&#8217; operator returns 0 instead of the correct number? Use the Number() constructor to cast it correctly. The same applies for &#8216;int&#8217; and &#8216;uint&#8217;.


var myNumber:String = '15';
trace&#40;&#34;My Number: &#34; + myNumber&#41;; 
&#160;
var castedNumber:Number = myNumber as Number;
trace&#40;&#34;My Number (casted with 'as' operator): &#34; [...]]]></description>
			<content:encoded><![CDATA[<p>Did you know that casting a String to a Number using the &#8216;as&#8217; operator returns 0 instead of the correct number? Use the Number() constructor to cast it correctly. The same applies for &#8216;int&#8217; and &#8216;uint&#8217;.</p>
<p><span id="more-80"></span></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #6699cc; font-weight: bold;">var</span> myNumber<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">String</span> = <span style="color: #990000;">'15'</span>;
<span style="color: #004993;">trace</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;My Number: &quot;</span> <span style="color: #000000; font-weight: bold;">+</span> myNumber<span style="color: #000000;">&#41;</span>; 
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> castedNumber<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span> = myNumber <span style="color: #0033ff; font-weight: bold;">as</span> <span style="color: #004993;">Number</span>;
<span style="color: #004993;">trace</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;My Number (casted with 'as' operator): &quot;</span> <span style="color: #000000; font-weight: bold;">+</span> castedNumber<span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> betterCastedNumber<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span> = <span style="color: #004993;">Number</span><span style="color: #000000;">&#40;</span>myNumber<span style="color: #000000;">&#41;</span>;
<span style="color: #004993;">trace</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;My Number (casted using Number() constructor): &quot;</span> <span style="color: #000000; font-weight: bold;">+</span> betterCastedNumber<span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #009900;">// Output:</span>
<span style="color: #009900;">// My Number: 15</span>
<span style="color: #009900;">// My Number (casted with 'as' operator): 0</span>
<span style="color: #009900;">// My Number (casted using Number() constructor): 15</span></pre></div></div>

<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bartclaessens.com%2F2008%2F11%2F21%2Fquicktip-1-casting-to-number%2F&amp;linkname=Quicktip%20%231%3A%20Casting%20to%20Number%28%29"><img src="http://www.bartclaessens.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.bartclaessens.com/2008/11/21/quicktip-1-casting-to-number/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
