Sounds on my Buttons?

I have imported my wav files to my library added them to the down state of my buttons and when I test the file I get
(Sound has no valid device sound path although exporting device sounds was requested in the export settings. This sound will be ignored.)  I have been surching for an answer but as of yet have found none.  Thanks for any help.

click file/publish settings/flash and untick "export device sounds".

Similar Messages

  • On/off sound by a button in flex

    hello everybody, i want to make a website by flex.in that have sound effect. i want when i load page have sound and if i don't want to listen i can click button.the sound will stop play and else. But i don't know how to make on/off sound by a button click
    i done:
    in actionscript file                Sound_playExample1.as: i write code
    package myComponents {
        import flash.display.Graphics;
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import flash.events.ProgressEvent;
        import flash.media.Sound;
        import flash.media.SoundChannel;
        import flash.net.URLRequest;
        public class Sound_playExample1 extends Sprite {
                    private var snd:Sound = new Sound();
            private var channel:SoundChannel = new SoundChannel();
            public function Sound_playExample1() {           
                var req:URLRequest = new URLRequest("myComponents/soundall.mp3");
                snd.load(req);              
                    channel = snd.play(0,6);   
    // ActionScript file
    in my Main.mxml:i write
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:MyComp="myComponents.*"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
        <fx:Script>
            <![CDATA[
                protected function button1_clickHandler(event:MouseEvent):void
                    // TODO Auto-generated method stub
            ]]>
        </fx:Script>
        <fx:Declarations>
             <MyComp:Sound_playExample1/>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:Button x="177" y="71" label="Button" click="button1_clickHandler(event)"/>
    </s:Application>
    can u help me please what i have to do. if you know you can Additional for this code.thanks

    Hi,
    This is complete solution of your issue.Let me know if u find and issue.
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/halo"
                  creationComplete="application1_creationCompleteHandler(event)"
                  >
        <fx:Script>
            <![CDATA[
                import mx.events.FlexEvent;
                private function onClick():void
                    createSound();
                    channel = sound.play();
                private function offClick():void
                    if(channel != null)
                        channel.stop();
                private var sound:Sound;
                private var channel:SoundChannel = new SoundChannel();
                protected function application1_creationCompleteHandler(event:FlexEvent):void
                    isPlaying = false;
                    onOff();
                private function createSound() : void
                    var req:URLRequest = new URLRequest("assets/audio1.mp3");
                    if(channel != null)
                        channel.stop();
                    if(sound != null)
                        sound = null;
                    sound = new Sound();
                    sound.load(req);
                [Bindable]
                private var isPlaying : Boolean;
                protected function onOff():void
                    if(isPlaying == false)
                        onClick();
                        isPlaying = true;
                        return;
                    else
                        offClick();
                        isPlaying = false;
            ]]>
        </fx:Script>
        <s:HGroup>
            <s:Button label="{isPlaying == false? 'ON' : 'OFF'}" click="onOff()"/>
        </s:HGroup>
    </s:Application>
    with Regards,
    Shardul Singh Bartwal

  • On/off sound in a button in flex4

    hello everybody, i want to make a website by flex.in that have sound  effect. i want when i load page have sound and if i don't want to listen  i can click button.the sound will stop play and else. But i don't know  how to make on/off sound by a button click
    i done:
    in actionscript file                Sound_playExample1.as: i write code
    package myComponents {
        import flash.display.Graphics;
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import flash.events.ProgressEvent;
        import flash.media.Sound;
        import flash.media.SoundChannel;
        import flash.net.URLRequest;
        public class Sound_playExample1 extends Sprite {
                    private var snd:Sound = new Sound();
            private var channel:SoundChannel = new SoundChannel();
            public function Sound_playExample1() {           
                var req:URLRequest = new URLRequest("myComponents/soundall.mp3");
                snd.load(req);              
                    channel = snd.play(0,6);   
    // ActionScript file
    in my Main.mxml:i write
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:MyComp="myComponents.*"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
        <fx:Script>
            <![CDATA[
                protected function button1_clickHandler(event:MouseEvent):void
                    // TODO Auto-generated method stub
            ]]>
        </fx:Script>
        <fx:Declarations>
             <MyComp:Sound_playExample1/>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:Button x="177" y="71" label="Button" click="button1_clickHandler(event)"/>
    </s:Application>
    can u help me please what i have to do. if you know you can
    Additional for this code.thanks

    // below code sinppet should go into on button click event handle method.
    if
    (pausePosition==0 ){ if(channel!=null){pausePosition = channel.position;
    channel.stop();
    sound.setStyle("icon",soundOffClass);  // mute
    }else{ 
    if(channel!=null){channel.stop();
    channel = snd.play(pausePosition);
    sound.setStyle("icon",soundOnClass); // un mute , this should be default as
    pausePosition=0;

  • Multiple sounds in one button

    would you kindly give me a suggestion that how to make multiple sounds in a button of a windows form application. actually, being a newb i'm trying to develop a piano application by C# for my own interest. the problem is, when i press one button it plays
    too long & i had to wait until the wav file is finished & after that i had to press another button. what's the code for playing multiple sounds together in one button? u know, then i can play chords too. would you kindly explain or give a code?

    Hi Rinku,
    This is an example for you:
    A Piano Key Control in C#
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Mainstage + NanoPad: how assign sound to every button?

    Hello men!
    I need your help. I use mainstage 2.0.1 with my master keyboard cme m-key AND my new Korg nanoPad. I have created patch sounds in mainstage and I want to assign every sound to one button of my nanopad.
    Example:
    1- Strings
    2- Piano
    3- Choir
    when I press 1 on my nanopad mainstage plays strings, when I press 2 plays piano ecc. I read on internet that I need a learn mode but I can't do that
    Can you help me? I made a workaround assign 2 button to prev and next patch but It is just a workaround I put my nanopad on program change and control change without success.
    Thank you in advance.

    {quote:title=PaoloMactux wrote:} I use mainstage 2.0.1 with my master keyboard cme m-key AND my new Korg nanoPad. I have created patch sounds in mainstage and I want to assign every sound to one button of my nanopad.
    Example:
    1- Strings
    2- Piano
    3- Choir
    when I press 1 on my nanopad mainstage plays strings, when I press 2 plays piano ecc. I read on internet that I need a learn mode but I can't do that
    {quote}
    I think that the Learn you are looking for is in the MS Layout window.
    Click on a button in your layout to select it.
    click on the Learn button in the Inspector frame
    press the button on your hardware three times
    select the next button in the layout
    press the button on your hardware three times/
    Repeat as necessary.

  • How to attach sound to any button?which will continue that sound.

    Hi,
    Am working on Flash cs5.Can anyone tell me how to attach sound to any button?which will play after click on button.this sound should play continue till 2-3 scenes ahead.Am working on project which has 3 button with diffrent sound.and the sound button contains some scene which has volume seter.I mean,if user want to hear that sound in slow,medium or high pitch.the code should set as per this.Its in as 2.
    This site is like "karaoke".just the sound is classical music.It will continue on software and user will sing a song.
    Can anyone help me?At working on this from last 2 months.and its hard for me to get perfect answer.

    Add your sound clip to the library and give it a Linkage ID of "mySoundClip"
    Assume your button is in frame 1.
    GIve your button the instance name of "mySoundBtn". And put this code on frame 1 (timeline).
    stop();
    mySoundBtn.onRelease = function () {
              mySoundC = new Sound(this);
              mySoundC.attachSound("mySoundClip");
              mySoundC.start(0, 10);  //10 represents the number of loops
              gotoAndPlay(2);
    than put this code on the timeline frame where you need the sounsd to stop.
    stopAllSounds();
    Also If you want to be able to play the sound from your local disk without attaching it to the swf, use .loadSound("the url", true);

  • How to add sound to a button state

    I would like to add a simple 1-sec click sound to a button state when activated. Cannot find it in any manual nor here. Help?

    http://www.editorsbin.com/apple/dvdsp/tutorials/audio_feedback/index.html

  • How to add sound to a button in storyboards on xcode Version 4.6.2 (4H1003)?

    i am running xCode Version 4.6.2 (4H1003) on my macbook air with mountain lion.
    i am trying to add sound to a button that is in the scroll view but i cant?
    PLEASE I NEED HELP ASAP!!!

    Have you looked in the Attribute Inspector got the button? You can attach simple sounds to the button there,
    If you need more look at NSSound Class

  • Sound and brightness buttons dont work anymore

    my sound and brightness buttons dont work any more unless I hold down the function button. This happened after I downloaded the new update I think. Is there any key combination that I could have hit that made this happen?

    Go to System Preferences->KeyBoard & Mouse->KeyBoard and make sure "Use the F1-F12 keys to control software featues" is off. It probably got turned on somehow by the update.

  • How to eliminate 'tap' or 'click' sound of a button in CAPTIVATE3?

    I have created a button in my project to proceed to the ne
    xt screen. When i click it, it gives a 'tap'or 'click' sound. Please suggest me procedure to remove it. I have tried removing the same from the setting, but still the problem persists.

    Hi there
    Just a couple of things.
    First, the dialog presented above is from Captivate version 4, not Captivate version 3. The Version 3 dialog is below:
    Click the image below to view at larger size.
    Second, I'll be totally surprised if the suggestion works to solve the issue. I tested on my own Captivate 3 and despite ensuring the aforementioned options are clear, I still hear a clicking sound when clicking buttons. The only way I'm able to achieve no clicking sound is by renaming the actual clicking sound file that is played. The file is named Mouse.mp3 and is found in the following folder on a Windows XP installation:
    C:\Program Files\Adobe\Adobe Captivate 3\Gallery\Mouse\ClickSounds
    I changed from Mouse.mp3 to something like Mouse2.mp3. Published again and the clicking sound is gone.
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Sound On / Of Button

    Hello
    I found this tutorial where they teach you to add a sound on
    of button
    TUTORIAL
    But as you can see there is no ON or OFF button here.. I
    tried adding the symbols On and Off seperatly. But with the action
    script i got a bit mixed up and at one point of the movie both the
    labels are visibile at the same time..
    My
    movie
    sound_btn_on._alpha = 0;
    var mySound:Sound = new Sound();
    mySound.attachSound("myTrack");
    mySound.start();
    var soundStarted:Boolean = true;
    sound_btn_off.onRelease = function() {
    soundStarted = !soundStarted;
    if (soundStarted) {
    this._alpha = 100;
    mySound.start();
    } else {
    this._alpha = 0;
    mySound.stop();
    sound_btn_on._alpha = 100;
    sound_btn_on.onRelease = function() {
    soundStarted = !soundStarted;
    if (soundStarted) {
    this._alpha = 0;
    mySound.start();
    sound_btn_off._alpha = 100;
    } else {
    this._alpha = 0;
    mySound.stop();
    Any idea??
    Thank you.

    > sound_btn_on._alpha = 0;
    > var mySound:Sound = new Sound();
    > mySound.attachSound("myTrack");
    > mySound.start();
    > var soundStarted:Boolean = true;
    > sound_btn_off.onRelease = function() {
    > soundStarted = !soundStarted;
    > if (soundStarted) {
    > this._alpha = 100;
    ONOFF.gotoAndStop(2);
    > mySound.start();
    > } else {
    > this._alpha = 0;
    ONOFF.gotoAndStop(1);
    > mySound.stop();
    > sound_btn_on._alpha = 100;
    > }
    > };
    >
    make a movie clip ONOFF and on frame 1 place the OFF button
    look
    and stop action, on frame the the ON button look and the
    stop(); action.
    Then simply add what's above....
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Sound on/off button

    I am creating an elearning movie with many scenes. for each a
    scene an external sound clip loads. i would like to create a sound
    on/off button. I can create the button and turn the sound off. But
    the problem i have is that it only turns it off for that particular
    scene. So when the user goes to the next scene. the sound will come
    back on because it loads an external sound clip. Is there any way
    that the user can switch the sound on/off and it effects the all
    the scenes?
    Thanks

    Don't use scenes. Ever. Big no no. Scenes are what was left
    over from Flash 4 before Movie Clips were invented. Code from one
    scene cannot communicate with code in another, and there are many
    more problems. Divide your main timeline into sections with frame
    labels, and use that to separate parts of your application.

  • I have i4s .when i installed i0s 7.0.1 its speed became slow. when i wanted to hear my recorded program, there was no sound. secondly side buttons + and -

    i have i4s .when i installed i0s 7.0.1 its speed became slow. when i wanted to hear my recorded program, there was no sound. secondly side buttons + and - are not working properly. thirdly face time is not present in settings
    kindly help

    Device Manager which is in Control Panels
    I strongly recommend AIDA64 to show everything, temps, fans, chips, drivers and versions
    http://www.aida64.com/ Windows has better tools to show you every service and knick and cranny
    https://discussions.apple.com/thread/2769294
    http://realitypod.com/category/hacks-and-cracks/mac-hacks-and-cracks/
    MacBook definitely uses Cirrus - probably iMac

  • How do you use the keyboard to play sound from a button?

    I am building a site for a client who wants to be able to
    press a keyboard button such as the "up" button and have it play an
    instrument sound. I am fimiliar with html and css coding but i am
    not that great at actionscript. It would be greatly appreciated if
    someone could show me what I would have to do to achieve this
    affect. I was looking around the web and saw something that said I
    might need an eventlistner. I am com,pletely lost! All help
    welcome. Thanks. Here is an example of exactly what I am trying to
    achieve, the only difference is it doesnt need to be complicated
    and I only need it to work for 3 buttons.
    http://www.ababasoft.com/music/drums01.htm
    http://www.kenbrashear.com/

    dasaimedia wrote:
    > I am building a site for a client who wants to be able
    to press a keyboard
    > button such as the "up" button and have it play an
    instrument sound. I am
    > fimiliar with html and css coding but i am not that
    great at actionscript. It
    > would be greatly appreciated if someone could show me
    what I would have to do
    > to achieve this affect. I was looking around the web and
    saw something that
    > said I might need an eventlistner. I am com,pletely
    lost! All help welcome.
    > Thanks. Here is an example of exactly what I am trying
    to achieve, the only
    > difference is it doesnt need to be complicated and I
    only need it to work for 3
    > buttons.
    http://www.ababasoft.com/music/drums01.htm
    >
    http://www.kenbrashear.com/
    Many ways to achieves that. You can make a movie clip with
    (for 4 sounds) 5 frames.
    Frame 1 stop(); to prevent it from running. Frame 2 attach
    your sound, frame 3 another
    sound, frame 4 and 5 same. Give that movie clip instance name
    "soundCLIP" Now all you
    need is to add key listener to timeline frame so you can
    capture the key and go to
    corresponding frame of the movie clip to play your sound.
    var keyListObj:Object = new Object();
    keyListObj.onKeyDown = function() {
    switch (Key.getCode()) {
    case Key.LEFT :
    soundCLIP.gotoAndStop(2);
    break;
    case Key.UP :
    soundCLIP.gotoAndStop(3);
    break;
    case Key.RIGHT :
    soundCLIP.gotoAndStop(4);
    break;
    case Key.DOWN :
    soundCLIP.gotoAndStop(5);
    break;
    Key.addListener(keyListObj);
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Sound and brightness buttons don't work, any suggestions?

    Hi guys,
    I just bought a MacBook Pro, and I can't control the volume and the bightness by the keyboard button. Do to so, I have ti to it by the icones in the top bar.
    How can I set these hotkeys on my keyboard? Any suggestions?
    Thank you and happy new year.

    I've had this same problem, but when I am using "Parallels" to run windows programs on my new Macbook Air, with an external Mac LED Cinema Display, the brightness keys on the external apple keyboard do not work.  Sound seems to work fine.  They work fine in Mac mode. 
    Any solutions?

  • Sound quick launch button doesn't work when i installed windows 8 in my hp pavilion dv3z notebook

    1. Product Name and Number
    hp pavilion dv3z notebook pc
     2. Operating System installed (if applicable)
         windows 8
      3. Any changes made to your system before the issue occurred
         installed windows 8
    when i installed windows 8 in my hp pavilion dv3z notebook pc, the quick launch button of volume is always red and the sound is mute....the driver for quick launch buttons and driver for sound is also up to date....can you please help me?
    This question was solved.
    View Solution.

    When installing the audio driver, was it installed by following the prompts or in compatibility mode as outlined here?
    Based on the Software and Drivers page for this unit, the unit was not tested and certified for Windows 8.  This means that some functionality may not be the same since the unit was not designed for Windows 8.  See this site for information and to find out if it has been tested for Windows 8.
    If the sound driver has not been installed in compatibility mode, then I recommend using the Windows 7 64bit driver found here and using the linked steps above to install it in compatibility mode. 
    Let me know what happens. 
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

Maybe you are looking for

  • Audigy 4 Pro on Vista Prob

    hey guys, I'm new to this message board but have been a supporter of creative for quite a few years now, but anyways I have a problem hopefully a few of you can figure out for me as I'm currently stumped. I have the Soundblaster Audigy 4 Pro sound ca

  • Scripts-window is not printing repetedly

    Hi all am working on scripts.(Goods receipt note). I have four line items in main window from  mseg table. I have to display text related to that line items which is stored in mseg-sgtxt in seperate widow.(eg: remarks) But am getting the last line it

  • Weblogic Admin and Managed Server start using boot.properties and LDAP Acc.

    Hello - Can any one please tell me if Weblogic 10.3.x can be started using boot.properties file and by using a user account from the External LDAP (OID) server? I have configured the Weblogic server and have added a LDAP authenticator. The Group in O

  • How to default condition record currency when creating in VK11

    Hello experts,   I have created a pricing table with fields that are not sales org specific. I have subsequently created a condition type that uses an access sequence that uses this table. The condition type is set up as a cond class B(price) with a

  • Register products you get off Adobe Creative Cloud

    I want to know how to register my products I got off the cloud download app. I have Photoshop CC 2014, Media Encoder, Adobe After Effects CC 2014 that l downloaded off the app. I want to know how I can find the 'serial number' to register the product