A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: stopping ONE sound

  1. #1
    Member
    Join Date
    Nov 2000
    Posts
    61
    I originally set up my music to "stream" so that when the next sound started streaming it would obviously stop the first one. However, I hate streaming music because of the choppiness. If I therefore want to run the music on "event" or "start," is there a script to tell a _specific_ sound to stop playing at a particular keyframe? Do I nest it in a movie clip and then control the sound by pointing to the instance of the movie clip? Or is there an easier way? And what is the script?

    Thanks so much for your help!
    -Dave

  2. #2
    Member
    Join Date
    Nov 2000
    Posts
    61
    come on folks, I know somebody out there can answer this...

  3. #3
    Member
    Join Date
    Nov 2000
    Posts
    61
    du de do...

  4. #4
    Senior Member
    Join Date
    Nov 2000
    Posts
    168
    hey there,

    honestly i haven't done a lot of work with sound but nesting it in a mc sounds like a good way. just one other suggestion for you, try preloading you sounds so you don't have to deal with the choppiness that you loath.

    Hope this get sthe wheels turning


    dan

  5. #5
    Member
    Join Date
    Nov 2000
    Posts
    61
    precaching the sound actually won't help with the choppiness, because the choppiness in streaming is caused by the sound trying to keep up with frame rate which is dependant on each person's processor. What will help is if I precache the whole mp3 and run it as "start" -- but then I'm back to my issue of not being able to top the specific sound when the next one starts...streaming was the only way I knew how to get that to happen.

    -Dave

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center