Stop videoclip from playing

Bill Marriott wjm at wjm.org
Tue Jun 20 15:18:43 EDT 2006


I don't have the time to test this, but perhaps it's better to put your 
command in a preOpenCard handler instead?

on preOpenCard
   stop playing videoclip 1176
   pass preOpenCard
end preOpenCard

Paul Malloy wrote
> I want to display a videoClip (a Quicktime movie that has been imported 
> into
> the stack) on my opening card, then stop playing when the user moves to 
> the
> next card. The following script plays the movie fine, but the movie
> continues to appear superimposed on all subsequent cards.

> on closeCard
>  stop playing videoclip 1176
> end closeCard
>
> I suspect the message is not getting "passed" but I can't figure out how 
> to
> fix it. Thanks in advance.






More information about the use-livecode mailing list