12-12-2012 03:06 PM
I think your getting AIR and Flex confused. Flex is a framework for building AIR applications. AIR is a runtime. Right now BlackBerry 10 supports the AIR 3.1 runtime. The latest version Adobe currently has is AIR 3.5 with 3.6 in beta. We are upgrading runtimes after the launch of BlackBerry10.
So to answer your question... There is a guide for building out an ActionScript mobile application here - https://developer.blackberry.com/air/documentation
You need to make sure to force your applicaiton to run using 3.1 by following this guide here - https://developer.blackberry.com/air/documentation
Hope this helps.
12-12-2012 05:32 PM
I'm clearly confused, but the example is too simple:
I've switched from Flex to AIR for my main app and would like to do the same for my library project.
My library uses components in the qnx ANE's. If I build an ActionScript Library project, I need to manually add the qnx and ane files to the build path. ok, did that:
Now, when launched, the app displays the splash screen and dies, no console output.
My question: How do I specify the -forceAirVersion 3.1 to the compiler?
12-12-2012 05:39 PM
12-12-2012 05:50 PM
Nice explanation but it doesn't address the problem:
I created an ActionScript library project. It uses AIR 3.4, but the main project was told to use AIR 3.1 as outlined in Dustin's post.
Since my (formerly working) app no longer works, I'm trying to figure out why and seems that the library and main should specify the same runtime: AIR 3.1 not mixed.
Hope that is clearer.