I am attempting to use a sound object in D8 for the first time. So
far, what I've done seems to work great. I can build up a playlist
of sounds and they playback beautifully. However, I have a
requirement to change something on the screen whenever a sound
changes. My question is, how can I know when a sound changes?
As a simple example, let's say I build up a play list of sounds "A",
"B", and "C" like this:
sound(1).setPlayList([#member:member("A"), #member:member("B"),
#member:member("C")])
Then to start playing, I issue a:
sound(1).play()
Is there any way for me to know (e.g., get a callback or even
"monitor" the current sound someway) to let me know when "A" has
ended and "B" has started, and then when "B" has ended and "C" has
started?
The only thing I can think of is that I could to build a related list
of timings and monitor it seperately. I could do that, but I don't
want to if I don't have to. Any suggestions?
Irv
--
Lingo / Director / Shockwave development for all occasions.
(Home-made Lingo cooked up fresh every day just for you.)
[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!]