Adobe Extending Flash Professional CS4 Manuel d'utilisateur Page 492

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 560
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 491
470
EXTENDING FLASH CS4 PROFESSIONAL
Timeline object
Description
Method; copies motion on selected frames, either from a motion tween or from frame-by-frame animation. You can
then use
timeline.pasteMotion() to apply the motion to other frames.
To copy motion as text (code) that you can paste into a script, see timeline.copyMotionAsAS3().
Example
The following example copies the motion from the selected frame or frames:
fl.getDocumentDOM().getTimeline().copyMotion();
See also
timeline.copyMotionAsAS3(), timeline.pasteMotion()
timeline.copyMotionAsAS3()
Availability
Flash CS3 Professional.
Usage
timeline.copyMotionAsAS3()
Parameters
None.
Returns
Nothing.
Description
Method; copies motion on selected frames, either from a motion tween or from frame-by-frame animation, to the
clipboard as ActionScript 3.0 code. You can then paste this code into a script.
To copy motion in a format that you can apply to other frames, see timeline.copyMotion().
Example
The following example copies the motion from the selected frame or frames to the clipboard as ActionScript 3.0 code:
fl.getDocumentDOM().getTimeline().copyMotionAsAS3();
See also
timeline.copyMotion()
timeline.createMotionTween()
Availability
Flash MX 2004.
Vue de la page 491
1 2 ... 487 488 489 490 491 492 493 494 495 496 497 ... 559 560

Commentaires sur ces manuels

Pas de commentaire