views:

25

answers:

1

Hello.

Scenario: two Quicktime movie inputs, one plays on loop unless user clicks left mouse button, in which case second movie plays until the end, then first movie plays.

Logically I can see it using a conditional. If number = 1, loop movie 1. If mouse click, number = 2, movie 2 plays. At end of play, number = 1, loop movie 1.

What I can't figure out is how to increase a number and have it stick without the left mouse being held down, and how to switch the movie back after the second one plays.

In my head, I'd have it wouldn't matter that the number increases to 2 for an instant, because at that point the conditional will instantly jump to number 2. But after number 2 plays, how do I get movie one to play?

Thanks.

A: 

Try this. You'll need to replace movie paths with the correct files. link text

mndoftea