Adobe Extending Flash Professional CS5 Manual do Utilizador Página 340

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 565
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 339
318
EXTENDING FLASH PROFESSIONAL
Item object
Last updated 5/2/2011
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");
Vista de página 339
1 2 ... 335 336 337 338 339 340 341 342 343 344 345 ... 564 565

Comentários a estes Manuais

Sem comentários