From Adobe's documentation:
To set the value of these constants in the flex-config.xml file, rather than on the command line, you write this as the following example shows:
<compiler>
<define append="true">
<name>CONFIG::debugging</name>
<value>true</value>
</define>
<define append="true">
<name>CONFIG::release</name>
<value>false</value>
</define>
</compiler>
The problem is that compiler doesn't actually take them into account and giving me compilation errors like "Error: Access of undefined property debugging." since I have that in my ActionScript code.
If I define them via arguments ("-define+=CONFIG::debugging,true") everything is OK.
I thought maybe my config is not used at all, so I malformed it — mxmlc points that out. So config is actually loaded into compiler.
Any hints? Thank you.