Using Director > Navigation and User Interaction > Jumping to locations with Lingo > Looping in a group of frames

 

Looping in a group of frames

Looping within frames lets you create animation that recycles or makes a movie appear to pause. Such looping is useful for allowing a network operation to complete before the movie proceeds. Looping a movie by jumping from the current frame back to the first frame in the sequence can create a recycling animation effect.

To loop within one segment of the Score, use the statement go loop to return to the first marker to the left of the frame containing the go loop statement. If there is no previous marker, the playback head jumps to frame 1.

To pause a movie in one frame but keep it playing so the movie can react to events, use the statement go to the frame to loop in the current frame.

To resume playing a movie that is looping in one frame, use the statement go to the frame + 1.