
Hi,
My SWFUpload is working perfectly for FF - IE7 and Safari.
The problem is with the "swfu.selectFiles();", when you click on the button in FF or IE7 ... it opens a file dialog, when clicking on this button in Avant (IE 6) it doesn't work, he doesn't even the file dialog.
Is this a known bug, problem.. if not.... is there a solution for it?
Thanks in advance!
Avant
This issue has to do with Caching in Avant. It is a known issue. In my testing the very first time I load SWFUpload it works but after a refresh or navigating away and back to the page it won't work any more.
I notified the Avant developers and they said "it works for us" and that was the end of it.
One work around that you might try is adding a random parameter to the flash_url setting:
flash_url: "../swfupload/swfupload_f9.swf?random=<?php echo mt_rand(0, 9999999); ?>"
The idea is that the browser won't use the cached file because the URI is different.