Help with duration of movie

angelmp's picture

Hi, I need extremely help with my composition. I have 3 movies running on the billboard with mouse interaction to load another movie. I need that the movie loaded with the mouse, plays until its duration and goes automatically to the billboard, where the other three are, is it possible? Thanks in advance!

PreviewAttachmentSize
test.qtz9.97 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

cybero's picture
Re: Help with duration of movie

Conditional patch comes to mind - When First Value - Movie Position equals Second Value - Movie Duration - the initial movie will have ended and the other 3 movie files can begin to play concurrently.

No need to employ the Interaction patch, the Mouse input patch will also report mouse events.

Then again having looked at your compositional construct, it would seem as though you are wanting these three movies to play consecutively and not concurrently.

Is that correct?

angelmp's picture
Re: Help with duration of movie

Thank you for the response! Yes, I want them to play consecutively! I am brand new so I am making some mistakes...

gtoledo3's picture
Re: Help with duration of movie

It's really important that if that premise is used, to check the current position rigorously before the app is deployed to make sure a bug I filed on it long ago has been solved (I believe it was closed, pretty heavily hashed out on the qc dev list).

Basically, in some scenarios, when the movie path changes, the current position of the newly loaded movie may actually start at the last position the former movie was at, instead of clearing to 0. Again, I'm pretty sure this has been fixed, but if I was going to deploy something that uses that premise I would test it really well, and also give the tolerance on the conditional loop an ample value, to make sure it triggers. :-)

angelmp's picture
Re: Help with duration of movie

The result of the conditional patch will link where?

angelmp's picture
Re: Help with duration of movie

Unfortunately I wasn't able to fix it. Can you give me n example?

cybero's picture
Re: Help with duration of movie

The conditional patch would link to the Billboard enable input port.

That said, I think this could do with a better solution than that which I was rather quick to suggest.

I'd quite forgotten about that qc dev list thread regarding the second movie commencing playing at the last position that the former movie was at.

I shall look afresh at this tomorrow.

angelmp's picture
Re: Help with duration of movie

Thank you!