Flex Builder, as opposed to Visual Studio, doesn’t have post-build scripts that allow you to easily copy assets to the build folder.
If you need to do this Ant is a good alternative. There can be problems connecting the Ant build process to the debugger though.
The solution to this problem is to add a builder to the project (in Flex Builder):
- Right-click on the Flex project and choose “Properties”
- Click on “Builders” in the left panel
- Click on the “New…” button on the right
- Choose “Ant Builder” from the “Choose configuration type” window
- Type “Ant Builder” in the “Name” field
- Locate the build.xml in the “Main” tab
- Go to the “Build Options” tab and check the “Allocate Console” option
- Click “OK”
- Uncheck “Flex” in the Builders dialogue and make sure “Ant Builder” is checked
- Press F11 to build & debug your project …
That’s all there is to it …