What I want to achieve is that there is background sound that is playing
continuously ( 2 min) on which I have placed cue points. I want to sync
these points to play different movies. Doing this for static visuals was
easy for me as all the visuals were in the same movie. But to have
different Videos play (total three) I was thinking of using Linked
Director Movies. the first movie launches fine on the cue and the sound
is still playing (I can use sound(4).stop() to stop the sound or fade it
in the message window) But the cue points that existed are not there
anywhere available in the subsequent movies.
Ok, now I understand a little better. My guess is that you're running into some issues with LDM's and cue points. I don't remember exactly what the issues are, but someone will.

I'm still a little confused, though. At one point you say three movies, then you say three videos. Are you trying to synch the startup of a digital video with the cue point, or are you trying to play another Director movie (i.e., another Director file--on Windows, probably with a .dir extension) ? Critical difference.

If you're playing digital videos, I would put an "on cuePointPassed" handler in my code. When you reach the appropriate cue point, stop the video, move the sprite offstage, change the member's file name, start it up, and move it back on stage.

If you're doing Director movies, I'd be more inclined to use a MIAW, perhaps one that would cover the entire main stage. I'm not sure if the cuePointPassed message would then go to the MIAW or the stage--you can experiment with that--but I would close the MIAW and open a new one for the next movie.

If you choose the MIAW route, be careful how you close it. If you're not sure, ask us--it can be tricky, as in *crash*.

If you're simply starting the background sound, then doing a "go to movie" on the first cue point, I'm not sure what will happen with the cue points. I think the audio will keep playing unless you specifically stop it, but I'm not sure. Your chances will be better if you have the same audio file in a linked cast, linked to each movie, but I'm not even sure how that would work.

You could easily extract your cue points and put them in a global variable. That will persist across movies, and you can check the movieTime to know when to synch with the audio (if it's quickTime audio).

No definite answers, but some things to try.

Why have to link the sound as external to different movies ... doesn't that only increase the file size.
Nope--at least, only by a few bytes. That's the advantage of a linked cast. You can share it among movies, and actually save disk space.

Cordially,

Kerry Thompson

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]


Reply via email to