Is there something like #define?

Hi guys,

Is there something in AS3 that’s like a #define in C(++) ?

Like this:

#define HORIZONTAL 1
#define VERTICAL 2

var direction:int=HORIZONTAL;

I know I can just declare variables and name them accordingly but that seems like a waste of memory.

Thanks.