Mute sound on timeline

We have a movie clip containing a set of sound files.  All sound is on the timeline.   We have tried the following, but none works.  Can anyone help?  Thanks!
[ on the frame where the sound starts]
if (deactivate) {
   SoundMixer.stopAll();
or
[ first frame of movie clip]
var sndTransform:SoundTransform = new SoundTransform();
SoundMixer.soundTransform = sndTransform;
[ on the frame where the sound starts ]
if (deactivate) {
    sndTransform.volume = 0;
} else {
    sndTransform.volume = 1;

you movieclip has a soundTransform property you can use:
// if your code is on the parent timeline:
var st:SoundTransform=mc.soundTransform;
if(deactivate){
st.volume=0;
} else {
st.volume=1;
mc.soundTransform=st;
// if your code is on the movieclip's timeline, use "this" instead of mc

Similar Messages

  • Trumpet mute sounds

    I have Jam Pack 4 but find no choices for mutes for the brass section. How would I go about getting the sounds for strsight, cup, and harmon mutes?
    Thank you....

    I don't use too many midi instruments, but I have found that the velocity on horns produce variation of the notes. Try fiddling with the velocity. I know on the trumpet that comes with GarageBand, not from a Jam Pack, the high velocity produces a stab then the note slides down. As you lower the velocity, the slide down goes away and the note becomes more staccato. IF there's a mute sound in there, my "guess" would be it is in a lower velocity setting. I may be wrong, but that's where I'd start to look for it.

  • How to Mute Sound in Camera

    Hi I am using camera class to show atteched camera output in
    swf file.
    I dont need sound to play.
    Can any one help me to MUTE sound comming from microphone.
    Thanks
    Shikhar

    11-Sep-2008 10:13 AM
    sarawirda wrote:
    Yes, I agree but sometimes in certain situation, i need it to be mute, like when to snap picture in some quite place. I tried off the warning tones but the n82 camera sound still can be heard.
    In that case I'm afraid you're out of luck. Your N82 was obviously intended for a region where the camera must make a noise.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • How to mute sound of screen capture

    I use screen capture on my Nokia X by press Power + Volume down button , I need to disable sound of screen capture 
    Please advise How to mute sound of screen capture.

    No, there is no existing way in your phone to disable sound of screen capture. Even turning on silent mode, does not make sound off.
    A past Nokia X user, now a X user.

  • How to mute sound for app?

    Is there a way to mute sound for one particular app? In windows, you can do this from the volume control. It list each app and you can control volume there. I don't see a way to do this in Windows.
    Particularly in gotomeeting, there isn't any mute available. Safari is the same way.

    Hijack Safai with Audio Hijack Pro
    <http://www.rogueamoeba.com/audiohijackpro/>
    and use the Mute button. You can get by with the free version for just muting.

  • How do I mute sound from internet while playing iTunes?

    Trying to mute sound from internet while playing iTunes... please help.

    What kind of Audio is it? Flash, Quicktime, or other?
    If using Safari, mught try Safari>Preferences>Security & uncheck enable Plug-ins.

  • Lock button doesn't mute sound

    Lock button Works great for lock rotation but not for mute sound.

    Is there any software that can make the switch silence all sounds as a safety percation?  I had my volume all the way down I thought and then all of a sudden sound came on full volume from an app.  I have been waiting for this to happen to me and finally it did.
    It's interesting how different apps tie into the sound, some play music which I guess is registered to system sound and the lock switch will stop it from playing but several (most it seems) that play sounds or iTunes of course doesn't stop the sound which makes me a bit paridoid to have the thing in meetings.  Hardware switches are so much better than software visuals for things like this in IMO.

  • Using iPad 2 - if i use the slide switch to lock rotation, i cannot unlock rotation, unless i use it to mute sounds.  i can't therefore have unmuted sounds and unlocked rotation at the same time??

    using iPad 2 - if i use the slide switch to lock rotation, i cannot unlock rotation, unless i use it to mute sounds.  i can't therefore have unmuted sounds and unlocked rotation at the same time??

    Uh .... Yes you can. You just have to understand how the whole thing works.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

  • Is there a way to automatically mute sound during the night?

    Hello,
    My 77-year old mother doesn't sleep very well and awakes evey time her Mac plays an incoming-email sound. She tries hard to turn off the sound before she goes to bed, but often forgets to do so.
    I wonder if there is a way (apart from sleep or shutdown) that automatically mutes the sound from let's say 23:00 until 08:00. A command, that can be issued from Terminal.app would be fine too, I could run that from cron.
    Kind regards,
    Adam.
    12 PBook G4   Mac OS X (10.4.8)  
    12 PBook G4   Mac OS X (10.4.7)  

    you can do that also with automator workflows, there is an action called "set computer volume", you create two workflows, the firs turn off the volume, the second turn it on. Then you can schedule them with cronnix.
    hope this post can help you.

  • Will there be an option to mute sounds in tabs inividually in Firefox?

    Dear Sir/Madam,
    If I'm searching for stuff, I like to open multiple pages in a new tab by clicking on it with the middle-mouse-button.
    Sometimes, the page loads sounds while doing this. In turn I have to search in what tab the sound is played, which can be quite annoying.
    There is a way to say that Firefox won't start flash-programs, but this is quite annoying and doesn't always solve the problem.
    In another browser that I had to use but don't like, tabs show an icon so that you can see which tab has sound, but so far I haven't found any way to make this happen in Firefox.
    Will there be an option to at least see which tab has sound in future updates? And if so, will it be possible to mute said tabs?
    Hope to hear from you soon.
    Kind Regards,
    Lex van de Wiel

    I looked into this a couple months ago and concluded at that time: Based on information in the bug tracking database, when a plugin (Flash, QuickTime, Silverlight) is playing audio, it is difficult for Firefox to detect that and difficult to track down to a particular tab.
    Hopefully this will be possible in the future. Or maybe someone has created a new add-on.

  • Dynamic Sound vs Timeline

    Howdy all,
    We have a project which involves creating numerous
    presentation based SWFs. These SWFs are loaded into a Flex based
    player. In order to have the audio respond to the stop() command, I
    have extended the document class (MovieClip) and added a
    soundManager object that loads audio from the library.
    Here's the rub. They time the frames to the audio on the
    timeline, then remove the timeline audio and use the actionscript
    calls to load the sounds. The timeline SWFs run fine and in sync.
    However, the dynamically loaded ones grow further and further out
    of sync the longer the timeline (the audio gets AHEAD of the
    frames).
    The only thing I can think of is that for some reason, when
    they are using my document class, it is using a different (slower)
    framerate? But I haven't manually changed that. Any ideas?
    JJ

    If this is still a problem, be sure to make sure that you've granted the app microphone permissions, which started being required in iOS 7. Otherwise, recorded audio will sound like a "chipmunk" voice when played back.

  • No sound in Timeline (only)

    I just got a new copy of FCP X from the Apple Store. My clips sound good in the event library but not when transferred to the Timeline, eventhough I see the sound track, which is strange.

    I have narrow down the issue to my Logitech microphone/headphone set. If I start the application with the internal microphone and speakers set up, the problem dissapears. Unfortunately, I need to use the headphones, as I share my office space. I have set up my Logitech headset in the systems preferences, but I cannot anything from which to choose my sound preferences from within FCP X.
    Thanks for the help.

  • How to quickly mute sound?

    Since the iPad doesn't have a button to shut off sound, what is the quickest way to mute it?

    No, it's hardwired. It was a good decision, though, I feel because locking the screen orientation easily is mighty useful in the iPad. Wish the iPhone could do it. The compensation for the dedicated mute switch works almost as well, I think. After less than a second of holding down the volume toggle in the lower volume direction, the thing mutes. Almost the same as clicking the iPhone's mute button, no? I also find the iPad's volume toggle switch is easier to use than the iPhone's.

  • No Sound From Timeline

    I upgraded to the 2014 version and now my sound does not play back from the timeline. I can see a waveform, but nothing plays back and there is no level showing in the meter.
    [Please choose only a short description for the thread title.]
    Message was edited by: Jim Simon

    Check your audio outputs are mapped correctly. Edit > Preferences > Audio Hardware.

  • No sound on timeline

    Have used Final Cut for many years--however, just re-installed. Now I cannot get any audio on the timeline. When I log & Capture, I can listen to the audio directly from the clip that has been captured and sound is great. As soon as I save it or drag it to the timeline, no audio.
    All audio beyond the timeline works great in any program. I can see the audio/peaks and the equalizer appears to have audio, but no sound is coming out!
    I have checked all the Final Cut settings that I know of.

    Make sure your VIEW External Video is set to ALL FRAMES...
    But more importantly - make sure your audio is following your video correctly. Down there at the bottom of the VIEW menu... either set Audio to FOLLOW VIDEO (which, if you have your deck hooked up will go to the deck) or keep it INTERNAL... which - if you are monitoring your video on an external monitor you will have latency issues.
    So - if indeed you want it to follow video AND you are monitoring your video externally (via the deck) make sure your speakers are hooked up thru the deck. I use a little mixing board (ok, actually an old tuner) to control which audio source is being set to the speakers... the Deck is hooked up to AUX and the computer is hooked up to CD - then I just switch between the two on the tuner.
    CaptM

Maybe you are looking for

  • Labview crashes every time I click on a broken arrow (vi has errors).

    I just upgraded Labview from 7 to 8.5.1 a few weeks ago.  Now, when I press the broken arrow to check the errors in a vi, Labview crashes.  This is a vi that was developed using the state diagram toolbox under Labview 7.  I now have the state chart t

  • AUTH TLS ftp client?

    I've made my pure-ftpd work properly (with a virtual user database and ssl/tls), but I haven't been able to find any proper ftp client for the unix platform the most important thing is AUTH TLS support! a gtk2 interface would be nice, but it's not ma

  • Accessing GOS Functionality

    Could you please give me a code sample for how to use the following GOS methods?: 1)  CL_GOS_ATTACHMENT_QUERY -- should return a count of attachments, notes, etc for an object 2)  GOS_ATTACHMENT_LIST_POPUP -- popup the Attachment List Window (I think

  • Multi language, how to approach this?

    Hi everyone, I have a website on which I want to offer multi language, but no idea what is the best way to do this. There 2 plans I have: 1: Of course all content (text) is in a database. If a user would want a different language, the user would clic

  • Migration SQL To Oracle

    Hi all, I want to migrate the data from sql server to Oracle 9i in windows Xp. Kinldy any one tell me correct method, i want to transfer the data by using the SQL Script, kindly send the script its urgent Regrads S.Senthil Kumar