I haven't tested to see if this is practical or not, but you might be able
to use sound(x).currentTime. CurrentTime gives the time in milliseconds
from the beginning of the sound file. (unlike elapsedTime, which measures
the time since the play() command was given, including skips and loops,
currentTime measures the absolute time of the file). You could continually
test for a low currentTime, indicating that a new file just started playing.
(Assuming you don't need to differentiate between files.)
Charlie Fiskeaux II
The Creative Group
www.cre8tivegroup.com
859/858-9054 x29
cell: 859/312-3883
----- Original Message -----
From: "Michael Nadel" <[EMAIL PROTECTED]>
To: "Buzz Kettles" <[EMAIL PROTECTED]>
Cc: "HandyMan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, June 14, 2001 5:03 AM
Subject: Re: <lingo-l> queued sounds
When a queued list of sounds is playing, I did notice that you can monitor
this: "sound(n).member.membernum"
The question though is, does anyone have any ideas how I could monitor it as
it plays, and get Director to execute a handler each time
"sound(n).member.membernum" changes?
Thanks for any ideas!
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!]