<?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>Promethe's Blog &#187; Flex</title>
	<atom:link href="http://blog.promethe.net/tag/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.promethe.net</link>
	<description>Web, RIAs and chocolate spaghettis...</description>
	<lastBuildDate>Tue, 29 Jun 2010 09:24:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Flash Builder 4 and Flex 4 SDK released</title>
		<link>http://blog.promethe.net/2010/03/22/flash-builder-4-and-flex-4-sdk-released/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=flash-builder-4-and-flex-4-sdk-released</link>
		<comments>http://blog.promethe.net/2010/03/22/flash-builder-4-and-flex-4-sdk-released/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 19:21:41 +0000</pubDate>
		<dc:creator>Promethe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Flash Builder 4]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.promethe.net/?p=669</guid>
		<description><![CDATA[Flash Builder 4 and the Flex 4 SDK have just been both released! You can read more about the new features on the official release blog post: Flex 4 SDK and Flash Builder 4 final releases are here... And here come the download pages: Flex SDK download page Flash Builder 4 60-days trial download page]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.promethe.net/wp-content/uploads/2010/03/flashbuilder4.jpg" rel="shadowbox[post-669];player=img;"><img class="aligncenter size-full wp-image-673" title="flashbuilder4" src="http://blog.promethe.net/wp-content/uploads/2010/03/flashbuilder4.jpg" alt="" width="264" height="248" /></a></p>
<p>Flash Builder 4 and the Flex 4 SDK have just been both released! You can read more about the new features on the official release blog post:</p>
<p id="page-title"><a href="http://blogs.adobe.com/flex/archives/2010/03/flex_4_sdk_and_flash_builder_4.html" target="_self">Flex 4 SDK and Flash  Builder 4 final releases are here...</a></p>
<p>And here come the download pages:</p>
<ul>
<li><a href="http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4" target="_self">Flex SDK download page</a></li>
<li><a href="http://www.adobe.com/cfusion/tdrc/index.cfm?product=flash_builder" target="_self">Flash Builder 4 60-days trial download page</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.promethe.net/2010/03/22/flash-builder-4-and-flex-4-sdk-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MadCompany: Coming Soon!</title>
		<link>http://blog.promethe.net/2009/12/10/madcompany-coming-soon/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=madcompany-coming-soon</link>
		<comments>http://blog.promethe.net/2009/12/10/madcompany-coming-soon/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 23:05:04 +0000</pubDate>
		<dc:creator>Promethe</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[Augmented Reality]]></category>
		<category><![CDATA[FLARToolkit]]></category>
		<category><![CDATA[Flash 10]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.promethe.net/?p=554</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><center><br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/wrfLwa1aXrI&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/wrfLwa1aXrI&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.promethe.net/2009/12/10/madcompany-coming-soon/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>rSoul v0.1b</title>
		<link>http://blog.promethe.net/2009/11/05/rsoul-v0-1b/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rsoul-v0-1b</link>
		<comments>http://blog.promethe.net/2009/11/05/rsoul-v0-1b/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 13:03:48 +0000</pubDate>
		<dc:creator>Promethe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[rSoul]]></category>

		<guid isPermaLink="false">http://blog.promethe.net/?p=534</guid>
		<description><![CDATA[rSoul is my very first public AIR application. It is an open-source NetSoul client.  Since NetSoul is not a commonly used protocol it won't be useful for many people. Still, the NetSoul protocol is mandatory when you want to have access to the PIE (Parc Informatique de l'EPITA). And the source might help anyone willing [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://rsoul.promethe.net" target="_blank">rSoul</a> is my very first public AIR application. It is an open-source NetSoul client.  Since NetSoul is not a commonly used protocol it won't be useful for many people. Still, the NetSoul protocol is mandatory when you want to have access to the PIE (Parc Informatique de l'EPITA). And the <a href="http://sources.promethe.net/rsoul/" target="_blank">source</a> might help anyone willing to build his very first AIR application. The user interface is very light and I tried to keep it as simple and as intuitive as possible.</p>
<p>Like any other AIR application, rSoul is cross-platform and works on Windows, Linux and Mac OS X. You can install it and get the sources from the rSoul website:</p>
<p><a href="http://rsoul.promethe.net" target="_blank">http://rsoul.promethe.net</a></p>
<p>Here are a few screenshots:</p>
<div><a href="http://blog.promethe.net/wp-content/uploads/2009/11/rsoul_login.jpg" rel="shadowbox[post-534];player=img;"><br />
<img class="size-full wp-image-535 aligncenter" title="rsoul_login" src="http://blog.promethe.net/wp-content/uploads/2009/11/rsoul_login.jpg" alt="rsoul_login" width="208" height="267" /><br />
</a></div>
<div><a href="http://blog.promethe.net/wp-content/uploads/2009/11/rsoul_contacts.jpg" rel="shadowbox[post-534];player=img;"><img class="size-full wp-image-536 aligncenter" title="rsoul_contacts" src="http://blog.promethe.net/wp-content/uploads/2009/11/rsoul_contacts.jpg" alt="rsoul_contacts" width="208" height="267" /><br />
</a></div>
<h4><a href="http://blog.promethe.net/wp-content/uploads/2009/11/rsoul_chat.jpg" rel="shadowbox[post-534];player=img;"><img class="size-full wp-image-539 aligncenter" title="rsoul_chat" src="http://blog.promethe.net/wp-content/uploads/2009/11/rsoul_chat.jpg" alt="rsoul_chat" width="408" height="327" /></a></h4>
<h4>Features</h4>
<p>This first release includes the following features:</p>
<ul>
<li>Online/Away/Busy status</li>
<li>Location configuration</li>
<li>"Remember Password" option</li>
<li>Auto-connect option</li>
<li>Contacts list</li>
<li>Add/Remove contacts</li>
<li>Tabbed chat</li>
<li>Auto-update</li>
<li>Connection errors handling</li>
</ul>
<h4>Known issues</h4>
<ul>
<li>Some special characters are not handled correctly</li>
<li>The application does not (yet) minimize itself to the system tray</li>
<li>Contacts status is not updated</li>
</ul>
<p>If you found any bug or have any suggestion please feel free to add a comment...</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.promethe.net/2009/11/05/rsoul-v0-1b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIR 2.0 Sneak Peek</title>
		<link>http://blog.promethe.net/2009/09/24/air-2-0-sneak-peek/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=air-2-0-sneak-peek</link>
		<comments>http://blog.promethe.net/2009/09/24/air-2-0-sneak-peek/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 20:40:34 +0000</pubDate>
		<dc:creator>Promethe</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[AIR 2.0]]></category>
		<category><![CDATA[Flash 10]]></category>
		<category><![CDATA[Microphone]]></category>
		<category><![CDATA[Tontons Flexeurs]]></category>

		<guid isPermaLink="false">http://blog.promethe.net/?p=415</guid>
		<description><![CDATA[Tonight I attended the "TonTon Flexeurs" (TTFX) meeting with Lee Brimelow and Mike Chambers. While Lee explained all the things that can be done to extend the Flash Platform using the ByteArray class, Mike presented a few of the latest as3corelib library features and a sneak peek of AIR 2.0. AIR 2.0 - codename "Athena" [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight I attended the "TonTon Flexeurs" (TTFX) meeting with <a title="The Flash Blog" href="http://theflashblog.com/" target="_blank">Lee Brimelow</a> and <a href="http://www.mikechambers.com" target="_blank">Mike Chambers</a>. While Lee explained all the things that can be done to extend the Flash Platform using the ByteArray class, Mike presented a few of the latest <a href="http://code.google.com/p/as3corelib/" target="_blank">as3corelib</a> library features and a sneak peek of AIR 2.0. AIR 2.0 - codename "Athena" - will feature a lot of new system related updates. Discover a few of them (including a worldwide exclusive!) right after the jump...</p>
<p>You can also look at <a href="http://codemoiunmouton.wordpress.com/" target="_blank">Michael Chaize</a>'s <a href="http://www.flickr.com/photos/8016210@N06/sets/72157622451945662/" target="_blank">event photo album on Flickr</a>!<br />
<span id="more-415"></span></p>
<h4><strong>Volumes monitoring</strong></h4>
<p>AIR will provide new APIs to monitor volumes such as USB sticks or Firewire hard drives. Those APIs will enable the user to listen for specific events dispatched when a volume is mounted/unmounted.</p>
<h4><strong>Native-processes handling</strong></h4>
<p>A new API will enable access to native processes. It will now be possible to launch any "classic" third-party application using ActionScript 3 only. The only drawback being that such AIR applications loses their cross-platform ability and can not be deployed using standards *.air files.</p>
<p>Another API makes it possible to open a file using the default application. A *.txt file would them open itself in notepad, a *.psd file inside Photoshop, a path will open the explorer, etc... and this feature will be available inside any AIR application!</p>
<h4><strong>Direct microphone data access</strong></h4>
<p>And this is <a href="http://bugs.adobe.com/jira/browse/FP-1766" target="_blank">the feature a lot of people have been waiting for</a>! Microphone data will now be directly available through dedicated events and a ByteArray object. It will work pretty much the same way sockets/loaders do: each time sound data is received by the microphone, an event will be fired with the embed sound data as a ByteArray object. It is then very easy to manipulate this sound data or even save it to a *.wav file.</p>
<div id="attachment_423" class="wp-caption aligncenter" style="width: 645px"><a href="http://theflashblog.com/?p=1426" target="_blank"><img class="size-full wp-image-423 " title="mike_chambers_ttfx_24092009" src="http://blog.promethe.net/wp-content/uploads/2009/09/mike_chambers_ttfx_24092009.jpg" alt="mike_chambers_ttfx_24092009" width="635" height="357" /></a><p class="wp-caption-text">Click the photo to view the full video on Lee Brimelow&#39;s &quot;The Flash Blog&quot;</p></div>
<p style="text-align: center;">
<p>Thank you very much Mike and Lee for all those great news! I bet MAX will be even bigger.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.promethe.net/2009/09/24/air-2-0-sneak-peek/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Rich User Interface design with Balsamiq Mockups and Napkee</title>
		<link>http://blog.promethe.net/2009/08/20/rich-user-interface-design-with-balsamiq-mockups-and-napkee/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rich-user-interface-design-with-balsamiq-mockups-and-napkee</link>
		<comments>http://blog.promethe.net/2009/08/20/rich-user-interface-design-with-balsamiq-mockups-and-napkee/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 12:12:13 +0000</pubDate>
		<dc:creator>Promethe</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://blog.promethe.net/?p=357</guid>
		<description><![CDATA[Creating a rich and efficient User Interface (UI) is the Saint Graal of every Rich Internet Application (RIA) developer. As Michael Chaize said it in his RIA introduction conference he made this year at EPITA, we call it "Rich" Internet Application because the software takes advantage of a rich User Interface and offers a rich [...]]]></description>
			<content:encoded><![CDATA[<p>Creating a rich and efficient User Interface (UI) is the Saint Graal of every Rich Internet Application (RIA) developer. As <a href="http://codemoiunmouton.wordpress.com/" target="_blank">Michael Chaize</a> said it in his <a href="http://codemoiunmouton.wordpress.com/2009/01/27/evenement-ria-a-lepita/" target="_blank">RIA introduction conference he made this year at EPITA</a>, we call it "Rich" Internet Application because the software takes advantage of a rich User Interface and offers a rich user experience.</p>
<p>Flex developers can use the "Design" view of Flash Builder to design their UI. But this method requires to already have the components you want to work with and make sure they are full MXML. Because the WYSIWYG editor of Flash Builder does not interpret ActionScript components, it is more of a "What You See Is ore Or Less What You Get". If you need more than the Flash Builder WYSIMOLWYG editor -- and I certainly hope you do <img src='http://blog.promethe.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  -- here are two awesome tools to create and export UI mockups.</p>
<p>More details right after the jump...</p>
<p><span id="more-357"></span></p>
<p>The first one is called <a href="http://www.balsamiq.com/products/mockups" target="_blank">Balsamiq Mockups</a> and enables you to create the rich UI mockups per say.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/aJTuFRaIi_g&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/aJTuFRaIi_g&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>The second one is called <a href="http://www.napkee.com" target="_blank">Napkee</a>, and import Balsamiq mockups to export them targeting an HTML/AJAX web application or a Flex  project :</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/BnU0akkM9R8&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/BnU0akkM9R8&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Those two applications use Adobe AIR. It is actually very neat to design AIR/Flex applications using an AIR Application. In my mind, this is quite a good proof that Flex and AIR are both relevant and efficient technologies.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.promethe.net/2009/08/20/rich-user-interface-design-with-balsamiq-mockups-and-napkee/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Compile Flash 10 libraries in Flex Builder 3</title>
		<link>http://blog.promethe.net/2008/09/03/compile-flash-10-libraries-in-flex-builder-3/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=compile-flash-10-libraries-in-flex-builder-3</link>
		<comments>http://blog.promethe.net/2008/09/03/compile-flash-10-libraries-in-flex-builder-3/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 14:31:59 +0000</pubDate>
		<dc:creator>Promethe</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash 10]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex Builder 3]]></category>

		<guid isPermaLink="false">http://blog.promethe.net/?p=105</guid>
		<description><![CDATA[In a previous post (cf. Work with Flash 10 in Flex Builder 3), I explained how to start using Flash 10 with Flex Builder 3 in a "classic" Flex Project. But if you want to create a Flash 10 Flex Library Project, it is a little bit more tricky. The Problem The main problem is [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">In a previous post (cf. <span style="color: #888888;"><a class="row-title" title="Edit &quot;Work with Flash 10 in Flex Builder 3&quot;" href="post.php?action=edit&amp;post=20">Work with Flash 10 in Flex Builder 3</a><span style="color: #000000;"><span class="row-title">), I explained how to start using Flash 10 with Flex Builder 3 in a "classic" Flex Project. But if you want to create a Flash 10 Flex Library Project, it is a little bit more tricky.</span></span></span></p>
<p><span id="more-105"></span></p>
<p style="text-align: justify;"><strong>The Problem</strong></p>
<p style="text-align: justify;">The main problem is that even if you select a Flash 10 Flex SDK, Flex Builder configure the compiler to use Flash 9 only. In my first article, I explained that a simple solution was the following :</p>
<ol style="text-align: justify;">
<li>Open the Properties of your Flex Project (right click on the project in the Flex Navigator tab then “Properties”)</li>
<li>Go to “Flex Compiler”</li>
<li>Check “Use a specific SDK” and select the SDK you just installed</li>
<li>Check “Require Flash Player version” and set the value to 10.0.0</li>
</ol>
<p style="text-align: justify;">But the thing is you can not specify a "Required Flash Player version" for a Flex Library Project. When you will try to compile, any reference to a Flash 10 class will cause an error even if you have selected the right Flex SDK (steps 1, 2 and 3 above).</p>
<p style="text-align: justify;"><strong>The Solution</strong></p>
<p style="text-align: justify;">The solution is rather simple :</p>
<ol style="text-align: justify;">
<li>Close Flex Builder</li>
<li>Go to the root folder of your Flex Library project</li>
<li>Open the file named ".actionScriptProperties" with your favorite text editor</li>
<li>Search for  htmlPlayerVersion="9.0.28" and change it to  htmlPlayerVersion="10.0.0"</li>
<li>Launch Flex Builder 3</li>
<li>Try to compile your Flex Library Project</li>
</ol>
<p style="text-align: justify;">Your project should compile normaly and Flash 10 classes wont cause any error anymore.</p>
<p style="text-align: justify;">Nevertheless, it is quite weird to have to change the "htmlPlayerVersion" to "10.0.0" in order to compile properly. It seems the "htmlPlayerVersion" is actualy used to do more than just setting the HTML wrapper...</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.promethe.net/2008/09/03/compile-flash-10-libraries-in-flex-builder-3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Work with Flash 10 in Flex Builder 3</title>
		<link>http://blog.promethe.net/2008/08/21/work-with-flash-10-in-flex-builder-3/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=work-with-flash-10-in-flex-builder-3</link>
		<comments>http://blog.promethe.net/2008/08/21/work-with-flash-10-in-flex-builder-3/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 20:40:30 +0000</pubDate>
		<dc:creator>Promethe</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash 10]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex Builder 3]]></category>

		<guid isPermaLink="false">http://blog.promethe.net/?p=20</guid>
		<description><![CDATA[Flash 10 Beta is a good occasion to test some of the new features that the next version of this incredible piece of software will provide. This short step-by-step "how to" tutorial will teach you how to install the new Flex SDK and configure Flex Builder 3 in order to use it.]]></description>
			<content:encoded><![CDATA[<p><b><span style="color:red">UPDATE:</span> you can also read the new "<a href="Build Flash 10.1 applications with Flex Builder 3 or Flash Builder 4">Build Flash 10.1 applications with Flex Builder 3 or Flash Builder 4</a>" tutorial.</b></p>
<p style="text-align: justify;">Flash 10 Beta is a good occasion to test some of the new features that the next version of this incredible piece of software will provide. This short step-by-step "how to" tutorial will teach you how to install the new Flex SDK and configure Flex Builder 3 in order to use it.</p>
<p><span id="more-20"></span></p>
<p style="text-align: justify;"><strong>1.</strong> <strong>Install Flex Builder 3</strong></p>
<p style="text-align: justify;">As we start, only Flex Builder 3 (and eventually the Flash 9 Player) is installed.</p>
<p style="text-align: justify;"><strong>2. Download the last nightly build of the Flex SDK</strong></p>
<p style="text-align: justify;">Here are the download pages :</p>
<ul style="text-align: justify;">
<li><a href="http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3" target="_blank">Flex 3 SDK download page<br />
</a></li>
<li><a href="http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4" target="_blank">Flex 4 codename "Gumbo" SDK download page</a></li>
</ul>
<p style="text-align: justify;">I'm currently working with the Flex 4.0.0.2862 SDK myself, but any Thursday May 15, 2008 or later release will do the trick.</p>
<p style="text-align: justify;"><strong>3. Install the new Flex SDK</strong></p>
<p style="text-align: justify;">Extract the SDK wherever you want. FLEX_SDK is used hereafter to refer to the directory where you unzipped the SDK. I recommend to extract the SDK in your FLEX_BUILDER\sdks\SDK_VERSION directory, where FLEX_BUILDER refers to your Flex Builder 3 installation directory ("C:\Adobe\Flex Buider 3\sdks" by default) and SDK_VERSION refers to the version number of the nightly build SDK you downloaded (4.0.0.2862 for me). Here is how it should look :</p>
<p style="text-align: center;"><a href="http://blog.promethe.net/wp-content/uploads/2008/08/untitled.jpg" rel="shadowbox[post-20];player=img;"><img class="size-medium wp-image-29 aligncenter" title="flex4sdk_in_fb3_1" src="http://blog.promethe.net/wp-content/uploads/2008/08/untitled-300x101.jpg" alt="" width="300" height="101" /></a></p>
<p style="text-align: justify;"><strong>4. Install the Flash 10 Debug Player Plugin</strong></p>
<p style="text-align: justify;"><span style="color: #ff0000;"><strong>ATTENTION :</strong> </span><span style="color: #ff0000;">before installing the Flash 10 Player Plugin for your browser, make sure to uninstall any previous version. You might want to follow </span><a href="http://labs.adobe.com/technologies/flashplayer10/releasenotes.html#install"><span style="color: #ff0000;">Adobe's instructions</span></a><span style="color: #ff0000;"> in order to do that well. Refer to those instructions if you encounter any Flash 10 Player Plugin installation issue.A good thing would be to have two different web browsers : one to actually daily browse the internet, with the stable Flash 9 Player Plugin installed, and a second one to debug/run Flex projects with the Flash 10 Player Plugin.</span></p>
<div style="text-align: justify;"><span style="color: #ff0000;"> </span></div>
<p style="text-align: justify;">To find the suitable Flash 10 Player Plugin installer for your favorite web browser, go to "FLEX_SDK\runtimes\player\10" and then browse the folder that matches your OS ("win" for Windows for exemple). The idea here is to install the Flash 10 Player Plugin for the web browser that is used by Flex Builder 3 to debug/run your projects. This default web browser can be changed in Flex Builder 3 in the "Window\Preferences...\General\Web Browser" configuration menu.</p>
<p style="text-align: justify;">
<p style="text-align: justify;"><strong>5. Configure Flex Builder 3</strong></p>
<p style="text-align: justify;">Now we have to configure Flex Builder 3 in order to be able to use this very SDK. Launch Flex Builder 3 and then go to "Window\Preferences...". You should have this window :</p>
<p style="text-align: center;"><a href="http://blog.promethe.net/wp-content/uploads/2008/08/untitled1.jpg" rel="shadowbox[post-20];player=img;"><img class="size-medium wp-image-31 aligncenter" title="flex4sdk_in_fb3_2" src="http://blog.promethe.net/wp-content/uploads/2008/08/untitled1-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p style="text-align: justify;">
<p style="text-align: justify;">You should have the first two lines only at first. Then you click on "Add...", and browse into your drive to select the FLEX_SDK directory. If you select the right path, Flex Builder should be able to retrieve the SDK name all by itself. Then click on the "OK" button. It is better to keep your old Flex 3 SDK as the default SDK fpr compatibility purposes.</p>
<p style="text-align: justify;">The Flash 10 enabled SDKs are messing up with Flex Builder 3 auto-completion, so you might want to have <a href="http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_as3langref_070208.zip" target="_blank">the new ActionScript 3.0 Language Reference</a> which provides information on the syntax and usage of the new APIs. Just create the "FLEX_SDK\doc" directory and extract the ZIP archive in it.</p>
<p style="text-align: justify;">Because Flex Builder will not fully recognize this new Flex SDK, it might erase some of your "import" directives that seam to be wrong (but that are not...). It happens a lot especially when you use the "flash" package. To avoid this, you might want to uncheck "Keep imports organized" in the "Window\Preferences...\Flex\Editors\ActionScript Code" configuration panel. I know automated imports organizing is a great feature, but "import" directives vanishing all by themselves is a real mess and it does areally happend a lot. Thus, do not forget to re-enable this great feature when the Flex SDK will be fully integrated and functional.</p>
<p style="text-align: justify;"><strong>6. Create a new Flex project</strong></p>
<p style="text-align: justify;">Now that the new SDK is available in Flex Builder 3, create a new Flex project. In the project properties (right click on the project in the Flex Navigator tab then "Properties") go to "Flex Compiler".  Check "Use a specific SDK" and select the SDK you just installed ("Flex 4" in my case), then check "Require Flash Player version" and set the value to 10.0.0.</p>
<p style="text-align: justify;"><strong>7. Update the Flash Player detection system</strong></p>
<p style="text-align: justify;">As the Flash 10 player is still a beta, the version number is not well recognized by the Flash Plugin detection system. You have to edit the HTML template that is used to generate the HTML document where your SWF is going to be embed. In the directory of your Flex project, go to "html-template" and open the file "AC_OETags.js" with a text editor. Replace the whole "GetSwfVer" function with this one :</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> GetSwfVer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #006600; font-style: italic;">// NS/Opera version &amp;gt;= 3 check for Flash plugin in plugin array</span>
  <span style="color: #003366; font-weight: bold;">var</span> flashVer <span style="color: #339933;">=</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">plugins</span> <span style="color: #339933;">!=</span> <span style="color: #003366; font-weight: bold;">null</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> navigator.<span style="color: #660066;">plugins</span>.<span style="color: #660066;">length</span> <span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">plugins</span><span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;Shockwave Flash 2.0&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">||</span> navigator.<span style="color: #660066;">plugins</span><span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;Shockwave Flash&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
      <span style="color: #003366; font-weight: bold;">var</span> swVer2 <span style="color: #339933;">=</span> navigator.<span style="color: #660066;">plugins</span><span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;Shockwave Flash 2.0&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">?</span> <span style="color: #3366CC;">&quot; 2.0&quot;</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">;</span>
      <span style="color: #003366; font-weight: bold;">var</span> flashDescription <span style="color: #339933;">=</span> navigator.<span style="color: #660066;">plugins</span><span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;Shockwave Flash&quot;</span> <span style="color: #339933;">+</span> swVer2<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">description</span><span style="color: #339933;">;</span>
      <span style="color: #003366; font-weight: bold;">var</span> descArray <span style="color: #339933;">=</span> flashDescription.<span style="color: #660066;">split</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot; &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #003366; font-weight: bold;">var</span> tempArrayMajor <span style="color: #339933;">=</span> descArray<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">split</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #003366; font-weight: bold;">var</span> versionMajor <span style="color: #339933;">=</span> tempArrayMajor<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
      <span style="color: #003366; font-weight: bold;">var</span> versionMinor <span style="color: #339933;">=</span> tempArrayMajor<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
      <span style="color: #003366; font-weight: bold;">var</span> versionRevision <span style="color: #339933;">=</span> descArray<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
      <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>versionRevision <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #009900;">&#41;</span>
      <span style="color: #009900;">&#123;</span>
        versionRevision <span style="color: #339933;">=</span> descArray<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">4</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
      <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>versionRevision<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;d&quot;</span><span style="color: #009900;">&#41;</span>
      <span style="color: #009900;">&#123;</span>
        versionRevision <span style="color: #339933;">=</span> versionRevision.<span style="color: #660066;">substring</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
      <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>versionRevision<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;b&quot;</span><span style="color: #009900;">&#41;</span>
      <span style="color: #009900;">&#123;</span>
        versionRevision <span style="color: #339933;">=</span> versionRevision.<span style="color: #660066;">substring</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
      <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>versionRevision<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;r&quot;</span><span style="color: #009900;">&#41;</span>
      <span style="color: #009900;">&#123;</span>
        versionRevision <span style="color: #339933;">=</span> versionRevision.<span style="color: #660066;">substring</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>versionRevision.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;d&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span>
        <span style="color: #009900;">&#123;</span>
          versionRevision <span style="color: #339933;">=</span> versionRevision.<span style="color: #660066;">substring</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #339933;">,</span> versionRevision.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;d&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span>
      <span style="color: #003366; font-weight: bold;">var</span> flashVer <span style="color: #339933;">=</span> versionMajor <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;.&quot;</span> <span style="color: #339933;">+</span> versionMinor <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;.&quot;</span> <span style="color: #339933;">+</span> versionRevision<span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #006600; font-style: italic;">// MSN/WebTV 2.6 supports Flash 4</span>
  <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">userAgent</span>.<span style="color: #660066;">toLowerCase</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;webtv/2.6&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span>
    flashVer <span style="color: #339933;">=</span> <span style="color: #CC0000;">4</span><span style="color: #339933;">;</span>
  <span style="color: #006600; font-style: italic;">// WebTV 2.5 supports Flash 3</span>
  <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">userAgent</span>.<span style="color: #660066;">toLowerCase</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;webtv/2.5&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span>
    flashVer <span style="color: #339933;">=</span> <span style="color: #CC0000;">3</span><span style="color: #339933;">;</span>
  <span style="color: #006600; font-style: italic;">// older WebTV supports Flash 2</span>
  <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">userAgent</span>.<span style="color: #660066;">toLowerCase</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;webtv&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span>
    flashVer <span style="color: #339933;">=</span> <span style="color: #CC0000;">2</span><span style="color: #339933;">;</span>
  <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>isIE <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> isWin <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #339933;">!</span>isOpera<span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    flashVer <span style="color: #339933;">=</span> ControlVersion<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #000066; font-weight: bold;">return</span> flashVer<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p style="text-align: justify;"><strong>8. The end...</strong></p>
<p style="text-align: justify;">And... that's it ! You should now be able to debug/compile your Flex project using your brand new Flex SDK with the new Flash 10 Beta features !</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.promethe.net/2008/08/21/work-with-flash-10-in-flex-builder-3/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
