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

  • 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 326
305
EXTENDING FLASH CS4 PROFESSIONAL
Item object
Usage
item.name
Description
Method; a string that specifies the name of the library item, which includes the folder structure. For example, if
Symbol_1 is inside a folder called Folder_1, the
name property of Symbol_1 is "Folder_1/Symbol_1".
Example
The following example shows the name of the specified library item in the Output panel:
fl.trace(fl.getDocumentDOM().library.items[0].name);
item.removeData()
Availability
Flash MX 2004.
Usage
item.removeData(name)
Parameters
name Specifies the name of the data to remove from the library item.
Returns
Nothing.
Description
Property; removes persistent data from the library item.
Example
The following example removes the data named myData from the first item in the library:
fl.getDocumentDOM().library.items[0].removeData("myData");
Zobrazit stránku 326
1 2 ... 322 323 324 325 326 327 328 329 330 331 332 ... 559 560

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

Žádné komentáře