decorative banner

Working with script keyframes


    The Scripts button in the keyframe lets you add a script keyframe to any point in the animation. For more information on scripts, see About scripts.

To add a script keyframe to an animation:

  1. Display the composition timeline or movie clip timeline to which you want to add a script keyframe.
  2. Move the current-time marker to the point at which you want the script keyframe to occur.
  3. Click the Scripts button the Script button in the Timeline window to display the Script Editor window.
  4. Create the script as described in the Adobe LiveMotion 2.0 Scripting Guide.

To duplicate a script keyframe within a timeline:

  1. Select the script keyframe you want to duplicate. (Shift-click to select additional script keyframes.)
  2. Alt-drag (Windows) or Option-drag (Mac OS) the script keyframe to create duplicates within that timeline.

To edit a script keyframe from the timeline:

  1. Open the script keyframe:
    • Double-click the script keyframe icon  the script keyframe icon in the timeline.
    • Move the current-time marker to the script keyframe and choose Scripts > Script Editor.
  2. Edit the script as described in the Adobe LiveMotion 2.0 Scripting Guide.

To delete a script keyframe:

    Select a script keyframe (Shift-click to select additional script keyframes). Press Backspace or Delete (Windows) or Delete (Mac OS).

To move the current-time marker to the previous or next script keyframe:

    Click the left arrow  the Left Arrow button or right arrow  the Right Arrow button in the script keyframes column.

To move a script keyframe in the timeline:

    Drag the script keyframe icon  the script keyframe icon to its new location on the timeline.