attribute vs message, looppoints in jit.qt.movie

Aug 30, 2010 at 11:30am

attribute vs message, looppoints in jit.qt.movie

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. –
#52049
Aug 30, 2010 at 6:46pm

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

-Ben

#186933
Aug 31, 2010 at 3:21pm

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

#186934
Aug 31, 2010 at 7:25pm

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

#186935
Aug 31, 2010 at 8:06pm

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

#186936
Aug 31, 2010 at 8:16pm

OK Ben, thanks for clearing that up!

#186937

You must be logged in to reply to this topic.