videoClip does stop playing????
Ban Nguyen
bann at sunncomm.com
Fri Jul 15 14:16:56 EDT 2005
> Hello,
>
> I have a video (.mov)
>
> I create a button (play) with this code:
>
> on mouseUp
> play videoClip "my movie"
> end mouseUp
>
> I also create another button (close) with this code:
>
> on mouseUp
> close this stack
> stop playing videoClip "my movie"
> end mouseUp
>
>
> The problem is: the stack is closed but the video still play (you can
> here it)
>
> I don't know any other command to stop the video. Please help. Thank
> you
use reverse order and the correct syntax for you commands,
that should do the trick :-)
on mouseUp
play stop vc
close this stack
end mouseUp
vc = short for videoclip
No need to specify the name of the clip, since only one clip can be
playing
at a time...
----------------------------
Thank you it works
-------------------------------------
More information about the use-livecode
mailing list