03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Method summary<br />

Modifiers Signature Description<br />

static get([index:Number])<br />

: Camera<br />

Methods inherited from class Object<br />

activityLevel (Camera.activityLevel property)<br />

public activityLevel : Number [read-only]<br />

A numeric value that specifies the amount of motion the camera is detecting. Values range<br />

from 0 (no motion is being detected) to 100 (a large amount of motion is being detected).<br />

The value of this property can help you determine if you need to pass a setting to<br />

Camera.setMotionLevel().<br />

If the camera is available but is not yet being used because Video.attachVideo() has not<br />

been called, this property is set to -1.<br />

If you are streaming only uncompressed local video, this property is set only if you have<br />

assigned a function to the Camera.onActivity event h<strong>and</strong>ler. Otherwise, it is undefined.<br />

Availability: <strong>ActionScript</strong> 1.0; Flash Player 6<br />

390 <strong>ActionScript</strong> classes<br />

setMode([width:Numbe<br />

r], [height:Number],<br />

[fps:Number],<br />

[favorArea:Boolean])<br />

: Void<br />

setMotionLevel([moti<br />

onLevel:Number],<br />

[timeOut:Number]) :<br />

Void<br />

setQuality([b<strong>and</strong>widt<br />

h:Number],<br />

[quality:Number]) :<br />

Void<br />

Returns a reference to a Camera object for capturing<br />

video.<br />

Sets the camera capture mode to the native mode that<br />

best meets the specified requirements.<br />

Specifies how much motion is required to invoke<br />

Camera.onActivity(true).<br />

Sets the maximum amount of b<strong>and</strong>width per second<br />

or the required picture quality of the current outgoing<br />

video feed.<br />

addProperty (Object.addProperty method), hasOwnProperty<br />

(Object.hasOwnProperty method), isPropertyEnumerable<br />

(Object.isPropertyEnumerable method), isPrototypeOf (Object.isPrototypeOf<br />

method), registerClass (Object.registerClass method), toString<br />

(Object.toString method), unwatch (Object.unwatch method), valueOf<br />

(Object.valueOf method), watch (Object.watch method)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!