| Package | vegas.ioc.io |
| Class | public class ObjectResourceInfo |
| Inheritance | ObjectResourceInfo CoreEventDispatcher Object |
| Property | Defined By | ||
|---|---|---|---|
| bytesLoaded : uint [read-only]
The number of bytes that are loaded for the resource. | ObjectResourceInfo | ||
| bytesTotal : uint [read-only]
The number of compressed bytes in the entire resource file. | ObjectResourceInfo | ||
![]() | channel : String [read-only]
Indicates the channel of this dispatcher if this instance is global. | CoreEventDispatcher | |
| loader : CoreActionLoader [read-only]
The current CoreActionLoader reference. | ObjectResourceInfo | ||
| resource : ObjectResource
The current ObjectResource reference. | ObjectResourceInfo | ||
| Method | Defined By | ||
|---|---|---|---|
ObjectResourceInfo(resource:ObjectResource = null)
Creates a new ObjectResourceInfo instance. | ObjectResourceInfo | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0.0, useWeakReference:Boolean = false):void
Allows the registration of event listeners on the event target. | CoreEventDispatcher | |
![]() | dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow. | CoreEventDispatcher | |
![]() |
Returns the internal system.events.EventDispatcher reference. | CoreEventDispatcher | |
![]() | hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event. | CoreEventDispatcher | |
![]() | isGlobal():Boolean
Indicates if the dispatcher use a global event flow. | CoreEventDispatcher | |
![]() | isLocked():Boolean
Returns true if the object is locked. | CoreEventDispatcher | |
![]() | lock():void
Locks the object. | CoreEventDispatcher | |
![]() | registerEventListener(type:String, listener:*, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Allows the registration of event listeners on the event target (Function or EventListener). | CoreEventDispatcher | |
![]() | removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object. | CoreEventDispatcher | |
reset():void
Reset the informations. | ObjectResourceInfo | ||
![]() | setEventDispatcher(dispatcher:EventDispatcher):void
Sets the internal EventDispatcher reference. | CoreEventDispatcher | |
![]() | setGlobal(flag:Boolean = false, channel:String = null):void
Sets if the instance use a global system.events.EventDispatcher to dispatch this events, if the flag value is false the instance use a local EventDispatcher. | CoreEventDispatcher | |
![]() | unlock():void
Unlocks the display. | CoreEventDispatcher | |
![]() | unregisterEventListener(type:String, listener:*, useCapture:Boolean = false):void
Removes a listener (Function or EventListener object) from the EventDispatcher object. | CoreEventDispatcher | |
![]() | 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. | CoreEventDispatcher | |
| bytesLoaded | property |
bytesLoaded:uint [read-only] The number of bytes that are loaded for the resource.
public function get bytesLoaded():uint| bytesTotal | property |
bytesTotal:uint [read-only] The number of compressed bytes in the entire resource file.
public function get bytesTotal():uint| loader | property |
loader:CoreActionLoader [read-only] The current CoreActionLoader reference.
public function get loader():CoreActionLoader| resource | property |
resource:ObjectResourceThe current ObjectResource reference.
public function get resource():ObjectResource public function set resource(value:ObjectResource):void| ObjectResourceInfo | () | Constructor |
public function ObjectResourceInfo(resource:ObjectResource = null)Creates a new ObjectResourceInfo instance.
Parametersresource:ObjectResource (default = null) |
| reset | () | method |
public function reset():voidReset the informations.