Use the following functions to slip the starting frame of a clip backwards or forwards using the slip channel. In effect, the displayed frame in a layer's clip will be the animation's current frame number plus the slip value. For example, a slip value of -15 holds the clip at the first frame and repeats it 15 times before the clip begins. In this way, you can create a freeze frame effect with one layer while animating another layer. A slip value of 10 begins the clip at frame 11. See Modifying Surfaces.
Returns a slip value that makes a clip continuously cycle forwards and backwards. The result should usually be assigned to the slip channel of a layer.
Syntax: | pingpong(length) |
Arguments: |
|
Examples: |
|
Returns a slip value that makes a clip continuously repeat forwards. The result should usually be assigned to the slip channel of a layer.
Syntax: | repeat(length) |
Arguments: |
|
Examples: |
|
Returns a slip value that makes a clip continuously repeat backwards. The result should usually be assigned to the slip channel of a layer.
Syntax: | repeatback(length) |
Arguments: |
|
Examples: |
|
Returns a slip value that makes a clip display at a given timebar frame. If the given frame number is constant, the resulting clips will freeze at that frame. The result should usually be assigned to the slip channel of a layer.
Syntax: | frametoslip(TimebarFrame) |
Arguments: |
|
Examples: |
|