my space:http://www.laaan.cn

Using conditional compilation[From adobe]

from adobe livedoc:http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_21.html#246171 To include or exclude blocks of code for certain builds, you can use conditional compilation. The mxmlc compiler lets you pass the values of constants to the application at compile time. Commonly, you pass a Boolean that is used to include or exclude a block of code such as debugging or instrumentation code. The following example conditionalizes a block of code by using an inline constant Boolean: 阅读全文——共4005字
posted @ 2009-03-14 22:26  laan  阅读(142)  评论(0编辑  收藏  举报
my space:http://www.laaan.cn