Adobe Extending Flash Professional CS5 Uživatelský manuál Strana 321

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 565
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 320
299
EXTENDING FLASH PROFESSIONAL
Frame object
Last updated 5/2/2011
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.
frame.soundLoopMode
Availability
Flash MX 2004.
Usage
frame.soundLoopMode
Zobrazit stránku 320
1 2 ... 316 317 318 319 320 321 322 323 324 325 326 ... 564 565

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

Žádné komentáře