f7fe7479a730247687add3053f0760430498bc71Allen RabinovichYUI.add('uploader-deprecated', function(Y) {
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * Attention: this is the 3.4.1 `uploader` module has been deprecated in favor of a new
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * uploader with an HTML5 layer. Please refer to the new Uploader User Guide for migration
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * information.
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * This module uses Flash player transport to upload files to the server, with support for
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * file filtering, multiple file uploads and progress monitoring.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @module uploader-deprecated
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovichvar SWFURL = Y.Env.cdn + "uploader-deprecated/assets/uploader.swf";
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * <p><strong><span style="color:#ff0000;">Attention: this is the 3.4.1 uploader module, which has
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * been deprecated in favor of a new uploader with an HTML5 layer. Please refer to the new
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * Uploader User Guide for migration information.</span></strong></p>
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * <p>The Uploader widget is a tool for uploading files to the server.</p>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @module uploader-deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @title Uploader
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @requires base, node, event, swf
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * <p><strong><span style="color:#ff0000;">Attention: this is the 3.4.1 uploader module, which has
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * been deprecated in favor of a new uploader with an HTML5 layer. Please refer to the new
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * Uploader User Guide for migration information.</span></strong></p>
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * <p>Creates the Uploader instance and keeps the initialization data.</p>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @class Uploader
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @extends Y.Base
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @constructor
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param {Object} config (optional) Configuration parameters for the Uploader. The following parameters are available:
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dt>boundingBox : String|Node (required)</dt>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dt>buttonSkin : String (optional)</dt>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dt>transparent : String (optional)</dt>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dt>swfURL : String (optional)</dt>
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich Uploader.superclass.constructor.apply(this, arguments);
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich if (config.hasOwnProperty("boundingBox")) {
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich this.set("boundingBox", config.boundingBox);
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich if (config.hasOwnProperty("transparent")) {
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich this.set("transparent", config.transparent);
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * The reference to the instance of Y.SWF that encapsulates the instance of the Flash player with uploader logic.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @property uploaderswf
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @type {SWF}
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @default null
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * The id of this instance of uploader.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @property _id
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @type {String}
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Construction logic executed during Uploader instantiation.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @method initializer
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich initializer : function () {
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich var oElement = Node.one(this.get("boundingBox"));
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich fixedAttributes: {allowScriptAccess:"always", allowNetworking:"all", scale: "noscale"},
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich params.flashVars["buttonSkin"] = this.get("buttonSkin");
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich params.fixedAttributes["wmode"] = "transparent";
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich this.uploaderswf = new Y.SWF(oElement, this.get("swfURL"), params);
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich var relEvent = Y.bind(this._relayEvent, this);
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Announces that the uploader is ready and available for calling methods
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * and setting properties
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @event uploaderReady
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param event {Event} The event object for the uploaderReady.
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich upswf.on ("swfReady", Y.bind(this._initializeUploader, this));
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Fired when the mouse button is clicked on the Uploader's 'Browse' button.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @event click
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param event {Event} The event object for the click.
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Fires when the user has finished selecting a set of files to be uploaded.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @event fileselect
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param event {Event} The event object for the fileSelect.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dt>fileList</dt>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dd>The file list Object with entries in the following format:
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich fileList[fileID] = {id: fileID, name: fileName, cDate: fileCDate, mDate: fileMDate, size: fileSize}</dd>
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Fired when the mouse button is pressed on the Uploader's 'Browse' button.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @event mousedown
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param event {Event} The event object for the mousedown.
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Fired when the mouse button is raised on the Uploader's 'Browse' button.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @event mouseup
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param event {Event} The event object for the mouseup.
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Fired when the mouse leaves the Uploader's 'Browse' button.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @event mouseleave
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param event {Event} The event object for the mouseleave.
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Fired when the mouse enters the Uploader's 'Browse' button.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @event mouseenter
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param event {Event} The event object for the mouseenter.
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Announces that the uploader is ready and available for calling methods
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * and setting properties
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @event uploadcancel
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param event {Event} The event object for the uploaderReady.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dt>ddEvent</dt>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dd><code>drag:start</code> event from the thumb</dd>
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Fires when a specific file's upload is cancelled.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @event uploadcomplete
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param event {Event} The event object for the uploadcancel.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dt>id</dt>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dd>The id of the file whose upload has been cancelled.</dd>
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * If the server has sent a response to the file upload, this event is
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * fired and the response is added to its payload.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @event uploadcompletedata
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param event {Event} The event object for the uploadcompletedata.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dt>id</dt>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dd>The id of the file for which the response is being provided.</dd>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dt>data</dt>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dd>The content of the server response.</dd>
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Provides error information if an error has occurred during the upload.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @event uploaderror
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param event {Event} The event object for the uploadeerror.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dt>id</dt>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dd>The id of the file for which the upload error has occurred.</dd>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dt>status</dt>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dd>Relevant error information.</dd>
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Provides progress information on a specific file upload.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @event uploadprogress
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param event {Event} The event object for the uploadprogress.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dt>id</dt>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dd>The id of the file for which the progress information is being provided.</dd>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dt>bytesLoaded</dt>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dd>The number of bytes of the file that has been uploaded.</dd>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dt>bytesTotal</dt>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dd>The total number of bytes in the file that is being uploaded.</dd>
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Announces that the upload has been started for a specific file.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @event uploadstart
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param event {Event} The event object for the uploadstart.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dt>id</dt>
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * <dd>The id of the file whose upload has been started.</dd>
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Removes a specific file from the upload queue.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @method removeFile
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param fileID {String} The ID of the file to be removed
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @return {Object} The updated file list, which is an object of the format:
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * fileList[fileID] = {id: fileID, name: fileName, cDate: fileCDate, mDate: fileMDate, size: fileSize}
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich removeFile : function (fileID /*String*/) {
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich return this.uploaderswf.callSWF("removeFile", [fileID]);
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Clears the upload queue.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @method clearFileList
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @return {Boolean} This method always returns true.
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich return this.uploaderswf.callSWF("clearFileList", []);
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Starts the upload of a specific file.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @method upload
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param fileID {String} The ID of the file to be uploaded.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param url {String} The URL to upload the file to.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param method {String} (optional) The HTTP method to use for sending additional variables, either 'GET' or 'POST' ('GET' by default)
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param postVars {Object} (optional) A set of key-value pairs to send as variables along with the file upload HTTP request.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param postFileVarName {String} (optional) The name of the POST variable that should contain the uploaded file ('Filedata' by default)
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @return {Boolean} This method always returns true.
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich upload : function (fileID /*String*/, url /*String*/, method /*String*/, postVars /*Object*/, postFileVarName /*String*/) {
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich return this.uploaderswf.callSWF("uploadThese", [fileID, url, method, postVars, postFileVarName]);
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich return this.uploaderswf.callSWF("upload", [fileID, url, method, postVars, postFileVarName]);
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Starts the upload of a set of files, as specified in the first argument.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * The upload queue is managed automatically.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @method uploadThese
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param fileIDs {Array} The array of IDs of the files to be uploaded.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param url {String} The URL to upload the files to.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param method {String} (optional) The HTTP method to use for sending additional variables, either 'GET' or 'POST' ('GET' by default)
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param postVars {Object} (optional) A set of key-value pairs to send as variables along with the file upload HTTP request.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param postFileVarName {String} (optional) The name of the POST variable that should contain the uploaded file ('Filedata' by default)
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich uploadThese : function (fileIDs /*Array*/, url /*String*/, method /*String*/, postVars /*Object*/, postFileVarName /*String*/) {
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich return this.uploaderswf.callSWF("uploadThese", [fileIDs, url, method, postVars, postFileVarName]);
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Starts the upload of the files in the upload queue.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * The upload queue is managed automatically.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @method uploadAll
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param url {String} The URL to upload the files to.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param method {String} (optional) The HTTP method to use for sending additional variables, either 'GET' or 'POST' ('GET' by default)
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param postVars {Object} (optional) A set of key-value pairs to send as variables along with the file upload HTTP request.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param postFileVarName {String} (optional) The name of the POST variable that should contain the uploaded file ('Filedata' by default).
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich uploadAll : function (url /*String*/, method /*String*/, postVars /*Object*/, postFileVarName /*String*/) {
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich return this.uploaderswf.callSWF("uploadAll", [url, method, postVars,postFileVarName]);
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Cancels the upload of a specific file, if currently in progress.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @method cancel
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param fileID {String} (optional) The ID of the file whose upload should be cancelled. If no ID is specified, all uploads are cancelled.
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich return this.uploaderswf.callSWF("cancel", [fileID]);
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Setter for the 'log' property.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @method setAllowLogging
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param value {Boolean} The value for the 'log' property.
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich setAllowLogging : function (value /*Boolean*/) {
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich this.uploaderswf.callSWF("setAllowLogging", [value]);
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Setter for the 'multiFiles' property.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @method setAllowMultipleFiles
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param value {Boolean} The value for the 'multiFiles' property.
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich setAllowMultipleFiles : function (value /*Boolean*/) {
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich this.uploaderswf.callSWF("setAllowMultipleFiles", [value]);
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Setter for the 'simLimit' property.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @method setSimUploadLimit
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param value {Boolean} The value for the 'simLimit' property.
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich setSimUploadLimit : function (value /*int*/) {
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich this.uploaderswf.callSWF("setSimUploadLimit", [value]);
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Setter for the 'fileFilters' property.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @method setFileFilters
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param value {Boolean} The value for the 'fileFilters' property.
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich setFileFilters : function (fileFilters /*Array*/) {
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich this.uploaderswf.callSWF("setFileFilters", [fileFilters]);
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Enables the uploader user input (mouse clicks on the 'Browse' button). If the button skin
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * is applied, the sprite is reset from the "disabled" state.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @method enable
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich enable : function () {
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Disables the uploader user input (mouse clicks on the 'Browse' button). If the button skin
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * is applied, the sprite is set to the 'disabled' state.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @method enable
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich disable : function () {
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Called when the uploader SWF is initialized
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @method _initializeUploader
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param event {Object} The event to be propagated from Flash.
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich this.publish("uploaderReady", {fireOnce:true});
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Called when an event is dispatched from Uploader
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @method _relayEvent
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @param event {Object} The event to be propagated from Flash.
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * The flag that allows Flash player to
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * output debug messages to its trace stack
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * (if the Flash debug player is used).
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @attribute log
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @type {Boolean}
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @default false
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * The flag that allows the user to select
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * more than one files during the 'Browse'
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * dialog (using 'Shift' or 'Ctrl' keys).
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @attribute multiFiles
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @type {Boolean}
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @default false
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * The number of files that can be uploaded
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * simultaneously if the automatic queue management
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * is used. This value can be in the range between 2
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @attribute simLimit
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @type {Number}
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * The array of filters on file extensions for
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * the 'Browse' dialog. These filters only provide
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * convenience for the user and do not strictly
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * limit the selection to certain file extensions.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * Each item in the array must contain a 'description'
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * property, and an 'extensions' property that must be
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * in the form "*.ext;*.ext;*.ext;..."
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @attribute fileFilters
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @type {Array}
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @default []
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * The Node containing the uploader's 'Browse' button.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @attribute boundingBox
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @type {Node}
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @default null
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * The URL of the image sprite for skinning the uploader's 'Browse' button.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @attribute buttonSkin
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @type {String}
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @default null
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * The flag indicating whether the uploader is rendered
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * with a transparent background.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @attribute transparent
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @type {Boolean}
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @default true
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * The URL of the uploader's SWF.
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @attribute swfURL
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich * @type {String}
71bbbe94567d63ab107a7eab263595bcc6e47833Allen Rabinovich * @deprecated
f7fe7479a730247687add3053f0760430498bc71Allen Rabinovich}, '@VERSION@' ,{requires:['swf', 'base', 'node', 'event-custom']});