Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the double colon ('::') mean in Actionscript 3 / Flex?

I'm tasked with updating a Flex project created by an outside contractor and in the Actionscript is the following chunk:

CONFIG::FLASH_10_1
{
    //Some code here
}

I've never seen this type of structure before and I'm having a heck of a time trying to search for it on Google - I've found what it means in just about every programming language except AS3. Can anyone shed some light on this?

like image 829
TheOx Avatar asked Nov 25 '25 06:11

TheOx


1 Answers

I'm pretty sure this relates to the conditional compilation features of the Flex compiler.

So, if you add a compiler argument, like this:

-define=CONFIG::FLASH_10_1

I bet that error will go away.

like image 190
JeffryHouser Avatar answered Nov 28 '25 02:11

JeffryHouser



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!