Adobe Extending Flash Professional CS5 Manuale Utente Pagina 407

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 406
385
EXTENDING FLASH PROFESSIONAL
Shape object
Last updated 5/2/2011
shape.isOvalObject
Availability
Flash CS3 Professional.
Usage
shape.isOvalObject
Description
Read-only property; if true, the shape is a primitive Oval object (was created using the Oval Primitive tool).
Example
The following example displays "true" if the first selected item is a primitive Oval object, and "false" if it is not:
var sel = fl.getDocumentDOM().selection[0];
fl.trace(sel.isOvalObject);
See also
shape.isRectangleObject
shape.isRectangleObject
Availability
Flash CS3 Professional.
Usage
shape.isRectangleObject
Description
Read-only property; if true, the shape is a primitive Rectangle object (was created using the Rectangle Primitive tool).
Example
The following example displays "true" if the first selected item is a primitive Rectangle object, "false" if it is not:
var sel = fl.getDocumentDOM().selection[0];
fl.trace(sel.isRectangleObject);
See also
shape.isOvalObject
shape.members
Availability
Flash CS4 Professional.
Vedere la pagina 406
1 2 ... 402 403 404 405 406 407 408 409 410 411 412 ... 564 565

Commenti su questo manuale

Nessun commento