looping

how reproduce 2 linked videos

pagina223's picture

hi,

I'm trying to do an interactive installation consisting of two linked videos. The idea is that the video 1 is played in a loop until someone interacts with space (enter the room for example). when the person is detected, the video 1 is played to the end (to not jump frames noticeable), and passes to play the video2. when the output is detected, the video 2 runs to the end and playing the video1 again. I've been testing using patches mouse (to simulate detection), image (they are animated gifs), structure index member (to know which frame is playing) a conditional (which determines the frame in which occurs the change), and a logic (AND, indicating that if the mouse and conditional equals 1 the action is executed).

This way I get that when an action is detected (in this case the interaction of the mouse), the animation runs even to the frame and play the animation 2. The problem that I have is that the conditional gives the signal only 1 at a time match the frame, and then returns to video 1 without waiting to reach the final or to be re-interaction by mouse (or user).

can anyone help me for the video 2 is hold until the next mouse interaction?...

thank you!!

jordi