Adobe Extending Flash Professional CS4 Manuel d'utilisateur Page 178

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 560
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 177
156
EXTENDING FLASH CS4 PROFESSIONAL
Document object
Returns
Nothing.
Description
Method; changes the stroke color of the selection to the specified color. For information on changing the stroke in the
Tools panel and Property inspector, see
document.setCustomStroke().
Example
The three statements in the following example set the stroke color using each of the different formats for specifying
color:
fl.getDocumentDOM().setStrokeColor("#cc00cc");
fl.getDocumentDOM().setStrokeColor(0xcc00cc);
fl.getDocumentDOM().setStrokeColor(120000);
document.setStrokeSize()
Availability
Flash MX 2004.
Usage
document.setStrokeSize(size)
Parameters
size A floating-point value from 0.25 to 10 that specifies the stroke size. The method ignores precision greater than
two decimal places.
Returns
Nothing.
Description
Method; changes the stroke size of the selection to the specified size. For information on changing the stroke in the
Tools panel and Property inspector, see
document.setCustomStroke().
Example
The following example changes the stroke size for the selection to 5:
fl.getDocumentDOM().setStrokeSize(5);
document.setStrokeStyle()
Availability
Flash MX 2004.
Usage
document.setStrokeStyle(strokeType)
Vue de la page 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 559 560

Commentaires sur ces manuels

Pas de commentaire