Adobe Extending Flash Professional CS5 Manuale Utente Pagina 421

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 420
399
EXTENDING FLASH PROFESSIONAL
Stroke object
Last updated 5/2/2011
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "hatched";
myStroke.curve = "straight";
myStroke.space = "close";
myStroke.jiggle = "wild";
myStroke.rotate = "free";
myStroke.length = "slight";
myStroke.hatchThickness = "thin";
fl.getDocumentDOM().setCustomStroke(myStroke);
stroke.dash1
Availability
Flash MX 2004.
Usage
stroke.dash1
Description
Property; an integer that specifies the lengths of the solid parts of a dashed line. This property is available only if the
stroke.style property is set to dashed(see stroke.style).
Example
The following example sets the dash1 and dash2 properties for a stroke style of dashed:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "dashed";
myStroke.dash1 = 1;
myStroke.dash2 = 2;
fl.getDocumentDOM().setCustomStroke(myStroke);
stroke.dash2
Availability
Flash MX 2004.
Usage
stroke.dash2
Description
Property; an integer that specifies the lengths of the blank parts of a dashed line. This property is available only if the
stroke.style property is set to dashed (see stroke.style).
Example
See stroke.dash1.
Vedere la pagina 420
1 2 ... 416 417 418 419 420 421 422 423 424 425 426 ... 564 565

Commenti su questo manuale

Nessun commento