play <movie | path | sound>
Applies to movies, paths, and sounds
For movies, the play command plays a prepared movie at its preferred rate, starting from the movie's playStart for the length of its playDuration, or resume a previously paused movie.
For paths, the play command starts an animation based on the current path settings, or resumes a previously paused animation. You must have previously set the playList property of the path.
For sounds, the play command starts the playback of a sound. The behavior of the playback is specified by playback properties, such as playStyle, playStart, playDuration, playCount, playEffects. If a sound is paused, the play command resumes sound playback.
set the playStart of mov "Endless" to 0 play movie "Endless"
Next, create a button "Play Forever" and place the following into the button's script:
prepare movie "Endless" play movie "Endless"
Finally, create another button "Stop It" and place the following into its script:
stop movie "Endless"
This text has been mechanically extracted from the Oracle Media Objects 220.127.116.11 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.