Packagecom.flashdynamix.utils
Classpublic class SWFProfiler

The SWFProfiler is a degugging tool which allows for monitoring the amount of memory and the frame rate of a SWF.



Public Properties
 PropertyDefined by
  averageFps : Number
[static][read-only]
SWFProfiler
  currentFps : Number
[static][read-only]
SWFProfiler
  currentMem : Number
[static][read-only]
SWFProfiler
  fpsList : Array
[static]
SWFProfiler
  history : int = 60
[static]
SWFProfiler
  maxFps : Number
[static]
SWFProfiler
  maxMem : Number
[static]
SWFProfiler
  memList : Array
[static]
SWFProfiler
  minFps : Number
[static]
SWFProfiler
  minMem : Number
[static]
SWFProfiler
  refreshRate : Number = 1
[static]
SWFProfiler
Public Methods
 MethodDefined by
  
gc():void
[static] Garbage collect the SWF.
SWFProfiler
  
init(context:InteractiveObject):void
[static] Iniates the SWFProfiler to the ContextMenu of the reference passed.
SWFProfiler
  
start():void
[static] Starts updating the Profiler.
SWFProfiler
  
stop():void
[static] Stops updating the Profiler.
SWFProfiler
Property detail
averageFpsproperty
averageFps:Number  [read-only]

Implementation
    public static function get averageFps():Number
currentFpsproperty 
currentFps:Number  [read-only]

Implementation
    public static function get currentFps():Number
currentMemproperty 
currentMem:Number  [read-only]

Implementation
    public static function get currentMem():Number
fpsListproperty 
public static var fpsList:Array
historyproperty 
public static var history:int = 60
maxFpsproperty 
public static var maxFps:Number
maxMemproperty 
public static var maxMem:Number
memListproperty 
public static var memList:Array
minFpsproperty 
public static var minFps:Number
minMemproperty 
public static var minMem:Number
refreshRateproperty 
public static var refreshRate:Number = 1
Method detail
gc()method
public static function gc():void

Garbage collect the SWF.

init()method 
public static function init(context:InteractiveObject):void

Iniates the SWFProfiler to the ContextMenu of the reference passed.

Parameters
context:InteractiveObject
start()method 
public static function start():void

Starts updating the Profiler.

stop()method 
public static function stop():void

Stops updating the Profiler.