newbie video player questions

d nieuwsgroeps at
Fri Jun 8 06:37:08 EDT 2007

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?

More information about the Use-livecode mailing list