ronykrell
08-08-2007, 11:39 AM
Hey guys. I'm a starter in flash and I need to make a pause button to some music. I have 3 keyframes. I already have a play button and a stop button (I need to change the stop button to a pause button.
Keyframe 1.
my_sound = new Sound();
my_sound.attachSound("mix1");
my_sound.start(0,1000);
gotoAndStop("stod");
Keyframe 2
stop ()
Keyframe 3
stop ()
Stop Button in Keyframe 3
on (release) {
_root.my_sound.stop();
_root.gotoAndStop("plad");
}
Play Button IN Keyframe 2
on (release) {
_root.my_sound.start(0,1000);
_root.gotoAndStop("stod");
}
thx in advance
Keyframe 1.
my_sound = new Sound();
my_sound.attachSound("mix1");
my_sound.start(0,1000);
gotoAndStop("stod");
Keyframe 2
stop ()
Keyframe 3
stop ()
Stop Button in Keyframe 3
on (release) {
_root.my_sound.stop();
_root.gotoAndStop("plad");
}
Play Button IN Keyframe 2
on (release) {
_root.my_sound.start(0,1000);
_root.gotoAndStop("stod");
}
thx in advance