stop <movie | path | sound | timer> Applies to movies, paths, sounds, timers
For movies, the stop command halts the playback of a movie and blanks the movie image.
For paths, the stop command halts the currently executing animation. Animation cannot be resumed from this point, but must be restarted from the beginning.
For sounds, the stop command stops the playback of the sound.
if the isPlaying of movie 1 is true then
stop movie 1 end if
Create a button and name it "Play". Put the following handler into the script of the button:
on mouseUp prepare mov 1 play mov 1
Create a timer object and place the following handler into the script:
on timerExpired beep
start timer 1 expire in 10 seconds
on mouseDown stop timer 1 end mouseDown
This text has been mechanically extracted from the Oracle Media Objects 18.104.22.168 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.