Volume slider collides with mute button

_root.createEmptyMovieClip("vsound",_root.getNextHighestDepth())
vSound.attachAudio(ns);
var so:Sound = new Sound(vSound);
mainBar.volSlider.drag.onEnterFrame = function ()
    so.setVolume(-50 - this._x);
    vol = _root.volSlider.drag._x + 50;
    volAt = Math.round (vol);
mainBar.volSlider.drag.onRelease = function()
    stopDrag();
mainBar.volSlider.drag.onReleaseOutside = function()
    stopDrag();
mainBar.volSlider.drag.onPress = function()
    startDrag(this, false, -50, this._y, 49, this._y);
mainBar.muteBut.onRollOver = function()
    if(so.getVolume() <= 100)
        this.gotoAndStop("onOver");
    else
        this.gotoAndStop("muteOver");
mainBar.muteBut.onRollOut = function()
    if(so.getVolume() <= 100)
        this.gotoAndStop("on");
    else
        this.gotoAndStop("mute");
mainBar.muteBut.onRelease = function()
    if(so.getVolume() <= 100)
        so.setVolume(0);
        this.gotoAndStop("muteOver");
    else
        so.setVolume(100);
        this.gotoAndStop("onOver");
Before i had the volume slider, the mute button was fine. but now, it doesn't work anymore.
anyone?

What is the following code doing:
mainBar.volSlider.drag.onEnterFrame = function ()
    so.setVolume(-50 - this._x);
    vol = _root.volSlider.drag._x + 50;
    volAt = Math.round (vol);
I ask because onEnterFrame code will continuously execute, and it may be the case that it is resetting any mute action taken as fast as it happens.  It may also be inhibiting your volume control from being a volume control.

