Flash plugin stops playing when hidden or on different tab.

I've noticed (a few months ago, actually) that in most browsers I use  to test my application (Firefox, chrome and explorer) the flash plug in,  while playing it's content, will stop, or freeze, when the actual plug in  playback window is out of the window (due to scrolling, or switching  tabs), or covered by another window (a different browser or program  window that will cover the visible area of the player), which is  something good, and nice, when you think about web pages full of  commercials slowing down your browser and computer in general, but what  happens when you a games programmer, who work with multiplayer games, on  games which are mostly turn based?
If one of my players switches  tabs, open a new window over the browser, or god forbids, scroll down  the page, the game is essentially stopped, since no events occur on that  players side of the game!!
And this does not effect just simple  frame based animation, but everything, onEnterFrame events stop,  setInterval stops... the only thing that I could find that does not stop  when this happens is a setInterval action done in a different swf,  which is loaded to a different level of my game file.
How  can I by pass this? and what did Adobe or who ever came up with this  idea, was thinking? a whole community of games programmers left to dry  in the sun??
Hoping for a solution to be found for this problem, since my boss is already talking Java, and I don't want to go there....
Thanks.
Yuval Lahav.

The article clearly states that:
"regardless of the value of the hasPriority parameter, a SWF file that is not visible to the user always has its rendering paused".
And this is a big big big big huge huge terrible terrible  problem for programmers and users of flash based turn by turn games,  since as a player, if I would want to "cheat" the game, all I need to do  is simply switch to another tab in the browser, or open a new window, a  program, something to cover the screen, and that would "pause" the  game.
This new feature is, and will, kill the turn by turn based  games, time based games  (since now I can "pause" the timer) and if you  think about it, real time games also, as rendering stops completely when  the swf is not visible on the screen!!
This is not only ridiculous, it's going to create problems for all flash developers of real dynamic online content!!

