An updated and extended version for FDT 4 and AIR 2 has been released!
AIR2 AND FDT4 (M3) – A DETAILED WALKTHROUGH
Original Post:
Admitting that I was surprised pleasantly that even the official Powerflasher-Blog published an article about compiling AIR projects in FDT 3 I recently started to take the challenge and began with the first steps.
- Download AIR runtime and install. Check.
- Download Flex SDK. Check.
- Create new Core-Library for AIR. Check.
- Create new Actionscript-Project with just added Library as compiling SDK. Check.
- Download Example-Files from this entry. Check.
- Configure ANT Build. Check.
- Customize Descriptor File. Phew. Check.
- Create new AS-Class. You know.
- Compile. Yeah!
- Package it. Che..cond.
[java] -storetype is required
So we’re asked to add a storetype. Okay – let’s do so. We’ll add the -storetype param setting it to PKCS12 as it’s a fileformat which saves private keys with it’s specific certificate, in the sixth Buildtask (6. Package application).
Oops – now FDT is compiling nothing. Well, that’s because two param-names have changed in the new Flex SDK.
- -certificate became -keystore
- -password became -storepass
If we’re changing these two param-names we’ll finally get a positive build packaging our project into an .air-File.
So here’s the updated task:
Download: Complete Build Air XML
[/XML]



September 25th, 2009
Marvin Blase
Posted in
Tags:
[...] [...]
[...] topic: Compiling AIR projects with FDT Posted in Daily Bread Tags: fdt, flash player 10, howto, setup, tutorial var flattr_wp_ver = [...]