Frame.convertmotionobjectto2d() – Adobe Extending Flash Professional CS5 User Manual
Page 308
286
EXTENDING FLASH PROFESSIONAL
Frame object
Last updated 5/2/2011
frame.convertMotionObjectTo2D()
Availability
Flash Professional CS5.
Usage
frame.convertMotionObjectTo2D()
Description
Method; Converts the selected motion object to a 2D motion object.
An integer that specifies the number of times the tweened element rotates
between the starting keyframe and the next keyframe.
A Boolean value that specifies whether the tweened element scales to the size
of the object in the following keyframe, increasing its size with each frame in the
tween (
true
), or doesn’t scale (
false
).
A Boolean value that specifies whether the tweened element automatically
snaps to the nearest point on the motion guide layer associated with this
frame’s layer (
true
) or not (
false
).
A Boolean value that if set to
true
, synchronizes the animation of the tweened
object with the main timeline.
A string that specifies the name of the frame.
A string that specifies how a shape tween is blended between the shape in the
keyframe at the start of the tween and the shape in the following keyframe.
A string that specifies effects for a sound that is attached directly to a frame
(
).
An integer value that specifies the number of times a sound that is attached
directly to a frame (
A string that specifies whether a sound that is attached directly to a frame
(
) should play a specific number of times or loop
indefinitely.
A string that specifies the name of a sound that is attached directly to a frame
(
), as stored in the library.
A string that specifies the sync behavior of a sound that is attached directly to a
frame (
).
Read-only; the index of the first frame in a sequence.
An integer that specifies the amount of easing that should be applied to the
tweened object.
Assings an instance name to the specified motion object.
A string that specifies the type of tween.
A Boolean value that specifies whether a single custom ease curve is used for
easing information for all properties.
Property
Description