Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 10 |
KevlarEvents may be dispatched at various points in this API, and can contain useful information for determining the status of the connection and encryption.
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.
public function KevlarEvent(type:String)
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 10 |
Constructor
Parameters | type:String — The type of KevlarEvent
|
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
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 KevlarEvent will be dispatched.
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
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
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.
Thu Mar 31 2011, 06:48 PM -04:00