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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 307
286
EXTENDING FLASH CS4 PROFESSIONAL
Frame object
Description
Property; a string that specifies effects for a sound that is attached directly to a frame (frame.soundLibraryItem).
Acceptable values are "none", "left channel", "right channel", "fade left to right", "fade right to
left", "fade in", "fade out", and "custom".
Example
The following example specifies that the sound attached to the first frame should fade in:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].soundEffect = "fade in";
frame.soundLibraryItem
Availability
Flash MX 2004.
Usage
frame.soundLibraryItem
Description
Property; a library item (see SoundItem object) used to create a sound. The sound is attached directly to the frame.
Example
The following example assigns the first item in the library to the soundLibraryItem property of the first frame:
// The first item in the library must be a sound object.
fl.getDocumentDOM().getTimeline().layers[0].frames[0].soundLibraryItem
=fl.getDocumentDOM().library.items[0];
frame.soundLoop
Availability
Flash MX 2004.
Usage
frame.soundLoop
Description
Property; an integer value that specifies the number of times a sound that is attached directly to a frame
(
frame.soundLibraryItem) plays. If you want to specify a value for this property, set frame.soundLoopMode to
"repeat".
Example
See frame.soundLoopMode.
Vista de página 307
1 2 ... 303 304 305 306 307 308 309 310 311 312 313 ... 559 560

Comentários a estes Manuais

Sem comentários