Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 580 Bytes

File metadata and controls

29 lines (16 loc) · 580 Bytes

document.translate3DCenter()

Availability

Flash CS4 Professional.

Usage

document.translate3DCenter(xyzCoordinate)

Parameters

xyzCoordinate An XYZ coordinate that specifies the center point for 3D rotation or translation.

Returns

Nothing.

Description

Method: sets the XYZ position around which the selection is translated or rotated. This method is available only for movie clips.

Example

The following example specifies the XYZ axes for 3D translation:
fl.getDocumentDOM().translate3DCenter({x:180, y:18,z:-30});