<?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/"
	>

<channel>
	<title>Rumbling Blog</title>
	<atom:link href="http://www.rumblingskies.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.rumblingskies.com/blog</link>
	<description>Just another ActionScript blog</description>
	<pubDate>Tue, 31 Aug 2010 20:08:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Improved Bitmap fading</title>
		<link>http://www.rumblingskies.com/blog/?p=128</link>
		<comments>http://www.rumblingskies.com/blog/?p=128#comments</comments>
		<pubDate>Tue, 31 Aug 2010 20:04:00 +0000</pubDate>
		<dc:creator>erik</dc:creator>
		
		<category><![CDATA[Actionscript quirks]]></category>

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

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

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

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

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

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

		<category><![CDATA[outlines]]></category>

		<guid isPermaLink="false">http://www.rumblingskies.com/blog/?p=128</guid>
		<description><![CDATA[Since a colleague of mine recently went nuts over this behaviour, I thought: let&#8217;s blog the solution to the world  
Problem
When you&#8217;ve got a vector shape with a bitmap (like jpg, png, etc) on top of it, both nested in a movieclip or sprite, you&#8217;ll experience quirky alpha behaviour. You&#8217;ll see the outlines of [...]]]></description>
			<content:encoded><![CDATA[<p>Since a colleague of mine recently went nuts over this behaviour, I thought: let&#8217;s blog the solution to the world <img src='http://www.rumblingskies.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h4>Problem</h4>
<p>When you&#8217;ve got a vector shape with a bitmap (like jpg, png, etc) on top of it, both nested in a movieclip or sprite, you&#8217;ll experience quirky alpha behaviour. You&#8217;ll see the outlines of the bitmap image when the container&#8217;s alpha value falls below 1, even if the colors of the vector shape and the bitmap image are the same color. The pixels of the vector layer and the bitmap layer don&#8217;t behave as being 1 layer. You can make them do so by applying a layer blendmode to the sprite.</p>
<p>To apply a layer blendmode to your MovieClip, do this:</p>
<pre lang="actionscript">myMovieClip.blendMode = BlendMode.LAYER;</pre>
<h4>Here an example of the different behaviour (source: <a href="http://www.rumblingskies.com/blog/wp-content/uploads/2010/08/demo.fla">CS5 fla file</a>)</h4>
<p><object width="510" height="510" data="http://www.rumblingskies.com/blog/wp-content/uploads/2010/08/demo1.swf" type="application/x-shockwave-flash"><param name="src" value="http://www.rumblingskies.com/blog/wp-content/uploads/2010/08/demo1.swf" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rumblingskies.com/blog/?feed=rss2&amp;p=128</wfw:commentRss>
		</item>
		<item>
		<title>Speeding up FDT</title>
		<link>http://www.rumblingskies.com/blog/?p=130</link>
		<comments>http://www.rumblingskies.com/blog/?p=130#comments</comments>
		<pubDate>Tue, 31 Aug 2010 14:31:01 +0000</pubDate>
		<dc:creator>erik</dc:creator>
		
		<category><![CDATA[FDT]]></category>

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

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

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

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

		<category><![CDATA[speed]]></category>

		<guid isPermaLink="false">http://www.rumblingskies.com/blog/?p=130</guid>
		<description><![CDATA[A simple trick to speed up your FDT.
]]></description>
			<content:encoded><![CDATA[<p>When launching/compiling a project in FDT, you usually have to wait a short moment for FDT to do a build. During this building process, it generates your TODO lists and performs deep binding. When your project grows and grows (like in my last project with 1000+ of classes), this will take longer and longer. I reached the point of annoyance, since I just wanted to launch and knew that my code was error free. Also, the Flex compiler will tell me if there are errors in my code, so waiting for the FDT build to tell me seems  to be a redundant task to me.</p>
<p>So I searched the Eclipse preferences panel and discovered that my solution was just sitting there all the time. Here it is:</p>
<p><a href="http://www.rumblingskies.com/blog/wp-content/uploads/2010/08/screen-shot-2010-08-31-at-155821.png"><img class="size-full wp-image-131 alignleft" title="fdt build bypassing" src="http://www.rumblingskies.com/blog/wp-content/uploads/2010/08/screen-shot-2010-08-31-at-155821.png" alt="fdt build bypassing" width="346" height="309" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rumblingskies.com/blog/?feed=rss2&amp;p=130</wfw:commentRss>
		</item>
		<item>
		<title>FDT, ANT and FTP</title>
		<link>http://www.rumblingskies.com/blog/?p=75</link>
		<comments>http://www.rumblingskies.com/blog/?p=75#comments</comments>
		<pubDate>Thu, 28 May 2009 14:46:17 +0000</pubDate>
		<dc:creator>erik</dc:creator>
		
		<category><![CDATA[ANT]]></category>

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

		<category><![CDATA[FTP]]></category>

		<guid isPermaLink="false">http://www.rumblingskies.com/blog/?p=75</guid>
		<description><![CDATA[The default installed ANT in Eclipse doesn&#8217;t seem to support FTP protocols. To be able to use this feature, you&#8217;ll need to add 2 extra *.jar files, which are:

 commons-net-2.0.jar (download)
 jakarta-oro-2.0.8.jar (download)

Save these files in the following folder: /Applications/FDT3/plugins/org.apache.ant_***/bin/
Now goto: Preferences &#62; ANT &#62; Runtime &#62; Classpath
The screen should be like the one below.

Now [...]]]></description>
			<content:encoded><![CDATA[<p>The default installed ANT in Eclipse doesn&#8217;t seem to support FTP protocols. To be able to use this feature, you&#8217;ll need to add 2 extra *.jar files, which are:</p>
<ul>
<li> commons-net-2.0.jar (<a href="http://www.apache-mirror.com/commons/net/binaries/commons-net-2.0.zip">download</a>)</li>
<li> jakarta-oro-2.0.8.jar (<a href="http://apache.hippo.nl/jakarta/oro/binaries/jakarta-oro-2.0.8.zip">download</a>)</li>
</ul>
<p>Save these files in the following folder: /Applications/FDT3/plugins/org.apache.ant_***/bin/</p>
<p>Now goto: Preferences &gt; ANT &gt; Runtime &gt; Classpath</p>
<p><span id="more-75"></span>The screen should be like the one below.</p>
<p><a href="http://www.rumblingskies.com/blog/wp-content/uploads/2009/05/picture-26.png"><img class="size-medium wp-image-76 alignnone" title="picture-26" src="http://www.rumblingskies.com/blog/wp-content/uploads/2009/05/picture-26-250x217.png" alt="picture-26" width="250" height="217" /></a></p>
<p>Now click &#8216;Add External JARs&#8217; button and select the 2 files you just added ( /Applications/FDT3/plugins/org.apache.ant_***/bin/ ). Now click &#8216;apply&#8217; and then &#8216;ok&#8217;.</p>
<p>Next thing is to add code to your build.xml file, which contains all your ANT tasks.</p>
<p>To use FTP from within ANT you&#8217;ll need to add something like this to your build.xml file:</p>
<pre>&lt;target name="ftp_upload" description="uploads files through ftp"&gt;
  &lt;echo message="uploading files" /&gt;
  &lt;ftp server="123.456.78.90"
       port="21"
       remotedir="/www/ant_upload_test"
       userid="my_user_id"
       password="my_password"
       passive="no"
       depends="yes"
       binary="yes"&gt;
       &lt;fileset dir="../bin" /&gt;
  &lt;/ftp&gt;
&lt;/target&gt;</pre>
<p>Now you&#8217;re ready to go.</p>
<p><strong>Extra info:</strong></p>
<p><a href="http://www.boostworthy.com/blog/?p=194" target="_self">Good tutorial for using ANT with FDT</a></p>
<p><a href="http://ant.apache.org/" target="_self">The official ANT homepage</a></p>
<p><a href="http://ant.apache.org/manual/OptionalTasks/ftp.html" target="_self">More info about FTP options in ANT</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rumblingskies.com/blog/?feed=rss2&amp;p=75</wfw:commentRss>
		</item>
		<item>
		<title>Color management in Photoshop for the web</title>
		<link>http://www.rumblingskies.com/blog/?p=46</link>
		<comments>http://www.rumblingskies.com/blog/?p=46#comments</comments>
		<pubDate>Tue, 14 Apr 2009 13:26:39 +0000</pubDate>
		<dc:creator>erik</dc:creator>
		
		<category><![CDATA[Miscellaneous]]></category>

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

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

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

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

		<category><![CDATA[workspace]]></category>

		<guid isPermaLink="false">http://www.rumblingskies.com/blog/?p=46</guid>
		<description><![CDATA[An overview of using the appropriate color profiles for images on the web.]]></description>
			<content:encoded><![CDATA[<p><strong>Have you been struggling with Photoshop while exporting your image for the use inside a website or web-application? You&#8217;re probably seeing your images with less sparkly colors and having a &#8216;washed out&#8217; look to them, when you used the &#8217;save for web&#8217; option. Well, if you didn&#8217;t, you probably wouldn&#8217;t be reading this post <img src='http://www.rumblingskies.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> The cause is a pretty simple one and it&#8217;s called &#8216;document color profile&#8217;. </strong></p>
<p><strong><span id="more-46"></span></strong>This is what the Photoshop CS3 helpfiles have to say about the document color profile:<br />
<em> &#8220;Document profiles define the specific RGB or CMYK color space of a document. By assigning, or tagging, a document with a profile, the application provides a definition of actual color appearances in the document. For example, R=127, G=12, B=107 is just a set of numbers that different devices will display differently. But when tagged with the AdobeRGB color space, these numbers specify an actual color or wavelength of light; in this case, a specific color of purple.&#8221; </em></p>
<p><strong>So what is happening?</strong></p>
<p>While you are editing your picture within Photoshop, each pixel of that image is getting a color correction by Photoshop. This correction is defined by the color profile which is assigned to the document. Usually, this is a &#8216;default color profile&#8217; which is added to the document by Photoshop itself. You can choose which color profile has to be added to each document by default in the &#8216;color settings&#8217; panel (edit -&gt; color settings).<img title="color settings" src="http://www.rumblingskies.com/grabs/c42fea57eade01b6291698047bacd05c.png" alt="color settings panel" width="624" height="551" /></p>
<p>Now as you can see, the default value for the RGB working space is Adobe RGB(1998). But this is an inappropriate color profile for web development.  It was designed to encompass most of the colors achievable on <span class="mw-redirect">CMYK</span> color printers, but by using RGB primary colors on a device such as the <span class="mw-redirect">computer display</span>. This profile was intended for editing images for professional printing via a fully color-managed workflow which allows for a wider gamut. Not really appropriate for the web, huh?</p>
<p><strong>So what the heck do I need to do then?</strong></p>
<p>This where the answer enters a fuzzy area. Different people advertise different solutions. Martijn, a colleague of mine at Ottonico, simply disables color management on his documents. This can be done by opening the &#8216;Assign Profile&#8217; panel (edit -&gt; assign profile). The result is that the &#8220;working RGB&#8221; setting is not used and this other profile is applied.</p>
<p><img class="alignnone" title="assign profile" src="http://www.rumblingskies.com/grabs/e550d039dc684e389a0c77d55af1463d.png" alt="" width="661" height="226" /></p>
<p>This already improved colors consistency drastically, since you&#8217;re already editing your PSD without the &#8216;prepress colour profile&#8217;.</p>
<p>Still, color profiles exist with a reason and we can&#8217;t deny that most browser developers are steadily implementing the sRGB profile. It&#8217;s being endorsed by the W3C , Intel, Panton, Corel, Exif and many other players in this market and is the de-facto standard for WWW graphics. This doesn&#8217;t mean that it&#8217;s actually used a lot at the moment, but it&#8217;s the standard which is being pushed. Now most software is designed with the assumption that an 8-bit-per-channel image file placed unchanged onto an 8-bit-per-channel display will appear much as the sRGB specification dictates. One can generally assume, in the absence of embedded profiles or any other information, that any 8-bit-per-channel image file or any 8-bit-per-channel image <span class="mw-redirect">API</span> or device interface can be treated as being in the sRGB color space [source : <a href="http://en.wikipedia.org/wiki/SRGB_color_space" target="_blank">wikipedia</a>]. So for browser-graphics, but also for Flash content (which doesn&#8217;t use color workspaces), this profile would be the most appropriate color workspace.</p>
<p>What I recommend is to change your settings in Photoshop in a way, that you&#8217;ll always know in what color space you are working. First of all, make sure that the default profile is the sRGB profile. Second, enable Photoshop to alert you when you are opening or pasting images that have another profile attached to them. That way you&#8217;ll always be sure that you won&#8217;t be working with different color workspaces for the same project.</p>
<p><img class="size-full wp-image-59 alignnone" title="adjusted color settings" src="http://www.rumblingskies.com/blog/wp-content/uploads/2009/04/picture-991.png" alt="adjusted color settings" width="624" height="551" /></p>
<p>Some people work with the &#8220;monitor LCD profile&#8221; enabled, but since that doesn&#8217;t represent the sRGB profile and thus NOT the image that the average internet user will be seeing, this seems a wrong way of editing your images.</p>
<p><strong>Futureproof</strong></p>
<p>As always, it&#8217;s best to work with a focus on the future. I feel that it&#8217;s a good thing to embed this profile, since these profiles will be used more and more in the browsers to come (Safari and Firefox 3 already support it). An embedded color workspace won&#8217;t bother browsers or Flash players in displaying the image, but it does give the browser the possibility to use the image to its biggest potential. Future Flash players and webbrowsers will support color spaces more and more. Wouldn&#8217;t it be a shame to omit a color space then?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rumblingskies.com/blog/?feed=rss2&amp;p=46</wfw:commentRss>
		</item>
		<item>
		<title>Flash player 10 crash on Regular Expression</title>
		<link>http://www.rumblingskies.com/blog/?p=21</link>
		<comments>http://www.rumblingskies.com/blog/?p=21#comments</comments>
		<pubDate>Wed, 18 Mar 2009 18:33:53 +0000</pubDate>
		<dc:creator>erik</dc:creator>
		
		<category><![CDATA[Actionscript quirks]]></category>

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

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

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

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

		<category><![CDATA[regular]]></category>

		<guid isPermaLink="false">http://www.rumblingskies.com/blog/?p=21</guid>
		<description><![CDATA[Flash player stops running after regular expression on stacktrace, but debug player runs fine.]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong></p>
<p>While working on the Tommy Hilfiger Denim website, I encountered an extremely weird error. After deploying an alpha version of our work to our staging environment, I found out that on other machines the flash player only showed a blank screen and didnt execute any code at all. I checked the lack of code-execution by trying to trace a message to FireBug. Regrettably, the Firebug console stayed empty&#8230;..</p>
<p>After several tests it appeared that the website was working only on browsers with the Flash 10 Debug Player and simply died instantly after initiation on browsers with the regular Flash player 10. Yes&#8230;.. you&#8217;re reading this correctly. It&#8217;s exactly the opposite of what you&#8217;d expect! The app crashes on the regular player and works fine on the debug player. The debug player didn&#8217;t even display an error message!</p>
<p><span id="more-21"></span><strong>Cause</strong></p>
<p>After traversing the code line by line, the problem was found when my co-workers were complaining about all the hairs lying around. Since I start every method with a call to my Debug class (which traces/logs a message to my trace panel &#8220;<a href="http://www.nesium.com/products/trazzle/" target="_blank">Trazzle</a>&#8220;), it&#8217;s usually very easy to see where the code breaks when you&#8217;re not in a debug environment. It appeared that within the Debug class, there was a RegEx statement that killed the entire execution of code inside the regular Flash player:</p>
<div class="geshi no actionscript">
<ol>
<li class="li1">
<div class="de1"><span class="kw2">new</span> <span class="kw3">Error</span><span class="br0">&#40;</span><span class="br0">&#41;</span>.<span class="me1">getStackTrace</span><span class="br0">&#40;</span><span class="br0">&#41;</span>.<span class="me1">match</span><span class="br0">&#40;</span><span class="sy0">/</span><span class="br0">&#40;</span><span class="br0">&#91;</span>A-Za-z\<span class="br0">&#91;</span>\<span class="br0">&#93;</span>\_\-:<span class="nu0">0</span><span class="nu0">-9</span>\\\<span class="sy0">/</span>\ <span class="br0">&#40;</span><span class="br0">&#41;</span>\.\$<span class="br0">&#93;</span><span class="br0">&#41;</span>+<span class="sy0">/</span>g<span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
<p>We used this line to show stracktraces inside FireBug, but somewhere something went wrong <img src='http://www.rumblingskies.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p><strong>Solution</strong></p>
<p>We didn&#8217;t find a solution for this problem, but simply removed this line of code. We weren&#8217;t using Firebug tracing anyway. If anyone knows what the problem could be, you&#8217;re welcome to let me know!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rumblingskies.com/blog/?feed=rss2&amp;p=21</wfw:commentRss>
		</item>
		<item>
		<title>O&#8217;Neill worldwide went live</title>
		<link>http://www.rumblingskies.com/blog/?p=1</link>
		<comments>http://www.rumblingskies.com/blog/?p=1#comments</comments>
		<pubDate>Tue, 17 Mar 2009 13:54:36 +0000</pubDate>
		<dc:creator>erik</dc:creator>
		
		<category><![CDATA[Commercial Work]]></category>

		<guid isPermaLink="false">http://www.rumblingskies.com/blog/?p=1</guid>
		<description><![CDATA[In december 2008 I finished my work on the new O&#8217;Neill website at Furthermore in Amersfoort. Last week, the project finally went live! This project was great to work on, since I got to work in a team of 5 experienced actionscript developers. I learned a lot! Thanks to Joerie, Igor, Patrick, Jankees and Bernard [...]]]></description>
			<content:encoded><![CDATA[<p>In december 2008 I finished my work on the new O&#8217;Neill website at Furthermore in Amersfoort. Last week, the project finally went live! This project was great to work on, since I got to work in a team of 5 experienced actionscript developers. I learned a lot! Thanks to Joerie, Igor, Patrick, Jankees and Bernard for that.</p>
<p>You can check it out at <a href="http://www.oneill.com" target="_blank">www.oneill.com</a></p>
<p><strong>Update (14 april 2009)</strong></p>
<p>Oh yeah&#8230;.. we won the FWA (Favorite Website Award) Site of the Day at 10 april 2009 with this project!</p>
<p><a href="http://www.rumblingskies.com/blog/wp-content/uploads/2009/03/1.jpg"><img class="alignnone size-medium wp-image-5" title="1" src="http://www.rumblingskies.com/blog/wp-content/uploads/2009/03/1-300x212.jpg" alt="1" width="250" height="176" /></a><span style="color: #ffffff;">___</span><a href="http://www.rumblingskies.com/blog/wp-content/uploads/2009/03/2.jpg"><img class="alignnone size-medium wp-image-7" title="2" src="http://www.rumblingskies.com/blog/wp-content/uploads/2009/03/2-300x212.jpg" alt="2" width="250" height="176" /></a></p>
<p><span id="more-1"></span></p>
<p><a href="http://www.rumblingskies.com/blog/wp-content/uploads/2009/03/3.jpg"><img class="alignnone size-medium wp-image-8" title="3" src="http://www.rumblingskies.com/blog/wp-content/uploads/2009/03/3-300x212.jpg" alt="3" width="250" height="176" /></a><span style="color: #ffffff;">___<a href="http://www.rumblingskies.com/blog/wp-content/uploads/2009/03/4.jpg"><img class="alignnone size-medium wp-image-9" title="4" src="http://www.rumblingskies.com/blog/wp-content/uploads/2009/03/4-300x213.jpg" alt="4" width="250" height="177" /></a></span></p>
<p><span style="color: #ffffff;"><a href="http://www.rumblingskies.com/blog/wp-content/uploads/2009/03/5.jpg"><img class="alignnone size-medium wp-image-10" title="5" src="http://www.rumblingskies.com/blog/wp-content/uploads/2009/03/5-300x212.jpg" alt="5" width="250" height="176" /></a><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rumblingskies.com/blog/?feed=rss2&amp;p=1</wfw:commentRss>
		</item>
	</channel>
</rss>
