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

jazz's icon

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!

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

yaniki's icon

Try "@autostart 0" ;-)

jazz's icon

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!