We have swf files that play on our clients screens constantly for days to months without ever being restarted. most of them work fine, however after a seemingly random amount of time, usually between days and weeks, parts, or all of the flash movie will freeze.
The file loads in a text file using LoadVars every 15 to 30 seconds. After a while, it seems to stop loading the file and just set all text (prices) to zero. sometimes the flash animations might continue to play while the text is zero, but sometimes it seems to freeze completely on the very first frame of animation, so that parts of the screen may be white, just like the first frame in the flash editor looks.
Once we connect to one of these devices remotely using logmein, it starts to work again, which i believe may be because the screen is quickly refreshed which starts the animation again.
I've done some research, and i've come to find that playing full screen for a period of time while hardware acceleration is on can cause this to happen, however, turning off hardware acceleration is not an option as the animation looks like crap.
There seems to be no correlation between flash player version or hardware and this problem occurring.
So, is there any way to detect an exception in the flash animation from actionscript, or when it just freezes? I believe actionscript continues to run happily in the background while the video freezes, although this is yet untested.
does anybody have any ideas that might solve a problem like this? preferably a solution that involves only editing the flash files instead of configuring our clients machines, as we have thousands of devices out there, and configuring them in any way may disrupt our clients businesses.