beautypg.com

Frame.motiontweenorienttopath, Frame.motiontweenrotate, Frame.motiontweenrotatetimes – Adobe Extending Flash Professional CS5 User Manual

Page 315

background image

293

EXTENDING FLASH PROFESSIONAL

Frame object

Last updated 5/2/2011

frame.motionTweenOrientToPath

Availability
Flash MX 2004.

Usage

frame.motionTweenOrientToPath

Description
Property; a Boolean value that specifies whether the tweened element rotates the element as it moves along a path to
maintain its angle with respect to each point on the path (

true

) or whether it does not rotate (

false

).

If you want to specify a value for this property, you should set

frame.motionTweenRotate

to

"none"

.

frame.motionTweenRotate

Availability
Flash MX 2004.

Usage

frame.motionTweenRotate

Description
Property; a string that specifies how the tweened element rotates. Acceptable values are

"none"

,

"auto"

,

"clockwise"

, and

"counter-clockwise"

. A value of

"auto"

means the object will rotate in the direction requiring

the least motion to match the rotation of the object in the following keyframe.

If you want to specify a value for

frame.motionTweenOrientToPath

, set this property to

"none"

.

Example
See

frame.motionTweenRotateTimes

.

frame.motionTweenRotateTimes

Availability
Flash MX 2004.

Usage

frame.motionTweenRotateTimes

Description
Property; an integer that specifies the number of times the tweened element rotates between the starting keyframe and
the next keyframe.

This manual is related to the following products: