Keyframes – Apple LiveType 2 User Manual

Page 136

Advertising
background image

136

Appendix B

Creating and Editing EffectScripts

DefSequence a b c
 a is 0 for Off or 1 for On.
 b is a numeric % value, may be floating point.
 c is L for left first, or R for right first.

DefRandStart a b c
 a is 0 for Off or 1 for On.
 b is a numeric value, may be floating point.
 c is %, Seconds, or Frames.

DefLoop a
 a is a numeric value, must be an integer (use a large number like 9999 to loop

forever).

DefSpeed a
 a is a numeric % value, may be floating point.

Keyframes

After the header, an EffectScript defines a number of keyframes. A keyframe starts with
a Time command:

Time t
 t is the time of the keyframe in seconds.

Each Time command is followed by parameter commands. For example, here is a
keyframe:

Time 0.0

Scale 50

Track -50

This keyframe means that at time Zero seconds, each glyph scales by 50 percent, and
its tracking decreases by 50 percent.

The first keyframe must be at time 0.0, and there must be at least one other keyframe
after that. All keyframes must be listed in order. All keyframes in a given effect should
have the same set of parameter commands.

The following parameter commands are valid in a keyframe:

Accelerate n
 n is a percentage of acceleration. This affects how all the other keyframe parameter

values are interpolated between this keyframe and the next. 0 means no
acceleration, 100% means speed up, -100% means slow down.

Advertising