Adobe Extending Flash Professional CS4 Manuale Utente Pagina 178

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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)
Vedere la pagina 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 559 560

Commenti su questo manuale

Nessun commento