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.
Code | Message | Description | |
---|---|---|---|
2000 | No active security context. | ||
2001 | Too few arguments were specified; got _, _ expected. | ||
2002 | Operation attempted on invalid socket. | ||
2003 | Invalid socket port number specified. | The valid range is 0 to 65535. For more information, see Socket Connections in this language reference. | |
2004 | One of the parameters is invalid. | ||
2005 | Parameter _ is of the incorrect type. Should be type _. | ||
2006 | The supplied index is out of bounds. | ||
2007 | Parameter _ must be non-null. | ||
2008 | Parameter _ must be one of the accepted values. | ||
2009 | This method cannot be used on a text field with a style sheet. | ||
2010 | Local-with-filesystem SWF files are not permitted to use sockets. | ||
2011 | Socket connection failed to _:_. | There is a network problem. Possibly a DNS name is not resolving or a TCP socket is not connecting. | |
2012 | _ class cannot be instantiated. | ||
2013 | Feature can only be used in Flash Authoring. | ||
2014 | Feature is not available at this time. | The feature is not supported on this system. | |
2015 | Invalid BitmapData. | ||
2017 | Only trusted local files may cause the Flash Player to exit. | ||
2018 | System.exit is only available in the standalone Flash Player. | ||
2019 | Depth specified is invalid. | ||
2020 | MovieClips objects with different parents cannot be swapped. | ||
2021 | Object creation failed. | ||
2022 | Class _ must inherit from DisplayObject to link to a symbol. | ||
2023 | Class _ must inherit from Sprite to link to the root. | ||
2024 | An object cannot be added as a child of itself. | ||
2025 | The supplied DisplayObject must be a child of the caller. | ||
2026 | An error occurred navigating to the URL _. | Possibly the URL does not exist, the network connection has a problem, or the URL is outside the security sandbox. | |
2027 | Parameter _ must be a non-negative number; got _. | ||
2028 | Local-with-filesystem SWF file _ cannot access Internet URL _. | ||
2029 | This URLStream object does not have a stream opened. | ||
2030 | End of file was encountered. | ||
2031 | Socket Error. | A socket error occurred. For more information, see Socket Connections in this language reference. | |
2032 | Stream Error. | ||
2033 | Key Generation Failed. | ||
2034 | An invalid digest was supplied. | ||
2035 | URL Not Found. | ||
2036 | Load Never Completed. | ||
2037 | Functions called in incorrect sequence, or earlier call was unsuccessful. | ||
2038 | File I/O Error. | ||
2039 | Invalid remote URL protocol. The remote URL protocol must be HTTP or HTTPS. | ||
2041 | Only one file browsing session may be performed at a time. | ||
2042 | The digest property is not supported by this load operation. | ||
2044 | Unhandled _:. | ||
2045 | The digest property is not supported by this load operation. | ||
2046 | The loaded file did not have a valid signature. | ||
2047 | Security sandbox violation: _: _ cannot access _. | ||
2048 | Security sandbox violation: _ cannot load data from _. | ||
2049 | Security sandbox violation: _ cannot upload data to _. | ||
2051 | Security sandbox violation: _ cannot evaluate scripting URLs within _ (allowScriptAccess is _). Attempted URL was _. | ||
2052 | Only String arguments are permitted for allowDomain and allowInsecureDomain. | ||
2053 | Security sandbox violation: _ cannot clear an interval timer set by _. | ||
2054 | The value of Security.exactSettings cannot be changed after it has been used. | ||
2055 | The print job could not be started. | ||
2056 | The print job could not be sent to the printer. | ||
2057 | The page could not be added to the print job. |
The addPage() method is not used correctly. See the addPage() entry in this language reference.
|
|
2058 | There was an error decompressing the data. | ||
2059 | Security sandbox violation: _ cannot overwrite an ExternalInterface callback added by _. | ||
2060 | Security sandbox violation: ExternalInterface caller _ cannot access _. | ||
2061 | No ExternalInterface callback _ registered. | ||
2062 | Children of Event must override clone() {return new MyEventClass (...);}. | ||
2063 | Error attempting to execute IME command. |
One of the IME services has failed.
|
|
2065 | The focus cannot be set for this target. | ||
2066 | The Timer delay specified is out of range. | ||
2067 | The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime. | ||
2068 | Invalid sound. | ||
2069 | The Loader class does not implement this method. | ||
2070 | Security sandbox violation: caller _ cannot access Stage owned by _. | ||
2071 | The Stage class does not implement this property or method. | ||
2074 | The stage is too small to fit the download ui. | ||
2075 | The downloaded file is invalid. | Possibly the file decompression failed, the file format is invalid, or the signature validation failed. | |
2077 | This filter operation cannot be performed with the specified input parameters. | ||
2078 | The name property of a Timeline-placed object cannot be modified. | ||
2079 | Classes derived from Bitmap can only be associated with defineBits characters (bitmaps). | ||
2082 | Connect failed because the object is already connected. | ||
2083 | Close failed because the object is not connected. | ||
2084 | The AMF encoding of the arguments cannot exceed 40K. | ||
2085 | Parameter _ must be non-empty string. | ||
2086 | A setting in the mms.cfg file prohibits this FileReference request. | ||
2087 | The FileReference.download() file name contains prohibited characters. | The filename cannot contain spaces or any of the following characters: /, \, :, *, ?, ", <, >, |, %, or the ASCII control characters 0 through 31 (0x00 through 0X1F). Also, filenames longer than 256 characters may fail on some browsers or servers. | |
2088 | The Proxy class does not implement getProperty. It must be overridden by a subclass. | ||
2089 | The Proxy class does not implement setProperty. It must be overridden by a subclass. | ||
2090 | The Proxy class does not implement callProperty. It must be overridden by a subclass. | ||
2091 | The Proxy class does not implement hasProperty. It must be overridden by a subclass. | ||
2092 | The Proxy class does not implement deleteProperty. It must be overridden by a subclass. | ||
2093 | The Proxy class does not implement getDescendants. It must be overridden by a subclass. | ||
2094 | Event dispatch recursion overflow. | The recursion exceeds the maximum recursion depth. (The default maximum is 256.) | |
2095 | _ was unable to invoke callback _. | ||
2096 | The HTTP request header _ cannot be set via ActionScript. |
You are adding a disallowed HTTP header to an HTTP request. The following headers are disallowed:
|
|
2097 | The FileFilter Array is not in the correct format. |
There are two valid formats:
The two file formats and not interchangeable; you must use one or the other. For more information, see the FileFilter class in this language reference. |
|
2098 | The loading object is not a .swf file, you cannot request SWF properties from it. | ||
2099 | The loading object is not sufficiently loaded to provide this information. | ||
2100 | The ByteArray parameter in Loader.loadBytes() must have length greater than 0. | ||
2101 | The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs. | ||
2102 | The before XMLNode parameter must be a child of the caller. | ||
2103 | XML recursion failure: new child would create infinite loop. |
Possibly you are trying to make objects child objects of each other. For example, the following code generates this error because a and b both try to add the other as a child object.
a.addChild(b); b.addChild(a); |
|
2105 | The Proxy class does not implement nextNameIndex. It must be overridden by a subclass. | ||
2106 | The Proxy class does not implement nextName. It must be overridden by a subclass. | ||
2107 | The Proxy class does not implement nextValue. It must be overridden by a subclass. | ||
2108 | Scene _ was not found. | ||
2109 | Frame label _ not found in scene _. | ||
2110 | The value of Security.disableAVM1Loading cannot be set unless the caller can access the stage and is in an ActionScript 3.0 SWF file. | ||
2111 | Security.disableAVM1Loading is true so the current load of the ActionScript 1.0/2.0 SWF file has been blocked. | ||
2112 | Provided parameter LoaderContext.ApplicationDomain is from a disallowed domain. | ||
2113 | Provided parameter LoaderContext.SecurityDomain is from a disallowed domain. | ||
2114 | Parameter _ must be null. | ||
2115 | Parameter _ must be false. | ||
2116 | Parameter _ must be true. | ||
2118 | The LoaderInfo class does not implement this method. | ||
2119 | Security sandbox violation: caller _ cannot access LoaderInfo.applicationDomain owned by _. | ||
2121 | Security sandbox violation: _: _ cannot access _. This may be worked around by calling Security.allowDomain. | ||
2122 | Security sandbox violation: _: _ cannot access _. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded. | ||
2123 | Security sandbox violation: _: _ cannot access _. No policy files granted access. | ||
2124 | Loaded file is an unknown type. | ||
2125 | Security sandbox violation: _ cannot use Runtime Shared Library _ because crossing the boundary between ActionScript 3.0 and ActionScript 1.0/2.0 objects is not allowed. | ||
2126 | NetConnection object must be connected. | ||
2127 | FileReference POST data cannot be type ByteArray. | ||
2129 | Connection to _ failed. | ||
2130 | Unable to flush SharedObject. | ||
2131 | Definition _ cannot be found. | ||
2132 | NetConnection.connect cannot be called from a netStatus event handler. | ||
2133 | Callback _ is not registered. | ||
2134 | Cannot create SharedObject. | ||
2136 | The SWF file _ contains invalid data. | ||
2137 | Security sandbox violation: _ cannot navigate window _ within _ (allowScriptAccess is _). Attempted URL was _. | ||
2138 | Rich text XML could not be parsed. | ||
2139 | SharedObject could not connect. | ||
2140 | Security sandbox violation: _ cannot load _. Local-with-filesystem and local-with-networking SWF files cannot load each other. | ||
2141 | Only one PrintJob may be in use at a time. | ||
2142 | Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property. _ was attempting to load _. | ||
2143 | AccessibilityImplementation.get_accRole() must be overridden from its default. | ||
2144 | AccessibilityImplementation.get_accState() must be overridden from its default. | ||
2145 | Cumulative length of requestHeaders must be less than 8192 characters. | ||
2146 | Security sandbox violation: _ cannot call _ because the HTML/container parameter allowNetworking has the value _. | ||
2147 | Forbidden protocol in URL _. | ||
2148 | SWF file _ cannot access local resource _. Only local-with-filesystem and trusted local SWF files may access local resources. | ||
2149 | Security sandbox violation: _ cannot make fscommand calls to _ (allowScriptAccess is _). | ||
2150 | An object cannot be added as a child to one of it's children (or children's children, etc.). | ||
2151 | You cannot enter full screen mode when the settings dialog is visible. | ||
2152 | Full screen mode is not allowed. | ||
2153 | The URLRequest.requestHeaders array must contain only non-NULL URLRequestHeader objects. | ||
2154 | The NetStream Object is invalid. This may be due to a failed NetConnection. | ||
2155 | The ExternalInterface.call functionName parameter is invalid. Only alphanumeric characters are supported. | ||
2156 | Port _ may not be accessed using protocol _. Calling SWF was _. | ||
2157 | Rejecting URL _ because the 'asfunction:' protocol may only be used for link targets, not for networking APIs. | ||
2158 | The NetConnection Object is invalid. This may be due to a dropped NetConnection. | ||
2159 | The SharedObject Object is invalid. | ||
2169 | The method _ may not be used for browser scripting. The URL _ requested by _ is being ignored. If you intend to call browser script, use navigateToURL instead. | ||
2170 | Security sandbox violation: _ cannot send HTTP headers to _. | ||
3000 | Illegal path name. | ||
3001 | File or directory access denied. | ||
3002 | File or directory exists. | ||
3003 | File or directory does not exist. | ||
3004 | Insufficient file space. | ||
3005 | Insufficient system resources. | ||
3006 | Not a file. | ||
3007 | Not a directory. | ||
3008 | Read-only or write-protected media. | ||
3009 | Cannot move file or directory to a different device. | ||
3010 | Directory is not empty. | ||
3011 | Move or copy destination already exists. | ||
3012 | Cannot delete file or directory. | ||
3013 | File or directory is in use. | ||
3014 | Cannot copy or move a file or directory to overwrite a containing directory. | ||
3015 | Loader.loadBytes() is not permitted load content with executable code. See documentation for Loader.loadBytes(). | ||
3100 | A SQLConnection cannot be closed while statements are still executing. | ||
3101 | Database connection is already open. | ||
3102 | Name argument specified was invalid. It must not be null or empty a blank string. | ||
3103 | Operation cannot be performed while there is an open transaction on this connection. | ||
3104 | A SQLConnection must be open to perform this operation. | ||
3105 | Operation is only allowed if a connection has an open transaction. | ||
3106 | Property cannot be changed while SQLStatement.executing is true. | ||
3107 | _ may not be called unless SQLResult.complete is false. | ||
3108 | Operation is not permitted when the SQLStatement.text property is not set. | ||
3109 | Operation is not permitted when the SQLStatement.sqlConnection property is not set. | ||
3110 | Operation cannot be performed while SQLStatement.executing is true. | ||
3111 | An invalid schema type was specified. |
Valid values are:
|
|
3112 | An invalid transaction lock type was specified. |
Valid values are:
|
|
3113 | Reference specified is not of type File. | ||
3114 | An invalid open mode was specified. |
Valid values are:
|
|
3115 | SQL Error. | ||
3116 | An internal logic error occurred. | ||
3117 | Access permission denied. |
Indicates that the operation failed because a SQL statement attempted to
perform an operation that it didn't have permission to perform, such as
specifying an INSERT operation to be performed on a view.
|
|
3118 | Operation aborted. |
Indicates that a SQL statement execution failed because execution was aborted.
This error occurs when code in a trigger cancels the operation using the SQL
RAISE() function, or if the SQLConnection.cancel()
or SQLStatement.cancel() methods are called when a statement is
executed using SQLStatement.execute() or SQLStatement.next()
with a prefetch argument specified, and not all of the results have
been returned.
|
|
3119 | Database file is currently locked. | ||
3120 | Table is locked. | Indicates that an operation could not be completed because another AIR application was holding a lock on a table involved in the operation. This can occur when a statement executing through a SQLConnection attempts to write to a table when another SQLConnection (in the same application or a different application) has an open transaction and is writing to the table, or if a SQLConnection attempts to read from or write to a table while another SQLConnection has an exclusive-locked transaction. | |
3121 | Out of memory. | ||
3122 | Attempt to write a readonly database. | Indicates that an operation could not be completed because the database is read only. This can occur if the database file is designated as read only in the operating system, if the database is opened in read-only mode, or if an older version of Adobe AIR accesses a database file created with a newer version of the runtime. | |
3123 | Database disk image is malformed. | Indicates that the operation failed because the specified file is a database file whose data has become corrupted. This can happen when the application is force quit while in a transaction or any other time that a database file is left in the state of having an open transaction that can't be rolled back when reopening the file. | |
3124 | Insertion failed because database is full. | ||
3125 | Unable to open the database file. |
Indicates that the connection could not be completed because the database file
could not be opened. This can happen if SQLConnection.open()
or SQLConnection.openAsync() is called with the openMode
parameter set to SQLMode.UPDATE
and the database file doesn't exist. It can also happen if the operating
system returns an error when the runtime attempts to access the database file.
|
|
3126 | Database lock protocol error. | ||
3127 | Database is empty. | ||
3128 | Disk I/O error occurred. | Indicates that an operation could not be completed because of a disk I/O error. This can happen if the runtime is attempting to delete a temporary file and another program (such as a virus protection application) is holding a lock on the file. This can also happen if the runtime is attempting to write data to a file and the data can't be written. | |
3129 | The database schema changed. | Indicates that the operation could not be completed because of a schema error. This occurs when the schema of the database changes after a statement is prepared but before it finishes executing, such as if two SQLConnection instances are connected to the same database, and one instance changes the schema while another one is reading it. | |
3130 | Too much data for one row of a table. | ||
3131 | Abort due to constraint violation. | Indicates that the operation could not be completed because the statement caused a violation of one or more data integrity constraints. These are constraints that are defined in the table structure when it is created. For more information, see the CREATE TABLE section in the appendix SQL support in local databases. | |
3132 | Data type mismatch. | Indicates that the operation could not be completed because of a data type mismatch error. This occurs when the data type of a value doesn't match the expected or required type. For more information, see the Data type support section in the appendix SQL support in local databases. | |
3133 | An internal error occurred. | ||
3134 | Feature not supported on this operating system. | ||
3135 | Authorization denied. | ||
3136 | Auxiliary database format error. | ||
3137 | An index specified for a parameter was out of range. | Indicates that the operation could not be completed because a parameter index was not valid, such as if a parameter is specified with an index less than 0, or if a parameter is specified with index 7 but the statement text only includes five parameters. | |
3138 | File opened is not a database file. | ||
3139 | The page size specified was not valid for this operation. | ||
3200 | Cannot perform operation on closed window. | ||
3201 | Adobe Reader cannot be found. | ||
3202 | Adobe Reader 8.1 or later cannot be found. | ||
3203 | Default Adobe Reader must be version 8.1 or later. | ||
3204 | An error ocurred trying to load Adobe Reader. | ||
3205 | Only application-sandbox content can access this feature. | ||
3206 | Caller _ cannot set LoaderInfo property _. | ||
3207 | Application-sandbox content cannot access this feature. | ||
3300 | Voucher is invalid. | ||
3301 | User authentication failed. | ||
3302 | FMRMS is not supporting SSL. | ||
3303 | Content expired. | ||
3304 | User authorization failed (e.g. user haven't purchase the content). | ||
3305 | Can't connect to the server. | ||
3306 | Client update required (FMRMS requires new DRM client engine). | ||
3307 | Generic internal DRM failure. | ||
3308 | Wrong license key. | ||
3309 | FLV content is corrupted. | ||
3310 | ApplicationID doesn't match what's specified in the policy. | ||
3311 | Application version doesn't match what's specified in the policy. | ||
3312 | Voucher integrity check failed. | ||
3313 | Write to Microsafe failed. | ||
3314 | FLV header integrity check failed. | ||
3315 | Attempt to access invalid clipboard. | ||
3316 | Attempt to access dead clipboard. |
* Note: This error indicates that the ActionScript in the SWF is invalid. If you believe that the file has not been corrupted, please report the problem to Adobe.