Adobe 62000112DM Animations - Page 9
forward = true, forward = false, loop = true, loop = false, ping = true, ping = false
UPC - 883919019833
View all Adobe 62000112DM manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 9 highlights
Adobe®Acr®obat 3D Javascript Tutorial Animation Control Updated: 3/26/2008 I 1.5 How to use the rest of the script... AnimationController.play() Begins playing animation from the current position in the current direction. AnimationController.pause() Freeze the animation at the current position. Calling play() afterward will resume the animation right where it left off. AnimationController.reset() Stops the animation and resets the position to the beginning or the end (depending on the last call to setPlayForward()). AnimationController.setPlayForward(forward) Sets the play direction but doesn't start playback. forward = true: Play the animation in the normal forward direction (default) forward = false: Play the animation in the opposite direction AnimationController.setLoop(loop) Sets the looping mode but doesn't start playback. loop = true: Play the animation in looped mode loop = false: Play the animation once and then stop (default) AnimationController.setPingPong(ping) Turns pingpong on or off but doesn't start playback. Note: When ping = true, this will override the setPlayForward() function. Note: This can be used with setLoop() ping = true: Play the animation forward once, and then backward once ping = false: Play the animation once in the direction specified with setPlayForward()