Play Command


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.


on playStopped set the playStart of mov "Endless" to 0 play movie "Endless" end playStopped Next, create a button "Play Forever" and place the following into the button's script: on mouseUp prepare movie "Endless" play movie "Endless" end mouseUp Finally, create another button "Stop It" and place the following into its script: on mouseUp stop movie "Endless"
This text has been mechanically extracted from the Oracle Media Objects MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.