marc1
05-10-2008, 11:55 AM
Hello. I can't believe I found nothing about this when searching the net... but here goes:
How can I see if a flash file (.swf) is broken?
And by broken I mean it hasn't been downloaded/uploaded completely. Like if you upload a flash file to your friend and when the file is only 75% uploaded your Internet goes down.
The flash file have complete headers and background information/dimensions etc, but it does not have an ending! When a broken flash file is played it will either not show (if you right click it it will say "Movie not loaded") or in some cases play like normal up until the end where it will just stop.
I have now explained how we humans know the flash file is broken. What I wish to do is detect wheather it is broken or not by using a program (.exe) or by executing code (PHP/ASP).
Is it possible to search for a end byte or something? I'm assuming the flash format has some sort of end-of-file signature, but I'm not experienced with such things so I need your help.
--
Short version of above:
How can I detect if a flash file hasn't been downloaded completely by means of a program or a script?
Important: Please understand that involving the program that either recieves or sends the flash file is not an option. The solution must be appliable to any old flash file found on your hard drive to check if it's broken or not.
--
It is very important for me to find a solution to this problem, and I'm sure the answer will be appreciated by many surfing to this page through their search results.
Thank you for your time.
How can I see if a flash file (.swf) is broken?
And by broken I mean it hasn't been downloaded/uploaded completely. Like if you upload a flash file to your friend and when the file is only 75% uploaded your Internet goes down.
The flash file have complete headers and background information/dimensions etc, but it does not have an ending! When a broken flash file is played it will either not show (if you right click it it will say "Movie not loaded") or in some cases play like normal up until the end where it will just stop.
I have now explained how we humans know the flash file is broken. What I wish to do is detect wheather it is broken or not by using a program (.exe) or by executing code (PHP/ASP).
Is it possible to search for a end byte or something? I'm assuming the flash format has some sort of end-of-file signature, but I'm not experienced with such things so I need your help.
--
Short version of above:
How can I detect if a flash file hasn't been downloaded completely by means of a program or a script?
Important: Please understand that involving the program that either recieves or sends the flash file is not an option. The solution must be appliable to any old flash file found on your hard drive to check if it's broken or not.
--
It is very important for me to find a solution to this problem, and I'm sure the answer will be appreciated by many surfing to this page through their search results.
Thank you for your time.