Packageorg.as3lib.kitchensync.utils
Classpublic class FrameRateView
InheritanceFrameRateView Inheritance flash.text.TextField

A text field that displays the approximate buffered framerate of the synchronizer. Use it as you would a TextField.

See also

org.as3lib.kitchensync.core.Synchronizer


Public Properties
 PropertyDefined by
  actualFrameRate : Number
[read-only]
FrameRateView
  formattingFunction : Function
The function used to format the text displayed in the textfield.
FrameRateView
  updateFrequency : int = 5
Number of frames between each update
FrameRateView
Public Methods
 MethodDefined by
  
Constructor
FrameRateView
  
Display is updated by the synchronizer pulses.
FrameRateView
Property detail
actualFrameRateproperty
actualFrameRate:Number  [read-only]Implementation
    public function get actualFrameRate():Number
formattingFunctionproperty 
public var formattingFunction:Function

The function used to format the text displayed in the textfield. This can be replaced by the user.

updateFrequencyproperty 
public var updateFrequency:int = 5

Number of frames between each update

Constructor detail
FrameRateView()constructor
public function FrameRateView()

Constructor

Method detail
onUpdate()method
public function onUpdate(event:KitchenSyncEvent):void

Display is updated by the synchronizer pulses.

Parameters
event:KitchenSyncEvent