# Controlling non-streamed sound within SWFs from HTML

**URL:** <https://forum.kirupa.com/t/controlling-non-streamed-sound-within-swfs-from-html/772>\
**Category:** flash\
**Created:** [July 29, 2002, 4:48pm UTC](https://forum.kirupa.com/t/controlling-non-streamed-sound-within-swfs-from-html/772 "2002-07-29T16:48:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnLawton](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/johnlawton/32/42_2.png) [@JohnLawton](https://forum.kirupa.com/u/JohnLawton)\
**Post date:** [July 29, 2002, 4:48pm UTC](https://forum.kirupa.com/t/controlling-non-streamed-sound-within-swfs-from-html/772/1 "2002-07-29T16:48:17Z")

</div>

Hi

I have a bunch of SWFs. Each plays an MP3. The MP3 sounds are not streamed, they appear as events on the first frame.

I want to be able to control the playback of these SWFs directly from HTML.

I.e., I need to be able to pause, rewind to start, and play.

I have managed to make this work using the standard DreamWeaver behaviours when the sound is streamed within the SWF - see: [http://www.harlequinsolutions.com/sandpit/count.htm](http://www.harlequinsolutions.com/sandpit/count.htm)

However, if the sound file is imported into the movie and played on the first frame as an event, the controls don’t allow pause and resume to work properly. It pauses and resumes the playback of the images etc, but the sound has already started, so can’t be stopped, and more importantly, can’t be resumed from half-way through.

I’m sure this is somthing that has been answered many times before…but I’m fairly new around here and the search results haven’t shown much up.

Any help very much appreciated.

Cheers

John 🙂
