| Package | com.degrafa.utilities.external |
| Class | public class ExternalBitmapData |
| Inheritance | ExternalBitmapData ExternalDataAsset DegrafaObject |
| Implements | IExternalData |
| Method | Defined by | ||
|---|---|---|---|
|
ExternalBitmapData(url:String = null, totalBytes:Number, loc:LoadingLocation = null)
Constructor for ExternalBitmapData
| ExternalBitmapData | ||
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = true):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
| DegrafaObject | |
![]() |
dispatchEvent(evt:Event):Boolean
Dispatches an event into the event flow.
| DegrafaObject | |
![]() |
dispatchPropertyChange(bubbles:Boolean = false, property:Object = null, oldValue:Object = null, newValue:Object = null, source:Object = null):Boolean
Dispatches an property change event into the event flow.
| DegrafaObject | |
|
[static]
| ExternalBitmapData | ||
![]() |
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| DegrafaObject | |
![]() |
initChange(property:String, oldValue:Object, newValue:Object, source:Object):void
Helper function for dispatching property changes
| DegrafaObject | |
![]() |
initialized(document:Object, id:String):void
Called after the implementing object has been created and all component properties specified on the MXML tag have been initialized.
| DegrafaObject | |
![]() |
load():void
load this item, using LoadingGroup settings if this ExternalDataAsset is associated with a LoadingGroup instance
| ExternalDataAsset | |
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
| DegrafaObject | |
![]() |
willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
| DegrafaObject | |
| Method | Defined by | ||
|---|---|---|---|
|
cleanUp():void
| ExternalBitmapData | ||
|
processLoad(loader:Object):String
| ExternalBitmapData | ||
![]() |
reset():Boolean
resets the status to waiting prior to load, stopping any current load in progress.
| ExternalDataAsset | |
| ExternalBitmapData | () | constructor |
public function ExternalBitmapData(url:String = null, totalBytes:Number, loc:LoadingLocation = null)Constructor for ExternalBitmapData
Parametersurl:String (default = null) — absolute or relative url to external asset (must be relative if a LoadingLocation is used)
|
|
totalBytes:Number — [optional] total bytes, if known before loading commences
|
|
loc:LoadingLocation (default = null) — a LoadingLocation for security handling
|
| cleanUp | () | method |
protected override function cleanUp():void
| getUniqueInstance | () | method |
public static function getUniqueInstance(url:String = null, loc:LoadingLocation = null):ExternalBitmapDataParameters
url:String (default = null) |
|
loc:LoadingLocation (default = null) |
ExternalBitmapData |
| processLoad | () | method |
protected override function processLoad(loader:Object):StringParameters
loader:Object |
String |