-
Notifications
You must be signed in to change notification settings - Fork 24
ProcessEvent
Nick Ryzhy edited this page Apr 4, 2016
·
2 revisions
An object dispatches an ProcessEvent object when asynchronous operation is completed.
| Name | Value |
|---|---|
| Package | by.blooddy.crypto.events |
| Name | class ProcessEvent |
| Inheritance |
ProcessEvent → Event → Object
|
| Name | Description |
|---|---|
COMPLETE:String |
The ProcessEvent.COMPLETE constant defines the value of the type property of a complete event object. |
ERROR:String |
The ProcessEvent.ERROR constant defines the value of the type property of a error event object. |
| Name | Description |
|---|---|
encode(image:BitmapData, filter:uint=0):ByteArray |
Creates a PNG-encoded byte sequence from the specified BitmapData. Used BitmapData.encode(), if posible. |
encodeBytes(bytes:ByteArray, width:uint, height:uint, filter:uint=0):ByteArray |
Creates a PNG-encoded byte sequence from the specified ByteArray. |
| Name | Description |
|---|---|
ProcessEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false, data:*=null) |
Creates ProcessEvent object. |
| Name | Description |
|---|---|
var data:* |
Contains the reference to the result data. |