resin
04-29-2012, 08:41 AM
Currently I have a simple play button, which plays a sound when clicked. Each time its clicked it plays that sound again. But what I need is a button that plays the sound on the first click, and then pauses the sound on the second click. And then clicking once more will resume playing the sound where it had left off. I've been searching all over for an answer but not having any luck. I also need the sound to play automatically when the webpage is loaded. This is what I have currently:
<object type="application/x-shockwave-flash" data="/test.swf" width="50" height="50">
<param name="movie" value="/test.swf">
</object>
<object type="application/x-shockwave-flash" data="/test.swf" width="50" height="50">
<param name="movie" value="/test.swf">
</object>