Temporary picts
Shari
gogypsy at bellsouth.net
Thu Mar 21 13:30:00 EST 2002
It worked!
It worked! It worked! It worked!
YOU ARE A DREAMBOAT!
(big huge happy grin)
Question:
As playstopped will get called when other sounds are played in other
handlers, won't it be calling PlayMySounds other times, too?
Presumably the number in soundCount would prevent anything from
actually happening... but it will be called?
Though I could create a global to trap for that... and depending on
the contents of that global, is what would happen on playStopped...
>global soundCount
>global soundList
>
>on openCard
> put 1 into soundCount
> put "darn you.wav,aaah.wav,goodie.wav,oh yeah.wav,talk to you.wav" into
>soundList
> playmysounds
>end openCard
>
>on playMySounds
> if soundCount <= the number of items of soundList then
> play audioclip (item soundCount of soundList)
> put soundCount + 1 into soundCount
> end if
>end playMySounds
>
>on playstopped
> playMySounds
>end playstopped
>
>
>Good Luck!
>-Glen Yates
--
--Shareware Games for the Mac--
http://www.gypsyware.com
More information about the metacard
mailing list