I had put a sound in a pdf file (acrobat 8). It starts playing when the first page opens (in page properties).
I have a button to Pause playing and another one for Resume.
But what I need is only one button that works like a toggle: if the music is playing and you click it with the mouse it pauses the music. If the music is paused and you click the button it resumes playing.
I have been trying but I am not able to do a java script that works.
Can anyone help me, please?
I am desperate and i really need this piece of code.