Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Sound button - Mute / On/Off ?

  1. #11
    Join Date
    Dec 2008
    Posts
    24
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Ok, I used this tutorial: http://www.gotoandlearn.com/play?id=8, and I did everything, but there's one difference that I can't seem to figure out what to do with.

    In the tutorial, he's using the button to mute the sound in an flv, whereas I want to use the mute button to mute sound in my swf. The only part I don't get is this:

    _root.createEmptyMovieClip("vSound",_root.getNextHighestDepth())
    vSound.attachAudio(ns);

    var so:Sound = new Sound(vSound);

    But what he's doing there is stripping the sound from the "netstream" (ns) which is coming from the flv...what do I do if my sound is just in the library, and it starts playing on a keyframe on a layer in my flash file?

  2. #12
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    The video I was referring to actually was \. Give it a look and then let me know if you have any questions.

    You may need to watch Part I of the series for background.

Bookmarks

Posting Permissions

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