Adobe Extending Flash Professional CS5 Uživatelský manuál Strana 358

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 565
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 357
336
EXTENDING FLASH PROFESSIONAL
library object
Last updated 5/2/2011
Returns
A Boolean value: true if the specified item exists; false otherwise.
Description
Method; selects a specified library item.
Example
The following example changes the current selection in the library to Symbol_1 inside untitled Folder_1:
fl.getDocumentDOM().library.selectItem("untitled Folder_1/Symbol_1");
The following example extends what is currently selected in the library to include Symbol_1 inside untitled
Folder_1:
fl.getDocumentDOM().library.selectItem("untitled Folder_1/Symbol_1", false);
The following example deselects Symbol_1 inside untitled Folder_1 and does not change other selected items:
fl.getDocumentDOM().library.selectItem("untitled Folder_1/Symbol_1", true, false);
library.selectNone()
Availability
Flash MX 2004.
Usage
library.selectNone()
Parameters
None.
Returns
Nothing.
Description
Method; deselects all the library items.
Example
The following examples deselect all the items in the library:
fl.getDocumentDOM().library.selectNone();
fl.getDocumentDOM().library.selectAll(false);
library.setItemProperty()
Availability
Flash MX 2004.
Zobrazit stránku 357
1 2 ... 353 354 355 356 357 358 359 360 361 362 363 ... 564 565

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

Žádné komentáře