Having a problem with sound

The basic idea of this script is to start and stop sound using the key I'm ' and the status of the sound in the location 1 (Sound in slot 1 plays all the time), but the script below does not work for some reason unknown to me but

"It works if I use two different pressures, that is to say'm ' and 'n' for the 2 if statements. Is there a problem with using a unique key to perform two different actions in the jargon or did I do something wrong?

on keyDown

If the key = "m" and his (1) .status = 3 then

Sound (1) .pause)

Sound (2) .pause)

Sound (3) .pause)

Sound (4) .pause)

end if

If the key = "m" and his (1) .status = 4 then

Sound (1). Play()

Sound (2). Play()

Sound (3). Play()

Sound (4). Play()

end if

end keyDown

Thanks Graham any help would be appreciated, thanks.

A little change expected to work.

on keyDown

If the key = "m" and his (1) .status = 3 then

Sound (1) .pause)

Sound (2) .pause)

Sound (3) .pause)

Sound (4) .pause)

otherwise if the key = "m" and his (1) .status = 4 then

Sound (1). Play()

Sound (2). Play()

Sound (3). Play()

Sound (4). Play()

end if

end keyDown

Tags: Director

Similar Questions

  • my iphone 6 is not the Japan but still having a problem with his camera shttuer. sound is not being muted when the phone is silent. Help!

    my iphone 6 is not the Japan but still having a problem with his camera shttuer. sound is not being muted when the phone is silent. Help!

    The Japan is by far the only country where the shutter is forced to be on

  • I'm having a problem with a sound used for Norton ccSvcHst.exe process. And perhaps dwm.exe

    I'm having a problem with a sound used for Norton ccSvcHst.exe process. I have all the dates of the last mounted and I roughly 1 000 000 errors page an hour and the hard drive of my computer is crazy with me doing nothing. Norton has been included in the software package supplied with the computer. so I hope that support you. What can I do to calm my computer runs to stop this service... I have also about 500 000 for the service dwm.exe. What could cause this?

    Hi dude, on average

    A. from when what happens?

    B. recent changes made on your computer?

    C. you get any error message?

    First of all, I suggest you to uninstall and reinstall Norton using the Norton Utilities disk and check if the problem persists.

    Second, you may have to perform an auditor of the system files on your computer in order to replace the files corrupted on your computer.

    Open an elevated command prompt. To do this, click Start, click programs, accessories principally made, right-click Guest, and then click Run as administrator. If you are prompted for an administrator password or a confirmation, type the password, or click on allow.

    Type the following command and press ENTER: sfc/scannow

    The sfc/scannow command. analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    Bindu S - Microsoft Support
    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • After 3 years of use of this helmet and having no problems with it, now I can hear the sound in the right ear

    Hello, after 3 years of use of this helmet and having no problems with it, now I can hear the sound in the right ear... what should I do? Help, I don't want to say 'goodbye' to it already... Thank you

    It could be the plug on the computer that is the cause of the problem. Try another helmet or a pair of speakers in it.

    If you hear only on one side, who will tell you that is the question.

    If you hear from both sides, you must obtain a new helmet

    Software will fix either of the foregoing...

  • I'M HAVING A PROBLEM WITH MY OM NOISE AND ACOUSTICS MY PAVILION DV 7 PORTABLE

    I'M EDDIE ST. ROMAIN AND I HAVE a PAVILION DV7 CTO 6100 SERIES NOTEBOOK AND THE PRODUCT NUMBER IS QB648AV AND THE NUMBER of SERIES IS [personal information deleted] AND MY OS IS WINDOWS 7 64 BIT AND I AM HAVING a PROBLEM WITH THE SOUND AND AUDIO I NOTE THAT if I look AT THE VIDEO of NEWS OR I don't HAVE NO SOUND OR AAUDIO IT COME IN AND OUT AND BREAKING AND the AUDIO IS AS STATIC AND THE PICTURE IT START AND STOP AS IT AUTOMATICALLY PAUSE ON IT OWN WITH ON ME NOTHING I NOTICE TOUCH CELA THESE LAST TIME AND I'M ALL EARS ON THIS PROBLEM AND ALL SUPPORT IN WHICH I CAN GET OUT THIER FROME SOMEONE I'M LOST HERE TRYING TO UNDERSTAND THIS POINT IS WHAT THIER MAY BE SOMETHING WRONG WITH MY SYSTEM HERE OR MAY IT HAS SOMETHING TO DO WITH HAVING A DIAL-UP ACCESS BECAUSE IT IS WHAT I HAVE I AM OPEN TO ANY SUGGESTION TO THIER TO HELP ME GET THIS PROBLEM SOLVED ONCE AND FOR ALL AS SOON AS POSSIBLE I LOOK FORWARD TO HEARING FROME SOMEONE IN REGARS ABOUT THIS PLEASE. MR. EDDIE ST. ROMAIN

    Hello

    Please remove the serial number of the position since its considered to be personal information.

    Ru trying to watch the news online, if so, then yes its due to dial-up access.

    For videos (as in watching videos) streaming on the internet, you need a faster internet connection as a connection high speed.

    Try playing videos on the system as in the sample videos folder if it plays very well I suppose that the system should be fine.

  • Problem with sound on sencha app

    Hello everyone, I hope that someone knows this problem.

    I recently posted an application built in sencha: http://appworld.blackberry.com/webstore/content/33239900/?lang=en

    I'm having a problem with the audio function, it seems that the sound crashes the app on some devices. I tested the app on the Blackberry Dev B Alpha and it worked perfectly, but a friend told me that the application crashes on Q10. I use audio to OGG format, the latest firmware for Dev Alpha B and the latest version of sencha.

    I found the audio should be longer than 300ms to play properly. If you use a sound less than 300 ms, then interference sound present and in some cases, she repeated two or three times in the same key.

    I can't reproduce the bug, because I have no Q10, sencha use HTML5 audio tags, so the behavior can be reproduced using the:

    document.getElementById('test').play ();

    Any ideas on this subject?

    Thank you for your time

    Hello, I have solved my problem, I share with you what I found:

    Question

    His cheek twice by pressing the button.

    Difficulty

    Use a sound like 300 milliseconds.

    Question

    His stuttering using tones.

    Difficulty

    Do not use the sine wave tones, use rather rectangular waves.

    Question

    DOMExceptions: DOM Exception 11: an attempt was made to use an object that is not or is no longer, usable. During playback of the sounds.

    Difficulty

    Create a new Audio object each time you want to play a sound. This fix may cause an impact on the performance of the application while playing sounds:

    Audio var = new Audio('path/to/audio.ogg');

    audio. Play();

  • I'm having a problem with the pictures on some pagies partially of fully duplacating other tiles nearby. Only occurs with Firefox.

    I'm having a problem with the photos on some pages partially to duplicate completely other tiles nearby. Only occurs with Firefox. The thumbnails are refreshed when I move the cursor over them, but again distort when you scroll the page. I have a few images, but cannot up-load them on this page of support for some reason any. Maybe I can email you if you need?

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe

    You can check the preferences of network.http. * on the topic: config page and make sure that they have the default value.
    You can restore the default user set prefs ("BOLD") via the context menu.

  • Having a problem with loading in the combustion chamber

    Hello

    I'm having a small problem I could use help with. I'm not really sure what's going on, but I'm having a problem with one of the pages of my site does not when you try to view the page in Firefox. But if I loaded this page in Safari or Chrome, it loads very well.

    Here is the URL of the page to take a look:
    Specific link removed by moderator display ~ J99 < sitename >.com/top-10/top...services/

    No idea why this might be happening or how to fix it? I don't know if it's just my computer, or if others have the same problem.

    Thanks in advance,

    Mike

    There's two of us have confirmed the page will load so I deleted the link to display as it could be construed as advertising.

    P.S. Note only forum content in the resolved threads is now indexed by search engines.

    (Last updated: February 14, 2015 08:45 CEST)

    Solved the locked thread now ~ J99

  • I have an older version of Firefox 3.6.6 I think I'm having a problem with one of the websites that I sign. Is it possible to upgrade to the latest version

    I have an older version of Firefox 3.6.6 I think I'm having a problem with one of the websites that I sign. Is it possible to upgrade to the latest version. Without losing all my favorites and the saved passwords?

    Yes, see this article:

    After:

  • I'm having a problem with the FireFox browser. I have attached two files that describe the problem. I have marked their A &amp; B. A is the way it should lo

    I'm having a problem with the FireFox browser. I have attached two files that describe the problem. I have marked their A & B. A is how it should look like and B what happens once I have, I opened several tabs. I can get it back to normal if I click VIEW, click Customize. When the window customize appears that Firefox returns to its normal state. I have to click on the done button and go back to what I did. I tried to reset FireFox back to the default settings, but that has not fixed the problem.
    It started happening a month. Is there a way I can fix this? Thanks for your help. I don't know how to fix my 2 attachments that shows the problem I'm having.
    [email address removed to protect your privacy and security]

    Try disabling hardware acceleration in Firefox.

  • having display problems with my macbook air, first version of 2015. When I turn on my macbook, after boarding the password, then press on enter three lines (not really they look more like flashes coming from the top of the screen appear) in

    having display problems with my macbook air, first version of 2015. When I turn on my macbook, after boarding the password, then press on enter three lines (not really they look more like flashes coming from the top of the screen appear) in the colors Blue, green and red.

    also when I turn off my laptop just until the display on the top of the screen that is 2 and a half inch thick green line appears and goes about a second.

    help someone?

    Thank you

    Howdy Yaser of zoysia,

    It seems that your screen displays some graphical anomalies when you connect to your user name. I would use these troubleshooting steps in the following article on the resolution of screens:

    Restart your Mac in safe mode to reset the default display resolution.

    If booting safe mode doesn't resolve the problem, reset your Mac NVRAM and SMC to reset the video ports on your Mac to their default values.

    From: get help with graphics issues on external displays connected to your Mac.

    Thank you for using communities of Apple Support.

  • I keep having a problem with this error message. Firefox is already running but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system. I've tried everything.

    I keep having a problem with this error message. Firefox is already running but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system. I tried everything the internet suggested but it continues to wreak havoc... Help, please... John.I cannot give other details that it has become very annoying

    See "hang out":

  • Having a problem with payment or purchase of an online number

    Having a problem with payment or purchase of an online number

    Help me to try to have Skype on my cell phone now, thank you very much

  • Having a problem with my computer I try to restart and get BSOD saying internal error Planner video background

    Original title: Blue Screen of Death (BSOD)

    Hello im having a problem with my computer I try to reboot and I get BSOD saying internal error Planner video background

    Here is my mini dump file:

    https://onedrive.live.com/redir?RESID=60FEBF11B9A3D76! 4807 & authkey =! AGKWUp-ndI0XBgE & ithint = the file % 2cdmp

    and here is my system info:

    https://onedrive.live.com/redir?RESID=60FEBF11B9A3D76! 4810 & authkey =! AFloWJarqiE83QM & ithint = the file % 2cnfo

    im hoping that this will let you know what is wrong or not

    RW

    This phenomenon was linked to your video driver (atikmpag.sys) /DirectX.  I would completely remove the current driver and install the latest driver available.

  • Having a problem with the update of the window. He said that windows could not search for new updates. It's the found error 80245003 code

    Having a problem with the update of the window. He said that windows could not search for new updates. It's the found error 80245003 code

    Take a look at this article as it addresses this error code. Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for