V-go
05-26-2003, 11:30 PM
Hey guys,
My pause button doesn't work. I know this issue have been discussed earlier but these threads do not resolve my problem.
I have a sound loaded. It plays fine.
Then I have a button with this code in it:
on (release)
{
_root.mySound.stop();
}
yep. the sound stops. very nice.
I have another button with this code:
on (release)
{
_root.mySound.start();
}
Now this doesn't work. No sound starts playing.
I don't do anything between stopping the sound and starting it again. As I understand, the start command should start to play the sound from it's beginning if no other parameter is used. Why doesn't it work? I will put in a position variable there as soon as the startbutton starts working in order to make a proper pause button.
I'm using a streamed mp3 from an external file. I have other buttons that skip songs and so on and these work fine. It's just the simple start button that bugs me.
My pause button doesn't work. I know this issue have been discussed earlier but these threads do not resolve my problem.
I have a sound loaded. It plays fine.
Then I have a button with this code in it:
on (release)
{
_root.mySound.stop();
}
yep. the sound stops. very nice.
I have another button with this code:
on (release)
{
_root.mySound.start();
}
Now this doesn't work. No sound starts playing.
I don't do anything between stopping the sound and starting it again. As I understand, the start command should start to play the sound from it's beginning if no other parameter is used. Why doesn't it work? I will put in a position variable there as soon as the startbutton starts working in order to make a proper pause button.
I'm using a streamed mp3 from an external file. I have other buttons that skip songs and so on and these work fine. It's just the simple start button that bugs me.