I’ve successfully implemented (as a test) Kenny Bellew’s Pause Tutorial, which basically stops a dynamically loaded soundObject, notes it’s position, then can re-play from that position.
What I’m having trouble with is the addressing (pathing) for the code, since pressing Pause in my movie should pause any of 12 different sounds spread over 4 loaded swf’s.
The Kenny B-based PAUSE button:
on (press) {
if (pause != true) {
playing = false;
paused = true;
stopped = false;
a00SoundPosition = _root.demoContent.container_mc.alice.a00Sound.position/1000;
_root.demoContent.container_mc.alice.a00Sound.stop("alicePart00sound");
}
}
The Kenny B-based PLAY button:
on (press) {
if (playing != true) {
playing = true;
paused = false;
stopped = false;
_root.demoContent.container_mc.alice.a00Sound.start(a00SoundPosition, 0);
}
_root.demoContent.container_mc.alice.a00Sound.onSoundComplete = function() {
};
}
Can I legally add more than one paths to the button codes?
.