Tween Objects - Overview

The Tween functions allow you to use a script to play or stop Tween Timelines and display different frames of a Tween object on a page in your publication. These functions are equivalent to the Tween actions in the Tween menu of the Actions dialog.

Hierarchy:

As well as the specific functions listed under the Functions: heading below, you can also use the following OpusScript functions:

image\Script_Button.jpgGraphical Object functions

image\Script_Button.jpgBasic Object functions

Class Hierarchy:

Tween

image\Hierarchy_Level.jpg Graphical Objects

 image\Hierarchy_Level.jpg Basic Objects

Hierarchy of objects in Opus

Functions:

Play()

Play Tween Timeline

Stop()

Stop Tween Timeline

GotoFrame(frame)

Goto a particular frame in the Tween Timeline

GotoAnd Play(frame)

Go to a particular frame in the Tween and start playing the timeline from there

GotoAndStop(frame)

Go to a particular frame in the Tween and Stop on that frame.