FlexBuilder not creating .swf file for AIR project

adobeairflexbuilder

This seems like a bug in Flex Builder, however the builder no longer creates the .swf file for any projects (I'm building an AIR app). It did previously however, for some reason it errors out with the message "Initial content not found" (referring to looking for the swf in bin-debug, and not being able to find it).

There are many proposed solutions, such as change the version in the application descriptor from 1.0 to 1.5, however none of these work. I've even imported it into a new project and the swf file is not generated.

Is there anyway to force Flex Builder to generate the swf file?

Thanks.

Best Answer

This happened to me when I set the output folder as "empty" (expecting the SWF to end up in the project root directory).
When I changed the output directory (Properties/Flex Build Path/Output Folder, last box) to something ("bin" in my case) the project was able to build and run.
(I had no other errors in the code).

Related Topic