Turn Sound OFF in Javascript or HTML

My client would like the Flash banner I'm using to play audio
only on the home page. Can I shut the sound off in javascrpt or
html (in the object tag properties)? Client does not want a sound
toggle button - simply no sound.
I know I can create a second version of the Flash without
sound - but then users would have to load that file in addition to
the first Flash. I've searched without any luck. Any help would be
much appreciated.
Dave

sprecks1 wrote:
> i forgot to say... I have used the sound on several
clips and wanted to take it
> out of all of them, I've used this variable, which I
think should work rather
> than taking the sound out of a single clip,
>
> var soundControl = new Sound (trains.wav)
> soundControl.setVolume(0)
>
> but I'm not sure how to actually call it, my Action
Scripting is unfortunately
> very minimal, could u please suggest a piece of code
before this to call the
> variable?
>
Oh OK, if you want a global volume control, you give it an
argument of
'_root' and you can store a reference to it in _global so
that you can
access it from anywhere. so, on frame 1 of your flash, do
this:
_global.sound_control = new Sound(_root);
then to mute to volume from wherever you like you call:
_global.sound_control.setVolume(0);
so for example if you had a button called 'mute_btn':
this.mute_btn.onRelease = function()
_global.sound_control.setVolume(0);
MOLOKO
Macromedia Certified Flash MX 2004 Developer
Macromedia Certified Flash MX Developer
::remove _underwear_ to reply::
'There ain't no devil - it's just God when he's drunk' Tom
Waits
GCM/CS/IT/MC d-- S++:- a- C++ U--- P+ L++ !E W+++$ N++ O? K+
w+++$ !O M+
VMS? PS+++ PE- Y PGP+ t+ 5-- X-- R* tv++ b++++ DI++++ D+ G e
h-- r+ y++

