<?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"
	>

<channel>
	<title>justRIA</title>
	<atom:link href="http://www.justria.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.justria.com</link>
	<description>writing about RIAs, mostly flex</description>
	<pubDate>Thu, 20 Nov 2008 01:37:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Missing german locales in FlexBuilder&#8217;s SDKs?  Here is how to genereate them</title>
		<link>http://www.justria.com/2008/11/19/missing-german-locales-in-flexbuilders-sdks-here-is-how-to-genereate-them/</link>
		<comments>http://www.justria.com/2008/11/19/missing-german-locales-in-flexbuilders-sdks-here-is-how-to-genereate-them/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 02:35:31 +0000</pubDate>
		<dc:creator>justStefan</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.justria.com/2008/11/20/missing-german-locales-in-flexbuilders-sdks-here-is-how-to-genereate-them/</guid>
		<description><![CDATA[If you try to localize a flex application with e.g. en_US and de_DE locales, FlexBuilder will likely complain about a missing german framework resource:
  unable to open ‘/Applications/Adobe Flex Builder 3 Plug-in/sdks/3.2./&#8230;’
No need to give up, make the resource yourself:
- Open the SDK&#8217;s root folder. On a Mac, it is likely to be here:
/Applications/Adobe [...]]]></description>
			<content:encoded><![CDATA[<p style="clear: both">If you try to localize a flex application with e.g. en_US and de_DE locales, FlexBuilder will likely complain about a missing german framework resource:</p>
<p style="clear: both">  <u>unable to open ‘/Applications/Adobe Flex Builder 3 Plug-in/sdks/3.2./&#8230;’</u></p>
<p style="clear: both">No need to give up, make the resource yourself:</p>
<p style="clear: both">- Open the SDK&#8217;s root folder. On a Mac, it is likely to be here:</p>
<p style="clear: both"><u>/Applications/Adobe Flex Builder 3 Plug-in/skds/3.2</u></p>
<p style="clear: both">- Execute this command</p>
<p style="clear: both"><u>./bin/copylocale en_US de_DE</u></p>
<p style="clear: both">Now recompile - probably clean it before - your project your Flex project. Everything should look fine.</p>
<p><br class='final-break' style='clear: both' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.justria.com/2008/11/19/missing-german-locales-in-flexbuilders-sdks-here-is-how-to-genereate-them/feed/</wfw:commentRss>
		</item>
		<item>
		<title>If FlexBuilder complains about &#8216;Error creating AIR file: 305: ERROR, 10&#8242; - Solution</title>
		<link>http://www.justria.com/2008/11/19/if-flexbuilder-complains-about-error-creating-air-file-305-error-10-solution/</link>
		<comments>http://www.justria.com/2008/11/19/if-flexbuilder-complains-about-error-creating-air-file-305-error-10-solution/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 02:12:58 +0000</pubDate>
		<dc:creator>justStefan</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.justria.com/2008/11/20/if-flexbuilder-complains-about-error-creating-air-file-305-error-10/</guid>
		<description><![CDATA[Today, I worked on Activity, an AIR-based time tracking solution:
As I read of Flex SDK 3.2.0 and AIR 1.5, I decided to upgrade. While the update install itself finished fine - FlexBuilder failed to run the compiled app. Actually, FlexBuild printed this error message:
 Error creating AIR file: 305: ERROR, 10, http://ns.adobe.com/air/application/1.1
If you see such [...]]]></description>
			<content:encoded><![CDATA[<p style="clear: both">Today, I worked on Activity, an <a href="http://www.adobe.com/de/products/air/" target="_blank">AIR</a>-based time tracking solution:</p>
<p style="clear: both"><a href="http://www.justria.com/wp-content/uploads/2008/11/activity.jpg" class="image-link"><img class="linked-to-original" src="http://www.justria.com/wp-content/uploads/2008/11/activity1.jpg" height="253" align="left" width="380" style=" display: inline; float: left; margin: 0 10px 10px 0;" /></a><br style="clear: both" />As I read of <a href="http://www.adobe.com/devnet/flex/articles/sdk32_fb302.html" target="_blank">Flex SDK 3.2.0</a> and <a href="http://www.adobe.com/devnet/logged_in/rchristensen_lpolanco_air_1.5.html" target="_blank">AIR 1.5</a>, I decided to upgrade. While the update install itself finished fine - FlexBuilder failed to run the compiled app. Actually, FlexBuild printed this error message:</p>
<p style="clear: both"> Error creating AIR file: 305: ERROR, 10, http://ns.adobe.com/air/application/<u>1.1</u></p>
<p style="clear: both">If you see such an error message, open the application&#8217;s descriptor file <u><appName>-app.xml</u> and review the second line, which should contain an XML namespace declaration like</p>
<p style="clear: both"> http://ns.adobe.com/air/application/<u>1.1</u></p>
<p style="clear: both">Change the postfix version number to 1.5 </p>
<p style="clear: both"> http://ns.adobe.com/air/application/<u>1.1</u></p>
<p>and you are fine: The compiler just needs to know which lib to compile against.</p>
<p style="clear: both">
<p style="clear: both">
<p><br class='final-break' style='clear: both' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.justria.com/2008/11/19/if-flexbuilder-complains-about-error-creating-air-file-305-error-10-solution/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Microsoft promotes Flash</title>
		<link>http://www.justria.com/2008/11/17/microsoft-promotes-flash/</link>
		<comments>http://www.justria.com/2008/11/17/microsoft-promotes-flash/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 20:47:41 +0000</pubDate>
		<dc:creator>justStefan</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.justria.com/2008/11/17/microsoft-promotes-adobe-flex/</guid>
		<description><![CDATA[Recently, Microsoft kicked off the movie service &#8216;msn Movies&#8217; in Germany. While &#8216;msn Movies&#8217; is free of charge for customers, Microsoft refinances the offering by spliced-in advertisement. Some are quite popular movies like &#8216;Good Will Hunting&#8217;. 
As I read about this offering, I expected a Silverlight proof of concept. Actually, it is not:&#8216;msn Movies&#8217; is [...]]]></description>
			<content:encoded><![CDATA[<p style="clear: both">Recently, Microsoft kicked off the movie service <a href="http://movies.msn.de/" target="_blank">&#8216;msn Movies&#8217;</a> in <a href="http://movies.msn.de/" target="_blank">Germany</a>. While &#8216;msn Movies&#8217; is free of charge for customers, Microsoft refinances the offering by spliced-in advertisement. Some are quite popular movies like &#8216;Good Will Hunting&#8217;. </p>
<p style="clear: both">As I read about this offering, I expected a <s>Silverlight</s> proof of concept. Actually, it is not:<a href="http://movies.msn.de/" target="_blank">&#8216;msn Movies&#8217;</a> is a service fully based on <a href="http://www.adobe.com/de/products/flashplayer/" target="_blank">Adobe Flash</a> technology. You guess, why <img src='http://www.justria.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p style="clear: both">To review <a href="http://movies.msn.de/" target="_blank">Microsoft&#8217;s Flash offering</a>, have a look <a href="http://movies.msn.de/" target="_blank">here</a>.</p>
<p><br class='final-break' style='clear: both' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.justria.com/2008/11/17/microsoft-promotes-flash/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[de] Grundprinzipien der Arbeitswelt</title>
		<link>http://www.justria.com/2008/11/14/de-grundprinzipien-der-arbeitswelt/</link>
		<comments>http://www.justria.com/2008/11/14/de-grundprinzipien-der-arbeitswelt/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 22:43:40 +0000</pubDate>
		<dc:creator>justStefan</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.justria.com/2008/11/13/de-sparschwein-in-flex/</guid>
		<description><![CDATA[Man kann über wichtige Grundprinzipien der Arbeitswelt ganze Bücher schreiben. Man kann aber auch eine Grafik in einen Ringbuchblock zeichnen - und das Thema auf den Punkt bringen.
So machte es in den letzten Tagen kaal im grosseweltblog und beschreibt den fundamentalen Zusammenhang zwischen der Anzahl von Personen eines Meetings und der Anzahl getroffener Entscheidungen. Mehr [...]]]></description>
			<content:encoded><![CDATA[<p style="clear: both">Man kann über wichtige Grundprinzipien der Arbeitswelt ganze Bücher schreiben. Man kann aber auch eine Grafik in einen Ringbuchblock zeichnen - und das Thema auf den Punkt bringen.</p>
<p style="clear: both">So machte es in den letzten Tagen <a href="http://grosseweltblog.wordpress.com/about/" target="_blank">kaal</a> im <a href="http://grosseweltblog.wordpress.com/" target="_blank">grosseweltblog</a> und beschreibt den fundamentalen Zusammenhang zwischen der <a href="http://grosseweltblog.wordpress.com/2008/11/13/14-personen-cc-fur-das-meeting-spar-es-dir/" target="_blank">Anzahl von Personen eines Meetings und der Anzahl getroffener Entscheidungen</a>. Mehr als 14 Personen reduzieren die Anzahl der Entscheidungen nicht mehr - denn bei 14 Personen kommt bereits rein gar nix mehr raus. </p>
<p style="clear: both">Weil es sicher noch einige <a href="http://grosseweltblog.wordpress.com/" target="_blank">weitere unterhaltsame Zusammenhänge</a> gibt, werde ich <s>am Wochenende</s> <i>in den nächsten 2 Wochen</i> mal eine kleine Fingerübung machen und das ganze in Flex gießen. Könnte so oder so ähnlich aussehen:</p>
<p style="clear: both"><a href="http://www.justria.com/wp-content/uploads/2008/11/bild-1.png" class="image-link"><img class="linked-to-original" src="http://www.justria.com/wp-content/uploads/2008/11/bild-4.png" height="116" align="left" width="201" style=" display: inline; float: left; margin: 0 10px 10px 0;" /></a></p>
<p><br class='final-break' style='clear: both' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.justria.com/2008/11/14/de-grundprinzipien-der-arbeitswelt/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Putting Flex apps in PDFs</title>
		<link>http://www.justria.com/2008/11/13/putting-flex-apps-in-pdfs/</link>
		<comments>http://www.justria.com/2008/11/13/putting-flex-apps-in-pdfs/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 00:41:31 +0000</pubDate>
		<dc:creator>justStefan</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.justria.com/2008/11/14/putting-flex-apps-in-pdfs/</guid>
		<description><![CDATA[This is a cool one! James Ward, the RIA Cowboy, explains in his blog, how to put a Flex app inside a PDF.
Here is how to do it:
- Create the back-end data source for the application- Create the basic Flex front-end application- Create a back-end PDF generation service- Create a PDF with form fields that [...]]]></description>
			<content:encoded><![CDATA[<p style="clear: both">This is a cool one! James Ward, the <a href="http://www.jamesward.com/wordpress" target="_blank">RIA Cowboy</a>, explains in his blog, how to <a href="http://www.jamesward.com/wordpress/portable-rias-tutorial/" target="_blank">put a Flex app inside a PDF</a>.</p>
<p style="clear: both">Here is how to do it:</p>
<p style="clear: both">- Create the back-end data source for the application<br />- Create the basic Flex front-end application<br />- Create a back-end PDF generation service<br />- Create a PDF with form fields that will be used to store the data<br />- Modify the Flex application to read data from the PDF<br />- Add a way for the user to generate a PDF from the Flex application<br />- Merge the final Flex application into the PDF template</p>
<p style="clear: both">To learn more, you might wish to download <a href="http://www.adobe.com/products/livecycle/dataservices/" target="_blank">Adobe&#8217;s LiveCycle Data Services</a>. <u>Note, that a single CPU version of </u><a href="http://www.adobe.com/products/livecycle/dataservices/" target="_blank">LiveCycle Data Services</a><u> is free - even </u><a href="http://www.adobe.com/products/livecycle/dataservices/faq.html" target="_blank">free in production environments</a><u>.</u> If you haven&#8217;t checked this out, go ahead! LiveCycle Data Services is great way to make your Flex apps really interactive!</p>
<p style="clear: both">Note for users with <a href="http://www.apple.com/mac/" target="_blank">Mac systems</a>: Download the Linux version of LiveCycle Data Services and run the installer. When the installer asks wether to do a full install inclusive Tomcat etc. or a WAR install, choose the WAR install. Put <b>lcds.war</b> - the LiveCycle Data Services Server - and the <b>lcds-samples.war</b> in the webapps folder. Additionally, put <b>sampledb</b> in there too. </p>
<p style="clear: both">Then restart your app-server - in my case <a href="http://www.mortbay.org/jetty/" target="_blank">Jetty</a> - to get the stuff deployed. </p>
<p style="clear: both">
<p><br class='final-break' style='clear: both' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.justria.com/2008/11/13/putting-flex-apps-in-pdfs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[de] Mit dem Adobe MAX Bus kostenlos nach Mailand</title>
		<link>http://www.justria.com/2008/11/12/de-mit-dem-adobe-max-bus-kostenlos-nach-mailand/</link>
		<comments>http://www.justria.com/2008/11/12/de-mit-dem-adobe-max-bus-kostenlos-nach-mailand/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 23:52:53 +0000</pubDate>
		<dc:creator>justStefan</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.justria.com/2008/11/12/de-mit-dem-adobe-max-bus-kostenlos-nach-mailand/</guid>
		<description><![CDATA[Wer beim Flex Camp im Hamburg war, der hat bereits einen coupon Code erhalten, mit dem er einige € Eintrittsgebühren zu MAX sparen konnte. 
Adobe ist in diesem Jahr besonders spendabel und bietet eine kostenlose Reise zur MAX nach Mailand im ADOBE MAX BUS an. Der Bus fährt am 30.11 und hält in den Städten [...]]]></description>
			<content:encoded><![CDATA[<p style="clear: both">Wer beim <a href="http://www.flexcamp-hamburg.de/08/" target="_blank">Flex Camp im Hamburg</a> war, der hat bereits einen coupon Code erhalten, mit dem er einige € Eintrittsgebühren zu <a href="http://max.adobe.com/eu/" target="_blank">MAX</a> sparen konnte. </p>
<p style="clear: both">Adobe ist in diesem Jahr besonders spendabel und bietet eine kostenlose Reise zur <a href="http://max.adobe.com/eu/" target="_blank">MAX</a> nach Mailand im <a href="http://adobemaxbus.wordpress.com/" target="_blank">ADOBE MAX BUS</a> an. Der Bus fährt am 30.11 und hält in den Städten Hamburg, Hannover, Dortmund, Köln, Frankfurt, Stuttgart, München und Mailand. Der Bus ist perfekt mit Pizza, Strom und WLAN mit 6 UMTS Gateways ausgerüstet. </p>
<p style="clear: both"><a href="http://adobemaxbus.wordpress.com/stationen/" class="image-link"><img src="http://www.justria.com/wp-content/uploads/2008/11/map-germany2.png" height="370" align="left" width="380" style=" display: inline; float: left; margin: 0 10px 10px 0;" /></a><br style="clear: both" /><br style="clear: both" /></p>
<p><br class='final-break' style='clear: both' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.justria.com/2008/11/12/de-mit-dem-adobe-max-bus-kostenlos-nach-mailand/feed/</wfw:commentRss>
		</item>
		<item>
		<title>First GroovyMag available</title>
		<link>http://www.justria.com/2008/11/09/first-groovymag-available/</link>
		<comments>http://www.justria.com/2008/11/09/first-groovymag-available/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 01:19:37 +0000</pubDate>
		<dc:creator>justStefan</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.justria.com/2008/11/10/first-groovymag-available/</guid>
		<description><![CDATA[Someone - actually, I failed to find out who - managed to create a magazine related to groovy:GroovyMag. While, groovy isn&#8217;t strictly related to RIA, it may be used to write code for Adobe&#8217;s LiveCycle Server series of products.
Here a short list of what&#8217;s inside the currently PDF-only GroovyMag:
GroovyMagThe Future of Java is Groovy : [...]]]></description>
			<content:encoded><![CDATA[<p style="clear: both">Someone - actually, I failed to find out who - managed to create a <a href="http://www.groovymag.com/main/" target="_blank">magazine related to groovy</a>:<br /><a href="http://www.groovymag.com/main/" target="_blank">GroovyMag</a>. While, groovy isn&#8217;t strictly related to RIA, it may be used to write code for <a href="http://www.adobe.com/products/livecycle/dataservices/" target="_blank">Adobe&#8217;s LiveCycle Server</a> series of products.</p>
<p style="clear: both"><a href="http://www.groovymag.com/main.issues.description/id=1/" class="image-link"><img src="http://www.justria.com/wp-content/uploads/2008/11/gm1-2.jpg" height="259" align="left" width="200" style=" display: inline; float: left; margin: 0 10px 10px 0;" /></a><br style="clear: both" />Here a short list of what&#8217;s inside the currently PDF-only <a href="http://www.groovymag.com/main.issues.description/id=1/" target="_blank">GroovyMag</a>:</p>
<p style="clear: both"><b><a href="http://www.groovymag.com/main.issues.description/id=1/" target="_blank">GroovyMag</a>The Future of Java is </b><a href="http://groovy.codehaus.org/" target="_blank">Groovy</a> : Shawn Hartsock lays out his views for why Groovy should be your next language :: <b>Getting to know your </b><a href="http://grails.org/" target="_blank">Grails</a> : Walk through the basics (and not so basics) of <a href="http://grails.org/" target="_blank">Grails</a> in this tutorial from Robert Fischer :: <b>Building Rich Swing Applications with Groovy</b> : Andres Almiray takes you through building a Swing application with Groovy. Part 1 in a mutlipart series. :: <b>Groovy In The Wild</b> : GroovyMag talks with companies who&#8217;ve made the switch to Groovy and Grails. This month: Minggl.com :: <b>Community new</b>s : Catch up with the latest Groovy and <a href="http://grails.org/" target="_blank">Grails</a> news with Dave Klein. :: <b>Plugin Corner</b> : Learn about a new Grails plugin each month with Dave Klein. </p>
<p style="clear: both">
<p style="clear: both">BTW: This reminds me to my idea to create a Flex compiler as a grails plugin</p>
<p><br class='final-break' style='clear: both' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.justria.com/2008/11/09/first-groovymag-available/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Received a gift from Adobe hq</title>
		<link>http://www.justria.com/2008/11/08/received-a-gift-from-adobe-hq/</link>
		<comments>http://www.justria.com/2008/11/08/received-a-gift-from-adobe-hq/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 22:03:13 +0000</pubDate>
		<dc:creator>justStefan</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.justria.com/2008/11/07/received-a-gift-from-adobe-hq/</guid>
		<description><![CDATA[A good place to share tips and tricks is Adobe&#8217;s Flex Cookbook. Adobe produces the site in cooperation with O&#8217;Reilly. Here are some of mine:
- Object-oriented game-style animation using libAnim2D [demo here] - Preview a PDF inside your AIR application- CPreferencesManager : A preferences manager for AIR- Executing several SQL statements with one instance of [...]]]></description>
			<content:encoded><![CDATA[<p style="-webkit-background-clip: initial; -webkit-background-origin: initial; ">A good place to share tips and tricks is Adobe&#8217;s <a href="http://www.adobe.com/cfusion/communityengine/index.cfm?event=homepage&#038;productId=2" target="_blank">Flex Cookbook</a>. Adobe produces the site in cooperation with O&#8217;Reilly. Here are some of mine:</p>
<p style="-webkit-background-clip: initial; -webkit-background-origin: initial; ">- <a href="http://www.adobe.com/cfusion/communityengine/index.cfm?event=showDetails&#038;postId=10251&#038;productId=2&#038;loc=en_US">Object-oriented game-style animation using libAnim2D</a> [<a href="http://www.flexolero.com/demos/FlexAnim/FlexAnim.html" title="libAnim2D demo" target="_blank">demo here</a>] <br />- <a href="http://www.adobe.com/cfusion/communityengine/index.cfm?event=showDetails&#038;postId=10183&#038;productId=2&#038;loc=en_US">Preview a PDF inside your AIR application</a><br />- <a href="http://www.adobe.com/cfusion/communityengine/index.cfm?event=showDetails&#038;postId=10064&#038;productId=2&#038;loc=en_US">CPreferencesManager : A preferences manager for AIR</a><br />- <a href="http://www.adobe.com/cfusion/communityengine/index.cfm?event=showDetails&#038;postId=10063&#038;productId=2&#038;loc=en_US">Executing several SQL statements with one instance of SQLStatement</a></p>
<p style="-webkit-background-clip: initial; -webkit-background-origin: initial; ">For my posts, I received a free <a href="http://www.amazon.com/Flex-Cookbook-Code-Recipes-Developers-Developer/dp/0596529856" target="_blank">printed issue of Flex 3 Cookbook</a> from Adobe as a gift! Thx, nice idea!</p>
<p style="-webkit-background-clip: initial; -webkit-background-origin: initial; ">
<p class="blogo-linebreaks-removed-1" style="clear: both"><a href="http://www.justria.com/wp-content/uploads/2008/11/51yogxpqzvl1.jpg"><img class="linked-to-original" src="http://www.justria.com/wp-content/uploads/2008/11/51yogxpqzvl.jpg" height="240" align="left" width="184" style="  display: inline; float: left; margin: 0 10px 10px 0;" /></a><br style="clear: both" /></p>
<p><br class='final-break' style='clear: both' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.justria.com/2008/11/08/received-a-gift-from-adobe-hq/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[de] Flex Camp Hamburg am 06.11.2008</title>
		<link>http://www.justria.com/2008/10/24/de-flex-camp-hamburg-am-06112008/</link>
		<comments>http://www.justria.com/2008/10/24/de-flex-camp-hamburg-am-06112008/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 00:45:45 +0000</pubDate>
		<dc:creator>justStefan</dc:creator>
		
		<category><![CDATA[German]]></category>

		<guid isPermaLink="false">http://www.justria.com/2008/10/23/flex-camp-hamburg-am-06112008/</guid>
		<description><![CDATA[Update: Zwischenzeitlich liegen Photos vom Flex Camo in Hamburg bei Flickr. Have a look at this shot, where Sven Claar talks about brand new Adobe Inspire.
Deutschland hat sein erstes Flex Camp und es kommt am 06.11.2008 nach Hamburg! Im Rahmen des Flex Camps werden bekannte Spezialisten der Flex Szene Ideen und Konzepte präsentieren.
Weitere Infos zur [...]]]></description>
			<content:encoded><![CDATA[<p style="clear: both"><b>Update:</b> Zwischenzeitlich liegen <a href="http://www.flickr.com/photos/marcthiele/sets/72157608710272049/" target="_blank">Photos vom Flex Camo in Hamburg bei Flickr</a>. Have a look at this <a href="http://www.flickr.com/photos/marcthiele/3009202998/in/set-72157608710272049/" target="_blank">shot</a>, where <a href="http://www.mxug.de/flex2/index.cfm" title="Sven Claar's Blog" target="_blank">Sven Claar</a> talks about brand new <a href="http://www.flickr.com/photos/marcthiele/3009202998/in/set-72157608710272049/" title="Brand new: Adobe Inspire" target="_blank">Adobe Inspire</a>.</p>
<p>Deutschland hat sein erstes Flex Camp und es kommt am 06.11.2008 nach Hamburg! Im Rahmen des Flex Camps werden bekannte Spezialisten der Flex Szene Ideen und Konzepte präsentieren.</p>
<p style="clear: both"><german>Weitere Infos zur Veranstaltung und zur Anmeldung finden sich bei der <a href="http://www.flexcamp-hamburg.de/ " target="_blank">Flex User Group Hamburg</a>.<br /></german></p>
<p style="clear: both">Wer ein eigenes Projekt vor Ort live vorstellen möchte, ist gehalten, ein Laptop mitzubringen.</p>
<p><br class='final-break' style='clear: both' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.justria.com/2008/10/24/de-flex-camp-hamburg-am-06112008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CPreferencesManager : A preferences Manager for Adobe Flex/AIR</title>
		<link>http://www.justria.com/2008/07/31/cpreferencesmanager-a-preferences-manager-for-adobe-flexair/</link>
		<comments>http://www.justria.com/2008/07/31/cpreferencesmanager-a-preferences-manager-for-adobe-flexair/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 03:07:03 +0000</pubDate>
		<dc:creator>justStefan</dc:creator>
		
		<category><![CDATA[Components]]></category>

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

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

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

		<guid isPermaLink="false">http://www.justria.com/?p=26</guid>
		<description><![CDATA[Here&#8217;s a small helper class CPreferencesManager which manages application preferences by means of a key/value set, which I added as a comment to coldfusionjedi&#8217;s nice blog:
Sample usecase: Make window positions persist after relaunch of an application:

1. Create an instance:
&#60;tracker:CPreferencesManager    id=&#8221;thePrefs&#8221; /&#62;
2. Attach windowMove events to your Window:
windowMove=&#8221;thePrefs.setPreference(&#8217;main.window.x&#8217;,
   this.nativeWindow.x.toString() );
   thePrefs.setPreference(&#8217;main.window.y&#8217;, this.nativeWindow.y.toString() );&#8221;
3. After creationComplete, move [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a small helper class CPreferencesManager which manages application preferences by means of a key/value set, which I added as a comment to <a title="coldfusionjedi's Blog" href="http://www.coldfusionjedi.com/index.cfm/2008/1/9/Working-with-Flex-AIR-and-SQL-2" target="_blank">coldfusionjedi</a>&#8217;s nice blog:</p>
<p>Sample usecase: Make window positions persist after relaunch of an application:</p>
<p><span id="more-26"></span></p>
<p>1. Create an instance:</p>
<p>&lt;tracker:CPreferencesManager    id=&#8221;thePrefs&#8221; /&gt;</p>
<p>2. Attach windowMove events to your Window:</p>
<p>windowMove=&#8221;thePrefs.setPreference(&#8217;main.window.x&#8217;,<br />
   this.nativeWindow.x.toString() );<br />
   thePrefs.setPreference(&#8217;main.window.y&#8217;, this.nativeWindow.y.toString() );&#8221;</p>
<p>3. After creationComplete, move the window to its position of the one but last launch:</p>
<p>var posX:int = int( thePrefs.getPreference(&#8217;main.window.x&#8217; ) );<br />
var posY:int = int( thePrefs.getPreference(&#8217;main.window.y&#8217; ) );<br />
move( posX, posY );      </p>
<p>The implementation:</p>
<p>package com.your.company<br />
{<br />
   import flash.filesystem.File;<br />
   import flash.filesystem.FileMode;<br />
   import flash.filesystem.FileStream;<br />
   import flash.utils.ByteArray;<br />
   import flash.utils.Dictionary;<br />
   import flash.utils.IDataInput;<br />
   import flash.utils.IDataOutput;<br />
   import flash.utils.IExternalizable;<br />
   <br />
   import mx.controls.Alert;<br />
   <br />
   public class CPreferencesManager implements IExternalizable<br />
   {<br />
      <br />
      private var _prefValues:Dictionary;<br />
      private   var   _prefsStream:FileStream;<br />
      <br />
      public function CPreferencesManager()<br />
      {</p>
<p>         _prefValues = new Dictionary();<br />
         loadPreferences();<br />
         <br />
      }<br />
      <br />
      public function loadPreferences():void {<br />
   <br />
         var fp: File = File.applicationStorageDirectory;<br />
         <br />
         fp = fp.resolvePath( &#8216;prefs.xml&#8217; );<br />
         <br />
         if ( fp.exists ) {<br />
            <br />
            _prefsStream = new FileStream();<br />
            _prefsStream.open( fp, FileMode.READ);<br />
            <br />
            readExternal( _prefsStream );<br />
            _prefsStream.close();<br />
            <br />
         } else {<br />
            _prefValues[ 'appName' ] = &#8216;tracker&#8217;; // test-code<br />
            savePreferences();<br />
         }</p>
<p>      }<br />
      <br />
      public function savePreferences():void {</p>
<p>         var fp: File = File.applicationStorageDirectory;<br />
         <br />
         fp = fp.resolvePath( &#8216;prefs.xml&#8217; );<br />
         <br />
         _prefsStream = new FileStream();<br />
         _prefsStream.open( fp, FileMode.WRITE );<br />
         <br />
         writeExternal( _prefsStream );<br />
         _prefsStream.close();<br />
         <br />
      }<br />
      <br />
      public function setPreference( name:String, value:Object ):void {<br />
         <br />
         _prefValues[ name ] = value;<br />
         savePreferences();<br />
         <br />
      }</p>
<p>      public function getPreference( name:String ):Object {<br />
         <br />
         return _prefValues[ name ];<br />
         <br />
      }<br />
      <br />
      <br />
      <br />
      public function readExternal(input:IDataInput):void<br />
    {<br />
       <br />
    var bytes:ByteArray = new ByteArray();<br />
       input.readBytes( bytes, 0, input.bytesAvailable );</p>
<p>    var q:Object = bytes.readObject();<br />
    <br />
    _prefValues = new Dictionary();<br />
    <br />
    for( var p:Object in q ) {<br />
       _prefValues[ p ] = q[p];<br />
    }<br />
    <br />
    // Alert.show( _prefValues.toString() );<br />
    <br />
    }<br />
   <br />
      public function writeExternal(output:IDataOutput):void<br />
    {</p>
<p>    var bytes:ByteArray = new ByteArray();<br />
    bytes.writeObject( _prefValues );<br />
    <br />
    output.writeBytes( bytes );<br />
    }</p>
<p>   }<br />
}</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.justria.com/2008/07/31/cpreferencesmanager-a-preferences-manager-for-adobe-flexair/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
