A simple question : Next and Previous buttons for movies ?

the_droid's icon

Hello there,

Here's a simple question :
Got a bunch of 10 samples of movies (movie1.mov, movie2.mov, movie3.mov, and so on…).

How can i create a patch that say : With a toggle (or an osc event), play a first random movie (looped), and if the user clicks on a Next button, he's got the next movie playing. If he clicks on a previous button, he's got the previous movie ?

Best
E'

chrisoconnor's icon

You could do something like this.

Max Patch
Copy patch and select New From Clipboard in Max.

-chris

chrisoconnor's icon

This is more commented ;)

Max Patch
Copy patch and select New From Clipboard in Max.

-chris

the_droid's icon

Waoow !
Great Thanks Chris.
You save my life !

Just find weird that Max does not include a previous" and "next" objects.

Thanks again
Best
E'

goingdeaf's icon

It does have the [inc] object though, which could be useful for this I'd imagine!

: )

chrisoconnor's icon

Ooh, I didn't know about about that incdec object, great for UI design.

And I'm guessing the reason why there are no next and previous buttons is because it would be hard to design one to fit everyone's needs, and I guess it's actually easier for people to make their own for the specific needs, (or ask people on the forums ;).

-chris

goingdeaf's icon

Oops. I meant to say [incdec]! Not [inc]. At least you got it!

: )