3 Replies Latest reply on Feb 24, 2008 9:48 PM by Brycerocket

    Detecting when Flex App is in background tab in safari

      So here is my dilemma:

      I load up my application (which streams data from a socket), make a new tab in safari, wait x amount of minutes, and go back to the application. I'm streaming video across the socket and on return the frame rate goes through the roof, faster than the source actually transfers at. So what I believe is happening is the flash application stops playing, but the socket is still open so data is being buffered at the lower level. Is there any way to detect when the flex app goes into the background so I can close the sockets and then reopen them later? Thanks!