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

wrybread's icon

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.

wrybread's icon

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.

MJ's icon

prepend read