Broken Flash Logo
Click an error type to choose an error.

mikeduguid

ø

Sentientv2

ø

joegodfrey

ø

sinsonido

ø

Aron18

ø

Ryan Stone

ø

John Nelson

ø

Alan

ø

Nojiveturkeyhe...

ø

aleejen

ø

Kellyf

ø

dangurtner

ø

kbowen

ø

agarcia

ø

ryan

ø

· · ·

Actionscript 3 Errors

Types of Errors

 

RE: Runtime Errors

The following errors can occur at run time. Run-time type checking occurs in ActionScript 3.0 whether you compile in strict mode or warning mode.

 

CE: Compiler Errors

The following is a list of compilation errors that the compiler generates when it encounters invalid code. A subset of these errors is detected only when compiling code in strict mode. Strict mode adds three constraints not found in the standard language:

 

· Expressions have static types and type errors are verification errors.

· Additional verification rules catch common programming errors.

· Verification errors are reported ahead of time. These are the verification errors that occur only in strict mode:

· Function call signature matching, which checks the number of parameters supplied and their types.

· Duplicate definition conflicts.

· Unbound references, which occur when accessing methods or properties that are not defined at compile time.

· Dynamically adding properties on sealed objects.

· Writing to constant variables.

· Deleting fixed properties.

· Comparison expressions that use incompatible types.

· Unfound packages.

 

CW: Compiler Warnings

Compiler warning messages identify code that is valid and compiles successfully, but may not be what the author intended. To enable detecting these possible problems, compile ActionScript projects in warning mode.

 

Some of these warnings (for example, "Missing type declaration.") are coding style choices that you have the option whether to enforce. Others (for example, "Impossible assignment to null.") point out statements that are valid, but are unlikely to behave as the user expects. A third class of warnings covers issues you may encounter when porting ActionScript 2.0 code to ActionScript 3.0.

