There's conditional compilation.With it you can write something like:
You can (or could before Flash Builder 4.7 beta) write a conditional with conditional compilation:
this.useParticleEffects = (CONFIG::FAST)?false:true;
Awesome, this definitely works, but let me counter note something that I've recently found that kind of makes this still a bit of a pain
There appears to be a bug in the run configurations section of flash builder. Lets say I want two different run configurations for a single project. One uses a fast build, and has the configuration property of 'Fast' setup. The other uses a standard build, and has the configuration property of 'Standard' setup. As soon as you build the second configuration and change the launch configuration from standard to fast (or vice-versa) ALL other configurations also change this property as well. So while your configurations can change their code gating, you always have to bring up the run configurations dialog anyways when you launch the app to change between fast and standard
There isn't really a way around this either...but that's still a completely side piece of the topic that this thread originally had haha...I wonder if this has been submitted as a bug or not yet?