6 Replies Latest reply on Jun 14, 2007 8:53 AM by DigitalElemental

    Stopping a currently playing sound?

      I will try to make this quick and painless and hopefully someone knows a solutions...

      I am making a kiosk based on another designers layout where I work... I am not going to get in the details, but the work seems sort of an unorthadox way of using flash - anyways...

      It is basically an interactive slide show... play, pause, previous slide, next slide...

      Each SWF that is loaded in is around 15000 frames in lenght (right under that magical 16000 number) - the audio voice overs are on the time line one after another... so when the slide changes the voice over matches the slide current slide... there are 31 slide JPGs and 31 mp3 files that are divided between 8 SWFs.

      The issue I am having is that when you are one the first "SWF" (slides 1-5)... and you move from slide 1 to 2 before the audio is done playing... it will keep playing the audio from slide one and then start the audio from slide to ... so on and so forth until you get to slide 6 - which is a new SWF that is loaded...

      I know that I need to use a stop sound script somehow... on the first frame of each of the following slides so that it stops the currently playing sound... if it hasn't already finished...

      if you let the presentation go it works fine... but when you move forward and back... the sound gets garbled....

      can someone please help me rig this to stop the currently playinh sound when you advance to the next slide...

      I know this is a horrible way of doing this... I would have loaded averything in at the begining and called it when needed... but to go into details of why I had to do it this way would be too long... let's just say the client is always right...