03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Returns<br />

Number - The number of milliseconds.<br />

Error<br />

Object<br />

|<br />

+-Error<br />

public class Error<br />

extends Object<br />

Contains information about an error that occurred in a script. You create an Error object<br />

using the Error constructor function. Typically, you throw a new Error object from within a<br />

try code block that is then caught by a catch or finally code block.<br />

You can also create a subclass of the Error class <strong>and</strong> throw instances of that subclass.<br />

Property summary<br />

Modifiers Property Description<br />

Properties inherited from class Object<br />

Constructor summary<br />

Method summary<br />

message:String Contains the message associated with the Error<br />

object.<br />

name:String Contains the name of the Error object.<br />

constructor (Object.constructor property), __proto__ (Object.__proto__<br />

property), prototype (Object.prototype property), __resolve<br />

(Object.__resolve property)<br />

Signature Description<br />

Error([message:Stri Creates a new Error object.<br />

ng])<br />

Modifiers Signature Description<br />

toString() : String Returns the string "Error" by default or the value<br />

contained in Error.message, if defined.<br />

Error 333

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!