| Package | Top Level |
| Class | public dynamic class SyntaxError |
| Inheritance | SyntaxError Error Object |
eval function or the Function
constructor, two features that require an ActionScript compiler to be present to work.
Therefore, ActionScript cannot throw SyntaxError exceptions in the cases
described in the ECMA-262 specification.SyntaxError exceptions when an invalid
regular expression is parsed by the RegExp class.SyntaxError exceptions when invalid XML is
parsed by the XML class.SyntaxError exceptions are thrown in accordance with the E4X
specification; for instance, Section 10.3.1| RegExp class, XML class |
| Function | Defined by | ||
|---|---|---|---|
|
SyntaxError(message:String = "")
Creates a new SyntaxError object.
| SyntaxError | ||
![]() |
For debugger versions of the Flash Player, only; this method returns the call stack for an error
as a string at the time of the error's construction.
| Error | |
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string "Error" by default or the value contained in Error.message, if defined.
| Error | |
![]() |
Returns the primitive value of the specified object.
| Object | |
public function SyntaxError(message:String = "")
message:String (default = "") |