<?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>Sven Dens</title>
	<atom:link href="http://www.svendens.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.svendens.com</link>
	<description>deserialize me</description>
	<lastBuildDate>Tue, 22 Sep 2009 09:32:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Aced my ACE: Adobe Certified Expert Flex 3 with AIR</title>
		<link>http://www.svendens.com/adobe-air/aced-my-ace-adobe-certified-expert-flex-3-with-air/</link>
		<comments>http://www.svendens.com/adobe-air/aced-my-ace-adobe-certified-expert-flex-3-with-air/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 09:32:48 +0000</pubDate>
		<dc:creator>Sven Dens</dc:creator>
				<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.svendens.com/?p=74</guid>
		<description><![CDATA[Just a quick brag post 
This morning I passed the ACE Exam &#8220;Flex 3 with AIR&#8221;.  Feels good to have that one in the bank  
To be well prepared for the exam, I read the Flex 3 documentation and the Adobe AIR 1.5 documentation, especially the documents &#8220;Developing Adobe AIR 1.5 Applications with ADOBE [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick brag post <img src='http://www.svendens.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
This morning I passed the ACE Exam &#8220;Flex 3 with AIR&#8221;.  Feels good to have that one in the bank <img src='http://www.svendens.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>To be well prepared for the exam, I read the Flex 3 documentation and the Adobe AIR 1.5 documentation, especially the documents &#8220;Developing Adobe AIR 1.5 Applications with ADOBE FLEX 3&#8243; and the &#8220;Adobe Flex 3 Developer Guide&#8221;, both available free of charge from Adobe.  I also downloaded <a href="http://software.pxldesigns.com/attest/" target="_blank">Attest</a>, an Adobe AIR application that was developed by the lovely people over at <a href="http://www.pxldesigns.com/" target="_blank">PXL Designs</a> which you can download for free, and ran all the practice exams multiple times.  Unfortunately I must say, this effort was virtually worthless for what the exam was concerned.  Not a single question from the practice exams appeared on the real exam, nor did the &#8220;toughness&#8221; of the real questions reflect those in the practice exams.</p>
<p>To be honest, I must say that I found the exam quite hard.  After all, it&#8217;s been more than 3 years since I&#8217;ve been developing in Flex, and I would have expected the exam to be rather easy for a trained developer.  However, out of the 50 questions/problems I got, I would have to digg deep and long to find 20 of those that I&#8217;ve actually ever used in real-world application development.<br />
So, reading through those PDF&#8217;s sure wasn&#8217;t a luxury to be able to pass this exam, not for me at least.</p>
<p>I know there are many possible questions out of which you&#8217;re presented 50 at the exam, so maybe I just got unlucky in the selection that I was presented with.<br />
Anyway, if you&#8217;re looking to become certified too, make sure you&#8217;re well-prepared and good luck to you!</p>
<p>Sven</p>
]]></content:encoded>
			<wfw:commentRss>http://www.svendens.com/adobe-air/aced-my-ace-adobe-certified-expert-flex-3-with-air/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>VMWare Tools in Sabayon Linux (4.2 &#8211; KDE)</title>
		<link>http://www.svendens.com/open-source/vmware-tools-in-sabayon-linux-4-2-kde/</link>
		<comments>http://www.svendens.com/open-source/vmware-tools-in-sabayon-linux-4-2-kde/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 13:19:16 +0000</pubDate>
		<dc:creator>Sven Dens</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.svendens.com/?p=67</guid>
		<description><![CDATA[So you&#8217;ve just installed a shiny new Sabayon Linux Guest in VMWare, and you can&#8217;t get VMWare Tools to install properly?  You&#8217;re getting messages like &#8220;the directory for rc0.d is not found&#8221; or saying that none of the precompiled modules is suitable for your kernel and that they can&#8217;t be built from scratch because the [...]]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;ve just installed a shiny new Sabayon Linux Guest in VMWare, and you can&#8217;t get VMWare Tools to install properly?  You&#8217;re getting messages like &#8220;the directory for rc0.d is not found&#8221; or saying that none of the precompiled modules is suitable for your kernel and that they can&#8217;t be built from scratch because the kernel headers are missing?  Let&#8217;s fix that, and while we&#8217;re at it let&#8217;s upgrade our packages to the latest available versions too.</p>
<p>I won&#8217;t be explaining all the commands used here, you can Google them to fnd out what they do exactly, this is just a quick guide to get you up and running with Sabayon in VMWare in a couple of minutes without any hassle.</p>
<p>First, open a terminal and become root (su).<br />
Then, create 7 new directories under /etc/rc.d.  You need rc0.d to rc6.d.  So mkdir /etc/rc.d/rc0.d, mkdir /etc/rc.d/rc1.d, &#8230; mkdir /etc/rc.d/rc6.d.</p>
<p>Now it&#8217;s time to update our system by getting the latest available kernel and packages.<br />
Still as root in the terminal, enter these commands in the following order:<br />
1) equo update all<br />
2) equo upgrade<br />
3) emerge &#8211; -sync &amp;&amp; layman -S<br />
4) equo conf update<br />
5) equo install &#8211; -ask linux-sabayon</p>
<p>Now cd to the directory /usr/portage/sys-kernel/linux-headers and type ls to see a list of what&#8217;s in there.<br />
Note the highest available number for your kernel (mine today is 2.6.30-r1).<br />
Now execute the following command to get the linux-headers so you can compile the vmware-modules later on: <strong>emerge -va =sys-kernel/linux-headers-2.6.30-r1</strong></p>
<p><strong>Note that you don&#8217;t specify sys-kernel/linux-headers/linux-headers-2.6.30-r1 but instead directly refer to the header version you want after sys-kernel!!</strong></p>
<p>Also keep in mind to enter the right version.  The 2.6.30-r1 you see here is the one that is on my system.  Replace it with the one you have if necessary!</p>
<p>Almost there!<br />
If everything went well, you should now be able to get past the initial dialogs for installing VMWare Tools, and then successfully compile all the needed modules.<br />
Just keep the default answers to all questions, it&#8217;s almost too easy <img src='http://www.svendens.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>If that install went fine as well, there&#8217;s one last thing to do: update all the packages in your system.<br />
Once more, run these 2 commands:<br />
1) equo upgrade<br />
2) equo conf update</p>
<p>Et voilà, your very own bleeding-edge Sabayon VM is there to put a smile on your face <img src='http://www.svendens.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="attachment_69" class="wp-caption alignnone" style="width: 1034px"><img class="size-large wp-image-69" title="Sabayon-linux 4.2 in VMWare Fusion" src="http://www.svendens.com/wp-content/uploads/2009/08/Picture-11-1024x852.png" alt="Sabayon-linux 4.2 in VMWare Fusion" width="1024" height="852" /><p class="wp-caption-text">Sabayon-linux 4.2 in VMWare Fusion</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.svendens.com/open-source/vmware-tools-in-sabayon-linux-4-2-kde/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SOAP headers in Flex and WS-Security</title>
		<link>http://www.svendens.com/flex/soap-headers-in-flex-and-ws-security/</link>
		<comments>http://www.svendens.com/flex/soap-headers-in-flex-and-ws-security/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 15:00:04 +0000</pubDate>
		<dc:creator>Sven Dens</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.svendens.be/blog/archives/27</guid>
		<description><![CDATA[UPDATE (06-16-2009): The problem with generating a correct nonce has been fixed!
It turned out to be a problem in the WSSEUsernameToken class in the com.adobe.crypto package in as3corelib.
A VERY big thank you goes to Tom from FlexibleFactory for pointing me to the solution and to Koen Weyn for fixing the bugs!
Dear readers,
I just spent 2 [...]]]></description>
			<content:encoded><![CDATA[<p style="color: #FF0000;">UPDATE (06-16-2009): The problem with generating a correct nonce has been fixed!<br />
It turned out to be a problem in the WSSEUsernameToken class in the com.adobe.crypto package in as3corelib.<br />
A VERY big thank you goes to Tom from <a href="http://flexiblefactory.co.uk">FlexibleFactory</a> for pointing me to the solution and to <a href="http://code.google.com/u/koenweyn/">Koen Weyn</a> for fixing the bugs!</p>
<p>Dear readers,</p>
<p>I just spent 2 entire days trying to figure out how to consume a SOAP Webservice that requires a SOAP-header and WS-Security in Flex.  Hopefully this post will help you out if you&#8217;re looking to do the same thing.</p>
<p><a title="SOAP headers demo files" href="http://www.svendens.com/downloads/soapheaders.zip">Download demo files here</a>.</p>
<p>Let me start off by saying that <strong>the Import Web Service (WSDL) wizard in Flex 3 doesn&#8217;t work as it should!</strong><br />
The generated classes return invalid XML to the SOAP-request, and adding headers to your request is completely neglected.<br />
But I did get it to work using the classical &lt;mx:Webservice&gt; tag and some hand-coding.</p>
<p>Here&#8217;s how to do it:</p>
<p><span id="more-20"></span>First you need a copy of the <a title="as3corelib" href="http://code.google.com/p/as3corelib/" target="_blank">as3corelib</a> (only if you need the WS-Security), more specifically you need the com.adobe.crypto.WSSEUsernameToken.as class.<br />
This class returns a token as a String, which I think is not very convenient, so I added another function called &#8220;getUsernameTokenAsArray&#8221; which returns the different token elements required for WS-Security in an Array.  This way you can just &#8220;pluck&#8221; the parts you need without having to parse a String.</p>
<p>Next you need to write some AS3 classes to map the datatypes expected by the WebService to your Flex app, and vice-versa.</p>
<p>I wrote a little utility class that lets you easily insert different types of SOAP-headers to your requests.<br />
Currently methods are implemented for returning headers containing WS-Security.  Feel free to use it and add your own methods for additional SOAP-header-types to it.<br />
Here it is:</p>
<div class="codecolorer-container actionscript3 mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;height:300px;"><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #9900cc; font-weight: bold;">package</span> be<span style="color: #000066; font-weight: bold;">.</span>svendens<span style="color: #000066; font-weight: bold;">.</span>util<br />
<span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">import</span> mx<span style="color: #000066; font-weight: bold;">.</span>rpc<span style="color: #000066; font-weight: bold;">.</span>soap<span style="color: #000066; font-weight: bold;">.</span>SOAPHeader<span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">import</span> com<span style="color: #000066; font-weight: bold;">.</span>adobe<span style="color: #000066; font-weight: bold;">.</span>crypto<span style="color: #000066; font-weight: bold;">.</span>WSSEUsernameToken<span style="color: #000066; font-weight: bold;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> SOAPHeaderUtil<br />
&nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">private</span> static const WSSE_SECURITY<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=qname%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:qname.html"><span style="color: #004993;">QName</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=qname%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:qname.html"><span style="color: #004993;">QName</span></a><span style="color: #000000;">&#40;</span> <span style="color: #990000;">&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;Security&quot;</span> <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">public</span> static <span style="color: #339966; font-weight: bold;">function</span> returnWSSEHeaderWithNonceAndTimestamp<span style="color: #000000;">&#40;</span>username<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a><span style="color: #000066; font-weight: bold;">,</span> password<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a><span style="color: #000066; font-weight: bold;">,</span> nonce<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a>=<span style="color: #0033ff; font-weight: bold;">null</span><span style="color: #000066; font-weight: bold;">,</span> timestamp<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=date%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:date.html"><span style="color: #004993;">Date</span></a>=<span style="color: #0033ff; font-weight: bold;">null</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span>SOAPHeader <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #6699cc; font-weight: bold;">var</span> userToken<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a>&nbsp; &nbsp; = <span style="color: #990000;">&quot;UsernameToken-&quot;</span><span style="color: #000066; font-weight: bold;">+</span><a href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">round</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">*</span>999999<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">toString</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #6699cc; font-weight: bold;">var</span> wsseToken<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=array%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:array.html"><span style="color: #004993;">Array</span></a> &nbsp; &nbsp; = WSSEUsernameToken<span style="color: #000066; font-weight: bold;">.</span>getUsernameTokenAsArray<span style="color: #000000;">&#40;</span>username<span style="color: #000066; font-weight: bold;">,</span> password<span style="color: #000066; font-weight: bold;">,</span> nonce<span style="color: #000066; font-weight: bold;">,</span> timestamp<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #6699cc; font-weight: bold;">var</span> headerXML<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=xml%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:xml.html"><span style="color: #004993;">XML</span></a> &nbsp; &nbsp; &nbsp; = <span style="color: #000066; font-weight: bold;">&lt;</span>wsse<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=security%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:security.html"><span style="color: #004993;">Security</span></a> xmlns<span style="color: #000066; font-weight: bold;">:</span>wsse=<span style="color: #990000;">&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd&quot;</span><span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>wsse<span style="color: #000066; font-weight: bold;">:</span>UsernameToken wsu<span style="color: #000066; font-weight: bold;">:</span>Id=<span style="color: #000000;">&#123;</span>userToken<span style="color: #000000;">&#125;</span> xmlns<span style="color: #000066; font-weight: bold;">:</span>wsu=<span style="color: #990000;">'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'</span><span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>wsse<span style="color: #000066; font-weight: bold;">:</span>Username<span style="color: #000066; font-weight: bold;">&gt;</span><span style="color: #000000;">&#123;</span>wsseToken<span style="color: #000000;">&#91;</span><span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#125;</span><span style="color: #000066; font-weight: bold;">&lt;/</span>wsse<span style="color: #000066; font-weight: bold;">:</span>Username<span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>wsse<span style="color: #000066; font-weight: bold;">:</span>Password Type=<span style="color: #990000;">&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest&quot;</span><span style="color: #000066; font-weight: bold;">&gt;</span><span style="color: #000000;">&#123;</span>wsseToken<span style="color: #000000;">&#91;</span>1<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#125;</span><span style="color: #000066; font-weight: bold;">&lt;/</span>wsse<span style="color: #000066; font-weight: bold;">:</span>Password<span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>wsse<span style="color: #000066; font-weight: bold;">:</span>Nonce<span style="color: #000066; font-weight: bold;">&gt;</span><span style="color: #000000;">&#123;</span>wsseToken<span style="color: #000000;">&#91;</span>2<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#125;</span><span style="color: #000066; font-weight: bold;">&lt;/</span>wsse<span style="color: #000066; font-weight: bold;">:</span>Nonce<span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>wsu<span style="color: #000066; font-weight: bold;">:</span>Created<span style="color: #000066; font-weight: bold;">&gt;</span><span style="color: #000000;">&#123;</span>wsseToken<span style="color: #000000;">&#91;</span>3<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#125;</span><span style="color: #000066; font-weight: bold;">&lt;/</span>wsu<span style="color: #000066; font-weight: bold;">:</span>Created<span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;/</span>wsse<span style="color: #000066; font-weight: bold;">:</span>UsernameToken<span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;/</span>wsse<span style="color: #000066; font-weight: bold;">:</span>Security<span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #6699cc; font-weight: bold;">var</span> header<span style="color: #000066; font-weight: bold;">:</span>SOAPHeader &nbsp; = <span style="color: #0033ff; font-weight: bold;">new</span> SOAPHeader<span style="color: #000000;">&#40;</span> WSSE_SECURITY<span style="color: #000066; font-weight: bold;">,</span> headerXML <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">return</span> header<span style="color: #000066; font-weight: bold;">;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">public</span> static <span style="color: #339966; font-weight: bold;">function</span> returnWSSEHeaderWithoutNonceAndTimestamp<span style="color: #000000;">&#40;</span>username<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a><span style="color: #000066; font-weight: bold;">,</span> password<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span>SOAPHeader <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #6699cc; font-weight: bold;">var</span> userToken<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a>&nbsp; &nbsp; = <span style="color: #990000;">&quot;UsernameToken-&quot;</span><span style="color: #000066; font-weight: bold;">+</span><a href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">round</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">random</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">*</span>999999<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">toString</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #6699cc; font-weight: bold;">var</span> wsseToken<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=array%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:array.html"><span style="color: #004993;">Array</span></a> &nbsp; &nbsp; = WSSEUsernameToken<span style="color: #000066; font-weight: bold;">.</span>getUsernameTokenAsArray<span style="color: #000000;">&#40;</span>username<span style="color: #000066; font-weight: bold;">,</span> password<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #6699cc; font-weight: bold;">var</span> headerXML<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=xml%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:xml.html"><span style="color: #004993;">XML</span></a> &nbsp; &nbsp; &nbsp; = <span style="color: #000066; font-weight: bold;">&lt;</span>wsse<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=security%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:security.html"><span style="color: #004993;">Security</span></a> xmlns<span style="color: #000066; font-weight: bold;">:</span>wsse=<span style="color: #990000;">&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd&quot;</span><span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>wsse<span style="color: #000066; font-weight: bold;">:</span>UsernameToken wsu<span style="color: #000066; font-weight: bold;">:</span>Id=<span style="color: #000000;">&#123;</span>userToken<span style="color: #000000;">&#125;</span> xmlns<span style="color: #000066; font-weight: bold;">:</span>wsu=<span style="color: #990000;">'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'</span><span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>wsse<span style="color: #000066; font-weight: bold;">:</span>Username<span style="color: #000066; font-weight: bold;">&gt;</span><span style="color: #000000;">&#123;</span>wsseToken<span style="color: #000000;">&#91;</span><span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#125;</span><span style="color: #000066; font-weight: bold;">&lt;/</span>wsse<span style="color: #000066; font-weight: bold;">:</span>Username<span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>wsse<span style="color: #000066; font-weight: bold;">:</span>Password Type=<span style="color: #990000;">&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest&quot;</span><span style="color: #000066; font-weight: bold;">&gt;</span><span style="color: #000000;">&#123;</span>wsseToken<span style="color: #000000;">&#91;</span>1<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#125;</span><span style="color: #000066; font-weight: bold;">&lt;/</span>wsse<span style="color: #000066; font-weight: bold;">:</span>Password<span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;/</span>wsse<span style="color: #000066; font-weight: bold;">:</span>UsernameToken<span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;/</span>wsse<span style="color: #000066; font-weight: bold;">:</span>Security<span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #6699cc; font-weight: bold;">var</span> header<span style="color: #000066; font-weight: bold;">:</span>SOAPHeader &nbsp; = <span style="color: #0033ff; font-weight: bold;">new</span> SOAPHeader<span style="color: #000000;">&#40;</span> WSSE_SECURITY<span style="color: #000066; font-weight: bold;">,</span> headerXML <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">return</span> header<span style="color: #000066; font-weight: bold;">;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
<span style="color: #000000;">&#125;</span></div></div>
<p>Now you can call your webservice and add headers like this:</p>
<div class="codecolorer-container actionscript3 mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6699cc; font-weight: bold;">var</span> header<span style="color: #000066; font-weight: bold;">:</span>SOAPHeader = SOAPHeaderUtil<span style="color: #000066; font-weight: bold;">.</span>returnWSSEHeaderWithNonceAndTimestamp<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;username&quot;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;password&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
myService<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addHeader</span><span style="color: #000000;">&#40;</span>header<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div></div>
<p>Basically you create an &lt;mx:Webservice&gt;, pass it the correct parameters for your webservice.  Then create a function to add the headers.<br />
Call the clearHeaders method of your webservice (it&#8217;s a default method for a webservice object) to clear any existing headers, next call the addHeader method to attach the new header.</p>
<p>Finally call your webservice operation with the necessary input parameters and there you go: a nice SOAP-envelope with headers and WS-Security!</p>
<p><a title="SOAP headers demo files" href="http://www.svendens.be/downloads/soapheaders.zip">You can download a complete demo containing all necessary classes and a sample MXML file here</a>.</p>
<div class="codecolorer-container xml mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;height:300px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">WSDL loaded<br />
Invoking SOAP operation CreateCTAScheduleItem<br />
Encoding SOAP request envelope<br />
Encoding SOAP request body<br />
'B5C37908-53AE-B85B-EDE1-3C3A54EB5255' producer sending message 'F9F59B36-51D7-DCC7-C673-3C3A59283DE9'<br />
'direct_http_channel' channel sending message:<br />
(mx.messaging.messages::SOAPMessage)#0<br />
body = &quot;<br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;SOAP-ENV:Envelope</span> <span style="color: #000066;">xmlns:SOAP-ENV</span>=<span style="color: #ff0000;">&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;</span> <span style="color: #000066;">xmlns:xsd</span>=<span style="color: #ff0000;">&quot;http://www.w3.org/2001/XMLSchema&quot;</span> <span style="color: #000066;">xmlns:xsi</span>=<span style="color: #ff0000;">&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;SOAP-ENV:Header<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;wsse:Security</span> <span style="color: #000066;">SOAP-ENV:mustUnderstand</span>=<span style="color: #ff0000;">&quot;1&quot;</span> <span style="color: #000066;">xmlns:wsse</span>=<span style="color: #ff0000;">&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;wsse:UsernameToken</span> <span style="color: #000066;">wsu:Id</span>=<span style="color: #ff0000;">&quot;UsernameToken-502651&quot;</span> <span style="color: #000066;">xmlns:wsu</span>=<span style="color: #ff0000;">&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;wsse:Username<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Flex<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/wsse:Username<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;wsse:Password</span> <span style="color: #000066;">Type</span>=<span style="color: #ff0000;">&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>mA5XaNPovDGiotMyb/e8A2fiIbU=<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/wsse:Password<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;wsse:Nonce<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>MDU3NDc4OTIzODE2MjMzODc=<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/wsse:Nonce<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;wsu:Created<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2008-02-21T14:41:39.251Z<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/wsu:Created<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/wsse:UsernameToken<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/wsse:Security<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/SOAP-ENV:Header<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;SOAP-ENV:Body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;schema:CreateCTAScheduleItemRequest</span> <span style="color: #000066;">xmlns:schema</span>=<span style="color: #ff0000;">&quot;http://yournamespace&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;timePeriod<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;StartDate<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2008-02-21T13:41:38.654Z<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/StartDate<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;EndDate<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2008-02-21T13:41:38.654Z<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/EndDate<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/timePeriod<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;priority<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>4<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/priority<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;cta<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>test<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/cta<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;applicationURL<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>http://blog.svendens.be<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/applicationURL<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;repeatInterval<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/repeatInterval<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/schema:CreateCTAScheduleItemRequest<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/SOAP-ENV:Body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/SOAP-ENV:Envelope<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>&quot;</div></div>
<p><del datetime="2009-06-16T21:03:23+00:00">I&#8217;m still struggling with the authentication however.<br />
The SOAP-request looks exactly as it should and validates fine by the WSDL, but when using the Nonce and Created elements my username/digest and nonce keep getting rejected by the server.  Without the nonce everything works like a charm.<br />
Any of you guru&#8217;s out there know how to tackle this last problem?</del></p>
]]></content:encoded>
			<wfw:commentRss>http://www.svendens.com/flex/soap-headers-in-flex-and-ws-security/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>A new year, a new look and a baby!</title>
		<link>http://www.svendens.com/fun/a-new-year-a-new-look-and-a-baby/</link>
		<comments>http://www.svendens.com/fun/a-new-year-a-new-look-and-a-baby/#comments</comments>
		<pubDate>Wed, 30 Jan 2008 14:57:56 +0000</pubDate>
		<dc:creator>Sven Dens</dc:creator>
				<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://www.svendens.be/blog/archives/24</guid>
		<description><![CDATA[Dear readers,
It&#8217;s been ages since I looked at my blog&#8230; I know, and I apologize.
Alot of changes have been going on in my life in the past few months.
I got married, had a great honeymoon, bought a house, did tons of interesting &#38; fun stuff at work, and now my first child is about to [...]]]></description>
			<content:encoded><![CDATA[<p>Dear readers,</p>
<p>It&#8217;s been ages since I looked at my blog&#8230; I know, and I apologize.<br />
Alot of changes have been going on in my life in the past few months.<br />
I got married, had a great honeymoon, bought a house, did tons of interesting &amp; fun stuff at work, and now my first child is about to be born halfway March.</p>
<p>Having said that, I hope you can understand there were other things on my mind lately than writing my blog.<br />
But here we are again in a new year with a fresh look, what better way to start it?</p>
<p>I do hope you&#8217;ll be pleased again by what you find if you stop by here from time to time.<br />
There&#8217;s tons of things on my mind I&#8217;d like to share with you all and I promise to make up for the lost time in this new year.<br />
If you&#8217;re reading this, welcome back and thanks for not dropping out on me!</p>
<p>Also I would like to say a BIG thank you to all the people who have commented on the topics posted and who have helped improving the classes you can find on this blog!  Sorry for not getting back to you on your comments for so long and  <strong>thank you</strong> for all your help and kind words!</p>
<p>I&#8217;ve noticed alot of visitors get to my blog in search of finding answers to using encryption in Flash and Flex.<br />
Since this seems to be a hot topic, you can expect to find more on this at this blog in the future.</p>
<p>No new post without a new class, so here I give you Baby.as.<br />
It&#8217;s my first child, still in the womb.<br />
Expected to be born on March 14th, 2008.<br />
Gender &amp; name remain secret for now&#8230;</p>
<p><img src="http://www.svendens.com/wp-content/uploads/2008/01/babyas.png" align="left" border="0" /></p>
<p><img src="http://www.svendens.com/wp-content/uploads/2008/01/baby8.jpg" align="left" border="0" hspace="5" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.svendens.com/fun/a-new-year-a-new-look-and-a-baby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FlexBook in Flex3 running in Adobe AIR</title>
		<link>http://www.svendens.com/flex/flexbook-in-flex3-running-in-adobe-air/</link>
		<comments>http://www.svendens.com/flex/flexbook-in-flex3-running-in-adobe-air/#comments</comments>
		<pubDate>Fri, 22 Jun 2007 21:25:24 +0000</pubDate>
		<dc:creator>Sven Dens</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.svendens.be/blog/archives/22</guid>
		<description><![CDATA[Dear readers,
Sorry for the long silence, it&#8217;s been extremely busy at work for the past weeks.
I&#8217;ve also been making a website for my wedding next month, and for that I wanted to use the magnificent FlexBook component written by Elijah Greenfield.  I struggled a little getting it to work on my MacBook Pro without [...]]]></description>
			<content:encoded><![CDATA[<p>Dear readers,</p>
<p>Sorry for the long silence, it&#8217;s been extremely busy at work for the past weeks.<br />
I&#8217;ve also been making a website for my wedding next month, and for that I wanted to use the <a title="FlexBook Component" href="http://www.quietlyscheming.com/blog/components/flexbook/" target="_blank">magnificent FlexBook component written by Elijah Greenfield</a>.  I struggled a little getting it to work on my MacBook Pro without FlexBuilder installed, but finally managed to get it to work and I&#8217;d love to share it with you as the tutorials for this component on the web seem to be non-existing.</p>
<p>To take it one step further, I also got it working in Flex 3 (which has been released on Adobe Labs) and running in Adobe AIR (formerly Apollo), which I thought was pretty cool <img src='http://www.svendens.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
<a title="Download FlexBook/AIR sources" href="http://www.svendens.com/downloads/AIRHelloWorld.zip" target="_blank">You can download the sources here</a>.</p>
<p>To make it extremely cool, I wondered if I could get it to work in Remoting also using AMFPHP 1.9, Flex3 and running in AIR.  And so I did:-)<br />
The sources for a simple &#8220;Hello World&#8221; demo and for the AMFPHP demo are also included in the same ZIP-file.</p>
<p>As always, everything was built using only Open Source software (in my case in Eclipse using the free Flex2/Flex3 SDK, the AIR SDK and the FlexBook component, and AMFPHP 1.9), it can run on any platform at no cost.</p>
<p>If you don&#8217;t have the Flex3 SDK or Adobe AIR SDK yet, <a title="Adobe Labs" href="http://labs.adobe.com" target="_blank">head over to Adobe Labs first to download them</a>.<br />
Included in the ZIP-file is everything you need to make it run.<br />
Simply unzip the contents of the ZIP-file to a directory on your PC/Mac, create a new project in Eclipse and import the files.<br />
You&#8217;ll notice the build.properties file.  It is set up to compile the FlexBook demo by default.  However, all that is needed to compile the HelloWorld demo and the AMFPHP demo is also set-up.  All you need to do to compileone of those is comment out the appropriate lines in the build.properties file, and comment the ones you don&#8217;t need anymore.</p>
<p>For more detailed instructions on how to set up your Eclipse environment and use the ANT-templates, check out my other post: <a href="http://www.svendens.com/blog/archives/7" target="_blank">&#8220;Build and compile AS3, Flex2 and Apollo applications in Eclipse using Mac OS X&#8221;</a>.</p>
<p>Basically, to use the FlexBook component, you only need to include the namespaces xmlns:controls=&#8221;qs.controls.*&#8221; and xmlns:effects=&#8221;qs.effects.*&#8221; in your mxml file.  Make sure you use the right classpath, including it like this presumes the folder &#8220;qs&#8221; is on the same level in the hierarchy as your MXML-file.  If you unzipped the contents of my download it should be in the right place.</p>
<p>Next, you can use the FlexBook component as such:</p>
<div class="codecolorer-container xml mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;height:300px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;controls:FlexBook</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;book&quot;</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">&quot;70&quot;</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">&quot;580&quot;</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">&quot;435&quot;</span> <span style="color: #000066;">horizontalCenter</span>=<span style="color: #ff0000;">&quot;0&quot;</span></span><br />
<span style="color: #009900;">&nbsp; &nbsp; <span style="color: #000066;">animateCurrentPageIndex</span>=<span style="color: #ff0000;">&quot;true&quot;</span></span><br />
<span style="color: #009900;">&nbsp; &nbsp; <span style="color: #000066;">animatePagesOnTurn</span>=<span style="color: #ff0000;">&quot;true&quot;</span></span><br />
<span style="color: #009900;">&nbsp; &nbsp; <span style="color: #000066;">activeGrabArea</span>=<span style="color: #ff0000;">&quot;corner&quot;</span></span><br />
<span style="color: #009900;">&nbsp; &nbsp; <span style="color: #000066;">edgeAndCornerSize</span>=<span style="color: #ff0000;">&quot;50&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><br />
<br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">&lt;!--create the cover page in the book--&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;controls:cover<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;mx:Label</span> <span style="color: #000066;">text</span>=<span style="color: #ff0000;">&quot;FlexBook AIR example&quot;</span> <span style="color: #000066;">fontSize</span>=<span style="color: #ff0000;">&quot;18&quot;</span> <span style="color: #000066;">horizontalCenter</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">verticalCenter</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">&quot;100%&quot;</span> <span style="color: #000066;">textAlign</span>=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/controls:cover<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">&lt;!--create the back cover page--&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;controls:backCover<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;mx:Label</span> <span style="color: #000066;">text</span>=<span style="color: #ff0000;">&quot;And now, go study and have fun :-)&quot;</span> <span style="color: #000066;">fontSize</span>=<span style="color: #ff0000;">&quot;12&quot;</span> <span style="color: #000066;">horizontalCenter</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">verticalCenter</span>=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">&quot;100%&quot;</span> <span style="color: #000066;">textAlign</span>=<span style="color: #ff0000;">&quot;center&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/controls:backCover<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;mx:Image</span> <span style="color: #000066;">source</span>=<span style="color: #ff0000;">&quot;@Embed('assets/ss1.jpg')&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;mx:Image</span> <span style="color: #000066;">source</span>=<span style="color: #ff0000;">&quot;@Embed('assets/ss2.jpg')&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;mx:Image</span> <span style="color: #000066;">source</span>=<span style="color: #ff0000;">&quot;@Embed('assets/ss3.jpg')&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;mx:Image</span> <span style="color: #000066;">source</span>=<span style="color: #ff0000;">&quot;@Embed('assets/ss4.jpg')&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;mx:Image</span> <span style="color: #000066;">source</span>=<span style="color: #ff0000;">&quot;@Embed('assets/ss5.jpg')&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;mx:Image</span> <span style="color: #000066;">source</span>=<span style="color: #ff0000;">&quot;@Embed('assets/ss6.jpg')&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/controls:FlexBook<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
<p>The &#8220;controls&#8221; namespace is known because you referenced it in your Application tag.  To compile, the compiler also needs to know where to find the AS3 sources for the component.  That is handled by the build.xml file which serves the right source path to the compiler (qs.*).<br />
Next, you need to provide a front- and back-cover.  Between these tags you can use any Flex component you like, like a mx:Label, mx:Text, mx:Image and so on.</p>
<p>Following the &lt;/controls:backCover&gt; tag you start creating the pages of your FlexBook.  Each component you use represents a new page in the FlexBook.  In the demo I just used 6 &lt;mx:Image&gt; tags with embedded images to create 6 photo-pages.  Feel free to replace them with your own content, or to use entirely different stuff.  You can embed webpages, video, text, htmlText, images, &#8230; or your own components.</p>
<p>To compile them for Adobe AIR, you need 1 more XML file that describes your AIR Application.  There are 3 files included in the ZIP-archive, one for each demo.</p>
<p>If the compiler gives you cr@p about compile-time constants, edit the flex-config.xml and set the &#8220;strict&#8221;-option to false.  Then you should have no more trouble compiling the sources.</p>
<p>Use it, have fun with it, study it, and let me know what you think!</p>
<p>(P.S.: I&#8217;ll be posting more demo&#8217;s on Flex2/3, AIR and combining them with AMFPHP this weekend.  One of them will be an Flex3/AMFPHP example of how to create a guestbook once I&#8217;ve written that for my wedding website.  If you speak Dutch or are just curious, go and have a look <img src='http://www.svendens.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  -&gt; <a title="The website for my wedding" href="http://www.pinnemuts.be" target="_blank">http://www.pinnemuts.be</a> And let me know what you think about it.)</p>
<p>Sven</p>
]]></content:encoded>
			<wfw:commentRss>http://www.svendens.com/flex/flexbook-in-flex3-running-in-adobe-air/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Web Flash Festival &#8211; a story in pictures</title>
		<link>http://www.svendens.com/events/web-flash-festival-a-story-in-pictures/</link>
		<comments>http://www.svendens.com/events/web-flash-festival-a-story-in-pictures/#comments</comments>
		<pubDate>Tue, 29 May 2007 00:27:48 +0000</pubDate>
		<dc:creator>Sven Dens</dc:creator>
				<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://www.svendens.be/blog/archives/21</guid>
		<description><![CDATA[Saturday, May 26 2007, 5AM: the Boulevart crowd gathering to drive off to Paris

It should be illegal to get up at 4AM&#8230;
 Meet Bert, our design guru 

Mr. Wim Vanhenden is in the mood!

Arrival at the hotel, we&#8217;ve been driving (too) fast, glad to arrive in 1 piece with our sleepy heads 

In the Paris [...]]]></description>
			<content:encoded><![CDATA[<p>Saturday, May 26 2007, 5AM: the Boulevart crowd gathering to drive off to Paris<br />
<img src="http://www.svendens.com/images/wff07_01.jpg" /></p>
<p>It should be illegal to get up at 4AM&#8230;<br />
<span id="more-17"></span> Meet Bert, our design guru <img src='http://www.svendens.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
<img src="http://www.svendens.com/images/wff07_09.jpg" /></p>
<p>Mr. <a href="http://seeing-is-believing.blogspot.com/" target="_blank">Wim Vanhenden</a> is in the mood!<br />
<img src="http://www.svendens.com/images/wff07_08.jpg" /></p>
<p>Arrival at the hotel, we&#8217;ve been driving (too) fast, glad to arrive in 1 piece with our sleepy heads <img src='http://www.svendens.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
<img src="http://www.svendens.com/images/wff07_07.jpg" /></p>
<p>In the Paris subway, heading over to the Centre Pompidou.  Meet Mr. Hans Humblet, Mr. Indra &#8216;t Jolle, Mr. Stefan Verbakel, Mr. Frederic Humblet, Mr. Wim Vanhenden and Mr. Maarten Serneels, the Boulevart Flash Team.<br />
<img src="http://www.svendens.com/images/wff07_06.jpg" /></p>
<p>Web Flash Festival Paris, here we are!<br />
<img src="http://www.svendens.com/images/wff07_05.jpg" /></p>
<p>Wim and Erik Natzke, look how proud he is <img src='http://www.svendens.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
<img src="http://www.svendens.com/images/wff07_04.jpg" /></p>
<p>Again Wim (this dude seems popular <img src='http://www.svendens.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  ), now in front of the Centre Pompidou, with the Flash Gang in the background<br />
<img src="http://www.svendens.com/images/wff07_03.jpg" /></p>
<p>And myself, reporting to you live <img src='http://www.svendens.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
<img src="http://www.svendens.com/images/wff07_02.jpg" /></p>
<p>From Paris with love</p>
]]></content:encoded>
			<wfw:commentRss>http://www.svendens.com/events/web-flash-festival-a-story-in-pictures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Flash Festival retrospect</title>
		<link>http://www.svendens.com/events/web-flash-festival-retrospect/</link>
		<comments>http://www.svendens.com/events/web-flash-festival-retrospect/#comments</comments>
		<pubDate>Tue, 29 May 2007 00:08:00 +0000</pubDate>
		<dc:creator>Sven Dens</dc:creator>
				<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://www.svendens.be/blog/archives/20</guid>
		<description><![CDATA[Yesterday evening I got home after 2 days in Paris for the WFF 07.
In retrospect, I must say that it hasn&#8217;t been what I&#8217;d expected it to be.  Although there were some really nice sessions (like that by Erik Natzke and Carlos Ulloa), the overall level was below-average in my opinion and I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday evening I got home after 2 days in Paris for the WFF 07.</p>
<p>In retrospect, I must say that it hasn&#8217;t been what I&#8217;d expected it to be.  Although there were some really nice sessions (like that by Erik Natzke and Carlos Ulloa), the overall level was below-average in my opinion and I don&#8217;t think I&#8217;ll be attending next year.</p>
<p><span id="more-16"></span>From an event taking place in the artistic Centre Pompidou in the heart of Paris, I expect at least to find a nice ambiance, a vibrant atmosphere, enthousiastic creative people gathering to see what everyone else is doing and sharing ideas with each other.  Instead I found a badly organized event (it took me 10 minutes to find the location inside the Centre Pompidou where the event was taking place, not even an arrow in the entrance showing where you needed to be), with people just walking in and out the rooms where the sessions were being held, no bar or lounge to socialize or do some networking, no video screens, no music, no nothing to make it more of an event than of a&#8221;place were lectures were being held&#8221;.</p>
<p>That&#8217;s a real shame, and a missed opportunity.<br />
Another thing that bothered me beyond reason is the fact that in every non-French spoken session, there was an interpreter sitting next to the presenter of the session translating every sentence the guy had to say.  While the French are generally not the best English-speaking people in the world, it amazed and annoyed me to see that even web professionals (who I expect to be at such an event) are incapable of understanding what&#8217;s being said during a 1-hour session.  This means that the presenter actually could only talk during a half hour, because the other half hour was being spent on translations.  And although most  of it was translated correctly, the translator also got it completely wrong some times, pointing out a whole different story to the public as was being told by the presenter (as was the case with Erik&#8217;s session a couple of times).</p>
<p>Some other sessions just sucked &#8211; pardon my French <img src='http://www.svendens.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  &#8211; and one even went completely down the drain due to a non-functioning demo that lasted over 30 minutes without the presenter realizing her demo didn&#8217;t work, until it started throwing one error after another and finally just crashed (the demo showing alleged interaction between a Wiimote and Flash).</p>
<p>That&#8217;s the reason why on Sunday, I decided to enjoy a day of Paris instead of going to the second day at the event, thereby missing out on the session on Processing by Douglas Eric Stanley which I would have liked to attend, and the closing event with amazing work from Erik Natzke.  Too bad I didn&#8217;t see those 2, but it didn&#8217;t make much sense to me to go to the Centre Pompidou at 2PM to see the first session for 45 minutes, then have nothing interesting on for 5 hours and finally enjoying an hour of Natzke at 8PM.</p>
<p>Nope, the Web Flash Festival was a 1-time-thing for me.  But nevertheless I&#8217;m glad I went over there to know what it was like, and I&#8217;ve been to Paris once more, which is never a bad thing <img src='http://www.svendens.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.svendens.com/events/web-flash-festival-retrospect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Carlos Ulloa at Web Flash Festival Paris</title>
		<link>http://www.svendens.com/events/carlos-ulloa-at-web-flash-festival-paris/</link>
		<comments>http://www.svendens.com/events/carlos-ulloa-at-web-flash-festival-paris/#comments</comments>
		<pubDate>Mon, 28 May 2007 23:39:34 +0000</pubDate>
		<dc:creator>Sven Dens</dc:creator>
				<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://www.svendens.be/blog/archives/19</guid>
		<description><![CDATA[
Last Saturday I saw Carlos Ulloa at WFF doing a talk on Papervision3D.  Carlos is the founder of this amazing project, and it was very interesting to hear him talk about how it all started and where PPV3D is heading in the near future.
Carlos worked for many years at Sony in London as a [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.svendens.com/images/wff07_papervision3d_02.jpg" /></p>
<p>Last Saturday I saw <a href="http://blog.noventaynueve.com/" title="Carlos Ulloa's blog" target="_blank">Carlos Ulloa</a> at WFF doing a talk on <a href="http://blog.papervision3d.org/" title="Papervision3D" target="_blank">Papervision3D</a>.  Carlos is the founder of this amazing project, and it was very interesting to hear him talk about how it all started and where PPV3D is heading in the near future.</p>
<p>Carlos worked for many years at Sony in London as a game developer/designer.  It wasn&#8217;t untill Spark Europe in Amsterdam in november 2005 where the idea arose that it would be cool to have a good 3D engine for Flash, and Papervision3D was born.  The first one to join Carlos to kick off the project was Joost Korngold (better known as <a href="http://www.renascent.nl/" target="_blank">renascent</a>), and on December 1st 2006, PPV3D was first published as Open Source on OSFLash under the MIT license.</p>
<p><span id="more-15"></span>The team was quickly joined by John Grden and Ralph Hauwert, and in no time hundreds of other people jumped on the bus.  PPV3D now has over 2000 bÃ¨ta testers and it&#8217;s still groing.</p>
<p>The objectives for PPV3D were clear from the start: it had to be powerful and easy to use.  People &#8211; especially people trying out Open Source software &#8211; tend to download a software and start to play around with it for a couple of minutes, and if they&#8217;re not able to get going with it really quickly they&#8217;ll just throw it away and never look at it again.  So to make sure this wouldn&#8217;t be the case with PPV3D, the developers payed a lot of attention to the fact that people should be able to pick it up and start playing with it quickly.</p>
<p>To make it powerful, the team chose the following approach:</p>
<ul>
<li>production driven design</li>
<li>optimized for high performance</li>
<li>linear texture mapping</li>
<li>hierarchy, instances and materials management</li>
</ul>
<p>To provide ease of use, they remained aware of the fact that both developers and designers were going to be using the software, and provided features that would benefit both of them.<br />
For developers, this is using an AS3-style syntax and making sure there are no maths required to make it work.<br />
For designers, they made it so designers could use their own 3D package, create &amp; modify stuff without having to recompile the SWF, and prototype their scenes easily.</p>
<p>Carlos then went into some of the deeper details of the framework, showing how it was architectured and how you can use it to build some truly amazing stuff.  It would take me too far to describe the whole framework here, so I&#8217;d suggest you download it yourself and try it out.  And you&#8217;ve seen it and used it, I guarantee you you&#8217;re hooked!</p>
<p>Papervision 3D release 1.0 is being tested for 4 months now, and only has some minor bugs still to be fixed, but the developers want it to be rock-solid  when it&#8217;ll be released to the world.  So for the final 1.0 release you&#8217;ll have to hang on to your socks for a little while still.</p>
<p>Carlos, thanks for the inspiring session and keep up the amazing work!</p>
<p><img src="http://www.svendens.com/images/wff07_papervision3d.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.svendens.com/events/carlos-ulloa-at-web-flash-festival-paris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Erik Natzke at Web Flash Festival Paris</title>
		<link>http://www.svendens.com/events/erik-natzke-at-web-flash-festival-paris/</link>
		<comments>http://www.svendens.com/events/erik-natzke-at-web-flash-festival-paris/#comments</comments>
		<pubDate>Sat, 26 May 2007 13:51:32 +0000</pubDate>
		<dc:creator>Sven Dens</dc:creator>
				<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://www.svendens.be/blog/archives/18</guid>
		<description><![CDATA[
Just saw Erik&#8217;s session at the WFF in Paris.  All I can say is WOW!  So inspiring, so impressive, it rocked my world!
Must say that I&#8217;m glad I didn&#8217;t give up on the festival after the dissapointing kick-off this morning!
Erik showed the evolution of his own work, from the time he himself just [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.svendens.com/images/wff07_natzke_stefan.jpg" /></p>
<p>Just saw <a href="http://jot.eriknatzke.com/" title="Erik Natzke" target="_blank">Erik</a>&#8217;s session at the WFF in Paris.  All I can say is WOW!  So inspiring, so impressive, it rocked my world!</p>
<p>Must say that I&#8217;m glad I didn&#8217;t give up on the festival after the dissapointing kick-off this morning!<br />
Erik showed the evolution of his own work, from the time he himself just started out &#8217;till now.  He started off by saying that he was originally a pure designer with no programming skills whatsoever.  Animations he built in Flash were built using keyframes on the timeline, which led up to enormous FLA files using hundreds of keyframes to create his animations.</p>
<p>He then realized there had to be a better way of doing things, and started looking into ActionScript.</p>
<p><span id="more-14"></span>Getting to know his way around more and more in the language, he became a better animator, but he was also constantly searching for &#8220;the extra mile&#8221;.  How could something that looked really good be turned into something even better?<br />
The answer, maybe surprisingly, was math and physics.</p>
<p>Experimenting with gravity, easing, elasticity and other Laws of Nature he evolved into a true Flash Artist.<br />
He showed some examples of where he was given a jellyfish by a client which he had to animate.  To make it as realistic as possible, he needed to have an effect of the tentacles moving around in the water, and that meant doing collision detection on lines in Flash.  Another VERY impressive demo was where he would take a bitmap in Flash, mouse over the image generating vector data from it using his code, print it out to PostScript (in Flash <img src='http://www.svendens.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> and import it into Illustrator, where it then could be scaled to any size.</p>
<p>The show ended with a quick preview of the closing session for this event tomorrow morning.  Generated images, all from Flash, accompanied by awsome music.</p>
<p>I can&#8217;t really explain to you just how great this was, so I recorded a little video which I&#8217;ll be posting tonight from my hotel room (hope the video is ok).</p>
<p>UPDATE: Sorry dear readers, but the video recording failed <img src='http://www.svendens.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /><br />
I&#8217;ll need to get myself a better camera.  So no video, sorry&#8230;</p>
<p>Erik, if you&#8217;re reading this, a big THANK YOU for the amazing display and the inspiration you bring to us all!!</p>
<p>By the way, the other cool dude on the picture is my respected colleague Stefan Verbakel, a young design genius.  Be sure to <a href="http://showmethis.blogspot.com/" title="Stefan Verbakel's blog" target="_blank">check out his blog</a> from time to time too.  It&#8217;s been a little quiet there lately, but I&#8217;ll get him to write again and I can assure you it&#8217;s worth the read!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.svendens.com/events/erik-natzke-at-web-flash-festival-paris/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sitting at the Web Flash Festival in Paris</title>
		<link>http://www.svendens.com/events/sitting-at-the-web-flash-festival-in-paris/</link>
		<comments>http://www.svendens.com/events/sitting-at-the-web-flash-festival-in-paris/#comments</comments>
		<pubDate>Sat, 26 May 2007 11:07:42 +0000</pubDate>
		<dc:creator>Sven Dens</dc:creator>
				<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://www.svendens.be/blog/archives/17</guid>
		<description><![CDATA[
Bonjour, chèrs spectateurs!
Don&#8217;t understand what&#8217;s written above?  If you&#8217;ve read my other post on Aral&#8217;s session at MultiMania yesterday, you know what to do: use the web and all it&#8217;s great software to find the translation.
Currently, the Web Flash Festival is going on at the Centre Pompidou in Paris.  We&#8217;re here with 11 [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.svendens.com/images/wff07_05.jpg" alt="" /></p>
<p>Bonjour, chèrs spectateurs!</p>
<p>Don&#8217;t understand what&#8217;s written above?  If you&#8217;ve read my other post on Aral&#8217;s session at MultiMania yesterday, you know what to do: use the web and all it&#8217;s great software to find the translation.</p>
<p>Currently, the Web Flash Festival is going on at the Centre Pompidou in Paris.  We&#8217;re here with 11 guys from our company, so the ambience is great!  Just watched a video of past contestors and winners in the Flash animation category, and I&#8217;m sorry to say, it sucked <img src='http://www.svendens.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>I don&#8217;t like to bash people, and I do hope this event is going to be better as the day advances, but first impressions are far from great.  There&#8217;s (almost) no one here (around 40 visitors for the moment I guess), there&#8217;s no &#8220;schwung&#8221;, just not a creative atmosphere, and the quality of the work displayed so far was far below expectation.</p>
<p>This afternoon, Eric Natzke is going to do a session, that almost can&#8217;t be bad&#8230;  let&#8217;s hope so!<br />
I&#8217;ll keep you posted!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.svendens.com/events/sitting-at-the-web-flash-festival-in-paris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
