views:

90

answers:

1

I'm using FlashDevelop (latest version) + Flex 4 SDK for some projects, and am finding it a very efficient setup so far.

However, I have a problem.

Say I create an AS3 project in FlashDevelop, and add AS3 10 classes to it (in 10 .as files), one of them being my main class which will be the principal SWF. As expected, my main class complies to main.swf. But how do I compile the other 9 classes to SWF's as well?

FD only compiles that class which is checked as "always compile". Others are not compiled. Presently, I go the cumbersome route of selecting each file as the "Always Compile" candidate, and then changing the name of the output swf in project properties before firing the build.

A: 

FlashDevelop projects only support one compile target (i.e. the "Always Compile" document class). If you need multiple compile targets you'll need to create multiple projects or use something like an ant script. Check out this and this.

heavilyinvolved