Similar Messages

  • 8tracks not playing when open in a different tab to the one its using

    Good Day,
    I am struggling to keep 8tracks playing continuously when I am browsing in other open internet tabs. I have to actually be on that page in order for it to continue playing. If a song starts and then I go to a different tab, it will finish playing the song, but then it stops. The same as when I just play music and my laptop sleeps open, the music just stops. It is still playing online (as the songs are changing even though I can't hear them), but it just doesn't play through my laptop. I never had this problem with my previous laptop, so I know that this is possible for 8tracks to do.
    Kind regards,
    Catherine

    Hi. First time ever i reply here cuz am so happy just found the way fixing it:
    Take out the 8tracks tab as a separate window, then hide it in a very corner, leave the desktop space for rest your things

  • Why does my browser constantly have to stop playing when watching You Tube?

    Why does my browser constantly have to stop playing when I watch You Tube or other videos?
    this is driving me nuts. It stops and then starts up again after a few seconds and then stops again and re-starts.
    Happens on both Safari and Firefox.
    Can anyone help?
    Message was edited by: kathrynfromsananselmo

    Hi Kathryn ...
    Most YouTube content requires the Flash plugin... try troubleshooting.
    Quit Safari and Firefox if they are open.
    Now uninstall the Flash plugin then reinstall new >  Troubleshoot Flash Player | Mac OS
    Use Safari to test. Launch Safari From your Safari menu bar click Safari > Empty Cache
    Now try a video.
    BTW... if you have the ClickToFlash extension installed in Safari > Preferences - Extensions, that can prevent Flash based video from streaming. It can also be installed as a plugin in /Library/Internet-Plug-Ins.
    And check to see if Safari is running in 32 bit mode. Right or control click the Safari icon in your Applications folder then click Get Info. If the box next to:  Open in 32 bit mode  is selected, deselect, quit then relaunch Safari to test.

  • IPod no longer stops playing when a podcasts ends

    Starting with iPod software 2.1 and iTunes 8.0, my iPod Touch 1st Gen. no longer stops playing when the end of a Podcast is reached. It will start playing the next Podcast episode in the list although that is an older podcast that I have already listened to.
    Prior to these software updates, I would be listening to, let's say, the MacCast podcast number 100, when it finished, the iPod would stop. I could then go up the list and play a newer episode or switch to a different podcast. However, now, once episode 100 finishes, the next episode down the list is number 99 and it starts playing automatically (even though I have already listened to it).
    Is there some new setting I am missing? Is anyone else having this problem?
    Regards,

    It's a new "feature" of the latest firmware upgrade.
    I personally hate it.
    Send Apple feedback here:
    http://www.apple.com/feedback/

  • I need to play a song on a Keynote presentation, how do I do this ? I use to drag and drop the mp3 in Keynote but it stops playing when the slide move to the other one... how can I make the song keep playing through the whole presentation ? Thanks.

    I need to play a song in a row in a Keynote presentation, how do I do this ? I use to drag and drop the mp3 in Keynote but it stops playing when the slide move to the other one... how can I make the song keep playing through out the presentation ?
    Thanks.

    Drag the file into the audio window in the Document inspector...

  • Why does pandora stop playing when i unlock my phone

    Why does pandora stop playing when i unlock my phone?

    Hello wayne1722
    If you are having issues with the Pandora app, check out the article for troubleshooting the issue.
    iOS: Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/TS1702
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • HT4211 why youtube stops playing when you want to see your facebook status

    i am a new user of iphone , i want to know why does youtube stops playing when you switch to another app, why cant it continue playing while we check someother app.

    Probably because Google did not program it to keep running in the background.
    Its up to the App developer to provide this functionality.

  • Sounds stop playing when user locks screen on iOS with AIR 3.9 Beta

    We built a simple application that should play sounds when in background and when the screen is locked.
    Since we updated to the latest AIR 3.9 Beta SDK, all sounds stop playing when the user locks the screen on iOS.
    The sounds resume when the screen is unlocked.
    - it works on Android
    - we use renderMode : cpu
    - we use UIBackgroundModes : audio
    - we use NativeApplication.nativeApplication.systemIdleMode=SystemIdleMode.KEEP_AWAKE;
    - sounds play when the app is in background
    - was working great with AIR 3.8 SDK
    Any help would be greatly appreciated.
    Thanks!

    Thanks for reproting the issue, we have an internal already logged bug for this, which is under investigation at the moment.
    -Nimit

  • TS3700 music stops playing when the screen goes dark, but the earbud jack is flush with the iPod. The Jack is hard to push in now. what is the problem?

    Music stops playing when the screen goes dark; the earbud jack is flush with the iPod. The Jack is hard to push in. what is the problem? How do I Fix it?

    And you are positive the white part of the headset is flush with the body of the Nano?
    Have you tried another set of headphones to see if the problem persisted? If so, it's likely that the headphone jack needs replacing.
    B-rock

  • When I play my Ipod shuffle 3rd gen there's a moment when I start hearing interference until it stops playing, when I turn it off and on again it starts playing from the first song all over again, and once it sounded like the music was slowing down.

    My Ipod shuffle 3rd gen starts playing songs with some kind of interference until it stops playing, when I turn it off and on again it starts playing from the first song all over again, and once it sounded like the music was slowing down.  First I thought it was the earphones, but I exchanged them for newer ones and so far its the same

    You may want to do a Restore on the shuffle in iTunes.  The Restore button is on the shuffle's Summary screen in iTunes.  This will erase the shuffle, re-install its software, and set it to default settings.  If it's a software or data corruption glitch, the Restore should fix it.  After the Restore, reload or resync your songs, and try it again.  As a test, you may want to initially select a small number of songs to put back on the shuffle.

  • Why does my music stop playing when I sleep my screen?

    Why do songs stop playing when I sleep my screen? If my screen automatically sleeps after two minutes or I sleep it with the button or iPad smart cover the music stops playing. It only started doing this after upgrading to 5.0.1. Is this just a bug with the new software?

    Thanks Rachel, I have done that and it seemed to have taken care of the problem, though my music videos in "Video" stop playing when my iPad sleeps automatically after two minutes... I am trying to find out how to contact apple about these issues directly...

  • My itunes music stops playing when my laptop screen closes down after about 5 min. im using windows7

    my itunes music stops playing when my laptop screen closes off after about 5minutes. im using windows7

    DriveReadySeekComplete errors are either:
    - IDE controler failure
    - Bad cables
    - Bad harddisk
    Out of these 3, the last one sounds the most reasonable with nowadays harddrives. And yes, your system will hang when all your important processes are hanging while trying to do disk I/O.
    What windows does is switching back to PIO mode and never report anything, until you hit the nice BSOD telling you to replace the floppydisk in drive C...

  • Music does not stop playing when I disconnect from USB in car

    When iphone is connected to car stereo, music does not stop playing when I disconnect the usb cable. If someone is calling me and I unplug from USB, all I hear in my ear is music...I cannot hear the person calling me. Not sure what's happened but it never used to do this. Any suggestions?

    Nseries phones have behaved this way since forever.
    I don't know any way to change this. Same behavior happens if you unplug your headset or headphones.
    640K Should be enough for everybody
    El_Loco Nokia Video Blog

  • TS3700 I am facing this issues that music stops playing when the display goes...Please help me with this...:)

    I am facing this issues that music stops playing when the display goes...Please help me with this...:)

    Did you see the article linked at the top of this page?
    iPod nano (6th generation): Music stops when display turns off
    B-rock

  • Laptop (EliteBook 6930p) speakers stop playing when docked (HSTNN-IX01 PA286A)

    This is very frustrating problem.
    My laptop's (EliteBook 6930p) internal speakers play audio just fine but as soon as I place the laptop on the docking station (HSTNN-IX01 PA286A), speakers stop playing.
    Audio output device stays the same as 'speakers' whether docked or not.
    While docked, I can get audio out through line out on the laptop as well as the line out on the docking station.
    But the built-in speakers just will not play while docked.
    Sound is not mutted, volume level is not hear 0%, it just stops playing when docked.
    I've tried, reinstalling audio drivers as administrator under freshly installed Vista and Windows 7.
    Same behavior is observed under the two different OS's I've tried.
    Is it just not possible to get audio out of the built-in speakers when docked to this docking station?
    Is there anyone who can confirm built-in speakers working whiled docked to this particular docking station?

    Hello vlsi2000,
    I am sorry, but to get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this at http://h30499.www3.hp.com/hpeb/ .
    I hope this helps!
    Thank you
    I worked on behalf of HP.

