Adobe Extending Flash Professional CS4 Manuale Utente Pagina 207

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 206
185
EXTENDING FLASH CS4 PROFESSIONAL
Edge object
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);
Vedere la pagina 206
1 2 ... 202 203 204 205 206 207 208 209 210 211 212 ... 559 560

Commenti su questo manuale

Nessun commento