title: How to display invalid file type message in uploadify.js?
body: <p>I am using uploadify.js for image upload functionality.</p>
  
  <p>But when I select invalid file type, it shows a blank alert message.</p>
  
  <p>Where should I edit the file to display message as un supported file type?</p>
  
  <p>I have following type of code in uploadify.js file.</p>
  
  <pre><code>// Run the default event handler
              if ($.inArray('onSelectError', settings.overrideEvents) &lt; 0) {
                  switch(errorCode) {
                      case SWFUpload.QUEUE_ERROR.QUEUE_LIMIT_EXCEEDED:
                          if (settings.queueSizeLimit &gt; errorMsg) {
                              this.queueData.errorMsg += '\nThe number of files selected exceeds the remaining upload limit (' + errorMsg + ').';
                          } else {
                              this.queueData.errorMsg += '\nThe number of files selected exceeds the queue size limit (' + settings.queueSizeLimit + ').';
                          }
                          break;
                      case SWFUpload.QUEUE_ERROR.FILE_EXCEEDS_SIZE_LIMIT:
                          this.queueData.errorMsg += '\nThe file "' + file.name + '" exceeds the size limit (' + settings.fileSizeLimit + ').\nPlease upload the file in specified size limit.';
                          break;
                      case SWFUpload.QUEUE_ERROR.ZERO_BYTE_FILE:
                          this.queueData.errorMsg += '\nThe file "' + file.name + '" is empty.';
                          break;
                      case SWFUpload.QUEUE_ERROR.FILE_EXCEEDS_SIZE_LIMIT:
                          this.queueData.errorMsg += '\nThe file "' + file.name + '" is not an accepted file type (' + settings.fileTypeDesc + ').';
  
  
  break;
              }
  </code></pre>
  
  <p>I noticed that this <code>SWFUpload.QUEUE_ERROR.FILE_EXCEEDS_SIZE_LIMIT:</code> is used two times.</p>
  
  <p>I think I need to change <code>FILE_EXCEEDS_SIZE_LIMIT</code> to something else for invalid filetype.
  But do not know what to write there?</p>