How to play a little sound at the opening of my AIR application?

Dear friends:

I created a small application, which displays a Web site on the inside, but I want a sound to play when some users open the AIR application... How do I do this? Thanks in advance...

http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=Working_with_Sound_05.html

http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=embed_4.html

http://blog.flexexamples.com/2007/08/07/embedding-sound-effects-in-your-Flex-applications/

If this post answers your question or assistance, please mark it as such.

Greg Lafrance
www.ChikaraDev.com

Support and Flex development services

Tags: Flex

Similar Questions

  • Hello, I bought a monthly license paid for indesign last night and I do not understand how to play with it? When I opened the window of creative cloud, they suggested me to buy indesign (but I bought it already...) Please, help me... It's easy to al amend

    Hello, I bought a monthly license paid for indesign last night and I do not understand how to play with it? When I opened the window of creative cloud, they suggested me to buy indesign (but I bought it already...) Please, help me... This is our easy to understand for beginners like me at all

    FAQ: What should I do if I have a subscription, but my application acts as if I had a trial?

    https://forums.Adobe.com/thread/1962238

    Download/install the desktop application, connect and install applications subscription.

    https://helpx.Adobe.com/creative-cloud/help/download-install-app.html

    Creative cloud to desktop

    https://helpx.Adobe.com/creative-cloud/help/creative-cloud-desktop.html

    Sign out, sign in | Creative office cloud app

    http://helpx.Adobe.com/creative-cloud/KB/sign-in-out-creative-cloud-desktop-app.html

    Install, update, or uninstall applications

    http://helpx.Adobe.com/creative-cloud/help/install-apps.html

  • When I right click on a link 'Open link in a new tab"for a few days, he"jumps"tab to the right and opens in the tab beside it. How can I change this back to the opening in the tab next to the page, hence I open as it used to be?

    When I right click on a link 'Open link in a new tab"for a few days, he"jumps"tab to the right and opens in the tab beside it. How can I change this back to the opening in the tab next to the page, hence I open as it used to be?

    Just to add to the response of cor - el, in my case (identical) was specifically the complement DivX HiQ, worm 2.1.0.900. As soon as I turned it off, the tabs started to behave normally again.

  • Windows XP Pro on which I run several programs. After the opening of a few applications, I have this message "not enough memory".

    Hello

    I have a PC running Windows XP Pro on which I run several programs. After the opening of a few applications, I have this message "not enough memory".
    When I have this message, I can't open another application, or those in Windows... I have 2 GB of memory and only 700 MB are used.
    If I open the calculator several times (about 65 times), I have the same result.
    Sometimes, I get no error message, but the application does not open.

    Someone knows why?

    Thank you

    Hello

    You did the chnages on computer before this problem?

    I suggest you go through the steps of the following atrticle.

    "Not enough memory" error message appears when you have a large number of programs running.

    Note: Important this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
    322756 (http://support.microsoft.com/kb/322756/ )
    How to back up and restore the registry in Windows.

  • Qosmio G10: How to get Toshiba virtual sound in the taskbar

    System: Qosmio G10 running Windows XP.

    When I bought the system, it came loaded with application of 'Virtual Sound' of Toshiba, which has replaced the standard Microsoft Volume control app in the XP taskbar (bottom right of the screen). Now, the 'Volume Control' standard app appears in the taskbar.

    How to bring back the "Virtual Sound" app? It allows me to switch easily between defining the sound of the internal speakers of the laptop and using bigger speakers.

    Thank you!

    Ben.

    PS. love Qosmio!

    When you start the virtual sound application icon should appear in the taskbar.
    Try right-clicking on the application. Maybe you'll get an option to place in the taskbar

  • How to play music and narration at the same time on windows movie maker?

    I'm working on a project and successfully, I could put my videos for a song. to get all the points for the project I need to explain what is happening in videos. I have now that I need to tell and I was able to do it too. I don't know how to play the narration without stopping the music, I need narration and music at the same time. I know this is possible because I found...

    You can add music and narration Audio / Music track in Windows Movie Maker. The two can play at the same time in your published movie. You can then adjust the audio levels to determine which audio will play louder than the other in your movie.

    Please write again (:)

    I'm working on a project and successfully, I could put my videos for a song. to get all the points for the project I need to explain what is happening in videos. I have now that I need to tell and I was able to do it too. I don't know how to play the narration without stopping the music, I need narration and music at the same time. I know this is possible because I found...

    You can add music and narration Audio / Music track in Windows Movie Maker. The two can play at the same time in your published movie. You can then adjust the audio levels to determine which audio will play louder than the other in your movie.

    Please write again (:)

    =================================
    Simple solution... Publish (save) your project in the
    film format .wmv to a folder on your hard drive.

    Re-import the file .wmv (as a new project) and now
    audio / music will be clear and you can add
    the narration.

    John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • How to play 2 sequentially sounds of a button using MediaPlayer?

    Hi all

    It can be quite simple and I'm just been staring at this long, so I don't get it.  Basically, I want to have a single button and when I click on it, depending on the settings, can play a sound or two sounds (or 3 or 4..) in the order.

    I stated my MediaPlayer:

    MediaPlayer {}

    ID: mPlayer

    },

    Then in my code, I would dynamically set the SourceUrl:

    if (SomeApp. getValueFor ("Option 1", "false") == 'true') {}

    mPlayer. setSourceUrl (item.someSound)

    mPlayer. play ()

    if (SomeApp.getValueFor ("Option 2", "false") is 'true') {

    mPlayer.setSourceUrl (item.anotherSound)

    mPlayer.play)

    }

    .......

    What happens now, it's the 2nd sound replaces the first sound.  I need some kind of break or report the arrival of first sound entered the 2nd sound comes...

    Thank you

    Pseudocode to show the idea:

    Create the QList mSoundsToPlay;

    then add the sound to play when do:

    if (mSoundsToPlay.isEmpty())
    {
      mSoundsToPlay.push_back(soundName);
      ...start playing soundName...
    }
    else
    {
      mSoundsToPlay.push_back(soundName);
    }
    

    in playbackCompleted() Manager:

    mSoundsToPlay.pop_front();
    if (!mSoundsToPlay.isEmpty())
    {
      ...play next sound from mSoundsToPlay.front()...
    }
    
  • How to pin a little picture on the side of my browser

    I want to pin a little picture on the side of my prowser. A well-known example is the arrow that we see in certain browsers that we click to navigate to the top of the page. So, I want a small picture (arrow) to be always visible (pinned) so the viwer can click and navigate quickly on top.

    How do I do that? Thank you in advance.

    Hello

    You can do this as shown below:

    1. create an anchor at the top of your site.

    2. place an image and PIN in the upper right corner of the site.

    3. link with the anchor created in the first step.

    I hope this helps.

    See you soon!

    Aish

  • How to eliminate an attempted hijacking at the opening of fireFox on windows

    at the opening of Firefox (or any browser), I get a hijack alert.
    Instead of the home page I get "https://search.perk.com/perk/mystart", I apply measures to block away them, but
    Firefox opens it in any case. The firefox home page is correct. The properties for firefox show not everything related to "search.perk". Scan the hard disk is not reveal any program / script to advantage.

    any ideal on how to remove 'search.perk '?

    See this thread for support - https://support.mozilla.org/en-US/questions/941632

  • Why Windows Media Player is a little slower at the opening of the media?

    Hi all

    Today, Windows Media Player has been a bit slower... Why? I do not know.. I scanned for malware, spyware and viruses and there is nothing... I discovered that this isn't my PC, or my windows... It seems that it is in all Versions of it... I tried other players, they were all very good... Now what am I supposed to do?

    Description of the LAG: it takes longer to open/load a simple media... Either when I opened my playlist, get to the next/previous track, and at the opening of any media what to choose in the list...

    Any help is appreciated...

    Best wishes

    Hello

    Have you noticed a spike in memory or the CPU usage when the media player is lagging?

    If so, then

    Method 1: Do check the disc and see if it helps.

    How to perform disk error checking in Windows XP

    Warning of Chkdsk.

    Important: When running chkdsk on the drive if bad sectors are found on the hard drive, then chkdsk attempts to repair this sector. If no data is available while data may be lost.

    Method 2: disable the Audio improvements and see if it solves the problem.

    r: right-click on the "speaker" icon and then click playback devices.

    b: select speaker, and then click Properties.

    c: then click on the highlight tab.

    d: then check Disable all improvements.

    Method 3: update the last audio driver on the computer manuafcturer site.

    Hope this information helps.

  • How can I add a program to the "open with" dialog box?

    I tried to "change program" and then passed to the program but it does not appear in the box or associate with the file extension?

    Hello

    These should help:

    How to add a program to 'Open with' in Vista and Windows 7
    http://www.Vistax64.com/tutorials/126340-open-add-program.html

    How to add any Application in the Windows desktop right-click Menu
    http://www.howtogeek.com/HOWTO/Windows-Vista/add-any-application-to-the-desktop-right-click-menu-in-Vista/

    Record the programs with the open with dialog box
    http://WindowsXP.MVPs.org/openwithadd.htm

    I hope this helps.

  • Connection of an iOS to the debugger in Adobe air application animate

    Hello

    I need to connect my iOS to Adobe AIR application to a debugger, a debugger will work. When I publish my Animate app crashes before it can connect, leaving behind an app still works on my phone. But there is no obvious way to connect to a console at the breast of animate it using "debug" or "start the remote debugging session. With the Simulator, it will connect as long I give IP address appropriate, it will connect. I don't have that option in my app on iOS. My iPhone or iPad will connect. How can I get this done?

    Apparently, the debugger to connect if you do not set the install on the flag of the device. But I found that animate them for Windows doesn't crash as it does on Mac OS. So the question is now moot.

  • gray bar at the bottom of my AIR application

    Whenever I have create an AIR application, there this gray bar at the bottom? What is he doing? How can I get rid of him?

    AIR.jpg

    ShowStatusBar is kept = "false".

    
    
      
        
      
    
    

    If this post answers your question or assistance, please mark it as such.

    Greg Lafrance - Flex 2 and 3 certified ACE

    www.ChikaraDev.com

    Training Flex and Support Services

  • Send the email from an AIR application

    I need provide the ability for a user, click on an email address and call the local mail client the way which would be a standard web browser. Is this possible in an air application? Thank you

    Cool. Thank you.

  • How to play several audio files at the same time and mute toggle some voices?

    Hi all

    Forgive me if this is mentioned elsewhere and kindly point me in the right direction.  I'm a kid with flash and action script so if you are in doubt, error on the side of more specific in your response, there is a lot of vocabulary I still don't know.

    The goal:

    I have 4 audio files which are Soprano, Alto, tenor and low voice of a musical example.  The result should allow the user to play all 4 voices at once and dumb voice specific to hear all the possible combinations of voices playing together or solo.  I imagined a check box at the beginning of each rated musical line that puts that voice muted when checked.

    It would be ideal to have the game, interrupt and stop reproduction choices where 'Stop' resets playback at the start and 'Pause' maintains the current place in time and takes over from there, once playback is started again.

    I am able to get the simple audio files to play from a single button, but I am struggling to find how to link multiple audio files to start at the same time by a single button.  I found this link: https://forums.adobe.com/thread/1069107?start=0 & tstart = 0

    where the last message mentions the use of tables, but being a complete beginner, I don't completely understand what they are doing.

    I know it's a big piece of questions at once, but if you could meet any part of it, or direct me to a tutorial/instructions, I would really appreciate it.

    Thank you for taking the time to help others

    use:

    kglad wrote:

    use:

    import flash.events.MouseEvent;

    import flash.media.SoundTransform;

    var soprano: Sound = new Soprano();

    Var high: Sound = new Alto();

    var tenor: Sound = new Tenor();

    var bass: Sound = new Bass();

    Ash var: Array = [soprano, alto, tenor, low];

    var offsetA:Array =]

    var st: SoundTransform = new SoundTransform();

    play_btn.addEventListener (MouseEvent.CLICK, playF);

    pause_btn.addEventListener (MouseEvent.CLICK, pauseF);

    stop_btn.addEventListener (MouseEvent.CLICK, stopF);

    playF function (e: MouseEvent): void {}

    for (var i: int = 0; i)< sounda.length;="" i++)="">

    This ["sc_" + i] = [i] Sunda () .play;

    }

    }

    function pauseF (e: MouseEvent): void {}

    for (var i: int = 0; i)< sounda.length;="" i++)="">

    offsetA [i] = this ["sc_" + i] .position;

    This ["sc_" + i]. Stop();

    }

    }

    function stopF (e: MouseEvent): void {}

    for (var i: int = 0; i)< sounda.length;="" i++)="">

    offsetA [i] = 0;

    This ["sc_" + i]. Stop();

    }

    }

    function unpauseF(e:MouseEvent):void {}

    for (var i: int = 0; i)< sounda.length;="" i++)="">

    This ["sc_" + i] = Sunda [i] .play (offsetA [i]);

    }

    }

    function muteF(i:int):void {}

    St.volume = 0;

    This ["sc_" + i] .soundTransform = m;

    }

    function unmuteF(i:int):void {}

    St.volume = 1;

    This ["sc_" + i] .soundTransform = m;

    }

Maybe you are looking for

  • Failure of printer Touchsmart 6510

    My printer is not working and has developed an error indicates failure 0xc19a0027 printer I have Touchsmart 6510.  Can anyone help?

  • Multipoint

    Where can I find the Multipoint server 2010 and 2011 Dutch languagepack?There is a pack of 35 languages available, where can I find it? Thank you

  • Longevity of ink CLI-251XL (drying)?

    Hi all!  I am new to this forum (as you can see). Background for my question: I am very new to inkjet printers - all my printers have been and are, lasers except one.  This one is a dedicated disc printer that uses a motor Lexmark and ink cartridges.

  • MS Word has encountered a problem and needs to close

    Using a color printer HP 3525, printing in MS Office 2007 in Windows XP - Word said MS Word has encountered a problem and needs to close.  But it happens that by going to this printer particularly anyone else.  It occurs in Internet explore, not only

  • Copy function does not work; HP F380 all-in-One

    Printing and scanning functions are working properly, but the copy does not work.  He stopped abruptly.  I installed a new cartridge, nothing helps.  Also unplugged printer and wait 60 seconds before I plugged it again.  Still no copy.   Any suggesti