Wednesday, January 14, 2009
Config Constants in Flash CS4
Wednesday, January 14, 2009
Just in case you might have forgotten how to use that Config constants tab in your ActionScript 3.0 settings panel, you can set up your config variables, and then reference them in your code to optionally include stuff.
So if you have
Name: CONFIG::VERSION
Value: Debug
In your code you can check like so:
if( CONFIG::Version == "Debug")
...
Just a little reminder since I haven't seen much on Google about quite yet, even though it's been available for some time.
Comments:
There are currently 0 Comments:

