Skip to content

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 ProcessEventEventObject

Static properties

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.

Static Methods

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.

Constructor

Name Description
ProcessEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false, data:*=null) Creates ProcessEvent object.

Properties

Name Description
var data:* Contains the reference to the result data.

Hashsum

Checksum

Image

Serialization

Clone this wiki locally