コンパイル時の切り替え

コンパイルオプションでどのコードブロックを使うか指定できます。


Using conditional compilation
http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_21.html


これを応用してFlexAIRを同じソースで管理しようというもの。


Common code in a library project
http://anirudhs.chaosnet.org/blog/2008.08.25.html


Building Flex and Adobe AIR applications from the same code base
http://www.adobe.com/devnet/air/flex/articles/flex_air_codebase.html

FlexのEnterprise IDE Plugin

EclipseプラグインとしてFlexBuilderの機能拡張をします。
なかなか良い感じ。今はβ版です。

Enterprise IDE Perspective.
Enhanced AS3, MXML, and Cairngorm wizards.
e4x editor and expression builder.
UML Model generation from Flex project AS3 classes.
Flex package explorer view.
FlexUnit test and test suite generators (for project or class).
AS3 and MXML code formatters (for project or source file).
Single click ASDoc documentation generation.
Flex hierarchy explorer view.
AS3 code generation from UML Model Customizable with Eclipse Enterprise IDE Preference page.
Flex code metrics explorer.
Cairngorm end-to-end class generators for REST, Web Service (WSDL) and Remoting services.
AS3 and MXML source code TODO and FIXME tasks.
Flex code dependency explorer.
Generation of getter and setters for existing AS3 variables.
Help integrated with Eclipse Help System.
Cairngorm explorer view.
Java Value Object generation from Cairngorm VOs.
Flex RSS Feed Reader


The Source for Enterprise Flex Development Tools
http://www.idefactory.com/