Adobe Extending Flash Professional CS4 Uživatelský manuál Strana 413

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 412
391
EXTENDING FLASH CS4 PROFESSIONAL
Shape object
Description
Read-only property; an array of Vertex objects (see Vertex object).
Example
The following example stores the first selected object in the someShape variable, and then shows the number of vertices
for that object in the Output panel:
var someShape = fl.getDocumentDOM().selection[0];
fl.trace("The shape has " + someShape.vertices.length + " vertices.");
Zobrazit stránku 412
1 2 ... 408 409 410 411 412 413 414 415 416 417 418 ... 559 560

Komentáře k této Příručce

Žádné komentáře