Adobe Extending Flash Professional CS4 Uživatelský manuál Strana 176

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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);
Zobrazit stránku 175
1 2 ... 171 172 173 174 175 176 177 178 179 180 181 ... 559 560

Komentáře k této Příručce

Žádné komentáře