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.


 CodeMessageDescription
 2000No active security context. 
 2001Too few arguments were specified; got _, _ expected. 
 2002Operation attempted on invalid socket. 
 2003Invalid socket port number specified. The valid range is 0 to 65535. For more information, see Socket Connections in this language reference.
 2004One of the parameters is invalid. 
 2005Parameter _ is of the incorrect type. Should be type _. 
 2006The supplied index is out of bounds. 
 2007Parameter _ must be non-null. 
 2008Parameter _ must be one of the accepted values. 
 2009This method cannot be used on a text field with a style sheet. 
 2010Local-with-filesystem SWF files are not permitted to use sockets. 
 2011Socket 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. 
 2013Feature can only be used in Flash Authoring. 
 2014Feature is not available at this time. The feature is not supported on this system.
 2015Invalid BitmapData. 
 2017Only trusted local files may cause the Flash Player to exit. 
 2018System.exit is only available in the standalone Flash Player. 
 2019Depth specified is invalid. 
 2020MovieClips objects with different parents cannot be swapped. 
 2021Object creation failed. 
 2022Class _ must inherit from DisplayObject to link to a symbol. 
 2023Class _ must inherit from Sprite to link to the root. 
 2024An object cannot be added as a child of itself. 
 2025The supplied DisplayObject must be a child of the caller. 
 2026An 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.
 2027Parameter _ must be a non-negative number; got _. 
 2028Local-with-filesystem SWF file _ cannot access Internet URL _. 
 2029This URLStream object does not have a stream opened. 
 2030End of file was encountered. 
 2031Socket Error. A socket error occurred. For more information, see Socket Connections in this language reference.
 2032Stream Error. 
 2033Key Generation Failed. 
 2034An invalid digest was supplied. 
 2035URL Not Found. 
 2036Load Never Completed. 
 2037Functions called in incorrect sequence, or earlier call was unsuccessful. 
 2038File I/O Error. 
 2039Invalid remote URL protocol. The remote URL protocol must be HTTP or HTTPS. 
 2041Only one file browsing session may be performed at a time. 
 2042The digest property is not supported by this load operation. 
 2044Unhandled _:. 
 2045The digest property is not supported by this load operation. 
 2046The loaded file did not have a valid signature. 
 2047Security sandbox violation: _: _ cannot access _. 
 2048Security sandbox violation: _ cannot load data from _. 
 2049Security sandbox violation: _ cannot upload data to _. 
 2051Security sandbox violation: _ cannot evaluate scripting URLs within _ (allowScriptAccess is _). Attempted URL was _. 
 2052Only String arguments are permitted for allowDomain and allowInsecureDomain. 
 2053Security sandbox violation: _ cannot clear an interval timer set by _. 
 2054The value of Security.exactSettings cannot be changed after it has been used. 
 2055The print job could not be started. 
 2056The print job could not be sent to the printer. 
 2057The page could not be added to the print job. The addPage() method is not used correctly. See the addPage() entry in this language reference.
 2058There was an error decompressing the data. 
 2059Security sandbox violation: _ cannot overwrite an ExternalInterface callback added by _. 
 2060Security sandbox violation: ExternalInterface caller _ cannot access _. 
 2061No ExternalInterface callback _ registered. 
 2062Children of Event must override clone() {return new MyEventClass (...);}. 
 2063Error attempting to execute IME command. One of the IME services has failed.
  • If you are using the setConversionMode() or setEnabled() method, ActionScript 3.0 replaces these methods with the access property.
  • If you are using the doConversion() or setComposition() method, these methods are not supported for Macintosh OSX and Macintosh Classic.
 2065The focus cannot be set for this target. 
 2066The Timer delay specified is out of range. 
 2067The 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. 
 2068Invalid sound. 
 2069The Loader class does not implement this method. 
 2070Security sandbox violation: caller _ cannot access Stage owned by _. 
 2071The Stage class does not implement this property or method. 
 2074The stage is too small to fit the download ui. 
 2075The downloaded file is invalid. Possibly the file decompression failed, the file format is invalid, or the signature validation failed.
 2077This filter operation cannot be performed with the specified input parameters. 
 2078The name property of a Timeline-placed object cannot be modified. 
 2079Classes derived from Bitmap can only be associated with defineBits characters (bitmaps). 
 2082Connect failed because the object is already connected. 
 2083Close failed because the object is not connected. 
 2084The AMF encoding of the arguments cannot exceed 40K. 
 2085Parameter _ must be non-empty string. 
 2086A setting in the mms.cfg file prohibits this FileReference request. 
 2087The 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.
 2088The Proxy class does not implement getProperty. It must be overridden by a subclass. 
 2089The Proxy class does not implement setProperty. It must be overridden by a subclass. 
 2090The Proxy class does not implement callProperty. It must be overridden by a subclass. 
 2091The Proxy class does not implement hasProperty. It must be overridden by a subclass. 
 2092The Proxy class does not implement deleteProperty. It must be overridden by a subclass. 
 2093The Proxy class does not implement getDescendants. It must be overridden by a subclass. 
 2094Event dispatch recursion overflow. The recursion exceeds the maximum recursion depth. (The default maximum is 256.)
 2095_ was unable to invoke callback _. 
 2096The HTTP request header _ cannot be set via ActionScript. You are adding a disallowed HTTP header to an HTTP request. The following headers are disallowed:
  • NULL header string
  • Accept-Charset
  • Accept-Encoding
  • Accept-Ranges
  • Age
  • Allow
  • Allowed
  • Connection
  • Content-Length
  • Content-Location
  • Content-Range
  • Date
  • ETag
  • Expect
  • Host
  • Keep-Alive
  • Last-Modified
  • Location
  • Max-Forwards
  • Proxy-Authenticate
  • Proxy-Authorization
  • Public
  • Range
  • Referer
  • Retry-After
  • Server
  • TE
  • Trailer
  • Transfer-Encoding
  • Upgrade
  • URI
  • User-Agent
  • Vary
  • Via
  • Warning
  • WWW-Authenticate
  • x-flash-version
 2097The FileFilter Array is not in the correct format. There are two valid formats:
  • A description with Windows file extensions only
  • A description with Windows file extensions and Macintosh file 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.

 2098The loading object is not a .swf file, you cannot request SWF properties from it. 
 2099The loading object is not sufficiently loaded to provide this information. 
 2100The ByteArray parameter in Loader.loadBytes() must have length greater than 0. 
 2101The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs. 
 2102The before XMLNode parameter must be a child of the caller. 
 2103XML 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);
 2105The Proxy class does not implement nextNameIndex. It must be overridden by a subclass. 
 2106The Proxy class does not implement nextName. It must be overridden by a subclass. 
 2107The Proxy class does not implement nextValue. It must be overridden by a subclass. 
 2108Scene _ was not found. 
 2109Frame label _ not found in scene _. 
 2110The value of Security.disableAVM1Loading cannot be set unless the caller can access the stage and is in an ActionScript 3.0 SWF file. 
 2111Security.disableAVM1Loading is true so the current load of the ActionScript 1.0/2.0 SWF file has been blocked. 
 2112Provided parameter LoaderContext.ApplicationDomain is from a disallowed domain. 
 2113Provided parameter LoaderContext.SecurityDomain is from a disallowed domain. 
 2114Parameter _ must be null. 
 2115Parameter _ must be false. 
 2116Parameter _ must be true. 
 2118The LoaderInfo class does not implement this method. 
 2119Security sandbox violation: caller _ cannot access LoaderInfo.applicationDomain owned by _. 
 2121Security sandbox violation: _: _ cannot access _. This may be worked around by calling Security.allowDomain. 
 2122Security sandbox violation: _: _ cannot access _. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded. 
 2123Security sandbox violation: _: _ cannot access _. No policy files granted access. 
 2124Loaded file is an unknown type. 
 2125Security 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. 
 2126NetConnection object must be connected. 
 2127FileReference POST data cannot be type ByteArray. 
 2129Connection to _ failed. 
 2130Unable to flush SharedObject. 
 2131Definition _ cannot be found. 
 2132NetConnection.connect cannot be called from a netStatus event handler. 
 2133Callback _ is not registered. 
 2134Cannot create SharedObject. 
 2136The SWF file _ contains invalid data. 
 2137Security sandbox violation: _ cannot navigate window _ within _ (allowScriptAccess is _). Attempted URL was _. 
 2138Rich text XML could not be parsed. 
 2139SharedObject could not connect. 
 2140Security sandbox violation: _ cannot load _. Local-with-filesystem and local-with-networking SWF files cannot load each other. 
 2141Only one PrintJob may be in use at a time. 
 2142Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property. _ was attempting to load _. 
 2143AccessibilityImplementation.get_accRole() must be overridden from its default. 
 2144AccessibilityImplementation.get_accState() must be overridden from its default. 
 2145Cumulative length of requestHeaders must be less than 8192 characters. 
 2146Security sandbox violation: _ cannot call _ because the HTML/container parameter allowNetworking has the value _. 
 2147Forbidden protocol in URL _. 
 2148SWF file _ cannot access local resource _. Only local-with-filesystem and trusted local SWF files may access local resources. 
 2149Security sandbox violation: _ cannot make fscommand calls to _ (allowScriptAccess is _). 
 2150An object cannot be added as a child to one of it's children (or children's children, etc.). 
 2151You cannot enter full screen mode when the settings dialog is visible. 
 2152Full screen mode is not allowed. 
 2153The URLRequest.requestHeaders array must contain only non-NULL URLRequestHeader objects. 
 2154The NetStream Object is invalid. This may be due to a failed NetConnection. 
 2155The ExternalInterface.call functionName parameter is invalid. Only alphanumeric characters are supported. 
 2156Port _ may not be accessed using protocol _. Calling SWF was _. 
 2157Rejecting URL _ because the 'asfunction:' protocol may only be used for link targets, not for networking APIs. 
 2158The NetConnection Object is invalid. This may be due to a dropped NetConnection. 
 2159The SharedObject Object is invalid. 
 2169The 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. 
 2170Security sandbox violation: _ cannot send HTTP headers to _. 
 3000Illegal path name. 
 3001File or directory access denied. 
 3002File or directory exists. 
 3003File or directory does not exist. 
 3004Insufficient file space. 
 3005Insufficient system resources. 
 3006Not a file. 
 3007Not a directory. 
 3008Read-only or write-protected media. 
 3009Cannot move file or directory to a different device. 
 3010Directory is not empty. 
 3011Move or copy destination already exists. 
 3012Cannot delete file or directory. 
 3013File or directory is in use. 
 3014Cannot copy or move a file or directory to overwrite a containing directory. 
 3015Loader.loadBytes() is not permitted load content with executable code. See documentation for Loader.loadBytes(). 
 3100A SQLConnection cannot be closed while statements are still executing. 
 3101Database connection is already open. 
 3102Name argument specified was invalid. It must not be null or empty a blank string. 
 3103Operation cannot be performed while there is an open transaction on this connection. 
 3104A SQLConnection must be open to perform this operation. 
 3105Operation is only allowed if a connection has an open transaction. 
 3106Property cannot be changed while SQLStatement.executing is true. 
 3107_ may not be called unless SQLResult.complete is false. 
 3108Operation is not permitted when the SQLStatement.text property is not set. 
 3109Operation is not permitted when the SQLStatement.sqlConnection property is not set. 
 3110Operation cannot be performed while SQLStatement.executing is true. 
 3111 An invalid schema type was specified. Valid values are:
  • SQLIndexSchema
  • SQLTableSchema
  • SQLTriggerSchema
  • SQLViewSchema
 3112 An invalid transaction lock type was specified. Valid values are:
  • SQLTransactionLockType.DEFERRED
  • SQLTransactionLockType.IMMEDIATE
  • SQLTransactionLockType.EXCLUSIVE
 3113Reference specified is not of type File. 
 3114 An invalid open mode was specified. Valid values are:
  • SQLMode.READ
  • SQLMode.UPDATE
  • SQLMode.CREATE
 3115SQL Error. 
 3116An internal logic error occurred. 
 3117Access 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.
 3118Operation 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.
 3119Database file is currently locked. 
 3120Table 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.
 3121Out of memory. 
 3122Attempt 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.
 3123Database 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.
 3124Insertion failed because database is full. 
 3125Unable 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.
 3126Database lock protocol error. 
 3127Database is empty. 
 3128Disk 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.
 3129The 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.
 3130Too much data for one row of a table. 
 3131Abort 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.
 3132Data 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.
 3133An internal error occurred. 
 3134Feature not supported on this operating system. 
 3135Authorization denied. 
 3136Auxiliary database format error. 
 3137An 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.
 3138File opened is not a database file. 
 3139The page size specified was not valid for this operation. 
 3200Cannot perform operation on closed window. 
 3201Adobe Reader cannot be found. 
 3202Adobe Reader 8.1 or later cannot be found. 
 3203Default Adobe Reader must be version 8.1 or later. 
 3204An error ocurred trying to load Adobe Reader. 
 3205Only application-sandbox content can access this feature. 
 3206Caller _ cannot set LoaderInfo property _. 
 3207Application-sandbox content cannot access this feature. 
 3300Voucher is invalid. 
 3301User authentication failed. 
 3302FMRMS is not supporting SSL. 
 3303Content expired. 
 3304User authorization failed (e.g. user haven't purchase the content). 
 3305Can't connect to the server. 
 3306Client update required (FMRMS requires new DRM client engine). 
 3307Generic internal DRM failure. 
 3308Wrong license key. 
 3309FLV content is corrupted. 
 3310ApplicationID doesn't match what's specified in the policy. 
 3311Application version doesn't match what's specified in the policy. 
 3312Voucher integrity check failed. 
 3313Write to Microsafe failed. 
 3314FLV header integrity check failed. 
 3315Attempt to access invalid clipboard. 
 3316Attempt 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.