Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FlashBuilder 4.6 - how do setup project for mobile & Desktop publishing?

I have a project created with FlashBuilder 4.6 as "Actionscript Mobile Project" targetting iOS.

I want to be able to compile the same project also for desktop. How can I change the project such that beside the IPA file also a desktop AIR file is created - or how can i switch quickly between the two?

like image 701
Mat Avatar asked Jan 23 '26 10:01

Mat


2 Answers

Well, you CAN deploy to desktop from within an Actionscript mobile project, but you only get limited options:

Go to "Export Release Build"->"Export as" select "Signed AIR package for...desktop".

That's it. Just did it and am somewhat happy with it.

like image 102
Bill Kotsias Avatar answered Jan 26 '26 01:01

Bill Kotsias


I know this will not really answer the question, but actually it does not look possible to do this.

The best way I found to achieve this goal (1 code -> destop + mobile) was to make 2 projects 1 for mobile, 1 for desktop, sharing the same single library full of my app classes + sharing the assets, etc... The only thing that cannot be shared is the descriptor xml file + base class file (though setting up those files is a one-time duty).

A good illustration of how things work can be found on Chris Campbell reversi project page : checkout the last screenshot in his post right here

I hope this helps...

like image 27
JBA Avatar answered Jan 26 '26 00:01

JBA



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!