;

PDA

Click to See Complete Forum and Search --> : Sound files


malgosia
08-02-2007, 12:36 PM
Hi,

Is there any way of pausing an mp3 file and restarting it again. I know I can stop it but after restart it will always go to the beginning.

thank you for your help

3DH
08-02-2007, 06:30 PM
Try make somethings width this code:
mySound = element ("applause")
mySound.stop();
element ("Pause and Play").onRelease = function() {
if (!pause_bol) {
pause_point = mySound.position / 1000;
mySound.stop();
pause_bol = true;
} else {
mySound.start(pause_point);
pause_bol = false;
}
};