Forums > Jitter

attribute vs message, looppoints in jit.qt.movie

August 30, 2010 | 11:30 am

Maybe I’m being stupid but…

‘looppoints’ is an attribute to qt.movie so I should be able to set it simply with something like:

[jit.qt.movie @loop 1 @looppoints 600 1000]

Instead I have to send it as a message as shown in patch below. Am I missing something or is it not supposed to work like this?

(still on Max 5.1.3 if thats got anything to do with it)

– Pasted Max Patch, click to expand. –

August 30, 2010 | 6:46 pm

Thanks for the report, seems to be an issue with specifying it in the object box. We will take a closer look.

-Ben


August 31, 2010 | 3:21 pm

Ok, so the deal is that you can’t have looppoints before you load a movie.

They are dependent on the timescale and length of the loaded movie, so there is no way to set them in its absence.

-Ben


August 31, 2010 | 7:25 pm

Ahh ok, its a small thing really (couple extra loadbangs), but does that mean its a message rather than an attribute?


August 31, 2010 | 8:06 pm

Not quite, but I understand where you are coming from.

An attribute of an object is a setting or property that tells the object how to do its job. Messages, on the other hand, generally ask the object to take a specific action.

In this case, it doesn’t make any sense to set this particular attribute before certain other things have been specified, as as the looppoints attribute is dependent on them.

Granted, this doesn’t hold true across the board. There are lots of legacy messages that are a lot more like attributes, but this is the general rule. Attributes didn’t really exist until Jitter came around, so the process of attributizing stuff could be considered a little bit of a work in progress.

-Ben


August 31, 2010 | 8:16 pm

OK Ben, thanks for clearing that up!


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