<?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>Flexpert to the rescue &#187; Flash Builder</title>
	<atom:link href="http://www.flexpert.be/tag/flash-builder/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flexpert.be</link>
	<description>Blog site about all things Adobe</description>
	<lastBuildDate>Sat, 28 Aug 2010 17:07:40 +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>Solving the &#8220;missing AIR application XML file&#8221; error in Flash Builder</title>
		<link>http://www.flexpert.be/2010/04/solving-the-missing-air-application-xml-file-error-in-flash-builder/</link>
		<comments>http://www.flexpert.be/2010/04/solving-the-missing-air-application-xml-file-error-in-flash-builder/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 18:27:42 +0000</pubDate>
		<dc:creator>Steven Peeters</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[app.xml]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[code-behind]]></category>

		<guid isPermaLink="false">http://www.flexpert.be/?p=440</guid>
		<description><![CDATA[When creating an AIR project, you automatically get an XML configuration file for your application, which contains the initial width and height, the available icons and the indication whether or not the application uses a custom chrome (amongst other settings). This XML file has the same name as the application itself, followed by &#8220;-app.xml&#8221;. OK, [...]]]></description>
			<content:encoded><![CDATA[<p>When creating an AIR project, you automatically get an XML configuration file for your application, which contains the initial width and height, the available icons and the indication whether or not the application uses a custom chrome (amongst other settings). This XML file has the same name as the application itself, followed by &#8220;-app.xml&#8221;. OK, so now you know what exactly I&#8217;m talking about, let me explain the problem.</p>
<p>When creating AIR applications, you often create custom components, which you place in separate packages to help organize the structure of your project. And every once in a while you will also <strong>create a custom component that extends the WindowedApplication class</strong>, for example to create an application that automatically updates itself when a new version becomes available. such a component would look like this:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> AutoUpdater <span style="color: #0066CC;">extends</span> WindowedApplication <span style="color: #66cc66;">&#123;</span>
&nbsp;
  <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> appUpdater:ApplicationUpdaterUI;
&nbsp;
  <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> AutoUpdater<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
    <span style="color: #0066CC;">super</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
    appUpdater = <span style="color: #000000; font-weight: bold;">new</span> ApplicationUpdaterUI<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
    addEventListener<span style="color: #66cc66;">&#40;</span>FlexEvent.<span style="color: #006600;">APPLICATION_COMPLETE</span>, startAutoUpdate<span style="color: #66cc66;">&#41;</span>;
  <span style="color: #66cc66;">&#125;</span>
&nbsp;
  <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> startAutoUpdate<span style="color: #66cc66;">&#40;</span>event:FlexEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
    appUpdater.<span style="color: #006600;">configurationFile</span> = <span style="color: #000000; font-weight: bold;">new</span> File<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;app:/updateConfig.xml&quot;</span><span style="color: #66cc66;">&#41;</span>;
    appUpdater.<span style="color: #006600;">isCheckForUpdateVisible</span> = <span style="color: #000000; font-weight: bold;">false</span>;
    appUpdater.<span style="color: #006600;">isDownloadUpdateVisible</span> = <span style="color: #000000; font-weight: bold;">false</span>;
    appUpdater.<span style="color: #006600;">isDownloadProgressVisible</span> = <span style="color: #000000; font-weight: bold;">false</span>;
    appUpdater.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>UpdateEvent.<span style="color: #006600;">INITIALIZED</span>, autoUpdateInitialised<span style="color: #66cc66;">&#41;</span>;
    appUpdater.<span style="color: #006600;">initialize</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
  <span style="color: #66cc66;">&#125;</span>
&nbsp;
  <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> autoUpdateInitialised<span style="color: #66cc66;">&#40;</span>event:UpdateEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
    appUpdater.<span style="color: #006600;">checkNow</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
  <span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>Now, you can simply extend your new application from this AutoUpdater class by declaring it as the root tag of your main application file. However, <strong>in Flash Builder 4 this generates an error, as shown in the picture below</strong>.</p>
<p><center><a href="http://www.flexpert.be/wp-content/uploads/FBerrors.png"><img src="http://www.flexpert.be/wp-content/uploads/FBerrors.png" alt="Compilation issues in Flash Builder" title="Compilation issues in Flash Builder" style="border:0" width="600" height="154" class="aligncenter size-full wp-image-442" /></a></center></p>
<p> In this screenshot you notice there are two errors, since for my project I also created another custom class which implements the URL monitoring system as well, on top of the automatic updates. <strong>Apparently the compiler expects each application to have its own XML configuration file</strong>, even though those components are not the actual starting point for your application.</p>
<p><strong>To solve this problem you simply have to go to the project settings dialog.</strong> In that dialog you go to the &#8220;Flex Applications&#8221; part by selecting it on the left side. Within that section you can see each application within your project &#8211; yes, a single project can contain more than one applications.</p>
<p><center><a href="http://www.flexpert.be/wp-content/uploads/FBProjectSettings.png"><img src="http://www.flexpert.be/wp-content/uploads/FBProjectSettings.png" alt="Flash Builder Project Settings" title="Flash Builder Project Settings" style="border:0" width="600" height="373" class="aligncenter size-full wp-image-441" /></a></center></p>
<p>You can notice that the AutoUpdater class (and in my case the MonitoredAutoUpdater class as well) is flagged as an application. Just <strong>select that application and click the &#8220;Remove&#8221; button</strong>. This will not remove the file from the project, but instead it just removes the application flag. And because the compiler will no longer recognize it as an actual appliaction, it will not search for that XML configuration file anymore, thus solving your problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flexpert.be/2010/04/solving-the-missing-air-application-xml-file-error-in-flash-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It’s D-day: Adobe releases Flex 4 SDK, Flash Builder 4, ColdFusion Builder and Flash Platform Services for Social Network Integration</title>
		<link>http://www.flexpert.be/2010/03/it%e2%80%99s-d-day-adobe-releases-flex-4-sdk-flash-builder-4-coldfusion-builder-and-flash-platform-services-for-social-network-integration/</link>
		<comments>http://www.flexpert.be/2010/03/it%e2%80%99s-d-day-adobe-releases-flex-4-sdk-flash-builder-4-coldfusion-builder-and-flash-platform-services-for-social-network-integration/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 08:48:57 +0000</pubDate>
		<dc:creator>Steven Peeters</dc:creator>
				<category><![CDATA[ColdFusion Builder]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[CF Builder]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Flex 4]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[SDK]]></category>

		<guid isPermaLink="false">http://www.flexpert.be/?p=412</guid>
		<description><![CDATA[Yes! This is the moment we’ve all been waiting for so long. After a long series of beta and prerelease versions, the new Flex 4 SDK has been officially released. And of course, this release is also accompanied with the release of Flash Builder 4. This is the new version of Flex Builder (for those [...]]]></description>
			<content:encoded><![CDATA[<p>Yes! This is the moment we’ve all been waiting for so long. After a long series of beta and prerelease versions, <strong>the new Flex 4 SDK has been officially released</strong>. And of course, this release is also <strong>accompanied with the release of Flash Builder 4</strong>. This is the new version of Flex Builder (for those of you who live on another planet and haven’t heard of it yet) and it contains a lot of great new and improved features:</p>
<ul>
<li>Data/Services panel to allow a very easy connection with different kinds of back end technologies such as ColdFusion, Java, PHP and HTTP services.</li>
<li>Automatic Data Transfer Object (Value Object) creation based on the return types of the services</li>
<li>Drag &amp; drop attachment of data to visual components</li>
<li>Enhanced refactoring support</li>
<li>Code generation of getters and setters</li>
<li>Network traffic monitoring</li>
<li>Enhanced memory profiling support</li>
<li>…</li>
</ul>
<p>I’ve been working with the prerelease versions for quite some time now and I must say I’m pretty found of the new features they’ve put in there. In short, this is one release you want to upgrade to as soon as possible. So, go ahead and point your browser to <a href="http://www.adobe.com/products/flex/" target="_blank">http://www.adobe.com/products/flex/</a> and download the latest version.</p>
<p><strong>As second important release is ColdFusion Builder.</strong> In the early days you had ColdFusion Studio, but other than that, there was no real specific ColdFusion IDE available. So developers had to work with Dreamweaver and open source Eclipse plug-ins such as CFEclipse. But now, there is finally another new and improved ColdFusion IDE available and it’s called ColdFusion Builder. It is also based on Eclipse, which means that you can either install it as a stand-alone version or as a plug-in on top of your existing Eclipse installation. That means that you can also write your own extensions for ColdFusion Builder to help you (and other developers) write code a lot easier. You can have extensions for code snippets, templates, query generation etc. You even have an extension to help you write your own extensions!</p>
<p>This is similar to what you can do with Flash Builder as well, so if you’re a Flex developer and you also use ColdFusion as back end technology, <strong>you might be better off integrating both development environments into the same IDE</strong>. That can save you a lot of time not having to switch tools all the time. Just go ahead and download it at <a href="http://www.adobe.com/products/coldfusion/" target ="_blank">http://www.adobe.com/products/coldfusion/</a>.</p>
<p><strong>The last release of today is the Flash Platform Services for Social Network Integration.</strong> Wow, now that’s a term to remember. But what the hell does it mean? Well for starters it means that Adobe is <strong>making life simple for people who want to connect their Flash applications to social networks</strong>. The Social service has the following benefits:</p>
<ul>
<li>One      API connects your application with multiple social networks</li>
<li>The      service adapts to social network changes so you don&#8217;t need to recompile      your application</li>
<li>Multiple pricing plans      available</li>
</ul>
<p>The social service consists of three parts:</p>
<ul>
<li>A      simple ActionScript 3 API, which can be implemented in Flash or Flex and      aggregates the different social network APIs, including Facebook Connect</li>
<li>Plug-and-play      widgets that use the social API for login, share, invite, select friends      and other commands</li>
<li>Dashboard      analytics for reviewing and optimizing your social performance</li>
</ul>
<p>Now, what does all that mean? Well, it means that <strong>you no longer have to worry about the ever changing Facebook or Twitter APIs, because the Social services will take care of the for you.</strong> You just write your code against the Social services API and the changes in the network services such as Facebook or Twitter are being monitored by Adobe and Gigya to make sure your applications don’t break when a new API is released. If you want to know more about this, you can always look at <a href="http://www.adobe.com/devnet/flashplatform/services/social/" target="_blank">http://www.adobe.com/devnet/flashplatform/services/social/</a>.</p>
<p>So, I must say that today is a very big day in my professional life, since I’m working with both Flex and ColdFusion. From now on, life as a Flex developer is going to be a lot easier…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flexpert.be/2010/03/it%e2%80%99s-d-day-adobe-releases-flex-4-sdk-flash-builder-4-coldfusion-builder-and-flash-platform-services-for-social-network-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ben Forta is coming to Belgium</title>
		<link>http://www.flexpert.be/2010/02/ben-forta-is-coming-to-belgium/</link>
		<comments>http://www.flexpert.be/2010/02/ben-forta-is-coming-to-belgium/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 13:18:48 +0000</pubDate>
		<dc:creator>Steven Peeters</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Event]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Ben Forta]]></category>
		<category><![CDATA[CFUG]]></category>

		<guid isPermaLink="false">http://www.flexpert.be/?p=341</guid>
		<description><![CDATA[For those of you who don&#8217;t know Ben Forta, he&#8217;s the Adobe senior product evangelist and the author of numerous books about ColdFusion (nad other technologies). He&#8217;s also the director of the evangelism team. Every once in a while you get the chance to meet with him at some ColdFusion event, but not often in [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you who don&#8217;t know <a href="http://www.forta.com" target="_blank">Ben Forta</a>, he&#8217;s the Adobe senior product evangelist and the author of numerous books about ColdFusion (nad other technologies). He&#8217;s also the director of the evangelism team.</p>
<p>Every once in  a while you get the chance to meet with him at some ColdFusion event, but not often in Belgium. Well, here&#8217;s your chance now, because on March 9, 2010 he&#8217;s coming to Liege/Luik in Belgium. This event will not be about ColdFusion alone. There will alo be presentations on Flash Builder 4 and AIR 2.0. Tickets are free, but seats are limited, so hurry up and secure your seat at <a href="http://rialiege.eventbrite.com/" target="_blank">http://rialiege.eventbrite.com/</a>.</p>
<p>I hope to see you guys there&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flexpert.be/2010/02/ben-forta-is-coming-to-belgium/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pre-order my book</title>
		<link>http://www.flexpert.be/2009/12/pre-order-my-book/</link>
		<comments>http://www.flexpert.be/2009/12/pre-order-my-book/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 13:33:36 +0000</pubDate>
		<dc:creator>Steven Peeters</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flash Catalyst]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[best practices]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[Flex 4]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://www.flexpert.be/?p=323</guid>
		<description><![CDATA[Hey guys, I know it has been rather quiet on my site lately. The reason for this is the fact that I&#8217;m currently writing a book. Now, what is it going to be about? Some of you may know this already by reading my Twitter posts or by following my LinkedIn status messages. For the [...]]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin-left:20px;margin-top:30px">
<a href="http://www.amazon.com/Flash-Builder-Catalyst-Workflow-Essential/dp/1430228350/ref=sr_1_1?ie=UTF8&#038;s=books&#038;qid=1260451049&#038;sr=8-1" target="_blank"><img src="http://flexpert.be/images/book.jpg"></a>
</div>
<p style="display:block">Hey guys,</p>
<p>I know it has been rather quiet on my site lately. The reason for this is the fact that I&#8217;m currently writing a <a href="http://www.friendsofed.com/book.html?isbn=1430228350" target="_blank">book</a>. Now, what is it going to be about? Some of you may know this already by reading my Twitter posts or by following my LinkedIn status messages. For the others, I can say for now that it is about Flash Builder and Flash Catalyst and how those products are going to change the way you work on Flex projects as a developer. As a designer (or interaction designer) you are going to be more closely involved in creating and maintaining Flex 4 applications when using these products.</p>
<p>So, basically, it is not going to be a manual about Flash Builder, nor is it a manual about Flash Catalyst. But it is a guideline with general best practices and designer-developer workflow situations, explained in a very practical way.</p>
<p>You can now already pre-order the book on Amazon.com or by clicking on the cover image.  Don&#8217;t mind the cover image for now. This is just a preliminary image, which will change by the time it is going to be released. The release date should be somewhere around April 2010.</p>
<p>Hopefully, you&#8217;ll like it&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flexpert.be/2009/12/pre-order-my-book/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