Maybe you are looking for

  • Workday field not getting populated in BAPI_ENTRYSHEET_CREATE

    Hi MM gurus, I am trying to upload service entry sheets using bapi's , i checked the note 420334 and its working fine now.But, i want to populate  the workday field also in the service entry sheets, but this field is not getting populated even if i e

  • Need Help to get value from MessageChoice and pass it to another MesgChoice

    Hi All, How to get a value from a messageChoice1 in CO into a variable. Once the messageChoice1 is selected i need to pass this variable into a VO whereClause and the page get refreshed, so that another messageChoice2 in the same page will have the v

  • Idoc used by CRM to post the outbound delivery in R/3 while saving the sale

    Hi, Can any one tell me …which idoc (from the r/3 system) the crm system calls while creating a inbound delivery for the sales order created in crm. I am having fields like ‘Transaction Type’, ‘Ext. Reference cust’, ‘Delivery Control’ etc…which are t

  • Cannot read print job Lexmark x264 and Yosemite

    Hi guys I have an printer Lexmar x264 over lan and I have an problem after update to Yosemite. Tried everything to remove device driver to return, to reset printer, to redefine IP address, no success... Any help about it? S.

  • Failed: Export process terminated unexpectedly

    I'm using Quicktime Pro version 7.5 and am having problems exporting, keep getting the message: failed: export process terminated unexpectedly The source files are .mov, the format (in the movie properties window) is Sorenson video 3 and I'm simply t