How to load a movie into jit.qt.movie with a message?

Jun 21, 2009 at 6:18am

How to load a movie into jit.qt.movie with a message?

I’m trying to load a movie into a jit.qt.movie without any file browser dialog, and without hard coding the movie file into the patch. For example, I’d like to have a message that contains only:

flick.mov

When I send that message, I’d like that movie to begin playing in my jit.qt.movie.

I know I can achieve this with “read flick.mov”, but the path to the movie changes so I’d like to do this with a simple message.

I tried feeding the message into the read object, but that spawns a file browser dialog.

#44472
Jun 21, 2009 at 6:56am

Nevermind, solved it. I have no idea what I was doing wrong before, but I could swear a message like “read d:/flick.mov” was spawning a file browser dialog. Working just fine now.

I think I may have been trying to send the “read” message a message containing “d:/flick.mov”. Live and learn.

#159930
Jun 21, 2009 at 1:56pm

prepend read

#159931

You must be logged in to reply to this topic.