Adobe Extending Flash Professional CS5 Manual de usuario Pagina 206

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 565
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 205
184
EXTENDING FLASH PROFESSIONAL
Edge object
Last updated 5/2/2011
Returns
Nothing.
Description
Method; splits the edge into two pieces. You must call shape.beginEdit() before using this method.
Example
The following example splits the specified edge in half:
var shape = fl.getDocumentDOM().selection[0];
shape.beginEdit()
shape.edges[0].splitEdge( 0.5 );
shape.endEdit()
edge.stroke
Availability
Flash CS4 Professional.
Usage
edge.stroke
Description
Property; a Stroke object.
Example
The following example displays the stroke color of the first edge of the selected object:
var shape = fl.getDocumentDOM().selection[0];
fl.trace(shape.edges[0].stroke.color);
Vista de pagina 205
1 2 ... 201 202 203 204 205 206 207 208 209 210 211 ... 564 565

Comentarios a estos manuales

Sin comentarios