This is what we in finald call a "rautalankav��nnelm�", which means it is
not exactly elegant, but its should work:
Create an object or a moviescript which checks for changes in the members of
all soundchannels
The code below is untested, but it's purpose would be to check for changes
in the status of soundchannel 1.
---***
property Old1Sound
on new me
Old1Sound = sound(1).member.name
return me
end
on stepframe
Cur1sound = sound(1).member.name
if Old1Sound <> Cur1Sound then
-- the sound member playing has changed
-- do whatever you need to do, you can pass the soundmembername to a
case statement etc.
Old1Sound <> Cur1Sound
end if
end
---***
Pekka
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Michael Nadel
> Sent: 14. kes�kuuta 2001 11:56
> To: HandyMan; [EMAIL PROTECTED]
> Subject: <lingo-l> please help!
>
>
> Somebody PLEASE help me. This is the third time I'm posting this question.
> Two nice people already gave me some interesting ideas, but unfortunately
> they both turned out not to work. The question is very simple. Is
> there ANY
> WAY to execute a handler each time a sound plays - in a list of queued
> sounds?
>
> I have 32 sounds queued at once, and I want something to light up
> each time
> one of the 32 sounds begin. How do I know when a sound begins, in a queued
> list of sounds, as it plays?
>
> (I've tried cue-points, but there's a bug with cue-points in
> Director 8, as
> well as Director 8.5 in run-mode).
>
> Help!!
>
> Michael Nadel
> [EMAIL PROTECTED]
> Mediart - Multimedia as an Art Form
>
>
>
>
>
>
>
>
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/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!]
>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]