I have tried, but the flash upload does not skip files that are too large. I have set all file types to 512KB max. When I upload 4 JPEG's around 1 MB each, they are processed. I see the error page, but the files are already queued and they remain on the server with no means for the user to delete them or undo the file upload.
Is this where your script fits in? I am reluctant to try really. Can I safely do this?