AW: newbie video player questions

Tiemo Hollmann TB toolbook at
Fri Jun 8 07:24:29 EDT 2007

Hi d,
where did you put your scripts? The playstopped message is sent to the
player - and will be forwarded to the card and stack - but not to any button
(I think). So try to put the playstopped handler into the card script.
Remember to    set the currenttime of player "avond" to zero before you

-----Ursprüngliche Nachricht-----
Von: use-revolution-bounces at
[mailto:use-revolution-bounces at] Im Auftrag von d
Gesendet: Freitag, 8. Juni 2007 12:37
An: use-revolution at
Betreff: newbie video player questions

hello all,
for severalweeks I am trying to move my video installations from  
Amiga with Director (yes I know but it worked well up till now but  
the old machine are starting to fall apart) to Mac (mini) using  
I know nothing about programming and very little about scripts.
basically all I need is for a video to start when someone uses a  
button or triggers a sensor and I got that to work for some of the  
but one installation is more difficult I find out.
this one needs to play a short (1 sec.) video, according to time of  
day ( a greeting, taken from television footage) and then randomly  
select a different video and wait for someone to step on the contact  
mat an play the next greeting. (see here for what I mean http:// )
I tried the script below (I didnt even get to the time of day part  
because I don't know how to do that yet)
but after playing the first videoclip it just keeps flipping between  
the next clips. I get a feeling what is wrong but I don't know how to  
fix it. ( I gues it just goes to the 'go next card' part without  
waiting for the play command)

on mouseUp
   start player "avond"
end mouseUp

   on playStopped
       go next card
end playStopped

I tried using peopencard and playpause but that didn't do anything.

can anyone help me here?

use-revolution mailing list
use-revolution at
Please visit this url to subscribe, unsubscribe and manage your subscription

More information about the Use-livecode mailing list