Similar Messages

  • Turn Flash Sound OFF in Javascript or HTML

    My client would like the Flash banner I'm using to play audio
    only on the home page. Can I shut the sound off in javascrpt or
    html (in the object tag properties)? Client does not want a sound
    toggle button - simply no sound.
    I know I can create a second version of the Flash without
    sound - but then users would have to load that file in addition to
    the first Flash. I've searched without any luck. Any help would be
    much appreciated.
    Dave

    ZoeShangrila wrote:
    I loaded a recording of a speech [...] But it sounds very echoey
    if you create a New Basic Track, and drop the audio file into that, there will be no added effects
    ZoeShangrila wrote:
    Or, is there another program I should be using to make these simple edits?
    GB will work, but to edit audio the best choice is an Audio Editor:
    http://www.bulletsandbones.com/GB/GBFAQ.html#audioeditors
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Cannot turn sounds off on new version of Scrabble

    I downloaded the latest version of Scrabble from ITunes and I find that I cannot turn sounds off.
    From within the program when I try to do this I'm told I must exit the game, go to settings and then notifications. When I do so I see that sounds are already set off, yet I still hear them when I go back to the game. I have also tried turning them on, and then off again but this does not work either. Finally, I deleted the app, re-downloaded from ITunes with the same results.
    What is worse is that EA has a completely unsatisfactory support policy. Basically, they send me to Apple. I can't even leave an email on their "support" site.
    This is a bug. It must be fixed. I paid for this application, it was working until I "upgraded". Can someone tell me how to get a satisfactory resolution to this problem? I play Scrabble on my IPhone a lot. But these sounds make it unusable.

    Been there, done that.
    Set up account.
    I originally sent them an email which directed me to
    http://support.eamobile.com/applesupport
    This redirects to
    http://support.eamobile.com/app/answers/detail/a_id/2192
    I click "Email Us". (There is no "Contact Us" link as indicated on that page. This leads to a page that forces you to pick a platform and "IPhone" is not among the choices. Nor is "Apple IPhone" nor "AT&T IPhone" nor any other variation I can think of.

  • Turning sound off on camera shutter?

    completely new to Droid here.  I have looked every where for something that will turn the shutter sound off of the camera when taking pictures.  Anyone have a clue?

    I haven't tried it personally, but there is one called Silent Camera. Beware, the reviews are mixed at best. Another one that I found is SilentCam, but this one also has mixed reviews, so no promises on either.
    If you find one you like post back and let us know
    jason

  • Is there a script or something to turn sound off on shutdown

    Unfortunately, more often than not, I forget to lower my sound level after listening to iTunes and I shut down. The next AM at startup the apple tone BLASTS me and probably every neighbor within a 6 block area with a wake up call from Satan's middle earth.
    Is there a script or something that I can use as a shutdown item that will turn the sound off and save all the eardrums in the neighborhood every morning?
    Thanks for any help, ear plugs or direction.

    Thanks Guys! StartupSound was exactly what I wanted. Perfect. It works just great. There is something reassuring about a Mac's startup sound that I couldn't just mute it, so to be able to keep it at a soothing level no matter what the volume is is perfect. Thanks again. P.S. My neighbors thank you, too!

  • Turning Sounds OFF

    Greetings!
    We're building "Talking Applications" in Catalyst, where our clients can click on a section of an application for services to hear an audio description of that part of the application. Easy to do in Catalyst by "Adding a Sound Effect," but I can find no method to TURN OFF the sound after it starts playing. Ideally, I'd like to click once to start the audio, then click a second time to stop it. Like Flash proper has in it's "Code Snippits" (Turn On/Off Audio).
    I thought of having the sounds as video clips, but it always puts up the controller.
    Is this even possible?
    Gus Frederick

    Actually, I am finalizing in FB, as that is the only way to get rid of those damn "http://" strings in my links. And the One-Way trip has been a real pain. I did just now download Burritos and Paninis for lunch, so I'll give it a crack... I'll try the video deal too...
    Thanks,
    Gus Frederick

  • Turn Sound Off

    I am making a small animation in my project that uses the
    sound clip of a train. This clip may be shown many times so it may
    get a little annoying after a wile. To counter this I want to make
    a button that will turn this one sound clip off. I was hoping
    someone could help me with the code for this button? Any help would
    be greatly appreciated.
    I have videos in this project as well so I am just looking to
    turn this one sound clip off rather than all the sound in the
    project

    sprecks1 wrote:
    > i forgot to say... I have used the sound on several
    clips and wanted to take it
    > out of all of them, I've used this variable, which I
    think should work rather
    > than taking the sound out of a single clip,
    >
    > var soundControl = new Sound (trains.wav)
    > soundControl.setVolume(0)
    >
    > but I'm not sure how to actually call it, my Action
    Scripting is unfortunately
    > very minimal, could u please suggest a piece of code
    before this to call the
    > variable?
    >
    Oh OK, if you want a global volume control, you give it an
    argument of
    '_root' and you can store a reference to it in _global so
    that you can
    access it from anywhere. so, on frame 1 of your flash, do
    this:
    _global.sound_control = new Sound(_root);
    then to mute to volume from wherever you like you call:
    _global.sound_control.setVolume(0);
    so for example if you had a button called 'mute_btn':
    this.mute_btn.onRelease = function()
    _global.sound_control.setVolume(0);
    MOLOKO
    Macromedia Certified Flash MX 2004 Developer
    Macromedia Certified Flash MX Developer
    ::remove _underwear_ to reply::
    'There ain't no devil - it's just God when he's drunk' Tom
    Waits
    GCM/CS/IT/MC d-- S++:- a- C++ U--- P+ L++ !E W+++$ N++ O? K+
    w+++$ !O M+
    VMS? PS+++ PE- Y PGP+ t+ 5-- X-- R* tv++ b++++ DI++++ D+ G e
    h-- r+ y++

  • IPhone Calendar Events ALWAYS have sound even when event on the Mac does not.  How do I turn sound OFF on these events?

    I make a new event, I set the Alert = Message (NOT "message with sound").  When event happens on the iMac there is no sound.  Same event, syched to the iPhone, has sound.
    I have deleted events, recreated, synched.  Absolutly certain Alert is "message only."  No change in behavior.
    I have checked all preferences. iCal is set to automatically add an alert but I make sure I add the alert myself without sound.
    I just found the iPhone settings/sounds/calendar.alerts and I set this to "vibrate only."  I assume this will shut off the sound on ALL calendar alerts.  That's not really what I want to do (I want sound on some events, just not on every event) but if that's the only option available I'll take it.
    Can I get the iPhone to do what I tell it to do instead of overriding my settings?

    If it is not in Airplane mode then look here:
    http://support.apple.com/kb/TS1692

  • Nokia 5800 - can you turn sound OFF buttons ?

    ...is there any way to turn off the beeb when pressing the GREEN, WHITE and RED 'hard' buttons at the bottom of the phone.... ?

    Yes, the setting is in your current profile.
    Menu > Settings > Personal > Profiles > Selected your current profile, for example general > Personalise > Key tones - Set to off

  • Would like to turn sound off

    can't figure out how with the sound icon in windows 7.
    Is there no plain vanilla user guide for the new HP Pavilions? there were none on the HP site for my model.
    Thanks.

    how it works really depend on tv and reciever
    but first thing I would try would be as you say try the optical cable
    thats what I do but my hdmi goes directly to the tv
    and my appletv is 1g

  • Clunk sound every 30 secs or so, how Do I turn this off?

    I have a new MBP and it's driving me crazy. It makes this thunk/clunk sound every 20 to 30 seconds or so. It's not loud, but is very annoying at night, when everything is quiet (except my new wonderful computer). It sounds like a low xylophone tap. I opened sounds to try and identify the sound. After listening to all the alert sounds, this sound is not there. any ideas what might be causing it? and how can I turn it off?
    thanks so much!!!!!
    mbp 15" 2.16GHz, G3 blueberry iBook, white 2GB nano   Mac OS X (10.4.7)  

    Mine does that as well (when the machine is idling). But since my tibook used to do that as well (and many laptops from other brands), i never saw it as something out of the ordinary.
    Does your MBP do that often, or maybe even when the drive is not idle? If so, it could be related to Sudden Motion Sensor.
    You could try disabling it temporarily to see if that changes anything. The instructions are here:
    http://docs.info.apple.com/article.html?artnum=300724
    Also, you can try ticking off the "Put the hard drive(s) to sleep" option in Energy Saver (in Preferences) although i doubt it will change anything.

  • My iPod touch has no sound when I play music or use the iPod touch at all.  Yes, the volume in the "sounds" is all the way up.  It has not been dropped or gotten wet.  I turned it off and on.  now what?

    My ipod touch (4th generation) has no sound.  I have turned it off and on.....I have the volume up in the "sounds" area.  When I push the side volume button, there is no image that appears in the screen that shows that I am either raising or lowering the volume.  Do I need to just rest the ipod touch as a new device? Or is there someting else I can try?

    And, now when I do press the side volume buttons, the image appears but with the words' "sound effects."  what does that mean?

  • TS1631 On an off for the last week or so I have had same problem with my iPhone 4. No sound or no bars show up when trying to increase the volume. I've had it for 14 months and no problem.  I've tried all the little tips re turning it off and also holding

    Sound on my iPhone 4S is messed up, tips and suggestions left by others not working any more. At first turning it off for a while worked, when turned it back in the keyboard click would work for a few keystrokes but now not even that.  Had the phone for a bit more than a year, so I know my sound is on and checked all my settings. Posted suggestions from support is not helpful. I guess next step is to take it in for repair? Or is this Apple's way of telling us to upgrade? :(

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.
    FYI, Apple does not repair iPhones.  If basic troubleshooting does not resolve either purchase a new iPhone or take the device to Apple for an Out of Warranty replacement which is $199US for the 4S.

  • How do I turn the camera sound off in iOS 7 on my 4s?

    Hi,
    I just downloaded iOS 7 on my 4s.  Everything is fine, but it now makes a "shutter/camera" sound when I take a picture.  In iOS 6, I could turn that sound off.  I can't seem to find where to do that in settings....
    Can it be turned off?
    Thanks!
    Emily

    Thanks.  That worked.  Weird that their's nothing in settings....
    Have a good one.

  • My macbook pro 15' sound is not working, every time i turn on the internal speakers they just turn back off, and i have already tried putting in my headphones 5 or 6 time

    my macbook pro 15' sound is not working, every time i turn on the internal speakers they just turn back off, and i have already tried putting in my headphones 5 or 6 time

    Hi eleni_georgia,
    Welcome to Apple Support Communities.
    The article linked below provides some additional tips that will help you resolve the audio issue that you described.
    Troubleshooting issues with no audio from built-in speakers on Macs
    http://support.apple.com/kb/TS1574
    Cheers!
    -Jason

Maybe you are looking for

  • Export data in ANSI format using GUI_DOWNLOAD

    Hi, Please find below the issue description. We have a program that exports txt file which inturn is uploaded in a 3rd party system. Before upgrade, we were getting the txt file in ANSI format. (The program uses GUI_DOWNLOAD without any code page and

  • T400 4500mhd video issue

    Hi I have a Lenovo T400 with 4500mhd graphics, 4 GB RAM with Windows 7 x64. When playing video e.g. xvid, it's pixelated and looks generally poor. I've tried the same file on my old T42 and it works fine. I've put the latest BIOS and video drivers fr

  • What's Going On With Adobe's New Upgrade Policy?

    My old system died today, so I quickly finished the new system I was building to get up and running as quickly as possible. I tried to re-install my 2 year old copy of CS5 on the new machine, and see at the licenseing step that I had to have either C

  • Package in a standby database

    Hi, How to know that all objects like sequences and packages in the standby database are updated even if there is a change in the primary database. Is the query ALTER DATABASE OPEN READ ONLY; can query the standby database and do not affect the prima

  • How to make other people image more beautiful

    how to make other people image more beautiful?