How to make jit.qt.movie NOT automatically play back after reading

Apr 26, 2013 at 4:49am

How to make jit.qt.movie NOT automatically play back after reading

Right after I read a file into a jit.qt.movie object the file starts to play back automatically. I listen for the “read” message in the “dumpout” outlet and I successfully filter out the correct notification to know when the file finishes reading yet when I try to send a “stop” message to this object, playback doesn’t stop. Manually clicking on the stop message does work though so I’m think my timing is off and I don’t know how to fix it.

Any help will be greatly appreciated.

Cheers!

– Pasted Max Patch, click to expand. –
#67952
Apr 26, 2013 at 7:55am

Try “@autostart 0″ ;-)

#244241
Apr 26, 2013 at 5:30pm

Lovely.

I also realized that adding a “delay 100″ before the bang in my posted patch solves the problem too. The @autostart attribute is much cleaner though.

Thanks!

#244242

You must be logged in to reply to this topic.