Packagecom.addicted2flash.util
Interfacepublic interface IPerformanceObservable extends IMicroObservable, IDisposable
ImplementorsPerformanceObservable

Interface for performance observables (observing frames per second and the total amount of memory currently in use by Flash Player).



Public Properties
 PropertyDefined by
  bytes : int
[read-only] return amount of memory (in bytes) currently in use by Flash Player.
IPerformanceObservable
  fps : int
[read-only] return frames per second.
IPerformanceObservable
 InheritedisAvailable : Boolean
Returns true if the value is available.
IMicroObservable
  kiloBytes : int
[read-only] return amount of memory (in kilo bytes) currently in use by Flash Player.
IPerformanceObservable
  megaBytes : Number
[read-only] return amount of memory (in mega bytes) currently in use by Flash Player.
IPerformanceObservable
 InheritedmicroObserverAmount : int
Returns the number of observers of this IMicroObservable.
IMicroObservable
 Inheritedvalue : *
Returns the value of this IMicroObserver.
IMicroObservable
Public Methods
 MethodDefined by
 Inherited
Adds an IMicroObserver to the set of observers for this object, provided that it is not the same as some observer already in the set
IMicroObservable
 Inherited
dispose():void
free memory for garbage collection.
IDisposable
 Inherited
Deletes an IMicroObserver from the set of observers of this object.
IMicroObservable
 Inherited
Clears the observer list so that this object no longer has any observers.
IMicroObservable
Property detail
bytesproperty
bytes:int  [read-only]

return amount of memory (in bytes) currently in use by Flash Player.

Implementation
    public function get bytes():int
fpsproperty 
fps:int  [read-only]

return frames per second.

Implementation
    public function get fps():int
kiloBytesproperty 
kiloBytes:int  [read-only]

return amount of memory (in kilo bytes) currently in use by Flash Player.

Implementation
    public function get kiloBytes():int
megaBytesproperty 
megaBytes:Number  [read-only]

return amount of memory (in mega bytes) currently in use by Flash Player.

Implementation
    public function get megaBytes():Number