Adobe Extending Flash Professional CS5 Manuel d'utilisateur Page 175

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 565
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 174
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.
Vue de la page 174
1 2 ... 170 171 172 173 174 175 176 177 178 179 180 ... 564 565

Commentaires sur ces manuels

Pas de commentaire