Audio will not start after beeing stoped

Hi

My audio starts to play and it stops but as i shouldt but I cant get the audio to start playing again until i go to the next page. Does any one know what I have to do to make it work?


My logic is like this:

I have a sound variable if the variable is 1 the sound start playing and the stop button shows.If I push the stop sound button the sound variable is set to 0 and the sound is stoped and the play button shows. If I push the play button the variable is set to 1 and the sound is suposed to play but it does not The stop button is visible again.


I have tired adding a action go to current page to refresh it but this does not work. When i go to the next page the sound plays again if i selected play on the previus page.


Any sugestions?

Discussions have been disabled for this post