Question
Advanced Sounds..
I have some animation where a sound plays on several
dynamically created
objects on my screen.
Here's my sound as:
// ------------ walking
soundWalking:Sound = new Sound(this);
soundWalking.attachSound("walkin");
function walkingSnd() {
soundWalking.start(0,1);
};
function walkingStopSnd() {
soundWalking.stop();
};
// ----------- stand
var soundStand:Sound = new Sound(this);
soundStand.attachSound("stand");
function standingSnd() {
soundStand.start(0,1);
};
Unfortunately, once "walkingStopSnd()" is called anywhere in my
actionscript, all the other sounds for each object stops also..
Any way to get around this?
Thanks
-Bill
objects on my screen.
Here's my sound as:
// ------------ walking
soundWalking:Sound = new Sound(this);
soundWalking.attachSound("walkin");
function walkingSnd() {
soundWalking.start(0,1);
};
function walkingStopSnd() {
soundWalking.stop();
};
// ----------- stand
var soundStand:Sound = new Sound(this);
soundStand.attachSound("stand");
function standingSnd() {
soundStand.start(0,1);
};
Unfortunately, once "walkingStopSnd()" is called anywhere in my
actionscript, all the other sounds for each object stops also..
Any way to get around this?
Thanks
-Bill