Similar Messages

  • I can't get the volume to work when I watch a you tube video, there's no volume slide under the play button, and my volume control on my I pad won't do anything either, but the volume of all my alarms and sounds works perfect, what can I do??

    I can't get the volume to work when I watch a you tube video, there's no volume slide under the play button and my volume control on my I pad don't do anything to help, but yet my volume works perfect on everything else, what can I do???

    do u have your ipad doing airplay because that could happen

  • Problem with mute button

    my daughter's iphone 3 is experiencing problems moving (on its own accord) from loud to silent and vibrating - with the bell symbol being displyed...I am guessing this is a button problem (button top left side). It is out of warranty with Apple. I note there are apple repair services with 24 hour turnaround, but by daughter feels that Apple will replace the phone for around £120....any similar problems out there and subsequent advice would be appreciated? Thanks

    The switch is broken. It happens. It's one of the few moving parts. Sometimes they fail.

  • Slide effect with two button

    Hello.
    Sorry for my bad English.
    There is a 'div'. I want the following: it slides from 0% to 100% when I press Button1 and it slides from 100% to 0%  when I press Button2.
    So I write the following:
    <script>
        function fun_on() {
                var effect_on = new Spry.Effect.Slide('id1', {duration:1000, from:'0%', to:'100%', toggle:false});
                effect_on.start();
            function fun_off() {
                var effect_off = new Spry.Effect.Slide('id1', {duration:1000, from:'100%', to:'0%', toggle:false});
                effect_off.start();
    </script>
    <button onclick="fun_on()">ON</button>
    <button onclick="fun_off()">OFF</button>
    <div id='id1' style="visibility: hidden;">
         <div>Test Test Test Test Test</div>
    </div>
    But it doesn't work: when I press button "ON" and then button "OFF" it works wrong - 'div' slids down, then slids up and that's all - if I press any button 'div' doesn't appear.
    How can I reach my goal?
    Thank you very much!

    Try
    <!DOCTYPE HTML>
    <html>
    <head>
    <title>Untitled Document</title>
    </head>
    <body>
    <button onClick="Slide('id1', 1000, '0%', '100%', false)">ON</button>
    <button onClick="Slide('id1', 1000, '100%', '0%', false)">OFF</button>
    <div id='id1' style="visibility:hidden">
      <div>Test Test Test Test Test</div>
    </div>
    <script src="SpryAssets/SpryEffects.js"></script>
    <script>
    function Slide(targetElement, duration, from, to, toggle) {
        Spry.Effect.DoSlide(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
    </script>
    </body>
    </html>
    Gramps

  • Problems with mute button in ios 6.0.1

    since my update to ios 6.0.1 i have problems with iphone 4
    he jumps automaticaly to mute and back to sound and again and again.
    are there other people with the same issue
    or anybody that now a solution for this.

    When you update to 6.0.1.. you remember if you update or restore and take your backup?
    Because I've see that many many times if anyone take his backup of iOS 5.x to iOS 6.x has a problem!!
    Try to restore and start your device to a new device, without backup!

  • Backlight Keypad Issue with Mute button

    The only way to turn on the keypad is in the TEST of Hardware, if you go to the Next Step it turns off again.
    What I did was Turning on the Backlight Keypad in Test and then pressed CHANGE APLICATION (Something Like that I have it in Spanish) and then the Lights Keep up all the time. But if I go to the Music Player and I use "MUTE KEY" the Backlight Keypad turns off. (ONLY WHEN I PRESS MUTE ON THE MUSIC PLAYER)
    I beg for a help, i've lost many days on these, got no life right now 
    Model 8520
    Ok, discover too that going to Music Player and Pressing PLAY with the Trackpad tbacklights auto turns off too
    Tried removing batterys, manual ressetting, autoretroilu on/off, everything
    I realize that  (PAUSE/UNPAUSE) Music Player turn off the **bleep** backlight! WHY? 

    UP

  • ThinkPad Hotkey Features Integration 3.89.0000 On Screen Display and Mute Button Fail

    I am installing updates on a T400 system running WIndows 7 Pro 64-bit.
    The system has been freshly factory restored and all features work properly...
    After running System Restore to update to the latest drivers and recommended software, I find Thinkpad Hotkey Features Integration 3.89.0000 breaks features.
    I am able to use Hotkeys to change brightness up/down, Fn+F5, Fn+F6, etc. The volume up and down keys work to change volume. The mute button does not work at all! There is no On Screen Display to show the adjustment settings for any Hotkeys.
    I have found that installing the older 3.88.0000 (8jvu40ww.exe) version of ThinkPad Hotkey Features Integration works successfully with mute button functionality as well as the On Screen Display features.
    Comparing what is different between the 3.89.0000 and 3.88.0000 versions, I find On Screen Display version and Full Screen Magnifier have advanced. The version information table at the bottom of the software download page is inconsistent compared to what is actually reported from the 3.88.0000 setup.exe:
    Setup shows:
    On Screen Display 6.71.00
    Full Screen Magnifier 2.40
    The table shows:
    On Screen Display 6.72.00
    Full Screen Magnifier 2.41
    The System Interface Driver is 1.05 on all the recent versions.
    With the 3.89.0000 version installed, I cannot uninstall and go back to the older version to get it working. Instead, I have to do a System Restore to a point previous to the newest install... something changes in the new version but I am not yet sure what.
    I have no warranty on this system. Lenovo technical support is unwilling to entertain a conversation about solving this issue with their software unless I purchase a support package. Perhaps someone from Lenovo reads this forum and/or one of the community members has a contact or option so that I may report the issue to those who are responsible for resolving Lenovo software issues. I am hopeful they can solve it in their next release so that I do not have to hide the current version from System Update.
    If anyone has ideas on what causes the latest On Screen Display or Full Screen Magnifier to disable the mute button and prevent On Screen Display from working... I would love to try and solve that problem. Additionally, if you have ideas on what prevents uninstalling and going back to an older version, that would also be helpful as I would not like to rely on System Restore.
    If there is no solution other than to avoid 3.89.0000 it is what I will do and this message will help others so they do not spend hours to confirm the issue is with the 3.89.0000 version rather than suspecting hardware issues.
     trying to figure out the source of the trouble.
    Thank goodness Lenovo offers previous versions in a table at the bottom of the pages so we can try older versions and go back to what works. It is a shame they do not advertise a link or other option to report bugs and issues with Lenovo software/drivers directly.

    This is the roulette you play with updating functions that are already working properly.
    If it's not broken, don't fix it. Do the release notes describe a fix or enhancement that you want? No? Then leave it alone. Hiding updates in Lenovo Update is the easiest solution.  For RChesley, in this case.
    Bob, I realize that you want the function that the update is supposed to deliver, but the update has failed you.  It's like installing version 1.0.0 of software sometimes, with Lenovo Update.  You're never quite sure what you're going to get.  There's tons of posts here that read as though the users are beta testers--installing updates and finding the bugs!  So the developers can go back to the code and try again. 
    I've learned to never be an early adopter here.

  • Mute Button and Volume Slider

    Hey guys, ever since updating to Windows 7, if I have the mute button enabled and I accidently hit the volume slider it unmutes. Is there any way to disable this feature and disable volume changes unless it is unmuted? Thanks for any help. I have a Satellite L505-S6959.

    Hi
    You have a couple of options as I see it please find the steps given below.
    First try system restore on the unit to the date where unit was working fine if this does not work
    Then go to HP website dowload the latest driver for the Finger print and check.
    Update the Bios on the unit.
    If all these steps does not resolve then last option to is to run a recovery please back up all the data on the unit as it will be lost.
    Let us know how it goes!
    *Although I am an HP employee, I am speaking for myself and not for HP.
    *Did my response help with your issue? If so, please give me Kudos by clicking the "Kudos" button. Thanks!
    Regards,
    Manjunath
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • I have an I phone 4 and since I upgrade to the lastest ios  6.1.3 , my volume slider is missing. The sound works when but I can't mute or turn up or turn down the volume. I've tried a hard reset , reboot, blowing air in the dock and earrplug jack. :-(

    I tried almost evrything to restore my volume slider( + & - ). My phone rings, plays music and every other sound but I can't mute or put  the volume up r down with the side buttons.. My volume slider bar is missing. This is only simce I upgraded to iso 6.1.3 .. What's with that?? I figured out how to manually  mute the phone through (General, Accessibitily) by muting the bell for sound and unmuting the bell for silent mode. But what a freaken pain, when you have to take all those extra steps to turn your volume up or down or  mute your Iphone??
    We have no Apple Store here so no luck to bring it in to get looked at.. Please , does anyone out there know what else I coold do???
    Cheers

    Does it work with headphones plugged in?  That is typically the culprit, the device mistakenly believes that a pair of headphones are plugged in.

  • IPad volume doesn't work with 3rd party apps & volume slider gone.

    After even a Slide to Power Off, I'll reboot the iPad and I'll launch, say, The Daily Show app. What I encounter is that there is no volume. The physical volume switch has no affect. The volume slider in the video player has been replaced by the word "iPad..." with the ellipse. If I hit the AirPlay button, instead of seeing the menu options "iPad, AirPort Express, Apple TV," I see "AirPort Express, Apple TV, iPad..." (again, with the ellipse) with the last item selected. Selecting either AirPort Express or Apple TV does not take (and, again there is no sound from the iPad even with "iPad..." selected. The volume slider on the multitask bar is also gone.
    If I go to the native iPad Video app, everything looks and works normally. If I then go, say, to the ABC Player app and launch a video, I get the same thing that I get with the Daily Show app.
    Any ideas?

    You havn't got the old old rotation lock switch 'on' have you ? That mutes notifications now (but not the Apple iPod or Videos app), so may be causing the problems that you're having (as I havn't got those apps I can't check). Rotation lock is now on the taskbar

  • The volume on my iPad 3 has gone. I've checked the mute button, tried restarting, resetting etc and nothing has changed. I can't hear the music, hear any sound from videos. Most times the video stops playing after a seconds. My iPad 3 is only 2 months ol.

    The volume on my iPad 3 has gone. I've checked the mute button, tried restarting, resetting etc and nothing has changed. I can't hear the music, hear any sound from videos. Most times the video stops playing after a seconds. My iPad 3 is only 2 months ol.

    If you have lost all sound and video is freezing on you, that ain't good. Your iPad is two months old so I would not hesitate to contact Apple at all. You are entitled to 90 days of phone support.
    http://www.apple.com/support/ipad/contact/.
    If you want to try a couple of things on your own, try quitting all apps and then reboot the iPad - not so much for the sound issue itself - but more as a general "start all over again" sort of approach. It might help with the video freezes.
    Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar. Reboot the iPad.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    If you use headphones on occasion, you can try plugging and unplugging those as well and see if the sound comes back.
    You could even try restoring the iPad to factory settings and then restore from a backup, but unless there is something totally hosed on the iPad, that should not be necessary with a two month old device - of course assuming that you didn't drop the iPad or do something accidental that could be causing the problems.

  • Hi there. I have a problem with sound on my 4s. When you move the volume slider up, it sounds well. But when I move the volume slider down I will hear barely and unclear sound in my headphone.I tried different headphones but result is same as old one.Help

    Hi there. I have a problem with sound on my 4s. When you move the volume slider up, it sounds well. But when I move the volume slider down I will hear barely and unclear sound in my headphone.I tried different headphones but result is same as old one.Help

    Try A and B
    (A) Restart iPad
    1. Hold down the Sleep/Wake button until the red slider appears.
    2. Drag the slider to turn off iPad.
    3. Turn iPad back on, hold down the Sleep/Wake until the Apple logo appears
    (B) Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • I don't have any volume. When I push the mute button or try to increase the volume up or down nothing happens. The volume shows up as if it were at full volume but no sound. I am so frustrated.

    I need some help with the volume on my macbook pro. I am getting absolutely no sound no matter if I push the volume increase or decrease button. Nothing changes. The volume bar shows up as if it were at full volume but no sound and the mute button doesn't do anything either.
    Please help.

    Go step by step and test.
    1. System Preference > Sound > Output > Internal Speakers
        Highlight  Internal Speakers.
        Make sure that Mute is not enabled.
    2.Plug in and  remove the headphone.
        If you see red light in the headphone port or not, plug the headphone
        in and out of the port 5 or 6 times to flip the microswitch inside.
        Sound output may be stuck in the digital mode.
        Try this even if you don’t see the red light.
    3. Reset PRAM.  http://support.apple.com/kb/PH14222
    4. Reset SMC.     http://support.apple.com/kb/HT3964
        Choose the method for:
        "Resetting SMC on portables with a battery you should not remove on your own".
    5. Applications > Utilities > Audio MIDI Setup
        Audio Devices window
        Side Bar
        Click the Built-in Output.
        Under Mute any of the boxes checked? If so,uncheck it.
    6. System Preferences > Sound> Sound Effects
        Play sound effects through:
       Select "Internal speakers" and then back to "Selected sound output device".

  • Volume missing in system tray, mute buttons not working

    hi, i just reformatted and installed the latest drivers for my Creative Soundblaster Digital 5. (dell) card, and at first everything was fine..
    Now they Icon for sound is missing from the system tray.. My volume dial and mute button no longer work. and yes i have gone in and selected to have it appear in the tray.. that does nothing.
    Also, all other sounds are working except for sounds from web browsers.. and I have all the necessary pluggins installed..
    thanks creative... great products...Message Edited by maluut on 0-0-2006 05:07 PM

    I have a similar problem with my elite pro card and would also like an answer.
    I installed the new drivers and now my volume knob does not work nor can I adjust volume with the remote control. The mute button does work though.
    Also why such an annoyance as to need the original disc in order to make the control panel work in the system tray? shouldn't driver updates be complete?
    Also...what's up with the max volume white noise during the driver install which made my ears ring and nearly blew out my speaker system?

  • Sound Blaster Omni 5.1 - mute speaker and mic with single button push

    Does anyone know if its possible configure the Omni to mute both speakers and the Omni's internal mic with a single button push using the hardware volume/mute button on the Omni. I have a scenario where i need to mute both quickly when a call comes in and its a nuisance having to mute the speakers and mic separately.

    Hi Tony,
    Unfortunately there is no physical button to achieve that. Neither is there a software button to disable both speakers and mic at the same time.
    Regards,
    Colin-CL

Maybe you are looking for