Build Settings

Design-timeConstants

A list of all of the custom design-time constants in the current project.

Design-time constants are similar to variables, but instead of being converted to values at run time, design-time constants get converted at build time. We call them design-time constants because the names you give them only exist at design time at the time you build. At build time, the name of each constant is replaced by the value that was assigned to it.

Note:  Design-time constants can be in any format you like. One recognizable format is the variable name in capitals surround by "#" characters. For example, #MYVAR#. However if you plan to use these design-time constants in action script, the names may be caught by the automatic syntax checker if certain characters are used that are part of the Lua language (such as "#"). In this case, it is best to use an alternate format such as _MYVAR.

Tip: There are also a number of built-in design-time constants that are available.

Add

Add a new design-time constant to the project.

Remove

Remove the selected design-time constant from the current project.

Rename

Rename the selected design-time constant from the current project.