258 Runtime Errors – (click to expand)
Code Type Message Comments
1000 RE The system is out of memory. 00000 comment(s)
1001 RE The method _ is not implemented. 00000 comment(s)
1002 RE Number.toPrecision has a range of 1 to 21. Number.toFixed and Number.toExponential have a range of 0... 00000 comment(s)
1003 RE The radix argument must be between 2 and 36; got _. 00000 comment(s)
1004 RE Method _ was invoked on an incompatible object. 00000 comment(s)
1005 RE Array index is not a positive integer (_). 00000 comment(s)
1006 RE _ is not a function. 00000 comment(s)
1007 RE Instantiation attempted on a non-constructor. 00000 comment(s)
1008 RE _ is ambiguous; Found more than one matching binding. 00000 comment(s)
1009 RE Cannot access a property or method of a null object reference. 00001 comment(s)
1010 RE A term is undefined and has no properties. 00000 comment(s)
1011 RE Method _ contained illegal opcode _ at offset _. 00000 comment(s)
1012 RE The last instruction exceeded code size. 00000 comment(s)
1013 RE Cannot call OP_findproperty when scopeDepth is 0. 00000 comment(s)
1014 RE Class _ could not be found. 00000 comment(s)
1015 RE Method _ cannot set default xml namespace 00000 comment(s)
1016 RE Descendants operator (..) not supported on type _. 00000 comment(s)
1017 RE Scope stack overflow occurred. 00000 comment(s)
1018 RE Scope stack underflow occurred. 00000 comment(s)
1019 RE Getscopeobject _ is out of bounds. 00000 comment(s)
1020 RE Code cannot fall off the end of a method. 00000 comment(s)
1021 RE At least one branch target was not on a valid instruction in the method. 00000 comment(s)
1022 RE Type void may only be used as a function return type. 00000 comment(s)
1023 RE Stack overflow occurred. 00000 comment(s)
1024 RE Stack underflow occurred. 00000 comment(s)
1025 RE An invalid register _ was accessed. 00000 comment(s)
1026 RE Slot _ exceeds slotCount=_ of _. 00000 comment(s)
1027 RE Method_info _ exceeds method_count=_. 00000 comment(s)
1028 RE Disp_id _ exceeds max_disp_id=_ of _. 00000 comment(s)
1029 RE Disp_id _ is undefined on _. 00000 comment(s)
1030 RE Stack depth is unbalanced. _ != _. 00000 comment(s)
1031 RE Scope depth is unbalanced. _ != _. 00000 comment(s)
1032 RE Cpool index _ is out of range _. 00000 comment(s)
1033 RE Cpool entry _ is wrong type. 00000 comment(s)
1034 RE Type Coercion failed: cannot convert _ to _. 00000 comment(s)
1035 RE Illegal super expression found in method _. 00000 comment(s)
1037 RE Cannot assign to a method _ on _. 00000 comment(s)
1038 RE _ is already defined. 00000 comment(s)
1039 RE Cannot verify method until it is referenced. 00000 comment(s)
1040 RE The right-hand side of instanceof must be a class or function. 00000 comment(s)
1041 RE The right-hand side of operator must be a class. 00000 comment(s)
1042 RE Not an ABC file. major_version=_ minor_version=_. 00000 comment(s)
1043 RE Invalid code_length=_. 00000 comment(s)
1044 RE MethodInfo-_ unsupported flags=_. 00000 comment(s)
1045 RE Unsupported traits kind=_. 00000 comment(s)
1046 RE MethodInfo-_ referenced before definition. 00000 comment(s)
1047 RE No entry point was found. 00000 comment(s)
1049 RE Prototype objects must be vanilla Objects. 00000 comment(s)
1050 RE Cannot convert _ to primitive. 00000 comment(s)
1051 RE Illegal early binding access to _. 00000 comment(s)
1052 RE Invalid URI passed to _ function. 00000 comment(s)
1053 RE Illegal override of _ in _. 00000 comment(s)
1054 RE Illegal range or target offsets in exception handler. 00000 comment(s)
1056 RE Cannot create property _ on _. 00000 comment(s)
1057 RE _ can only contain methods. 00000 comment(s)
1058 RE Illegal operand type: _ must be _. 00000 comment(s)
1059 RE ClassInfo-_ is referenced before definition. 00000 comment(s)
1060 RE ClassInfo _ exceeds class_count=_. 00000 comment(s)
1061 RE The value _ cannot be converted to _ without losing precision. 00000 comment(s)
1063 RE Argument count mismatch on _. Expected _, got _. 00000 comment(s)
1064 RE Cannot call method _ as constructor. 00000 comment(s)
1065 RE Variable _ is not defined. 00000 comment(s)
1066 RE The form function('function body') is not supported. 00000 comment(s)
1067 RE Native method _ has illegal method body. 00000 comment(s)
1068 RE _ and _ cannot be reconciled. 00000 comment(s)
1069 RE Property _ not found on _ and there is no default value. 00000 comment(s)
1070 RE Method _ not found on _ 00000 comment(s)
1071 RE Function _ has already been bound to _. 00000 comment(s)
1072 RE Disp_id 0 is illegal. 00000 comment(s)
1073 RE Non-override method _ replaced because of duplicate disp_id _. 00000 comment(s)
1074 RE Illegal write to read-only property _ on _. 00000 comment(s)
1075 RE Math is not a function. 00000 comment(s)
1076 RE Math is not a constructor. 00000 comment(s)
1077 RE Illegal read of write-only property _ on _. 00000 comment(s)
1078 RE Illegal opcode/multiname combination: _<_>. 00000 comment(s)
1079 RE Native methods are not allowed in loaded code. 00000 comment(s)
1080 RE Illegal value for namespace. 00000 comment(s)
1081 RE Property _ not found on _ and there is no default value. 00000 comment(s)
1082 RE No default namespace has been set. 00000 comment(s)
1083 RE The prefix "_" for element "_" is not bound. 00000 comment(s)
1084 RE Element or attribute ("_") does not match QName production: QName::=(NCName':')?NC... 00000 comment(s)
1085 RE The element type "_" must be terminated by the matching end-tag "" 00000 comment(s)
1086 RE The _ method only works on lists containing one item. 00000 comment(s)
1087 RE Assignment to indexed XML is not allowed. 00000 comment(s)
1088 RE The markup in the document following the root element must be well-formed. 00000 comment(s)
1089 RE Assignment to lists with more than one item is not supported. 00000 comment(s)
1090 RE XML parser failure: element is malformed. 00000 comment(s)
1091 RE XML parser failure: Unterminated CDATA section. 00000 comment(s)
1092 RE XML parser failure: Unterminated XML declaration. 00000 comment(s)
1093 RE XML parser failure: Unterminated DOCTYPE declaration. 00000 comment(s)
1094 RE XML parser failure: Unterminated comment. 00000 comment(s)
1095 RE XML parser failure: Unterminated attribute. 00000 comment(s)
1096 RE XML parser failure: Unterminated element. 00000 comment(s)
1097 RE XML parser failure: Unterminated processing instruction. 00000 comment(s)
1098 RE Illegal prefix _ for no namespace. 00000 comment(s)
1100 RE Cannot supply flags when constructing one RegExp from another. 00000 comment(s)
1101 RE Cannot verify method _ with unknown scope. 00000 comment(s)
1102 RE Illegal default value for type _. 00000 comment(s)
1103 RE Class _ cannot extend final base class. 00000 comment(s)
1104 RE Attribute "_" was already specified for element "_". 00000 comment(s)
1107 RE The ABC data is corrupt, attempt to read out of bounds. 00000 comment(s)
1108 RE The OP_newclass opcode was used with the incorrect base class. 00000 comment(s)
1109 RE Attempt to directly call unbound function _ from method _. 00000 comment(s)
1110 RE _ cannot extend _. 00000 comment(s)
1111 RE _ cannot implement _. 00000 comment(s)
1112 RE Argument count mismatch on class coercion. Expected 1, got _. 00001 comment(s)
1113 RE OP_newactivation used in method without NEED_ACTIVATION flag. 00000 comment(s)
1114 RE OP_getglobalslot or OP_setglobalslot used with no global scope. 00000 comment(s)
1115 RE _ is not a constructor. 00000 comment(s)
1116 RE second argument to Function.prototype.apply must be an array. 00000 comment(s)
1117 RE Invalid XML name: _. 00000 comment(s)
1118 RE Illegal cyclical loop between nodes. 00000 comment(s)
1119 RE Delete operator is not supported with operand of type _. 00000 comment(s)
1120 RE Cannot delete property _ on _. 00000 comment(s)
1121 RE Method _ has a duplicate method body. 00000 comment(s)
1122 RE Interface method _ has illegal method body. 00000 comment(s)
1123 RE Filter operator not supported on type _. 00000 comment(s)
1124 RE OP_hasnext2 requires object and index to be distinct registers. 00000 comment(s)
1502 RE A script has executed for longer than the default timeout period of 15 seconds. 00000 comment(s)
1503 RE A script failed to exit after 30 seconds and was terminated. 00000 comment(s)
1507 RE Argument _ cannot be null. 00000 comment(s)
1508 RE The value specified for argument _ is invalid. 00000 comment(s)
1510 RE When the callback argument is a method of a class, the optional this argument must be null. 00000 comment(s)
2000 RE No active security context. 00000 comment(s)
2001 RE Too few arguments were specified; got _, _ expected. 00000 comment(s)
2002 RE Operation attempted on invalid socket. 00000 comment(s)
2003 RE Invalid socket port number specified. 00000 comment(s)
2004 RE One of the parameters is invalid. 00000 comment(s)
2005 RE Parameter _ is of the incorrect type. Should be type _. 00000 comment(s)
2006 RE The supplied index is out of bounds. 00000 comment(s)
2007 RE Parameter _ must be non-null. 00000 comment(s)
2008 RE Parameter _ must be one of the accepted values. 00000 comment(s)
2009 RE This method cannot be used on a text field with a style sheet. 00000 comment(s)
2010 RE Local-with-filesystem SWF files are not permitted to use sockets. 00000 comment(s)
2011 RE Socket connection failed to _:_. 00000 comment(s)
2012 RE _ class cannot be instantiated. 00000 comment(s)
2013 RE Feature can only be used in Flash Authoring. 00000 comment(s)
2014 RE Feature is not available at this time. 00000 comment(s)
2015 RE Invalid BitmapData. 00000 comment(s)
2017 RE Only trusted local files may cause the Flash Player to exit. 00000 comment(s)
2018 RE System.exit is only available in the standalone Flash Player. 00000 comment(s)
2019 RE Depth specified is invalid. 00000 comment(s)
2020 RE MovieClips objects with different parents cannot be swapped. 00000 comment(s)
2021 RE Object creation failed. 00000 comment(s)
2022 RE Class _ must inherit from DisplayObject to link to a symbol. 00000 comment(s)
2023 RE Class _ must inherit from Sprite to link to the root. 00000 comment(s)
2024 RE An object cannot be added as a child of itself. 00000 comment(s)
2025 RE The supplied DisplayObject must be a child of the caller. 00000 comment(s)
2026 RE An error occurred navigating to the URL _. 00000 comment(s)
2027 RE Parameter _ must be a non-negative number; got _. 00000 comment(s)
2028 RE Local-with-filesystem SWF file _ cannot access Internet URL _. 00000 comment(s)
2029 RE This URLStream object does not have a stream opened. 00000 comment(s)
2030 RE End of file was encountered. 00000 comment(s)
2031 RE Socket Error. 00000 comment(s)
2032 RE Stream Error. 00000 comment(s)
2033 RE Key Generation Failed. 00000 comment(s)
2035 RE URL Not Found. 00000 comment(s)
2036 RE Load Never Completed. 00000 comment(s)
2037 RE Functions called in incorrect sequence, or earlier call was unsuccessful. 00000 comment(s)
2038 RE File I/O Error. 00000 comment(s)
2039 RE Invalid remote URL protocol. The remote URL protocol must be HTTP or HTTPS. 00000 comment(s)
2041 RE Only one file browsing session may be performed at a time. 00000 comment(s)
2044 RE Unhandled %1:. 00000 comment(s)
2047 RE Security sandbox violation: _: _ cannot access _. 00000 comment(s)
2048 RE Security sandbox violation: _ cannot load data from _. 00000 comment(s)
2049 RE Security sandbox violation: _ cannot upload data to _. 00000 comment(s)
2051 RE Security sandbox violation: _ cannot evaluate scripting URLs within _ (allowScriptAccess is _). Atte... 00000 comment(s)
2052 RE Only String arguments are permitted for allowDomain and allowInsecureDomain. 00000 comment(s)
2053 RE Security sandbox violation: _ cannot clear an interval timer set by _. 00000 comment(s)
2054 RE The value of Security.exactSettings cannot be changed after it has been used. 00000 comment(s)
2055 RE The print job could not be started. 00000 comment(s)
2056 RE The print job could not be sent to the printer. 00000 comment(s)
2057 RE The page could not be added to the print job. 00000 comment(s)
2058 RE There was an error decompressing the data. 00000 comment(s)
2059 RE Security sandbox violation: _ cannot overwrite an ExternalInterface callback added by _. 00000 comment(s)
2060 RE Security sandbox violation: ExternalInterface caller _ cannot access _. 00000 comment(s)
2061 RE No ExternalInterface callback _ registered. 00000 comment(s)
2062 RE Children of Event must override clone() {return new MyEventClass (...);}. 00000 comment(s)
2063 RE Error attempting to execute IME command. 00000 comment(s)
2065 RE The focus cannot be set for this target. 00000 comment(s)
2066 RE The Timer delay specified is out of range. 00000 comment(s)
2067 RE The ExternalInterface is not available in this container. ExternalInterface requires Internet Explor... 00000 comment(s)
2068 RE Invalid sound. 00000 comment(s)
2069 RE The Loader class does not implement this method. 00000 comment(s)
2070 RE Security sandbox violation: caller _ cannot access Stage owned by _. 00000 comment(s)
2071 RE The Stage class does not implement this property or method. 00000 comment(s)
2074 RE The stage is too small to fit the download ui. 00000 comment(s)
2075 RE The downloaded file is invalid. 00000 comment(s)
2077 RE This filter operation cannot be performed with the specified input parameters. 00000 comment(s)
2078 RE The name property of a Timeline-placed object cannot be modified. 00000 comment(s)
2079 RE Classes derived from Bitmap can only be associated with defineBits characters (bitmaps). 00000 comment(s)
2082 RE Connect failed because the object is already connected. 00000 comment(s)
2083 RE Close failed because the object is not connected. 00000 comment(s)
2084 RE The AMF encoding of the arguments cannot exceed 40K. 00000 comment(s)
2085 RE Parameter _ must be non-empty string. 00000 comment(s)
2086 RE A setting in the mms.cfg file prohibits this FileReference request. 00000 comment(s)
2087 RE The FileReference.download() file name contains prohibited characters. 00000 comment(s)
2088 RE The Proxy class does not implement getProperty. It must be overridden by a subclass. 00000 comment(s)
2089 RE The Proxy class does not implement setProperty. It must be overridden by a subclass. 00000 comment(s)
2090 RE The Proxy class does not implement callProperty. It must be overridden by a subclass. 00000 comment(s)
2091 RE The Proxy class does not implement hasProperty. It must be overridden by a subclass. 00000 comment(s)
2092 RE The Proxy class does not implement deleteProperty. It must be overridden by a subclass. 00000 comment(s)
2093 RE The Proxy class does not implement getDescendants. It must be overridden by a subclass. 00000 comment(s)
2094 RE Event dispatch recursion overflow. 00000 comment(s)
2095 RE _ was unable to invoke callback _. 00000 comment(s)
2096 RE The HTTP request header _ cannot be set via ActionScript. 00000 comment(s)
2097 RE The FileFilter Array is not in the correct format. 00000 comment(s)
2098 RE The loading object is not a .swf file, you cannot request SWF properties from it. 00000 comment(s)
2099 RE The loading object is not sufficiently loaded to provide this information. 00000 comment(s)
2100 RE The ByteArray parameter in Loader.loadBytes() must have length greater than 0. 00000 comment(s)
2101 RE The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value ... 00000 comment(s)
2102 RE The before XMLNode parameter must be a child of the caller. 00000 comment(s)
2103 RE XML recursion failure: new child would create infinite loop. 00000 comment(s)
2105 RE The Proxy class does not implement nextNameIndex. It must be overridden by a subclass. 00000 comment(s)
2106 RE The Proxy class does not implement nextName. It must be overridden by a subclass. 00000 comment(s)
2107 RE The Proxy class does not implement nextValue. It must be overridden by a subclass. 00000 comment(s)
2108 RE Scene _ was not found. 00000 comment(s)
2109 RE Frame label _ not found in scene _. 00000 comment(s)
2110 RE The value of Security.disableAVM1Loading cannot be set unless the caller can access the stage and is... 00000 comment(s)
2111 RE Security.disableAVM1Loading is true so the current load of the ActionScript 1.0/2.0 SWF file has bee... 00000 comment(s)
2112 RE Provided parameter LoaderContext.ApplicationDomain is from a disallowed domain. 00000 comment(s)
2113 RE Provided parameter LoaderContext.SecurityDomain is from a disallowed domain. 00000 comment(s)
2114 RE Parameter _ must be null. 00000 comment(s)
2115 RE Parameter _ must be false. 00000 comment(s)
2116 RE Parameter _ must be true. 00000 comment(s)
2118 RE The LoaderInfo class does not implement this method. 00000 comment(s)
2119 RE Security sandbox violation: caller _ cannot access LoaderInfo.applicationDomain owned by _. 00000 comment(s)
2121 RE Security sandbox violation: _: _ cannot access _. This may be worked around by calling Security.allo... 00000 comment(s)
2122 RE Security sandbox violation: _: _ cannot access _. A policy file is required, but the checkPolicyFile... 00000 comment(s)
2123 RE Security sandbox violation: _: _ cannot access _. No policy files granted access. 00000 comment(s)
2124 RE Loaded file is an unknown type. 00000 comment(s)
2125 RE Security sandbox violation: _ cannot use Runtime Shared Library _ because crossing the boundary betw... 00000 comment(s)
2126 RE NetConnection object must be connected. 00000 comment(s)
2127 RE FileReference POST data cannot be type ByteArray. 00000 comment(s)
2129 RE Connection to _ failed. 00000 comment(s)
2130 RE Unable to flush SharedObject. 00000 comment(s)
2131 RE Definition _ cannot be found. 00000 comment(s)
2132 RE NetConnection.connect cannot be called from a netStatus event handler. 00000 comment(s)
2133 RE Callback _ is not registered. 00000 comment(s)
2134 RE Cannot create SharedObject. 00000 comment(s)
2135 RE Security sandbox violation: _: _ cannot access _. RTMP content cannot be accessed using this API. 00000 comment(s)
2136 RE The SWF file _ contains invalid data. 00000 comment(s)
2137 RE Security sandbox violation: _ cannot navigate window _ within _ (allowScriptAccess is _). Attempted ... 00000 comment(s)
2138 RE Rich text XML could not be parsed. 00000 comment(s)
2139 RE SharedObject could not connect. 00000 comment(s)
2140 RE Security sandbox violation: _ cannot load _. Local-with-filesystem and local-with-networking SWF fil... 00000 comment(s)
2141 RE Only one PrintJob may be in use at a time. 00000 comment(s)
2142 RE Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property. _ ... 00000 comment(s)
2143 RE AccessibilityImplementation.get_accRole() must be overridden from its default. 00000 comment(s)
2144 RE AccessibilityImplementation.get_accState() must be overridden from its default. 00000 comment(s)
2145 RE Cumulative length of requestHeaders must be less than 8192 characters. 00000 comment(s)
2146 RE Security sandbox violation: _ cannot call _ because the HTML/container parameter allowNetworking has... 00000 comment(s)
2147 RE Forbidden protocol in URL _. 00000 comment(s)
2148 RE SWF file _ cannot access local resource _. Only local-with-filesystem and trusted local SWF files ma... 00000 comment(s)
2149 RE Security sandbox violation: _ cannot make fscommand calls to _ (allowScriptAccess is _). 00000 comment(s)
2150 RE An object cannot be added as a child to one of it's children (or children's children, etc.).... 00000 comment(s)
2151 RE You cannot enter full screen mode when the settings dialog is visible. 00000 comment(s)
2152 RE Full screen mode is not allowed. 00000 comment(s)
165 Compiler Errors – (click to expand)
Code Type Message Comments
1000 CE Ambiguous reference to _. 00000 comment(s)
1003 CE Access specifiers are not allowed with namespace attributes. 00000 comment(s)
1004 CE Namespace was not found or is not a compile-time constant. 00000 comment(s)
1006 CE A super expression can be used only inside class instance methods. 00000 comment(s)
1007 CE A super statement can be used only inside class instance constructors. 00000 comment(s)
1008 CE Attribute is invalid. 00000 comment(s)
1010 CE The override attribute may be used only on class property definitions. 00000 comment(s)
1011 CE The virtual attribute may be used only on class property definitions. 00000 comment(s)
1012 CE The static attribute may be used only on definitions inside a class. 00000 comment(s)
1013 CE The private attribute may be used only on class property definitions. 00000 comment(s)
1014 CE The intrinsic attribute is no longer supported. 00000 comment(s)
1016 CE Base class is final. 00000 comment(s)
1017 CE The definition of base class _ was not found. 00000 comment(s)
1018 CE Duplicate class definition: _. 00000 comment(s)
1020 CE Method marked override must override another method. 00001 comment(s)
1021 CE Duplicate function definition. 00000 comment(s)
1022 CE Cannot override a final accessor. 00000 comment(s)
1023 CE Incompatible override. 00000 comment(s)
1024 CE Overriding a function that is not marked for override. 00000 comment(s)
1025 CE Cannot redefine a final method. 00000 comment(s)
1026 CE Constructor functions must be instance methods. 00000 comment(s)
1027 CE Functions cannot be both static and override. 00000 comment(s)
1028 CE Functions cannot be both static and virtual. 00000 comment(s)
1029 CE Functions cannot be both final and virtual. 00000 comment(s)
1030 CE Must specify name of variable arguments array. 00000 comment(s)
1033 CE Virtual variables are not supported. 00000 comment(s)
1034 CE Variables cannot be native. 00000 comment(s)
1035 CE Variables cannot be both final and virtual. 00000 comment(s)
1037 CE Packages cannot be nested. 00000 comment(s)
1038 CE Target of break statement was not found. 00000 comment(s)
1039 CE Target of continue statement was not found. 00000 comment(s)
1040 CE Duplicate label definition. 00000 comment(s)
1041 CE Attributes are not callable. 00000 comment(s)
1042 CE The this keyword can not be used in static methods. It can only be used in instance methods, functio... 00000 comment(s)
1043 CE Undefined namespace. 00000 comment(s)
1044 CE Interface method _ in namespace _ not implemented by class _. 00000 comment(s)
1045 CE Interface _ was not found. 00000 comment(s)
1046 CE Type was not found or was not a compile-time constant: _. 00000 comment(s)
1047 CE Parameter initializer unknown or is not a compile-time constant. 00000 comment(s)
1048 CE Method cannot be used as a constructor. 00000 comment(s)
1049 CE Illegal assignment to a variable specified as constant. 00000 comment(s)
1050 CE Cannot assign to a non-reference value. 00000 comment(s)
1051 CE Return value must be undefined. 00000 comment(s)
1052 CE Constant initializer unknown or is not a compile-time constant. 00000 comment(s)
1053 CE Accessor types must match. 00001 comment(s)
1054 CE Return type of a setter definition must be unspecified or void. 00000 comment(s)
1058 CE Property is write-only. 00000 comment(s)
1059 CE Property is read-only. 00000 comment(s)
1061 CE Call to a possibly undefined method _ through a reference with static type _. 00000 comment(s)
1063 CE Unable to open file: _. 00000 comment(s)
1064 CE Invalid metadata. 00000 comment(s)
1065 CE Metadata attributes cannot have more than one element. 00000 comment(s)
1067 CE Implicit coercion of a value of type _ to an unrelated type _. 00000 comment(s)
1068 CE Unable to open included file: _. 00000 comment(s)
1069 CE Syntax error: definition or directive expected. 00000 comment(s)
1071 CE Syntax error: expected a definition keyword (such as function) after attribute _, not _. 00000 comment(s)
1072 CE Syntax error: expecting xml before namespace. 00000 comment(s)
1073 CE Syntax error: expecting a catch or a finally clause. 00000 comment(s)
1075 CE Syntax error: the 00000 comment(s)
1076 CE Syntax error: expecting left parenthesis before the identifier. 00000 comment(s)
1077 CE Expecting CaseLabel. 00000 comment(s)
1078 CE Label must be a simple identifier. 00000 comment(s)
1079 CE A super expression must have one operand. 00000 comment(s)
1080 CE Expecting increment or decrement operator. 00000 comment(s)
1082 CE Expecting a single expression within parentheses. 00000 comment(s)
1083 CE Syntax error: _ is unexpected. 00000 comment(s)
1084 CE Syntax error: expecting _ before _. 00000 comment(s)
1086 CE Syntax error: expecting semicolon before _. 00000 comment(s)
1087 CE Syntax error: extra characters found after end of program. 00000 comment(s)
1093 CE Syntax error. 00000 comment(s)
1094 CE Syntax error: A string literal must be terminated before the line break. 00000 comment(s)
1095 CE Syntax error: A string literal must be terminated before the line break. 00000 comment(s)
1097 CE Syntax error: input ended before reaching the closing quotation mark for a string literal. 00000 comment(s)
1099 CE Syntax error. 00000 comment(s)
1100 CE Syntax error: XML does not have matching begin and end tags. 00000 comment(s)
1102 CE Cannot delete super descendants. 00000 comment(s)
1103 CE Duplicate namespace definition. 00000 comment(s)
1105 CE Target of assignment must be a reference value. 00000 comment(s)
1106 CE Operand of increment must be a reference. 00000 comment(s)
1107 CE Increment operand is invalid. 00000 comment(s)
1108 CE Decrement operand is invalid. 00000 comment(s)
1109 CE Expecting an expression. 00000 comment(s)
1110 CE Missing XML tag name. 00000 comment(s)
1112 CE Possible infinite recursion due to this file include: _. 00000 comment(s)
1113 CE Circular type reference was detected in _. 00000 comment(s)
1114 CE The public attribute can only be used inside a package. 00000 comment(s)
1115 CE The internal attribute can only be used inside a package. 00000 comment(s)
1116 CE A user-defined namespace attribute can only be used at the top level of a class definition. 00000 comment(s)
1118 CE Implicit coercion of a value with static type _ to a possibly unrelated type _. 00000 comment(s)
1119 CE Access of possibly undefined property _ through a reference with static type _. 00000 comment(s)
1120 CE Access of undefined property _. 00000 comment(s)
1121 CE A getter definition must have no parameters. 00000 comment(s)
1122 CE A setter definition must have exactly one parameter. 00000 comment(s)
1123 CE A setter definition cannot have optional parameters. 00000 comment(s)
1124 CE Return type of a getter definition must not be void. 00000 comment(s)
1125 CE Methods defined in an interface must not have a body. 00000 comment(s)
1126 CE Function does not have a body. 00000 comment(s)
1127 CE Attribute _ was specified multiple times. 00000 comment(s)
1129 CE Duplicate interface definition: _. 00000 comment(s)
1130 CE A constructor cannot specify a return type. 00000 comment(s)
1131 CE Classes must not be nested. 00000 comment(s)
1132 CE The attribute final can only be used on a method defined in a class. 00000 comment(s)
1133 CE The native attribute can only be used with function definitions. 00000 comment(s)
1134 CE The dynamic attribute can only be used with class definitions. 00000 comment(s)
1135 CE Syntax error: _ as not a valid type. 00000 comment(s)
1136 CE Incorrect number of arguments. Expected _. 00000 comment(s)
1137 CE Incorrect number of arguments. Expected no more than _. 00000 comment(s)
1138 CE Required parameters are not permitted after optional parameters. 00001 comment(s)
1139 CE Variable declarations are not permitted in interfaces. 00000 comment(s)
1140 CE Parameters specified after the ...rest parameter definition keyword can only be an Array data type. 00000 comment(s)
1141 CE A class can only extend another class, not an interface. 00000 comment(s)
1142 CE An interface can only extend other interfaces, but _ is a class. 00000 comment(s)
1143 CE The override attribute can only be used on a method defined in a class. 00000 comment(s)
1144 CE Interface method _ in namespace _ is implemented with an incompatible signature in class _. 00000 comment(s)
1145 CE Native methods cannot have a body. 00000 comment(s)
1146 CE A constructor cannot be a getter or setter method. 00000 comment(s)
1147 CE An AS source file was not specified. 00000 comment(s)
1149 CE The return statement cannot be used in static initialization code. 00000 comment(s)
1150 CE The protected attribute can only be used on class property definitions. 00000 comment(s)
1151 CE A conflict exists with definition _ in namespace _. 00000 comment(s)
1152 CE A conflict exists with inherited definition _ in namespace _. 00000 comment(s)
1153 CE A constructor can only be declared public. 00000 comment(s)
1154 CE Only one of public, private, protected, or internal can be specified on a definition. 00000 comment(s)
1155 CE Accessors cannot be nested inside other functions. 00000 comment(s)
1156 CE Interfaces cannot be instantiated with the new operator. 00000 comment(s)
1157 CE Interface members cannot be declared public, private, protected, or internal. 00000 comment(s)
1158 CE Syntax error: missing left brace ({) before the function body. 00000 comment(s)
1159 CE The return statement cannot be used in package initialization code. 00000 comment(s)
1160 CE The native attribute cannot be used in interface definitions. 00000 comment(s)
1162 CE Only one namespace attribute can be used per definition. 00000 comment(s)
1163 CE Method _ conflicts with definition inherited from interface _. 00000 comment(s)
1165 CE Interface attribute _ is invalid. 00000 comment(s)
1166 CE Namespace declarations are not permitted in interfaces. 00000 comment(s)
1167 CE Class _ implements interface _ multiple times. 00000 comment(s)
1168 CE Illegal assignment to function _. 00000 comment(s)
1169 CE Namespace attributes are not permitted on interface methods. 00000 comment(s)
1170 CE Function does not return a value. 00000 comment(s)
1171 CE A namespace initializer must be either a literal string or another namespace. 00000 comment(s)
1172 CE Definition _ could not be found. 00000 comment(s)
1173 CE Label definition is invalid. 00000 comment(s)
1176 CE Comparison between a value with static type _ and a possibly unrelated type _. 00000 comment(s)
1177 CE The return statement cannot be used in global initialization code. 00000 comment(s)
1178 CE Attempted access of inaccessible property _ through a reference with static type _. 00000 comment(s)
1180 CE Call to a possibly undefined method _. 00000 comment(s)
1181 CE Forward reference to base class _. 00000 comment(s)
1182 CE Package cannot be used as a value: _. 00000 comment(s)
1184 CE Incompatible default value of type _ where _ is expected. 00000 comment(s)
1185 CE The switch has more than one default, but only one default is allowed. 00000 comment(s)
1188 CE Illegal assignment to class _. 00000 comment(s)
1189 CE Attempt to delete the fixed property _. Only dynamically defined properties can be deleted. 00000 comment(s)
1190 CE Base class was not found or is not a compile-time constant. 00000 comment(s)
1191 CE Interface was not found or is not a compile-time constant. 00000 comment(s)
1192 CE The static attribute is not allowed on namespace definitions. 00000 comment(s)
1193 CE Interface definitions must not be nested within class or other interface definitions. 00000 comment(s)
1194 CE The prototype attribute is invalid. 00000 comment(s)
1195 CE Attempted access of inaccessible method _ through a reference with static type _. 00000 comment(s)
1196 CE Syntax error: expecting an expression after the throw. 00000 comment(s)
1197 CE The class _ cannot extend _ since both are associated with library symbols or the main timeline. 00000 comment(s)
1198 CE Attributes are not allowed on package definition. 00000 comment(s)
1199 CE Internal error: _. 00000 comment(s)
1200 CE Syntax error: invalid for-in initializer, only 1 expression expected. 00000 comment(s)
1201 CE A super statement cannot occur after a this, super, return, or throw statement. 00000 comment(s)
1202 CE Access of undefined property _ in package _. 00000 comment(s)
1203 CE No default constructor found in base class _. 00000 comment(s)
1204 CE /* found without matching */ . 00000 comment(s)
42 Compiler Warnings – (click to expand)
Code Type Message Comments
1009 CW _ '_' has no type declaration. 00000 comment(s)
1013 CW Variables of type _ cannot be undefined. The value undefined will be type coerced to _ before compar... 00000 comment(s)
1031 CW Migration issue: Result of new _ will be the return value of _, rather than a new instance of that f... 00000 comment(s)
1035 CW Use of Boolean() with no arguments. 00000 comment(s)
1039 CW Migration issue: When the Number( 00000 comment(s)
1045 CW Migration issue: Array.toString() handling of null and undefined elements has changed. 00000 comment(s)
1059 CW Migration issue: The property _ is no longer supported. _. 00000 comment(s)
1061 CW Migration issue: The method _ is no longer supported. _. 00000 comment(s)
1066 CW __resolve is no longer supported. 00000 comment(s)
1067 CW Migration issue: __resolve is no longer supported. Use the new Proxy class for similar functionality... 00000 comment(s)
1071 CW Migration issue: _level is no longer supported. For more information, see the flash.display package.... 00000 comment(s)
1073 CW Migration issue: _ is not a dynamic class. Instances cannot have members added to them dynamically. ... 00000 comment(s)
1083 CW Migration issue: Method _ will behave differently in ActionScript 3.0 due to the change in scoping f... 00000 comment(s)
1085 CW _ will be scoped to the default namespace: _ internal. It will not be visible outside of this packag... 00000 comment(s)
1087 CW Migration issue: ActionScript 3.0 iterates over an object 00000 comment(s)
1089 CW Error code: _. 00000 comment(s)
1091 CW Migration issue: _ 00000 comment(s)
1093 CW Negative value used where a uint (non-negative) value is expected. 00000 comment(s)
1097 CW Illogical comparison with null. Variables of type _ cannot be null. 00000 comment(s)
1099 CW Illogical comparison with NaN. This statement always evaluates to false. 00000 comment(s)
1101 CW Assignment within conditional. Did you mean == instead of =? 00000 comment(s)
1103 CW null used where a _ value was expected. 00000 comment(s)
1105 CW No constructor function was specified for class _. 00000 comment(s)
1111 CW The constant was not initialized. 00000 comment(s)
1113 CW Array(x) behaves the same as new Array(x). To cast a value to type Array use the expression x as Arr... 00000 comment(s)
1115 CW The super() statement will be executed prior to entering this constructor. Add a call to super() wit... 00000 comment(s)
3552 CW Appending text to a TextField using += is many times slower than using the TextField.appendText() me... 00000 comment(s)
3554 CW Function value used where type _ was expected. Possibly the parentheses () are missing after this fu... 00000 comment(s)
3556 CW The instanceof operator is deprecated, use the is operator instead. 00000 comment(s)
3574 CW Migration issue: The ActionScript 2.0 XML class has been renamed XMLDocument. 00000 comment(s)
3576 CW Date(x) behaves the same as new Date().toString(). To cast a value to type Date use "x as Date" inst... 00000 comment(s)
3582 CW Importing a package by the same name as the current class will hide that class identifier in this sc... 00000 comment(s)
3584 CW More than one argument named 00000 comment(s)
3590 CW Non-Boolean value used where a Boolean value was expected. 00000 comment(s)
3591 CW _ used where a Boolean value was expected. The expression will be type coerced to Boolean. 00000 comment(s)
3593 CW _ is not a recognized property of the dynamic class _. 00000 comment(s)
3595 CW _ is not a recognized method of the dynamic class _. 00000 comment(s)
3597 CW Duplicate variable definition. 00000 comment(s)
3598 CW Definition name is the same as an imported package name. Unqualified references to that name will re... 00000 comment(s)
3599 CW Definition name is the same as an imported package name. Unqualified references to that name will re... 00000 comment(s)
3600 CW Possible attempt to delete a fixed property. 00000 comment(s)
3601 CW The declared property _ cannot be deleted. To free associated memory, set its value to null. 00000 comment(s)
· · ·

Most Common Errors

 

Here is a list of the most frequently viewed errors on this website.

 

Just to get an idea of the most 'popular' errors AS3 has.

Top 10 Errors – (click to expand)
Code Type Message Visits Comments
1113 CE Circular type reference was detected in _. 0000280 visit(s) 00000 comment(s)
1009 RE Cannot access a property or method of a null object reference. 0000238 visit(s) 00001 comment(s)
1050 CE Cannot assign to a non-reference value. 0000220 visit(s) 00000 comment(s)
1195 CE Attempted access of inaccessible method _ through a reference with static type _. 0000186 visit(s) 00000 comment(s)
2057 RE The page could not be added to the print job. 0000182 visit(s) 00000 comment(s)
2108 RE Scene _ was not found. 0000177 visit(s) 00000 comment(s)
2012 RE _ class cannot be instantiated. 0000152 visit(s) 00000 comment(s)
1138 CE Required parameters are not permitted after optional parameters. 0000137 visit(s) 00001 comment(s)
1010 RE A term is undefined and has no properties. 0000136 visit(s) 00000 comment(s)
1068 CE Unable to open included file: _. 0000135 visit(s) 00000 comment(s)
· · ·