Forums > Jitter

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

June 21, 2009 | 6:18 am

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.


June 21, 2009 | 6:56 am

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
June 21, 2009 | 1:56 pm

prepend read


Viewing 3 posts - 1 through 3 (of 3 total)