document.setStageVanishingPoint()

#### Availability

Flash CS4 Professional.

#### Usage

document.setStageVanishingPoint(point)

#### Parameters

point A point that specifies the x and y coordinates of the location at which to set the vanishing point for viewing 3D objects.

#### Returns

Nothing.

#### Description

Specifies the vanishing point for viewing 3D objects.

#### Example

The following example sets the Stage vanishing point:

javascript
fl.getDocumentDOM().setStageVanishingPoint({x:45, y:45});