Lingo Dictionary > D-F > endRecording

 

endRecording

Syntax

endRecording

Description

Keyword; ends a Score update session. You can resume control of Score channels through puppetting after the endRecording keyword is issued.

Example

When used in the following handler, the endRecording keyword ends the Score generation session:

on animBall numberOfFrames
	beginRecording
		horizontal = 0
		vertical = 100
		repeat with i = 1 to numberOfFrames
			go to frame i
			sprite(20).member = member "Ball"
			sprite(20).locH = horizontal
			sprite(20).locV = vertical
			horizontal = horizontal + 3
			vertical = vertical + 2
			updateFrame
		end repeat
	endRecording
end

See also

beginRecording, scriptNum, tweened, updateFrame