
153
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
Description
Specifies the vanishing point for viewing 3D objects.
Example
The following example sets the Stage vanishing point:
fl.getDocumentDOM().setStageVanishingPoint({x:45, y:45});
document.setStageViewAngle()
Availability
Flash CS4 Professional.
Usage
document.setStageViewAngle(angle)
Parameters
angle A floating point value between 0.0 and 179.0.
Returns
Nothing.
Description
Specifies the perspective angle for viewing 3D objects.
Example
The following example sets the Stage perspective angle to 70 degrees:
fl.getDocumentDOM().setStageViewAngle(70);
document.setStroke()
Availability
Flash MX 2004.
Usage
document.setStroke(color, size, strokeType)
Parameters
color The color of the stroke, in one of the following formats:
• A string in the format "#RRGGBB" or "#RRGGBBAA"
• A hexadecimal number in the format 0xRRGGBB
• An integer that represents the decimal equivalent of a hexadecimal number
size A floating-point value that specifies the new stroke size for the selection.
Kommentare zu diesen Handbüchern