Exporting MXML using Flex - apache-flex

I've been having trouble exporting Adobe Flex using Adobe Air. I can't find the runnable application Air, and so when I export something to be opened in air it can't be opened. I'm on a Mac Powerbook G4 running OS 10.5.8. Help?

If you are using the Export Release Build feature in Flex Builder then it will ask you where you want to create the .air file at. That .air file is your installer. You can use an AIR Install badge (see Tour de Flex for an example) to create a web page installer for the Air app.

Related

Adobe AIR - Captive runtime

I'm using Adobe Flash CS5 with Adobe Air 2.5 to build an air app.
Is there a way to make use of the Air 3 captive runtime feature? Do I need additional software to publish the Air app with the captive runtime?
Captive Runtime is not yet integrated into the Flash Pro IDE. You'll have to package your app using the command line tools available in the free AIR SDK.
Some more info is here; basically when you compile your app be sure to specify the target parameter. To create an Android APK, you would use this:
-target apk-captive-runtime
More info on options is here

how i can download Adobe AIR bundled runtime installer

I am trying to package air runtime and air application in a native installer.
i googled a lot on how to achive the same. i found this link http://kuriakosejacobthomas.blogspot.com/2009/10/bundled-deployment-of-adobe-air_13.html
which says u need ' AIR bundled runtime installer' to package air runtime with air application.
But havn't found any air bundled runtime installer. from where i can download 'AIR bundled runtime installer' ?
OR suggest any alternative way to package the air runtime with air application except badge from web page.
I am trying to create AIR native installer bundled with AIR runtime for windows, Mac and Linux operating system??
Thanks!
You have two options.
The first is to sign up for the AIR Redistribution program. This will give you access and permission to bundle and distribute the AIR runtime into your own installer.
The second is to use AIR 3 and Captive Runtime feature which will bundle the runtime into your app.

flex for ARM compilation -?

i am trying to find out how to build my .as for mobile browser on Android 2.2 smartphone.
I downloaded latest distribution of "Hero" SDK, but all tutorials show only how to create mobile project with Flash Builder. Any idea how to build .swf from command line mxmlc for mobile ?
Thanks,
-V
Taken from this page:
http://labs.adobe.com/technologies/flex/mobile/faq.html
Can I build mobile applications using only Flex SDK "Hero" without Flash Builder "Burrito"?
Yes. However, in order to get your application onto a device for testing, you will need to install the Android SDK, and use a combination of the Adobe AIR SDK command-line packaging tool and the Android SDK's "adb" tool.
http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffb.html
Haven't done this myself but that looks right.
Good luck,
Shaun

Does Flash Builder 4 now use AIR 2?

I just got CS5 master suite which includes Flash Builder 4 and Flash CS5 Pro.
When I create a new AIR app in CS5 pro it says "AIR 2" but when I create a new AIR project in Flash Builder I do not see anything indicating that it is AIR 2 or 1.5?
Is there a way to tell which AIR runtime it is using?
I think you'll have to download the SDK and st it up yourself; but Flash Builder should work fine:
http://labs.adobe.com/wiki/index.php/AIR_2:Release_Notes
How to overlay the Adobe AIR SDK for use with the Flex SDK
Copy the contents an existing Flex SDK folder to a new folder. For
example, in Flex Builder, copy the
following folder located at:
* Windows: c:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0
* Mac OS: /Applications/Adobe Flex Builder
3/sdks/3.2.0
Download the appropriate AIR SDK file for your operating system and
save it to the root folder of the Flex
SDK.
* Windows: AIR20_win_sdk_XXXXXX.zip
* Mac OS: AIR20_mac_sdk_XXXXXX.tbz2
Extract the contents of the AIR SDK archive and overwrite the existing
SDK files in the copied folder.
* Windows: Right-click on the ZIP file and select "Extract All"
or use the decompression tool of your
choice.
* Mac OS: In Terminal, cd to the root folder of the Flex SDK and
run this command:
* tar jxvf AIR20_mac_sdk_XXXXXX.tbz2
If you have trouble overwriting files due to file
permissions, try this command
sudo tar jxvf AIR20_mac_sdk_XXXXXX.tbz2
In Flex or Flash Builder, open the Properties dialog and choose the
Flex Compiler page
Click the Configure Flex SDKs... link
Add the combined Flex and AIR 2 SDK folder created above
Use this SDK for any projects accessing AIR 2 APIs.
To update this for the production release; go downlod your preferred version of the Flex SDK at http://opensource.adobe.com/wiki/display/flexsdk/Downloads and download the AIR 2 SDK at http://www.adobe.com/cfusion/entitlement/index.cfm?e=airsdk .
Overlay the two using the instructions above (1-3); then configure the new SDK in Flash Builder (also using the instructions above (4-7).
Update: Since my original post of this; Flex 4.1 SDK was released which includes the relevant AIR 2 bits. You can get it here
The fastest way to use AIR 2 is to download a new version of the Flex framework. I've downloaded version 4.1.0.16076 from here and it comes with AIR 2 already installed.
Today Adobe release the stable version of AIR 2 SDK so probably they come up with a new stable release of the Flex SDK.

Can i develop application in Adobe Flex with AIR support?

I need to create directories in the local machine, can i do this with FLEX with AIR support
Air gives you reasonable file access. Creating directories shouldn't be a problem.
See the docs for more info:
http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7d8e.html#WS5b3ccc516d4fbf351e63e3d118666ade46-7d9a

Resources