10-29-2010 07:48 PM
Hopefully my question hasn't been asked already but I think it has a simple answer, I just need confirmation from the pros
Anyways, if I made a file/program in Flash, not flash builder, and it had the file extension ".as" would I be able to open it/export it to flash builder and then debug it to the BB SDK and subsequently test it on the BB SIM(ie: like some people did on the AIRHelloWorld.as test app)?
Thanks in advance!
Solved! Go to Solution.
10-29-2010 08:51 PM
Lets say your file called called aaa.as. Create a Flex project in Flash Builder. On the last page of wizard, replace suggested application file such as "test.mxml" with text "aaa.as". Click Finish.
When project opens drap and drop your actual aaa.as into the place of one in the project from File Explorer (or whatever file manager on your platform).
FB should automatically compile it and produce aaa.swf in bin-debug folder. You may also have to modify aaa-app.xml file and create a proper application icon. After that follow the Getting Started instructions on creating the debug launch configuration for this project.
11-01-2010 11:55 AM
All the Flex libraries will technically run in AIR.
But alot of the MX libraries won't work, because they are not mobile optimized in their UI, ie the hit area's are tiny. For example, default scrollbar are basically unuseable because they're so teeny.
But, for example something like mx:image is just an image component, in that case it will work just fine since there's no optimizations that need to be made.