The idea is that the upload button never gets shown until sfwupload loads. It works in newer IE and other browsers, but not on IE6. This is how I do it:
1) I have this in my settings:
swfupload_loaded_handler : swfUploadLoaded,
2) I have this in my handlers:
function swfUploadLoaded() {
// reveal button when swfupload loads
var btnSelect = document.getElementById("btnSelect");
btnSelect.style.display = '' ;
}
3) This is the button in question on the page (edited in obvious way to show on this post):
(I replaced the HTML tag arrows with [ and ])
[input id="btnSelect" type="button" onclick="swfu.selectFiles()" style="display:none;" /]
This way the button is displayed only AFTER swfUploadLoaded is called, but the button is never displayed on IE6. Furthermore, when I get rid of the swfupload_loaded_handler completely and display the button permanently, the selectFiles() never executes (only on IE6), aka, the browsing interface never comes up.
I guess that the handler doesn't get called at all! Any ideas on why the sequence doesn't finish or how to fix this?
alert()
Have you tried placing an alert("HELLO"); in your event handler function or using FireFox and Firebug to set a breakpoint there to see if it is getting called.
The swfupload_loaded_handler setting is used in several of the demos and is working. I can't tell from the information you've provided where the issue might be occurring.
Code
Well I looked at my code again and after discovering that it was not flawed, I tested my flash version on IE and it was version 7! That explains everything, except why my parents didn't give me away on time...
So thanks for your help. I gotta tweak my flash detection/warning script some now.