I’ve written a small sample AIR application in Flex to be deployed on iOS and Android, but I’m wondering how to go about setting up a way to publish it as Flash as well. I’m using Flash Builder 4.5. Any tips for this AIR noob?
EDIT:
I should add that I’ve tried to add a new Run Configuration, but did not see a Flash app option listed there. I’m sure I’m missing something fundamental. After all, this is FLASH Builder.
UPDATE:
So this partially did the trick… I went to Run Configurations again and created a new launch configuration called “Flash_configuration” and pointed it at my project like so…

However, upon hitting “Run,” the app launches in Adobe Flash Player, but is completely blank. The mobile flex contains buttons and UI elements in the View, but these do not show up in Flash Player. Perhaps the Mobile Flex framework elements are not directly translated to elements understood by Flash? If so, will I have to use some actionscipt to detect the platform and replace those mobile elements with flash-friendly ones? I would sure hate to rewrite/draw.
This pdf is a really good resource: http://help.adobe.com/en_US/flex/mobileapps/developing_mobile_apps_flex.pdf
It will walk you through the whole process. The last chapter is what you are looking for which adresses deployment.
Edit: I misunderstood the question so ignore what I wrote above.
When you create a run configuration it’s probably not debugging your code so that’s why all you see is a white screen.
The easiest thing is just to create new Flex project and select Web as application type. Then just copy over all code. Then you need to remove all AIR classes which you use in the project. Then just press debug and you will be on your way since the compiler will tell what is missing or is there but shouldn’t be.