Timeline.copymotionasas3(), Timeline.createmotiontween() – Adobe Extending Flash Professional CS4 User Manual
Page 492
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
to apply the motion to other frames.
To copy motion as text (code) that you can paste into a script, see
Example
The following example copies the motion from the selected frame or frames:
fl.getDocumentDOM().getTimeline().copyMotion();
See also
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
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.createMotionTween()
Availability
Flash MX 2004.