Hello.First God Bless You for fast reaction after Adobe 10 version update.Your script is really Rock! I have two questions:I use custom image for upload button and I have after selecstion files this button set to disable.And second question if with my php/mysql system detect the user use his limit for upload file, the next time when visit the page how in difault mode the upload button simply be disabled, and any click doing nothing.I need a few line of code attached to the right event.
If anyone can help me, thanks in advance.
Suggestions
1) You can use the fileDialogComplete event and the setButtonDisabled() function to get your button disabled.
2) When loading the page have some PHP in your settings that enable / disable the button:
var swfu = new SWFUpload({
upload_url : "upload.php",
button_disabled : <?php echo $alreadyUploaded ? "true" : "false"; ?>
});
Maybe
Hi Gyphie, maybe it would be better when SWFUpload will change the 'upload' button state automatically to 'disabled' if queued/uploaded number of files reach file_upload_limit, file_queue_limit restrictions? What do you think?