Adobe Extending Flash Professional CS4 Manual do Utilizador Página 87

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 86
65
EXTENDING FLASH CS4 PROFESSIONAL
Document object
fl.getDocumentDOM().addDataToSelection("myData", "integer", 12);
See also
document.removeDataFromSelection()
document.addFilter()
Availability
Flash 8.
Usage
document.addFilter(filterName)
Parameters
filterName A string specifying the filter to be added to the Filters list and enabled for the selected object(s).
Acceptable values are
"adjustColorFilter", "bevelFilter", "blurFilter", "dropShadowFilter",
"glowFilter", "gradientBevelFilter", and "gradientGlowFilter".
Returns
Nothing.
Description
Method; applies a filter to the selected objects and places the filter at the end of the Filters list.
Example
The following example applies a glow filter to the selected object(s):
fl.getDocumentDOM().addFilter("glowFilter");
See also
document.changeFilterOrder(), document.disableFilter(), document.enableFilter(),
document.getFilters(), document.removeFilter(), document.setBlendMode(),
document.setFilterProperty()
document.addItem()
Availability
Flash MX 2004.
Usage
document.addItem(position, item)
Parameters
position A point that specifies the x and y coordinates of the location at which to add the item. It uses the center of
a symbol or the upper left corner of a bitmap or video.
Vista de página 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 559 560

Comentários a estes Manuais

Sem comentários