How to resume sound after stopping !!

hi,
hoping to fine an answer of how to resume the sound after
stoping
for example, when i'm using stopAllsounds(); AS
now sounds stopped
and i wanna play it again and resume
!!!

that's not the best way to use sound in flash.
it's more flexible and there are less complications if you
remove that sound from the timeline, right click on it in the
library, click linkage and assign it a linkage id. then create a
sound instance:
var s:Sound = new Sound(this);
s.attachSound("yourlinkageid");
// you can then use:
s.start(); // to start your sound
s.stop(); // to stop your sound
// and, in fact, you can use all the sound methods and
properties. check the flash help files.

Similar Messages

  • How to play sound after clicking on an object?

    Can anyone explain me how to play a sound in java when I click on a particular object? I have read lots of threads but couldn't find anything. All I want is a short sound(3,4 seconds) to be played each time I click on an object. I know I need to use Sound API but I cannot find anything helpful
    Thanks in advance

    flounder wrote:
    ProGenius wrote:
    I have read lots of threads but couldn't find anything.
    [I found lots of info|http://lmgtfy.com/?q=java+audioclip]
    that is knowing you can use audioclip. Even searching for "java sound tutorial" gives many good resources, including the sun trail:
    http://java.sun.com/docs/books/tutorial/sound/index.html

  • Flash media live encoder 3.2  no input sound after stopping encoding

    Hello,
    We have adobe media live encoder 3.2 in Windows 7 64 Bits. We use a usb adquisition interface.
    We start streaming every thing is ok. i we click on stop the imput sound is no longer available. In order to have the sound again we have to remove the device from the windows control panel unplug the usb cable and then plug the cable again.
    Any idea please?
    Thanks
    inle2011

    Hello,
    I'm sorry you're running into this crash.  Unfortunately you've posted in the Adobe AIR forums, would you mind reposting over one the Flash Media Live Encoder forums?
    Thanks,
    Chris

  • Hp g60 418ca, how to restore sound after installing windows 8.

    I installed Windows 8 on hp g60 418ca.  I have tried all troubleshooters, guidelines, etc. but have not succeeding in getting the sound working.  There are no windows 8 drivers, but I've tried the W7 and Vista drivers using various compatiblity modes.  I've tried to let W8 update the driver.  The devices DO show up in control panel/device manager and when I test them the volume level bars move up and down, but no sound comes through speakers and/or headsets.
    Do I just need to wait for HP to release drivers... what is the best approach?

    Hi doug_125,
    More than likely HP is not going to support hardware for W8 on any system purchased before Oct 1st 2011. Some updates for W8, most W7 drivers will work in W8.
    If you still had Windows 7 installed, you could run the Upgrade assistant software, it will scan your PC and generate a report on what is currently installed on your PC is compatible with W8.
    http://goo.gl/z8LVf
    Here is a document for covering upgrading to Windows 8 http://goo.gl/CO6uV
    The document is fairly extensive, covering all sorts of issues. There is a section about audio drivers. Perhaps it will help.
    Please let me know if it does help.
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • How to release camera after stop streaming to FMS

    When stop streaming, i close NetStream, close NetConnection, clear video, and remove any event listoner on camera. After these actions, the camera is still in used. What's the problem?
    thanks.

    Hi, you drop connection to the web camera by issuing either vid.attachCamera(null); or vid.attachVideo(null); command.

  • How to resume event after prevented default action?

    Let's say I have an event handler that captures an event and I call preventDefault() if the event.target is a certain component. preventDefault() is called on that component because we want to present a user with a confirmation dialog box (i.e., "Do you want to delete this item?"). If they then click YES, it continues on with the original event handler's actions. If they click NO, we don't do anything.
    The closest example I could find was this http://www.darronschall.com/weblog/2008/01/creating-default-cancelable-event-handlers.cfm and just can't make any sense of it.

    The event flow is not designed for pause and resume.
    One way to do this if you're dispatching your own event is to re-dispatch the event with cancelable=false if you want to resume.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • My HP Photosmart 5514 makes a machine gun sound after printing. How to stop it?

    My HP Photosmart 5514 makes a machine gun sound after printing.  How to stop it?

    Hi
    Please check these documents and steps in them  and check for any blocks or any paper in the printer and it might be blocking the carriage movement....
    paper jam doc :http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02865752&tmp_task=solveCategory&cc=us&dlc=en&lc...
    Carriage jam : http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02865805&tmp_task=solveCategory&cc=us&dlc=en&lc...
    Noise while printing : http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01931887&cc=us&dlc=en&lc=en&product=5096386&tmp...
    Regards
    Aneesh
    I Represent HP
    You can say THANKS by clicking the KUDOS STAR. If  my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance!...

  • Sat L450D - Speaker can't stop alarm sound after i pull out mic & headphone

    Today, I try my headphone in the first time.
    Any expert here can tell me why my speaker can't stop the alarm (VIVIVIVI sound), after i pull out my mircophone and headphone?
    The sound will stop by itself when I put my microphone back!
    How to stop that alarm?

    *Paupau,*
    *Thank you very much for your information and instruction.*
    *After adjusted microphone boost and set to 10.0dB, the problem solved. But the microphone have to set to max., otherwise I cant hear my own voice when I test the chat engine through one of my chat gear.*
    *Meanwhile, I would like to ask, are there any difference between 10.0 dB and 0 dB. if positive, why you suggest me the setting to 0.*
    *Finally, buddy you solved my problem which even the toshiba support team cannot, " there answer are REINSATLL, REINSTALL THEN REINSTALL AGAIN AND AGAIN" no matter what you asked!;\*

  • [Solved] No sound after resuming from suspend

    After suspending and resuming I no longer have any sound output (through headphone jack or my laptop speaker). The laptop is a toshiba portege r835. I can't say how long this has been happening, since I've only tried to play any sounds after resuming recently.
    Searching the forums I found the following thread: https://bbs.archlinux.org/viewtopic.php?id=151001
    I haven't tried this because it isn't exactly the same problem, but mostly because I'm currently stuck on kernel 3.5.6 because of the sandy bridge power regression issues.
    Does anyone have any other ideas on how to possibly fix this problem?
    Thanks!!
    Last edited by twistedcubic (2012-12-31 22:20:20)

    Solved, sort of.
    I had some double suspend issue: I had set up suspend with systemd before using xfce and then after installing xfce I set my power settings so that the computer would suspend after shutting the lid, so I would have to open the lid, shut it, and then open it again for the computer to actually resume. After turning off the suspend setting in the xfce power manager, and just using the systemd suspend, the sound works fine on resume (both headphones and speakers)!

  • How to resume import of large file in iTunes after breakdown ?

    iTunes crashed, with a damaged library. I messed around with the previous libraries, import of xml etc, and ended up with my music folder splitted in two folders. One is about 192 GB, the other 165 GB.
    Songs from a same album are lister over the two folders. So moving the artist folder together, wouldn't work, as they would override eachother.
    I tried to set up a new iTunes library, and import everything to consolidate. The process was stopped often by error -50, but after hitting enter, continued. Until suddently the process stopped. I'm about the letter N of my collection.
    On top of all, the music doens't appear in iTunes. I have the .xml file, .itl-file but no library itself.
    Questions:
    How to best consolidate large files in iTunes, as the process seems to crash in between ?
    How to resume after crash ? If you point to the same folder, it will double the ones already imported, right ?
    How come the library file wasn't created ?

    Peter,
    > 1) Firstly, on loading the iView it gives me a portal
    > login screen that does not let me in.(Although I am
    > already autheticated as a super_admin) However, it
    > runs perfectly as long as I have not added the POST
    > command to the iView.
    Do I understand correctly that you logged on to the portal with your browser and then tried uploading your data by using curl? In this case, you are authenticated in your browser session - but not in curl's.
    > 2) Secondly, the portal denies my URL call from the
    > cURL application telling me that "iView is not
    > compatible with your browser". Figures, since that I
    > am not using a standard browser for calling the URL!
    Well, indeed SAP portal is not compatible with curl, it's not on the PAM (sorry, couldn't resist).
    Anyway: Have you tried using the portal GUI for batch uploading data (check import/export in role "user administration)?
    Alternatively you might consider filling the user store directly (instead of using the portal / UME)? Where is your user and group information physically stored?
    Regards,
    Dominik

  • My sound suddenly stopped working, how do i fix this?

    my sound suddenly stopped working after i unplugged my headphones, how do i fix this?

    Common problem.
    Check the headphone port - if you can see a red light, the port is still live, cutting off the internal speakers.
    The cause is a little leaf switch that is pushed over by the jack when you insert it. Sometimes these stick.
    Try inserting and removing a jack a few (dozen) times.
    If that doesn't free it you may attempt to tease it with a slim non-conducting tool (like a toothpick). Ensure the Mac is not only shut down, but unplugged if you try this.
    And be careful; the leaf is fragile and it's an expensive bit to get to and replace, in fact on some models it's directly on the logic board.

  • Beep app stopped making sound after upgrade to 2.6.22 kernel

    hi, beep app stopped making sound after upgrade to 2.6.22 kernel Jul 29 2007; my PC still beeps on reboot; i searched for the beep package at arch home page and found
    the beep package maintainer's name: Damir Perisa    how do i contact him if there are no other fixes for beep no longer making any sound? thanks in advance for your quick
    response; resident, a happy arch user

    Check if the PC speaker kernel module is present:
    lsmod | grep pcspkr
    If that returns nothing, then check /etc/rc.conf for these line:
    MOD_BLACKLIST=(foo)
    MODULES=(bar pcspkr)
    MOD_BLACKLIST must NOT contain pcspkr, while adding it to MODULES should autoload it on boot.
    If you want it to load right now, then just enter:
    modprobe pcspkr

  • After connecting my Apple TV this morning, I have no sound. It is hooked up to play through my television speakers. Any ideas on how to get sound? Also, I tried hooking it up through my surround receiver, but could not get it to come up on my ty screen.

    After connecting my Apple TV this morning, I have no sound. It is hooked up to play through my television speakers. Any ideas on how to get sound? Also, I tried hooking it up through my surround receiver, but could not get it to come up on my ty screen, what can I do to correct this problem?

    Have you tried adjusting the "Audio Out" and the "Dolby Digital" settings in settings > audio and video? It may be worth trying several combinations of these settings, although typically it is the "Dolby Digital" setting that causes most problems for users.
    Also make sure that you have correctly mapped the input port on your sound system to the output, if you are unsure about how to do this, refer to the manual that came with your sound system.
    Have you tried playing various content sources (i.e. podcasts, music, iTunes Store video, other video etc), do you have the same problem with all types of content? If you use optical you might also check that you can see a red light at the end of your optical audio cable. Is your optical audio cable plugged straight into your sound system, or does it go through a switch or other device?

  • How to call a method in jsf after stop typing in test box?

    Hi all,
    In my jsf page i have a text box in which user type some text field like "abc". i want after stop the typing i want a method to be called automatically and a datatable will be populated sith some result. my problem is is how to call the method automatically so that the user does not have to click any button after typing in the text box? plz help..
    Edited by: sailajoy on Dec 23, 2008 3:36 PM

    If it is after certain characters that the user types you can ascertain that the entry is done you can use onkeyup and within the javascript count the characters an when the necessary characters are set do the action you need to do.
    There should be some way by which you can suggest that the user has stopped typing i.e. either the max length has reached or the user has hit tab or went to another field. Going on other field too you can bring the focus back to your original field from where the user had hit tab. If you are thinking of something liek google suggest then AJAX is the best way to implement it.

  • On my new iMac, mail has no sound after waking from sleep.  If I select do not wake for network access in general preferences, the problem does not occur.  Anyone have an idea on how to fix this?

    On my new iMac, mail has no sound after waking from sleep.  If I select do not wake for network access in general preferences, the problem does not occur.  Anyone have an idea on how to fix this? Thanks --

    Same here on an older iMac since Lion. Thanks for the uncheck wake for network access tip though, it doesn't do it either in that case, I will leave it that way.

Maybe you are looking for

  • JSP error page does not displayed on its own, includes in the original JSP

    Problem Description: - Exceptions in a Condition cause pages to fail to render. The actual issue is, the JSP error page does not displayed on its own, included in the original JSP Page when exception occurs. Problem Cause: As per the JSP specificatio

  • Album Art Issue

    My album art works for almost every album I have (except that I have album art on every album, so it shouldn't be an almost!). I've realized that the album art won't show on albums/artists that have a music video of the same album/artist... so I gave

  • How to start a java program as a start-up service in Linux?

    i sucessfully started a java program by adding a script to /etc/init.d, but in the script, i have to type the full path of the java laucher, the environment variables are not loaded on startup, what should be done to avoid the full path in the script

  • In all the tabs written the same thing

    In all the tabs written the same thing it says: "התחברות..." i try to reinstall firefox but the problem stays

  • Back to back printing in smartform

    Hi All, I have a smartform with only one page and i need to print back to back. When i set the printmode as D, it prints the first page only on the front and the next pages are printed back to back. Is it possible to print all the pages back to back