You should be able to publish as an AIR app without making any changes to your code.

There are a few ways to handle publishing to multiple targets; its a matter of personal preference (and which IDE you are using).

Easiest way (assuming you are using FB) is probably to create a new project for AIR version - and in project properties->flex build path->source path, add folder to point to src folder of your web project. Then you only need to maintain one set of code.


On 02/03/2015 15:41, Scott Matheson wrote:
Hi
     I have just completed my first Flash / Web app and all is running well,
I need to now build an AIR version of the same app, is there an recommend
approach/efficient , do I simply have 2 version of the app, or do I just
need a new AIR project and some how reference the code for the Flex projects

I was looking at SRL but I cannot get my head round these, or do I just
compile the full app as  a module  and build 2 starts, one for WEB ons for
AIR and have both MAIN¹s load the same module

I know for mobile you need to change some of the MXML code, with Air I
assume all the code is the same

Scott






--
Lee Burrows
ActionScripter

Reply via email to