I have been instructed to update the Flex project created by an external contractor, and in ActionScript, the following snippet:
CONFIG::FLASH_10_1 { //Some code here }
I have never seen this type of structure before, and I have time trying to find it on Google - I have found that this means in almost every programming language except AS3. Can anyone shed some light on this?
I am sure this is due to the conditional compilation functions of the Flex compiler.
So, if you add a compiler argument, for example:
-define=CONFIG::FLASH_10_1
I am sure that the error will disappear.
, , "::" AS3...
.
, AS3 Vector.<T> __AS3__.vec::Vector.<T>, __AS3__.vec - . AS3 object.custom_namespace::membername. public private , , object.public::membername, :
Vector.<T>
__AS3__.vec::Vector.<T>
__AS3__.vec
object.custom_namespace::membername
public
private
object.public::membername
var a:Array = [0,1]; trace(a.public::length); //prints 2
Not a flex / AS3 guru - this thread says that "::" is used as an "Accessor" in the namespace:
Frequency Actionscript Thread
Source: https://habr.com/ru/post/1783695/More articles:Почему наименьшее значение, которое может быть сохранено, это байт (8 бит), а не бит (1 бит)? - memoryMigrating a pointer through boost :: interprocess :: message_queue - boostЕсть ли язык шаблона Django, эквивалентный диапазону Pythons()? - pythonCustom MVC Route: Change Location for the Controller - c #Indexing only affects WHERE clause? - sqlShowing the second form exactly in place of the first form - c #Objective-C: do you use the @private visibility / access modifier in your code? - iosPerl Package Processing and Input Module - perlWhat parts of C ++ are not supported using Brew (MP)? - c ++silence closing VS 2008 on Windows 7 - c ++All Articles