314 Chapter 12: ActionScript Dictionary
Camera.bandwidth
Availability
Flash Player 6.
Usage
active_cam.bandwidth
Description
Read-only property; an integer that specifies the maximum amount of bandwidth the current
outgoing video feed can use, in bytes. A value of 0 means that Flash video can use as much
bandwidth as needed to maintain the desired frame quality.
To set this property, use
Camera.setQuality().
Example
The following example loads another SWF file if the camera’s bandwidth is 32 kilobytes or
greater.
if(myCam.bandwidth >= 32768){
loadMovie("splat.swf",_root.hiddenvar);
}
See also
Camera.setQuality()
Camera.currentFps
Availability
Flash Player 6.
Usage
active_cam.currentFps
Description
Read-only property; the rate at which the camera is capturing data, in frames per second. This
property cannot be set; however, you can use the
Camera.setMode() method to set a related
property—Camera.fps—which specifies the maximum frame rate at which you would like the
camera to capture data.
See also
Camera.fps, Camera.setMode()