Adobe Extending Flash Professional CS5 Manual de usuario Pagina 430

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 565
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 429
408
EXTENDING FLASH PROFESSIONAL
Stroke object
Last updated 5/2/2011
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "stipple";
myStroke.dotSpace= 3;
myStroke.variation = "random sizes";
myStroke.density = "sparse";
fl.getDocumentDOM().setCustomStroke(myStroke);
stroke.waveHeight
Availability
Flash MX 2004.
Usage
stroke.waveHeight
Description
Property; a string that specifies the wave height of a ragged line. This property is available only if the stroke.style
property is set to
ragged (see stroke.style). Acceptable values are "flat", "wavy", "very wavy", and "wild".
Example
The following example sets the waveHeight property to flat for a stroke style of ragged:
var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "ragged";
myStroke.pattern = "random";
myStroke.waveHeight = "flat";
myStroke.waveLength = "short";
fl.getDocumentDOM().setCustomStroke(myStroke);
stroke.waveLength
Availability
Flash MX 2004.
Usage
stroke.waveLength
Description
Property; a string that specifies the wavelength of a ragged line. This property is available only if the stroke.style
property is set to
ragged (see stroke.style). Acceptable values are "very short", "short", "medium", and
"long".
Example
The following example sets the waveLength property to short for a stroke style of ragged:
Vista de pagina 429
1 2 ... 425 426 427 428 429 430 431 432 433 434 435 ... 564 565

Comentarios a estos manuales

Sin comentarios