Flash.Media.Sound get his break problem standby 2.0 playbbok

Hello friends,

I have a problem that sounds break when lock us the screen manually and automatically sounds is a break and when unlock us it resume the sound but I need to play the sound in the context of pending cases.

As iam using the api Flash media.sound.

Please help me on this thanks in advance to all my friends.

in the file of the bar - descriptor.xml, try to set:

strangled

Also try:

NativeApplication.nativeApplication.systemIdleMode = SystemIdleMode.KEEP_AWAKE;

Tags: BlackBerry Developers

Similar Questions

  • Call for a stop of the method may not set via a static reference with type.flash.media.Sound

    This error appears when I tried to put this code "soundFx_1.stop ()"; inside a function implementation. What does that mean?

    you don't have to stop all sounds in your earpiece mouseover, only your listener reversal function function:

    var soundFx_2:Sound = new Sound (new URLRequest("Cabinet_Close.mp3"));

    var soundFx_3:Sound = new Sound (new URLRequest("Cabinet_Open.mp3"));

    var SC: SoundChannel;

    Cabinet1_00.addEventListener (MouseEvent.MOUSE_OVER, fl_MouseOverHandler);

    Cabinet1_00.addEventListener (MouseEvent.ROLL_OUT, fl_RollOutHandler);

    If (this ["showAcid3"] is nothing)

    {

    var showAcid3:Boolean = true;

    }

    showAcid3 = true;

    function fl_MouseOverHandler(event:MouseEvent):void

    {

    Cabinet1_00.gotoAndStop ('Open_0');

    SC. Stop();

    SC = soundFx_3.Play ();

    setChildIndex (Cabinet1_00, numChildren-1);

    If (showAcid3 is true)

    {

    Cabinet1_00.Acid_3.gotoAndStop ('Still');

    Cabinet1_00.Acid_3.addEventListener (MouseEvent.CLICK, removeSelf);

    }

    on the other

    {

    Cabinet1_00.Acid_3.visible = false;

    }

    }

    function removeSelf(e:MouseEvent):void

    {

    showAcid3 = false;

    soundFx_1.play ();

    DisplayObject (e.target) .removeEventListener (MouseEvent.CLICK, removeSelf);

    }

    function fl_RollOutHandler(event:MouseEvent):void

    {

    Cabinet1_00.gotoAndStop ('Still');

    SC. Stop();

    SC = soundFx_2.play ();

    }

  • His code problem

    Hello. Whenever I open my swf file, the sound is played. How can I get the sound not play from the beginning of the SWF? Here is the code I got from google. Thanks in advance! It is action script 3.0 incidentally.

    import flash.net.URLRequest;

    import flash.media.Sound;

    import flash.events.Event;

    import flash.events.MouseEvent;

    Stop();

    var req:URLRequest = new URLRequest ("bgmusic.mp3");

    var isPlaying:Boolean = true;

    var snd:Sound = new Sound (req);

    var channel: SoundChannel;

    var pausePosition:Number = 0;

    Channel = snd.play (pausePosition);

    playBtn.gotoAndStop (2);

    playBtn.addEventListener (MouseEvent.CLICK, playPause);

    channel.addEventListener (Event.SOUND_COMPLETE, onPlaybackComplete);

    function onPlaybackComplete(event:Event) {}

    pausePosition = 0;

    Channel = snd.play (pausePosition);

    isPlaying = true;

    channel.addEventListener (Event.SOUND_COMPLETE, onPlaybackComplete);

    }

    function playPause(event:MouseEvent):void {}

    If (isPlaying == false) {}

    Channel = snd.play (pausePosition);

    isPlaying = true;

    playBtn.gotoAndStop (2);

    channel.addEventListener (Event.SOUND_COMPLETE, onPlaybackComplete);

    }

    else {}

    pausePosition = channel.position;

    Channel.Stop ();

    playBtn.gotoAndStop (1);

    isPlaying = false;

    }

    }

    Try to change the following lines as shown...

    var isPlaying:Boolean = false;

    ...

    Channel = snd.play (pausePosition);  delete these two lines

    playBtn.gotoAndStop (2);

  • There is no sound in my computer and I also get the error "Windows media player has encountered a problem while playing the file" while trying to play audio in Windows Media Player.

    Original title: what is a possible cause for any audio?

    Whenever I try to play any type of audio file I get the error message "Windows media player has encountered a problem while playing the file." All of my audio is disabled, no notification sound, no in his game. All audio drivers are up to date and when I try to diagnose the problem, he told me that there is no problems found. It also gives me this error message when you try to play video files or listen to internet radio on the media player.

    Hello

    If I understand correctly, you are facing problem with playback of the audio files in Windows Media Player. I would like to know more information on the issue, so that we can help you better.

    1. have you made changes on the computer before this problem?

    2. is it works much earlier?

    Let us try the following methods and check if it works for you.

    Method 1:

    Run the troubleshooter in Windows Media Player.

    Open the troubleshooting Windows Media Player settings Troubleshooter

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter

    Method 2:

    Try to re - register the files associated with Windows Media Player.

    a. Click Start, type 'regsvr32 wmp.dll"without the quotes into the search option and press ENTER.

    b. restart your computer later.

    Also see the following Microsoft to issue his No. article.

    http://Windows.Microsoft.com/en-us/Windows7/tips-for-fixing-common-sound-problems

    http://Windows.Microsoft.com/en-us/Windows/no-sound-help#no-sound=Windows-7&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

    Please reply with the status of the issue, so that we can better help you.

  • Impossible to play a sound in the CAR Flash Media Player when it is connected.

    Original title: RCA TH102 256 MB Flash Media Player

    I can't get my computer to play sounds.  He won't play the sound of the computer or my Altec Lansing computer speakers.  The computer program to solve a problem, says that everything works and even my speakers work.

    The program to make my computer work speaking to her, rose and I chose to not use it.  Could it have something to do with it. ?  I checked for the update on programs and updates on drivers and they all come back indicating that everything works well.  I'm puzzled.
    JL

    Hello

    1. have you made changes on the computer before this problem?

    2. is it works much earlier?

    3 is the issue limited only with Flash Player?

    4. are you able to hear the sound of the computer?

    Try to connect the device to a different USB port, if it does not. Check with the other computer.

    Run the fixit available in the link below and check if that makes a difference

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    Hope the above information is helpful.

  • Windows Media Player 11, 20 seconds before the end of a track, and if there is another upcoming track, sound, jumps cracks, breaks upward.

    Original title: dissolution - log jam - sounds 20 seconds before WMP 11 goes from the current track to the other.

    Windows Media Player 11. 20 seconds before the end of a track, and if there is another track to come, the sound cracks, skips, breaks upward. A check in the Task Manager indicates that only when that happens all of a sudden the wscsvc service uses a lot of cpu. All of a sudden, the problem occurred two days ago. I had no explicit amy changed security - but standards updated Windows and McAfee took place.

    As expected Windows difficulty he finds no problem.

    Hi Janssons Frestelse,

    Good to know that you were able to resolve the issue and I thank you for updating the same.

    About the audio driver, you can try uninstalling and reinstalling the sound card and check.

    a. Click Start and type devmgmt.msc, and then Enter.

    b. expand sound, video and game controllers.

    c. right-click on the sound card and choose uninstall.

    d. restart the computer and check

    You can also check the manufacturer's website and try to download the latest verion of Windows Vista audio drivers and check.

    Check out the link:

    Update drivers: recommended links

    http://Windows.Microsoft.com/en-us/Windows-Vista/update-drivers-recommended-links

    Concerning

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    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.

  • No matter what I try to play, I get this message, "Windows Media Player has encountered a problem while playing the file." And the media player does not work

    Windows Media Player

    No matter what I try to play, I get this message, "Windows Media Player has encountered a problem while playing the file."  And the media player does not work

    Reset the WMP.

    Step by step instructions are given here: -.

    http://www.mydigitallife.info/how-to-uninstall-and-re-install-Windows-Media-Player-12-WMP12-in-Windows-7/

  • get the error message"Windows Media Player has encountered a problem while playing the file. "When tying to play videos on my memory card

    get the error message"Windows Media Player has encountered a problem while playing the file. "When you try to play videos on my memory card

    Hello

    1. What is the format of the video file you are trying to play?

    2. do you have any third party audio or video codec installed?

    Follow these methods.

    Method 1:  Run the troubleshooter in the Windows Media Player settings.

    Troubleshooting looking for issues related to playback of audio and video files in the drive by checking its configuration and network parameters.

    Open the troubleshooting Windows Media Player settings Troubleshooter
    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter

    Method 2:
    If you have installed any third-party codec or plug-in for Windows Media Player, uninstall them temporarily to check if they are causing the problem.

  • I recently turned from a PC to an IMac.  I use Lightroom 5 and I can no longer open older videos or import videos from my D7100.  The error I get is "dynamic links media server has encountered a problem.  Anyone know a fix or will be updated into the ligh

    I recently turned from a PC to an IMac.  I use Lightroom 5 and I can no longer open older videos or import videos from my D7100.  The error I get is "dynamic links media server has encountered a problem.  Anyone know of a patch or upgrade to Lightroom 6 will fix the problem?

    Hey billo,

    Could you please check and confirm the version of Lightroom you use?

    What operating system do you use?

    ~ UL

  • I get a message "Windows Media Player has encountered a problem" when I browse me videos.

    When I browse my library of videos in Windows Media Player 11 on Windows XP SP3, I got a message "Windows Media Player has encountered a problem and needs to close." The message does not appear immediately, but after about 5 seconds browsing my library of videos. The details of the error are:
    AppName: wmplayer.exe AppVer: ModName 11.0.5721.5145: deinterlace.ax
    ModVer: 1.0.1.0 Offset: 00001cba

    Any help would be greatly appreciated.

    Someone just tell me how to solve the problem. Apparently, some corrupt videos caused Windows Media Player to plant as soon as thumbnails of the videos have been read. I quickly changed to a non-thumbnail view, so the error would not appear (it appears only when you try to load the photos), then deleted corrupted videos. Thanks for the help, if.

  • El Capitan Flash Media Live Encoder problems

    New MacBook Pro with El Capitan installed. Trying to install Flash Media Live Encoder 3.2 and it says 'Install' damaged and cannot be opened. Eject the disk image. Any suggestions?

    Go to System Preferences > Security & Privacy and allow the applications from "everywhere". That fixed it for me!

  • His Windows problems

    I can hear and read CD and DVD, or .wmv files but can not play windows sounds or hear sound on the videos on the site

    Hello

    To the sounds of Windows:

    Control Panel - sounds - sounds tab - check the sounds of Windows of Play starting - APPLY / OK
    If checked then uncheck the APPLY / OK - then go back and check again.

    Check the premium sound system - make sure it is not set to no. SOUNDS.

    Test the individual sounds you like.

    Double click on the little speaker near the clock - mix - make sure Windows sounds have Volume
    and is not cut.

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

    For the problem of the website:

    IE - Tools - Multimedia Internet Options - Advanced tab - check sounds in Web pages
    APPLY / OK - close and restart IE.

    If it has been verified - uncheck the box - APPLY / OK - close and restart IE - then go back and re-check.
    APPLY / OK - close and restart IE.

    Solution to Youtube or other Flash video embedded no sound in external websites
    http://www.mydigitallife.info/2007/08/16/solution-to-fix-YouTube-or-other-embedded-Flash-video-no-sound-in-external-websites/

    and, if necessary:

    Adobe Flash no sound WaveMapper trick
    http://www.mydigitallife.info/2007/08/15/Adobe-Flash-no-sound-WaveMapper-trick/

    --------------------------------------------------

    You need to maybe uninstall and reinstall Adobe Flash

    How do I uninstall the plug-in Adobe Flash Player and ActiveX control
    http://kb2.Adobe.com/CPS/141/tn_14157.html
    Install Adobe Flash Player
    http://get.Adobe.com/flashplayer/

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Flash media live encoder

    Hello

    I downloaded the version 3.2 of flash media encoder and installation in the mac tell me "the installation file is corrupt" and wants to eject the virtual disk that creates live on the desktop.

    Someone has already encountered this problem and how can I fix?

    Thank you

    IF El Capitan Mac read below

    CS6 and previous programs have not been tested and will not be updated to run on Mac El Capitan

    -which means you are trying to use CS6 and earlier at YOUR risk of having problems

    -You can get CS6 and previous programs to install and run, or you can not (some do, some don't)

    -IF not, Details of the message from the error messages and a person may be able to help (just not Adobe)

    Maybe it's a fake because of Mac El Capitan and OLD programs error

    This information is a MUST to install old programs on Mac El Capitan

    -You can't get the same error message, but here are some links that CAN help with old programs

    -Java https://helpx.adobe.com/dreamweaver/kb/dreamweaver-java-se-6-runtime.html can help

    Install CS5 on Mac 10.11 https://forums.adobe.com/thread/2003455 can help (also for others than CS5)

    -also a TEMPORARY security change https://forums.adobe.com/thread/2039319

    -http://mac-how-to.wonderhowto.com/how-to/open-third-party-apps-from-unidentified-developer s-mac-os-x-0158095 /

    -the guardian https://support.apple.com/en-au/HT202491

  • Flash Media Server/Flash Media Live Encoder

    Hello I just installed the add-in on my FMS 3.5 server authentication (Windows 2008 Server - 32-bit).  I created a user and verify that the username/password is correct; However, whenever I try to connect to the server through Flash Media Live Encoder 3.2 I get not found user.  Again, I'll go back to the utility on the FMS and check and the username/password combination is valid.  I'd appreciate any help, I'm stuck.  Thank you.

    Please re-read.  Yes, I restart. I understood what was my problem on yesterday.  I needed run the utility as 'administrator' command prompt so that the users.exe to run entirely.  It was a permissions problem. Thanks again!

  • Error #1014: Class flash. media::MicrophoneEnhancedOptions is not found.

    Hello

    • I am trying to build a mobile application that uses a webcam, chat text / audio. The web cam and the text chat works very well with me, I even tried the White Board and it worked. Once I tried to add the Audio portion, I got this error:

    "Error #1014: class flash. media::MicrophoneEnhancedOptions is not found. .

    at com.adobe.rtc.clientManagers::MicrophoneManager/get selectedMic() [/ users/smagee/flashfarm/to connect/cocomomobile/src/com/adobe/RTC/clientManage rs / MicrophoneManager.as:169]... »

    I tried several file swc but still getting the same error. Any help or advice how to fix this problem?

    • Is there that a Mobile SDK version will be release soon?

    Thank you very much

    Suha

    Hi, Suha

    As the release notes State, you're compiling to AIR 2.7. I think that

    the error you see is the result of targeting AIR 2.6.

    See the instructions provided useful here:

    http://forums.Adobe.com/message/3847495#3847495

    (Note also that you must add the following to your Flex compiler settings):

    -swf-version = 12

    Thank you

    Sasha

Maybe you are looking for