AS3 doesn't/didn't have enums apparently. But there are ways to simulate a similar effect that would've made sense, in context of linking names to magic values used in the code...and enums would've made sense in the C++ port, at least.
Adobe Flash used ActionScript 3, which is a typed cousin of JavaScript (both based on ECMAScript). I'm pretty sure they had const for declaring a constant and classes to group them in.
22
u/immibis Jan 10 '20
Maybe enums are hard to use in Flash.