First of all, why is it so hard to run SWFUpload out of the box? You first need to choose between 9 different versions (with not really clear names), then you have to go from directory to directory to collect all the requires files.
Once I did this, and I uploaded all the files, I get a website with no errors, but no select files dialog either. Please visit my site and tell me why it isn't working:
January 8, 2009 - 5:39pm
Also, why the hell does SWFUpload use such a global CSS?
It breaks my entire site..
a {
color: #385ea2;
text-decoration: none;
}
January 8, 2009 - 6:24pm
SWFUpload does not use any CSS. It is purely JavaScript and Flash. If you have decided to attempt to integrate some of the sample Demo code into your website then good luck. They are unsupported and we recommend against it.
There is currently one release version of SWFUpload (v2.1.0). v2.2.0 is in beta (we are on a 4th beta). v2.1.0 is not compatible with Flash Player 10. v2.2.0 fixes the issues with Flash Player 10. It sounds like you are trying to build your site out of the sample files. The "Core" package contains the files you need. (which are SWFupload.js and SWFUpload.swf). There is a plugin folder that contains the plugin JS files. With those files you instantiate a SWFUpload object with the settings you want to use. Then you build your event handlers to update your websites UI as needed.
We have provided API documentation, online demonstration pages and downloadable demonstrations and sample files.
-------
Your site doesn't work because since Flash Player 10 you cannot use an HTML button to trigger SelectFiles. Instead a Flash button is embedded in the page. If you click to the left of your 'Select Files' you will hit the Flash button and get a File Select dialog. You need to supply an image file to this button (or some text) using the available SWFUpload settings. Sample Button images are provided so it is clear what format the image must be in.