newbie video player questions
d
nieuwsgroeps at wanadoo.nl
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
Revolution.
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
works.
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://
eddied.nu/html/welkom.html )
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?
regards
eddie
More information about the use-livecode
mailing list