ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
flash.system 

WorkerState  - AS3

Packageflash.system
Classpublic final class WorkerState
InheritanceWorkerState Inheritance Object

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 11.4, AIR 3.4

This class defines constants that represent the possible values of the Worker class's state property. These values are the states in a Worker object's lifecycle.

Related API Elements



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  NEW : String = "new"
[static] This state indicates that an object that represents the new worker has been created, but the worker is not executing code.
WorkerState
  RUNNING : String = "running"
[static] This state indicates that the worker has begun executing application code and it has not been instructed to stop execution.
WorkerState
  TERMINATED : String = "terminated"
[static] This state indicates that the worker has been stopped by code in another worker calling this Worker object's terminate() method.
WorkerState
Constant Detail

NEW

Constant
public static const NEW:String = "new"

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 11.4, AIR 3.4

This state indicates that an object that represents the new worker has been created, but the worker is not executing code.

Related API Elements

RUNNING

Constant 
public static const RUNNING:String = "running"

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 11.4, AIR 3.4

This state indicates that the worker has begun executing application code and it has not been instructed to stop execution.

Related API Elements

TERMINATED

Constant 
public static const TERMINATED:String = "terminated"

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 11.4, AIR 3.4

This state indicates that the worker has been stopped by code in another worker calling this Worker object's terminate() method.

Related API Elements