A simple question : Next and Previous buttons for movies ?

Apr 17, 2012 at 11:40am

A simple question : Next and Previous buttons for movies ?

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’

#62991
Apr 17, 2012 at 12:01pm

You could do something like this.

-chris

– Pasted Max Patch, click to expand. –
#227348
Apr 17, 2012 at 12:02pm

This is more commented ;)

-chris

– Pasted Max Patch, click to expand. –
#227349
Apr 17, 2012 at 12:58pm

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’

#227350
Apr 17, 2012 at 2:34pm

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

: )

#227351
Apr 17, 2012 at 2:47pm

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

#227352
Apr 17, 2012 at 5:33pm

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

: )

#227353

You must be logged in to reply to this topic.