my web pages to send information to a Flash movie. One thing I'm
stumbling on however is how to specify which sound clip to play. I
have a two layers on my timeline, one with sound A and the other
to mute one or play the other, or whatever works to get one to play
and not the other.
you have very limited control over sound that's attached to a
timeline. you could work around that by attaching your sounds to
two different movieclips, but you would do better to use the
actionscript sound class to control your sounds.
in the flash help file check actionscript 2.0 language
reference and check the sound class. you just need to create a
sound object and read about the attachSound() and start() methods.
you can then use an if-statement to determine with sound to
attach to your sound object and solve your problem.