| 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 ECMAScript (ECMA-262) edition 3 language specification.See also
| Method | Defined by | ||
|---|---|---|---|
|
SyntaxError(message:String = "")
Creates a new SyntaxError object.
| SyntaxError | ||
![]() |
Returns the call stack for an error as a string at the time of the error's construction (for the debugger version
of Flash Player only).
| 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 property,
if defined. | Error | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| SyntaxError | () | constructor |
public function SyntaxError(message:String = "")Creates a new SyntaxError object.
Parametersmessage:String (default = "") — Contains the message associated with the SyntaxError object.
|
See also
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flex/2/langref/SyntaxError.html