Archive for November, 2008

19
Nov

Missing german locales in FlexBuilder’s SDKs? Here is how to generate them

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./…’

No need to give up, make the resource yourself:

- Open the SDK’s root folder. On a Mac, it is likely to be here:

/Applications/Adobe Flex Builder 3 Plug-in/skds/3.2

- Execute this command

./bin/copylocale en_US de_DE

Now recompile – probably clean it before – your project your Flex project. Everything should look fine.


19
Nov

If FlexBuilder complains about ‘Error creating AIR file: 305: ERROR, 10′ – Solution

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 an error message, open the application’s descriptor file -app.xml and review the second line, which should contain an XML namespace declaration like

http://ns.adobe.com/air/application/1.1

Change the postfix version number to 1.5

http://ns.adobe.com/air/application/1.5

and you are fine: The compiler just needs to know which lib to compile against.

Update 2009-02-03: Our fellow Flex-coders in Russia picked up the post.

17
Nov

Microsoft promotes Flash

Recently, Microsoft kicked off the movie service ‘msn Movies’ in Germany. While ‘msn Movies’ is free of charge for customers, Microsoft refinances the offering by spliced-in advertisement. Some are quite popular movies like ‘Good Will Hunting’.

As I read about this offering, I expected a Silverlight proof of concept. Actually, it is not:‘msn Movies’ is a service fully based on Adobe Flash technology. You guess, why ;-)

To review Microsoft’s Flash offering, have a look here.


14
Nov

[de] Grundprinzipien der Arbeitswelt

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 als 14 Personen reduzieren die Anzahl der Entscheidungen nicht mehr – denn bei 14 Personen kommt bereits rein gar nix mehr raus.

Weil es sicher noch einige weitere unterhaltsame Zusammenhänge gibt, werde ich am Wochenende in den nächsten 2 Wochen mal eine kleine Fingerübung machen und das ganze in Flex gießen. Könnte so oder so ähnlich aussehen:


13
Nov

Putting Flex apps in PDFs

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 will be used to store the data
- Modify the Flex application to read data from the PDF
- Add a way for the user to generate a PDF from the Flex application
- Merge the final Flex application into the PDF template

To learn more, you might wish to download Adobe’s LiveCycle Data Services. Note, that a single CPU version of LiveCycle Data Services is free – even free in production environments. If you haven’t checked this out, go ahead! LiveCycle Data Services is great way to make your Flex apps really interactive!

Note for users with Mac systems: 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 lcds.war – the LiveCycle Data Services Server – and the lcds-samples.war in the webapps folder. Additionally, put sampledb in there too.

Then restart your app-server – in my case Jetty – to get the stuff deployed.


12
Nov

[de] Mit dem Adobe MAX Bus kostenlos nach Mailand

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 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.




09
Nov

First GroovyMag available

Someone – actually, I failed to find out who – managed to create a magazine related to groovy:
GroovyMag. While, groovy isn’t strictly related to RIA, it may be used to write code for Adobe’s LiveCycle Server series of products.


Here a short list of what’s inside the currently PDF-only GroovyMag:

GroovyMagThe Future of Java is Groovy : Shawn Hartsock lays out his views for why Groovy should be your next language :: Getting to know your Grails : Walk through the basics (and not so basics) of Grails in this tutorial from Robert Fischer :: Building Rich Swing Applications with Groovy : Andres Almiray takes you through building a Swing application with Groovy. Part 1 in a mutlipart series. :: Groovy In The Wild : GroovyMag talks with companies who’ve made the switch to Groovy and Grails. This month: Minggl.com :: Community news : Catch up with the latest Groovy and Grails news with Dave Klein. :: Plugin Corner : Learn about a new Grails plugin each month with Dave Klein.

BTW: This reminds me to my idea to create a Flex compiler as a grails plugin


08
Nov

Received a gift from Adobe hq

A good place to share tips and tricks is Adobe’s Flex Cookbook. Adobe produces the site in cooperation with O’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 SQLStatement

For my posts, I received a free printed issue of Flex 3 Cookbook from Adobe as a gift! Thx, nice idea!