Adobe Extending Flash Professional CS4 User Manual Page 176

  • Download
  • Add to my manuals
  • Print
  • Page
    / 560
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 175
154
EXTENDING FLASH CS4 PROFESSIONAL
Document object
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:
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);
Page view 175
1 2 ... 171 172 173 174 175 176 177 178 179 180 181 ... 559 560

Comments to this Manuals

No comments