A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: How do I stop one sound & allow others to continue

  1. #1
    Senior Member
    Join Date
    Sep 2001
    Posts
    299
    Hi and thanks for your time....

    How do I stop one sound on a layer and allow other sounds on different layers in my movie to continue.
    I can only find a stop all sounds tag?

  2. #2
    Senior Member GMF ™'s Avatar
    Join Date
    Feb 2000
    Location
    Oslo, Norway
    Posts
    5,697
    Use movieclips and add this to a button

    setProperty ("soundclip1", _visible, "0");


    value 0 is no sound 100 is power on , try it.

    or http://www.gmf.as/downloads (volume in levels)

  3. #3
    Registered User
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    GMF, I was never able to get the _visible trick to work with stopping sounds inside mc. Do you have a working example?

    Pippin,
    you can use the stop sync sound option to stop an individual sound. Use the same sound but set to stop sync. The desired sound stops when the playhead reaches a frame containing a stop sync sound.

    in order to get interactive control over sound, each sound must be in its own movie clip. so if you want interactive control you need to move sounds out of layers all in one timeline and put them in individual movie clips.

    each clip has one frame for actual sound and another for the corresponding stop sync sound. Move the playhead to one frame to play and the other to stop.

  4. #4
    Senior Member GMF ™'s Avatar
    Join Date
    Feb 2000
    Location
    Oslo, Norway
    Posts
    5,697
    Hayden, no . I think I saw a post from you over at WH about this. Thought it worked I have had sucess with Object and a movieclip inside, the sound muted in the clip but there were som errors with the object. will look some more into it. This should be new option in Flash 6 I hope.

  5. #5
    Senior Member
    Join Date
    Sep 2001
    Posts
    299

    Angry Thanks heaps

    Thanks very much for all the help here guys

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