At 4:02 AM -0500 2/27/03, you wrote:
I find it hard to believe that there's no simple way to find out what member is currently playing in sound(1), so I must be missing something. Wasn't there some sound queue function with the words "next" and "previous" in its name? Or am I thinking of some other language?

sound().member works if sound().status is = to 3 (playing) or 4 (paused)


I know I can examine sound(1).getPlayList(), but the current sound member disappears from the play list the moment it starts playing. Short of monitoring the queue and keeping a duplicate stack, I can't find any way to do this. Since I want to monitor the currently playing member in exitFrame, I especially hate doing anything cumbersome there.

Correct - the queue (the playlist) is useless for the current sound.


Is exitFrame often enough, or are your sounds short?

Having a handler that compares a copy of the queue to the real one & determines when a sound has been popped off the real one is not too bad.

hth
-Buzz
[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