Packagevegas.ioc.io
Classpublic class ObjectResourceInfo
InheritanceObjectResourceInfo Inheritance CoreEventDispatcher Inheritance Object

The ObjectResource info object.



Public Properties
 PropertyDefined 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
 Inheritedchannel : 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
Public Methods
 MethodDefined By
  
Creates a new ObjectResourceInfo instance.
ObjectResourceInfo
 Inherited
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
 Inherited
dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow.
CoreEventDispatcher
 Inherited
Returns the internal system.events.EventDispatcher reference.
CoreEventDispatcher
 Inherited
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
CoreEventDispatcher
 Inherited
isGlobal():Boolean
Indicates if the dispatcher use a global event flow.
CoreEventDispatcher
 Inherited
isLocked():Boolean
Returns true if the object is locked.
CoreEventDispatcher
 Inherited
lock():void
Locks the object.
CoreEventDispatcher
 Inherited
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
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
CoreEventDispatcher
  
reset():void
Reset the informations.
ObjectResourceInfo
 Inherited
Sets the internal EventDispatcher reference.
CoreEventDispatcher
 Inherited
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
 Inherited
unlock():void
Unlocks the display.
CoreEventDispatcher
 Inherited
unregisterEventListener(type:String, listener:*, useCapture:Boolean = false):void
Removes a listener (Function or EventListener object) from the EventDispatcher object.
CoreEventDispatcher
 Inherited
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
Protected Methods
 MethodDefined By
 Inherited
Creates and returns the internal EventDispatcher reference (this method is invoked in the constructor).
CoreEventDispatcher
Property Detail
bytesLoadedproperty
bytesLoaded:uint  [read-only]

The number of bytes that are loaded for the resource.


Implementation
    public function get bytesLoaded():uint
bytesTotalproperty 
bytesTotal:uint  [read-only]

The number of compressed bytes in the entire resource file.


Implementation
    public function get bytesTotal():uint
loaderproperty 
loader:CoreActionLoader  [read-only]

The current CoreActionLoader reference.


Implementation
    public function get loader():CoreActionLoader
resourceproperty 
resource:ObjectResource

The current ObjectResource reference.


Implementation
    public function get resource():ObjectResource
    public function set resource(value:ObjectResource):void
Constructor Detail
ObjectResourceInfo()Constructor
public function ObjectResourceInfo(resource:ObjectResource = null)

Creates a new ObjectResourceInfo instance.

Parameters
resource:ObjectResource (default = null)
Method Detail
reset()method
public function reset():void

Reset the informations.