Adobe Extending Flash Professional CS5 Manuale Utente Pagina 197

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 196
175
EXTENDING FLASH PROFESSIONAL
drawingLayer object
Last updated 5/2/2011
Example
The following example draws a quadratic curve using the specified control points:
fl.drawingLayer.curveTo(0, 0, 2, 0);
drawingLayer.drawPath()
Availability
Flash MX 2004.
Usage
drawingLayer.drawPath(path)
Parameters
path A Path object to draw.
Returns
Nothing.
Description
Method; draws the path specified by the path parameter. You typically use this method only when creating extensible
tools.
Example
The following example draws a path specified by the Path object named gamePath:
fl.drawingLayer.drawPath(gamePath);
drawingLayer.endDraw()
Availability
Flash MX 2004.
Usage
drawingLayer.endDraw()
Parameters
None.
Returns
Nothing.
Description
Method; exits drawing mode. Drawing mode is used when you want to temporarily draw while the mouse button is
pressed. You typically use this method only when creating extensible tools.
Vedere la pagina 196
1 2 ... 192 193 194 195 196 197 198 199 200 201 202 ... 564 565

Commenti su questo manuale

Nessun commento