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!
Thanks atta! mouseLeave wasn't quite what I was looking for
but as I was testing this out I noticed that Stage has a deactivate
event. I followed that and realized it does exactly what I need it
to do. Thanks!
okay spoke a little too soon - deactivate is fired off on any
time the app loses focus, not necessarily when it stops playing. Is
there an event which signals right before the player is going to be