Packagecom.adobe.photoshop.events
Classpublic class PhotoshopEvent
InheritancePhotoshopEvent Inheritance flash.events.Event

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10

PhotoshopEvents may be dispatched at various points in this API, and can contain useful information for determining the status of the connection and encryption.



Public Properties
 PropertyDefined By
  data : *
Contains information related to this event.
PhotoshopEvent
Public Methods
 MethodDefined By
  
PhotoshopEvent(type:String)
Constructor
PhotoshopEvent
Public Constants
 ConstantDefined By
  CONNECTED : String = ConnectedEvent
[static] ConnectedEvent is dispatched after a connection was successfully established
PhotoshopEvent
  DISCONNECTED : String = DisconnectedEvent
[static] Upon disconnection of a service or connection, a DisconnectedEvent PhotoshopEvent will be dispatched.
PhotoshopEvent
  ENCRYPTION_FAILED : String = EncryptionFailed
[static] Dispatched if encryption or key derivation should fail
PhotoshopEvent
  ENCRYPTION_SUCCESS : String = EncryptionSuccessful
[static] Dispatched after encryption has been successfully initialized
PhotoshopEvent
  ERROR : String = ErrorEvent
[static] ErrorEvent is dispatched in the case of an error.
PhotoshopEvent
  PROGRESS : String = ProgressEvent
[static] ProgressEvent is dispatched when there has been progress made in sending, receiving, or parsing messages.
PhotoshopEvent
Property Detail
dataproperty
public var data:*

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10

Contains information related to this event. The data type varies based on the event.

Constructor Detail
PhotoshopEvent()Constructor
public function PhotoshopEvent(type:String)

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10

Constructor

Parameters
type:String — The type of PhotoshopEvent
Constant Detail
CONNECTEDConstant
public static const CONNECTED:String = ConnectedEvent

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10

ConnectedEvent is dispatched after a connection was successfully established

DISCONNECTEDConstant 
public static const DISCONNECTED:String = DisconnectedEvent

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10

Upon disconnection of a service or connection, a DisconnectedEvent PhotoshopEvent will be dispatched.

ENCRYPTION_FAILEDConstant 
public static const ENCRYPTION_FAILED:String = EncryptionFailed

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10

Dispatched if encryption or key derivation should fail

ENCRYPTION_SUCCESSConstant 
public static const ENCRYPTION_SUCCESS:String = EncryptionSuccessful

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10

Dispatched after encryption has been successfully initialized

ERRORConstant 
public static const ERROR:String = ErrorEvent

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10

ErrorEvent is dispatched in the case of an error. The data property will contain additional information regarding the error

PROGRESSConstant 
public static const PROGRESS:String = ProgressEvent

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10

ProgressEvent is dispatched when there has been progress made in sending, receiving, or parsing messages.