
12
Example
The following example loads another movie 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.
• Flash Communication Server MX (not required).
Usage
activeCamera.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
Camera.setMode 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
Camera.fps
Availability
• Flash Player 6.
• Flash Communication Server MX (not required).
Usage
activeCamera.fps
Description
Read-only property; the maximum rate at which you want the camera to capture data, in frames
per second. The maximum rate possible depends on the capabilities of the camera; that is, if the
camera doesn’t support the value you set here, this frame rate will not be achieved.
• To set a desired value for this property, use Camera.setMode.
• To determine the rate at which the camera is currently capturing data, use
Camera.currentFps.
Kommentare zu diesen Handbüchern