MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 476

Extending flash
Table of Contents

Advertisement

Description
Method; copies a range of frames on the current layer to the Clipboard.
Example
The following example copies the selected frames to the Clipboard:
fl.getDocumentDOM().getTimeline().copyFrames();
The following example copies Frame 2 up to, but not including, Frame 10, to the Clipboard
(remember that index values are different from frame number values):
fl.getDocumentDOM().getTimeline().copyFrames(1, 9);
The following example copies Frame 5 to the Clipboard:
fl.getDocumentDOM().getTimeline().copyFrames(4);
timeline.createMotionTween()
Availability
Flash MX 2004.
Usage
timeline.createMotionTween([startFrameIndex [, endFrameIndex]])
Parameters
A zero-based index that specifies the beginning frame at which to create
startFrameIndex
a motion tween. If you omit
, the method uses the current selection. This
startFrameIndex
parameter is optional.
A zero-based index that specifies the frame at which to stop the motion
endFrameIndex
tween. The range of frames goes up to, but does not include,
. If you specify
endFrameIndex
only
,
defaults to the
value. This
startFrameIndex
endFrameIndex
startFrameIndex
parameter is optional.
Returns
Nothing.
Description
Method; sets the
property to
for each selected keyframe on the
frame.tweenType
motion
current layer, and converts each frame's contents to a single symbol instance if necessary. This
property is the equivalent to the Create Motion Tween menu item in the Flash authoring tool.
476
Objects

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents