Adobe Extending Flash Professional CS4 Manuale Utente Pagina 489

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 488
467
EXTENDING FLASH CS4 PROFESSIONAL
Timeline object
Usage
timeline.clearKeyframes([startFrameIndex [, endFrameIndex]])
Parameters
startFrameIndex A zero-based index that defines the beginning of the range of frames to clear. If you omit
startFrameIndex, the method uses the current selection. This parameter is optional.
endFrameIndex A zero-based index that defines the end of the range of frames to clear. The range goes up to, but does
not include, endFrameIndex. If you specify only startFrameIndex, endFrameIndex defaults to the value of
startFrameIndex. This parameter is optional.
Returns
Nothing.
Description
Method; converts a keyframe to a regular frame and deletes its contents on the current layer.
Example
The following example clears the keyframes from Frame 5 up to, but not including, Frame 10 (remember that index
values are different from frame number values):
fl.getDocumentDOM().getTimeline().clearKeyframes(4, 9);
The following example clears the keyframe at Frame 15 and converts it to a regular frame:
fl.getDocumentDOM().getTimeline().clearKeyframes(14);
timeline.convertToBlankKeyframes()
Availability
Flash MX 2004.
Usage
timeline.convertToBlankKeyframes([startFrameIndex [, endFrameIndex]])
Parameters
startFrameIndex A zero-based index that specifies the starting frame to convert to keyframes. If you omit
startFrameIndex, the method converts the currently selected frames. This parameter is optional.
endFrameIndex A zero-based index that specifies the frame at which the conversion to keyframes will stop. The range
of frames to convert goes up to, but does not include, endFrameIndex. If you specify only startFrameIndex,
endFrameIndex defaults to the value of startFrameIndex. This parameter is optional.
Returns
Nothing.
Description
Method; converts frames to blank keyframes on the current layer.
Vedere la pagina 488
1 2 ... 484 485 486 487 488 489 490 491 492 493 494 ... 559 560

Commenti su questo manuale

Nessun commento