Adobe Extending Flash Professional CS5 Manuale Utente Pagina 517

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 516
495
EXTENDING FLASH PROFESSIONAL
Timeline object
Last updated 5/2/2011
Example
The following example selects the top layer:
fl.getDocumentDOM().getTimeline().setSelectedLayers(0);
The following example adds the next layer to the selection:
fl.getDocumentDOM().getTimeline().setSelectedLayers(1, false);
See also
timeline.getSelectedLayers()
timeline.showLayerMasking()
Availability
Flash MX 2004.
Usage
timeline.showLayerMasking([layer])
Parameters
layer A zero-based index of a mask or masked layer to show masking during authoring. This parameter is optional.
Returns
Nothing.
Description
Method; shows the layer masking during authoring by locking the mask and masked layers. This method uses the
current layer if no layer is specified. If you use this method on a layer that is not of type Mask or Masked, Flash displays
an error in the Output panel.
Example
The following example specifies that the layer masking of the first layer should show during authoring.
fl.getDocumentDOM().getTimeline().showLayerMasking(0);
timeline.startPlayback()
Availability
Flash Professional CS5.
Usage
timeline.startPlayback()
Returns
Nothing.
Vedere la pagina 516
1 2 ... 512 513 514 515 516 517 518 519 520 521 522 ... 564 565

Commenti su questo manuale

Nessun commento