load sound - stop!

Hello

I was wondering if anyone can help me, it drives me crazy.

I have an mp3 of his related to my flash by sound load, it's the code that I have to load the sound:

trackOne_btn.onRelease = function() {}
stopAllSounds();
var mySound:Sound = new Sound();
mySound.onLoad = {function (loadedOK)}
{if (loadedOK)}
mySound.start ();
}
}
mySound.loadSound ("sounds/trackOne.mp3", false);
}

But I can't stop it, I tried all the means, I think, but it doesn't seem to work?

Need help please, it is much appreciated

Thank you very much

Its OK, problem sorted, looks, I missed a vital line. If someone needs the code its:

stop_btn.onRelease = function() {}
var mySound:Sound = new Sound();
mySound.stop ();
}

Thank you

Tags: Adobe Animate

Similar Questions

  • check if a loaded sound file still plays

    Is it possible in AS3 to determine if a loaded sound file still plays or not?  I need to start an animation, a sound at startup and stop the animation when the sound is done playing.

    Thank you

    You can determine (to a reasonable extent) when a sound starts by using the open event of the sound class and you determine when a sound finishes the game using the soundchannel class soundcomplete event.

  • MacBook Pro sound stops once the connection when plugged headphones

    On my MacBook Pro, when I connected my jack 3.5 mm (headphones or speakers) and I switched off, the sound stops once I have connection, once again. The speaker icon is gray and I have to remove and reinsert the connector to get her back. Can you help me, please? Thank you.

    Check your settings in the Audio Midi application located in the Utilities folder.

    http://support.Apple.com/kb/TS1574 Troubleshooting for any audio speakers on Macs


    Trick/Tip: Open GarageBand if installed then, open a program (optional).

    Quit out of the app from GarageBand.

    =====================

    Repair Mac mysteriously mute

    The background on the issue, is that there is a switch small sensor inside the plug headphones. When you insert a headphone jack, the sensor includes what is what and changes the setting of audio output for headphones. If you insert a jack for digital audio output, the unit switches to digital output. When you completely remove the plug, it should read the internal speakers.

    The spirits tell me that there is a very good chance that you recently had something hostage in this port, a set of headphones or a cable leading to powered speakers, for example. When you remove the plug, something in the port have prevented triggering sensor properly. That's why you see Digital Out instead of the internal speakers.

    The solution is to force the sensor to do its job. The safest way to do this is to simply run a plug in and out of the port, a few times. A large part of the time, this takes care of the problem by triggering sensor correctly. If this does not work, there may be dirt in the port. Before moving on to more invasive techniques, get a can of compressed air, plug the small tube which corresponds to the nozzle and the breath to air a few shots in the lane. With a little luck, should dislodge dirt and the port will operate as it should.

    If this does not work, find a swab to foam tip that fits (electronics stores generally carry), dip it in rubbing alcohol and insert gently into the helmet in an attempt to wipe any tenacious dirt. I recommend foam rather than cotton fleece because the variety of cotton could leave the son behind. (This same technique works well with the bad conduct of ports from headphone output on devices such as iOS devices).

    It is possible that dirt has nothing to do with it. On the contrary, it may be that the switch should just a subtle help. If a socket or a buffer does not work, I have heard people resetting successfully with a deft poke with a toothpick.

    http://www.Macworld.com/article/2031146/repairing-the-mysteriously-muted-Mac.htm l

  • When I listen to the radio or pandora sounds stops unless I move my mouse, how can I solve this problem?

    Whenever I'm listening to the radio or talk radio, the sound stops unless I move my mouse every 5 seconds dam... It really starts to pi * me off. Whatever the new add on no you guys sent please, get rid of it. I tried to restore my computer to an earlier date and work until the dam update download again. So I tried to delete a reinstall of firefox... Nothing works.

    This problem is limited to audio players?

    There is a much more serious problem affecting some users Firefox 25 where the browser stops just do nothing until the mouse is moved again. The best solution for this at the moment is back at 24 in Firefox. It has a link to the old installer in this article: install an older version of Firefox. To change your update settings so that you can see Reinstalling Firefox 25, see this article: Advanced panel - accessibility, navigation, network, updates and other settings in advanced Firefox.

  • I can't the new 9.3 iOS to load. Stops after verification. Says he has no Internet, but it does.

    I can't the new 9.3 iOS to load. Stops after verification. Says he has no Internet, but it does.

    Never had this problem with the latest updates!

    Apple released the update iOS 9.3 for some devices (air of iPad and previous iPhone, 5 s and previous) due to problems with activation. You may not be updated until a patch is issued. I recommend to wait for some time (days?) before trying again.

    See this article for more details.

    http://www.IMore.com/Apple-working-iOS-93-fix-older-iPhone-iPad

    This article summarizes some of the problems with the update

    http://osxdaily.com/2016/03/25/Troubleshooting-iOS-9-3-update-problems/

  • Satellite A60 - sound stopped working

    Satellite A60 - sound stopped working. Download driver toshiba web site - click on the sound icon's new sound update and it worked, but disappeared whenever I restarted.

    Clicked the icon of installshield and starts to install, but then an error message saying 0 x 80040303, unknown error, the Setup program ends - this happens every time.

    Tried to download any other updates, but he says that I register my cell phone, I'm sure I did and doesn't let me do once again because it is more than 6 months.

    Help!

    Hello

    Try to restore the operating system to an earlier time when everything works well. On this path, it is not easy to say why this is happening. Try also to remove sound card since the Device Manager, and then restart the device.

    All the drivers for your device, you can find on Toshiba download page under http://eu.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/download_drivers_bios.jsp

  • Windows 7 - XP, the sound stops for the game videos! (not in gameplay).

    Hello, I have a very strange problem with sound when video games! When the video plays, the sound stops every 5 seconds...  My OS is Windows 7 Professional 64 bit. I have also two operating system Windows XP 32-bit, and 32-bit Windows Vista. Under XP it is the same problem, but Vista doesn't. PLEASE, I BEG YOU! I really want a solution for Windows 7. It is very annoying, the sound stops every 5 sec. In gameplay, the sound is not good, but in the videos... Thanks in advance!

    Hackerspy,
    You must keep checking with the manufacturer of chipset of the sound card for the updated drivers.  Regarding codecs, I personally used the K-lite Codec pack.  I have all the others have not yet used but only found a reliable being.  You can Bing for Codec packs, but be careful when you download from. Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Sound stops while watching videos online

    I have windows vista, and every time I watch a video on my internet, the sound stops working after about 30 seconds.  I can press the volume upward or down, and he'll be back for another 30 seconds.  I don't know how to fix it.  Someone please answer my problem.

    Hi Maria_robi25,
     
    1. what web browser do you use?
    2. the problem when you play a video file that is stored on the computer?
    3. don't you make changes before the show?
     
    We assume that you are using Internet Explorer (IE). Try these steps and check the result.
    1. Click Start, type inetcpl.cpl and press to enter.
    2. click on the tab advanced and then click Reset.
    3. click on reset.
    4. When you are finished, click Close, and then click OK.
     
    For more information, see this link: http://support.microsoft.com/kb/923737
     
    NOTE: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.
     
    If the problem persists, visit the website, download and run Microsoft fix the following: http://windows.microsoft.com/en-US/windows-vista/Tips-for-fixing-common-sound-problems
     
    Kind regards
    Syed
    Answers from Microsoft supports the engineer.
  • Sound stops and slows down after the installation of Microsoft Vista SP2

    Its malfunction after installing Microsoft Visa SP2

    I have a HP laptop. downloaded Microsoft Vista SP! and SP2.  Since installing the sound stops and slows down and jump to the high state that Adobe Player slows down the computer.  I remember checking the updates in the control panel and Microsoft Vista SP1 and SP2 has been selected and windows poped place provided a specific that warning after installation of SP1 and SP2, respectively, the user can experience sound defects or.  This window also provided a specific procedure to correct the problem of noise; However, I have noticed no procedure to revisit this window.  Need help, thank you!

    I have a HP laptop. downloaded Microsoft Vista SP! and SP2.  Since installing the sound stops and slows down and jump to the high state that Adobe Player slows down the computer.  I remember checking the updates in the control panel and Microsoft Vista SP1 and SP2 has been selected and windows poped place provided a specific that warning after installation of SP1 and SP2, respectively, the user can experience sound defects or.  This window also provided a specific procedure to correct the problem of noise; However, I have noticed no procedure to revisit this window.  Need help, thank you!

    Here's a thread on these forums on how to fix this: http://social.answers.microsoft.com/Forums/en-US/vistamedia/thread/f16247af-313a-418d-915e-6403012c25eb

  • 1530 sound stops and starts

    When I play the audio files, the sound stops or stutters like a scratched CD its not all the time, maybe once a path but its doin my head in, does anyone have a solution?


  • The sound stops when I stop the timeline.

    If I start the animation from the start, the sound will be played. But, when I put in pause and click on replay, the sound stops.  I have to run it to the beginning to get the sound to play again.  I'm trying to animate a video to the beat of a song and it is very difficult to do that when I have to run it to the beginning each time to hear all the sounds.  What should I do to fix this?  Can it be fixed?

    Select sound in the scenario and in properties, change its synchronization to be stream instead of the event. If you find that the flow is grayed out, it means that you are using HTML5 Canvas, which does not support that.

    If you the last animation should be HTML5, then continue to use an ActionScript 3 FLA to set up the synchronization of sound to the animation and then either convert that into HTML5 Canvas, or copy and paste layers in a Florida HTML5 Canvas

    You are likely to encounter synchronization problems if you play a demanding animation as HTML5 on a slower device.

  • I have lot to save my adobe photoshop cs6, when I try it starts to load then stops and gives me the message "the activation system is not available at this time." What should I do if I continue to use my photoshop?

    can you help me register my creative suite premium adobe cs6?

    I have lot to save my adobe photoshop cs6, when I try it starts to load then stops and gives me the message "the activation system is not available at this time." What should I do if I continue to use my photoshop?

    Check your hosts file.

    help for that and other adobe.com sure common connection problems read, http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

  • Premiere Pro sart to load and stop directly with a windows error message. The program is not responding properly.

    Hello world

    Premiere Pro sart to load and stop directly with a windows error message. The program is not responding properly. (or something like that... I work in German...)

    I just bought all Deinstalled CC all and installed again and again.

    The problem persists... just with premiere pro cc 2015.2... I'm working on windows 7.

    You have an idea?

    Thank you very much

    François

    You can please go through the requirements for Premiere pro - Premiere Pro system requirements for Mac OS and Windows

  • How do a sound STOP after one touch?

    I have a project due tonight. Basically what I'm doing, it's having a scene with a background music (lets call this Song1), but when the animation starts a key and the music goes to an audio clip that we'll call Sound2. I got the button work so now when you press it the animation starts and playing Song2. I was also able to get Song1 to play when the button has not been pressed.  But the way it works now, when the button is pressed the TWO Song1 and Song2 play and it looks horrible. How do Song1 click the button? I thought that I could call it with this.stop (); the Manager button but that didn't work. Any ideas? Thanks for reading!

    Your "this.stop" is a clue that you could use CreateJS / THML5 canvas. If this is the case, you can stop the sound with creatjs. Sound.Stop ();

  • Accidentally, I put my virtual machine - Windows 7 - 4 MB RAM, and now I can't load and stop it!

    Accidentally, I put my virtual machine - Windows 7 - 4 MB RAM, and now I can't load and stop it!
    My Windows 7 virtual is stuck in start mode of Windows, but not I can't start it, nor can I stop to change the RAM to return to normal. Help! What can I do now?

    I use Macbook Air if it is useful and WM ware Fusion 6.0.3

    Hi Requiem88,

    Just to be clear, you press the Option key on the keyboard key then went in the Virtual Machine menu at the top of the screen and choose Force Shut Down who?  Looks like you force quit in the menu Apple have rather choose.  Force quit will put end to VMware Fusion, while the option Force stop menu stop permanently from Windows itself.

    See you soon,.

    --

    Darius

Maybe you are looking for