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()