File:Flexpeacemeditation1.fxp

From L'avenir de l'humanité

Flexpeacemeditation1.fxp(file size: 983 KB, MIME type: application/zip)

Warning: This file type may contain malicious code. By executing it, your system may be compromised.

Source code of the Peace Meditation Countdown application written in Adobe Flash Builder 4.5.

Here are instructions on how to create a version of this application in another language, in this case, Polish.

Once the FXP file has been imported into Flash Builder, you can find the localizedContent.properties file which is under the "assets/locale/pl_PL" folder (within Flash Builder). There should be one localizedContent.properties file per language and contain the text for the application in a specific language. To create the app in another language you need to find the locale code for your chosen language and create the folder under the folder "assets/locale/" named the same as the locale code and then create the localizedContent.properties file within that folder.

Translate and replace the words within the localizedContent.properties file then go to the Project menu > Properties > Flex Compiler > Additional Compiler Arguments and change "-locale en_US" to "-locale pl_PL" (or your chosen locale).

Then you should be able to compile it.

If you get an error message about it not being able to find the "locale" files when you try to compile it, then you may need to run "copylocale en_US pl_PL" from the command line, once, on your computer, but I suspect you already have the correct locale in your D:\Program Files\Adobe\Adobe Flash Builder 4.5\sdks\4.5.0\frameworks\locale folder. I followed the instructions in the section here entitled "Use a Resource Bundle to Localize an Application" to localize this application.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current09:10, 3 May 2013 (983 KB)Jamesm (talk | contribs)Bugs fixed: Friday 3rd May was incorrectly calculated as the next peace meditation.
00:52, 17 November 2012 (489 KB)Jamesm (talk | contribs)Source code of the Peace Meditation Countdown application written in Adobe Flex Builder 4.5.