^1400719875444
@
sname
SwfUpload
slabel
SwfUpload
sjavaScriptObjectName
SWFUpload
shtmlKey
SWFUpload
sheaders
<script type="text/javascript" src="${request.contextPath}/js/swfupload/swfupload.js"></script>
sextends
xworker.html.base.scripts.JavaScriptObject
sdescriptors
xworker.html.base.scripts.JavaScriptObjectType
smany
true
seditCols
2
sinitialization
false
sgroup
SwfUpload
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<h4 style="padding-bottom: 7px; line-height: normal; widows: 2; text-transform: none; background-color: rgb(255,255,209); font-variant: normal; font-style: normal; text-indent: 0px; padding-left: 7px; padding-right: 7px; font-family: Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 20px; font-size: medium; word-spacing: 0px; padding-top: 7px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">File Object</h4>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The file object is passed to several event handlers. It contains information about the file. Some operating systems do not fill in all the values (this is especially true for the createdate and modificationdate values).</p>
<p><code style="border-bottom: rgb(239,239,239) 1px solid; border-left: rgb(239,239,239) 1px solid; padding-bottom: 15px; line-height: normal; overflow-x: scroll; overflow-y: visible; widows: 2; text-transform: none; background-color: rgb(250,250,250); font-variant: normal; font-style: normal; text-indent: 0px; padding-left: 15px; padding-right: 15px; display: block; white-space: pre; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 25px; border-top: rgb(239,239,239) 1px solid; font-weight: normal; border-right: rgb(239,239,239) 1px solid; word-spacing: 0px; padding-top: 15px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">{ id : string, // SWFUpload file id, used for starting or cancelling and upload <br />
&nbsp; index : number, // The index of this file for use in getFile(i)&nbsp;<br />
&nbsp;&nbsp;name : string, // The file name. The path is not included.&nbsp;<br />
&nbsp;&nbsp;size : number, // The file size in bytes&nbsp;<br />
&nbsp;&nbsp;type : string, // The file type as reported by the client operating system&nbsp;<br />
&nbsp;&nbsp;creationdate : Date, // The date the file was created&nbsp;<br />
&nbsp; modificationdate : Date, // The date the file was last modified <br />
&nbsp; filestatus : number, // The file's current status. Use SWFUpload.FILE_STATUS to interpret the value. <br />
}</code></p>
<h4 style="padding-bottom: 7px; line-height: normal; widows: 2; text-transform: none; background-color: rgb(255,255,209); font-variant: normal; font-style: normal; text-indent: 0px; padding-left: 7px; padding-right: 7px; font-family: Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 20px; font-size: medium; word-spacing: 0px; padding-top: 7px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><a name="statsobject"></a>Stats Object</h4>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The Stats object provides information about the upload queue.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">That stats object contains the following properties:</p>
<p><code style="border-bottom: rgb(239,239,239) 1px solid; border-left: rgb(239,239,239) 1px solid; padding-bottom: 15px; line-height: normal; overflow-x: scroll; overflow-y: visible; widows: 2; text-transform: none; background-color: rgb(250,250,250); font-variant: normal; font-style: normal; text-indent: 0px; padding-left: 15px; padding-right: 15px; display: block; white-space: pre; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 25px; border-top: rgb(239,239,239) 1px solid; font-weight: normal; border-right: rgb(239,239,239) 1px solid; word-spacing: 0px; padding-top: 15px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">{ in_progress : number // 1 or 0 indicating if a file upload is currently in progress&nbsp;<br />
&nbsp;&nbsp;files_queued : number // The number of files currently in the queue&nbsp;<br />
&nbsp;&nbsp;successful_uploads : number // The number of files that have uploaded successfully (caused uploadSuccess to be fired)&nbsp;<br />
&nbsp;&nbsp;upload_errors : number // The number of files that have had errors (excluding cancelled files) <br />
&nbsp; upload_cancelled : number // The number of files that have been cancelled <br />
&nbsp; queue_errors : number // The number of files that caused fileQueueError to be fired <br />
}</code></p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">All these values can be updated using setStats() except the<span class="Apple-converted-space">&nbsp;</span><em>in_progress</em><span class="Apple-converted-space">&nbsp;</span>and<span class="Apple-converted-space">&nbsp;</span><em>files_queued</em><span class="Apple-converted-space">&nbsp;</span>values.</p>
#$@text#$@
sth_createIndex
true
sth_registThing
child|xworker.html.base.scripts.JavaScript
sth_mark
false
@/@upload_url
sname
upload_url
ssize
60
sreadOnly
false
sinheritDescription
false
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@file_post_name
sname
file_post_name
ssize
40
sreadOnly
false
sinheritDescription
false
sdescription
<p><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The file_post_name allows you to set the value name used to post the file. This is not related to the file name. The default value is 'Filedata'. For maximum compatibility it is recommended that the default value is used.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@post_params
sname
post_params
sinputtype
textarea
sinputattrs
codeName= codeType= wrap=false fillBoth=true cols= rows=150
sreadOnly
false
Sdefault
#$@text#$@
{
}
#$@text#$@
sinheritDescription
false
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@use_query_string
sname
use_query_string
sinputtype
truefalse
sreadOnly
false
sdefault
false
sinheritDescription
false
sdescription
<p><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The use_query_string setting may be true or false. This value indicates whether SWFUpload should send the post_params and file params on the query string or the post. This setting was introduced in SWFUpload v2.1.0.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@preserve_relative_urls
sname
preserve_relative_urls
sinputtype
truefalse
sreadOnly
false
sdefault
false
sinheritDescription
false
sdescription
<p><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">A boolean value that indicates whether SWFUpload should attempt to convert relative URLs used by the Flash Player to absolute URLs. If set to true SWFUpload will not modify any URLs. The default value is false.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@requeue_on_error
sname
requeue_on_error
sinputtype
truefalse
sreadOnly
false
sdefault
false
sinheritDescription
false
Sdescription
#$@text#$@
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The requeue_on_error setting may be true or false. When this setting is true any files that has an uploadError (excluding fileQueue errors and the FILE_CANCELLED uploadError) is returned to the front of the queue rather than being discarded. The file can be uploaded again if needed. To remove the file from the queue the cancelUpload method must be called.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">All the events associated with a failed upload are still called and so the requeuing the failed upload can conflict with the Queue Plugin (or custom code that uploads the entire queue). Code that automatically uploads the next file in the queue will upload the failed file over and over again if care is not taken to allow the failing upload to be cancelled.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">This setting was introduced in SWFUpload v2.1.0.</p>
#$@text#$@
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@http_success
sname
http_success
ssize
40
sreadOnly
false
sinheritDescription
false
Sdescription
#$@text#$@
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">An array that defines the HTTP Status Codes that will trigger success. 200 is always a success. Also, only the 200 status code provides the serverData.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">When returning and accepting an HTTP Status Code other than 200 it is not necessary for the server to return content.</p>
#$@text#$@
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@assume_success_timeout
sname
assume_success_timeout
sreadOnly
false
sinheritDescription
false
Sdescription
#$@text#$@
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The number of seconds SWFUpload should wait for Flash to detect the server's response after the file has finished uploading. This setting allows you to work around the Flash Player bugs where long running server side scripts causes Flash to ignore the server response or the Mac Flash Player bug that ignores server responses with no content.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Testing has shown that Flash will ignore server responses that take longer than 30 seconds after the last uploadProgress event.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">A timeout of zero (0) seconds disables this feature and is the default value. SWFUpload will wait indefinitely for the Flash Player to trigger the uploadSuccess event.</p>
#$@text#$@
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@file_types
sname
file_types
sshowLabel
true
ssize
50
sgroup
File
sreadOnly
false
sdefault
*.*
sinheritDescription
false
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@file_types_description
sname
file_types_description
sshowLabel
true
ssize
60
sgroup
File
sreadOnly
false
sinheritDescription
false
sdescription
<p><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">A text description that is displayed to the user in the File Browser dialog.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@file_size_limit
sname
file_size_limit
sshowLabel
true
sgroup
File
sreadOnly
false
sinheritDescription
false
Sdescription
#$@text#$@
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The file_size_limit setting defines the maximum allowed size of a file to be uploaded. This setting accepts a value and unit. Valid units are B, KB, MB and GB. If the unit is omitted default is KB. A value of 0 (zero) is interpreted as unlimited.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Note: This setting only applies to the user's browser. It does not affect any settings or limits on the web server.</p>
#$@text#$@
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@file_upload_limit
sname
file_upload_limit
sshowLabel
true
sgroup
File
sreadOnly
false
sinheritDescription
false
Sdescription
#$@text#$@
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Defines the number of files allowed to be uploaded by SWFUpload. This setting also sets the upper bound of the file_queue_limit setting. Once the user has uploaded or queued the maximum number of files she will no longer be able to queue additional files. The value of 0 (zero) is interpreted as unlimited. Only successful uploads (uploads the trigger the uploadSuccess event) are counted toward the upload limit. The setStats function can be used to modify the number of successful uploads.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Note: This value is not tracked across pages and is reset when a page is refreshed. File quotas should be managed by the web server.</p>
#$@text#$@
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@file_queue_limit
sname
file_queue_limit
sshowLabel
true
sgroup
File
sreadOnly
false
sinheritDescription
false
sdescription
<p><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Defines the number of unprocessed files allowed to be simultaneously queued. Once a file is uploaded, errored, or cancelled a new files can be queued in its place until the queue limit has been reached. If the upload limit (or remaining uploads allowed) is less than the queue limit then the lower number is used.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@flash_urlfiles
sname
flash_url
sinputtype
inputSelect
ssize
60
sreadOnly
false
sinheritDescription
false
Sdescription
#$@text#$@
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The full, absolute, or relative URL to the Flash Control swf file. This setting cannot be changed once the SWFUpload has been instantiated. Relative URLs are relative to the page URL.</p>
<p><br class="Apple-interchange-newline" />
&nbsp;</p>
#$@text#$@
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@flash_urlfiles/@xworkerJs
sname
xworkerJs
slabel
'js/swfupload/swfupload.swf'
svalue
'js/swfupload/swfupload.swf'
sdescriptors
xworker.lang.MetaDescriptor3/@attribute/@value
sth_createIndex
false
sth_mark
false
@/@prevent_swf_caching
sname
prevent_swf_caching
sinputtype
truefalse
sreadOnly
false
sdefault
true
sinheritDescription
false
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@debug
sname
debug
sinputtype
truefalse
sreadOnly
false
sdefault
false
sinheritDescription
false
sdescription
<p><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">A boolean value that defines whether the debug event handler should be fired.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@button_placeholder_id
sname
button_placeholder_id
sshowLabel
true
ssize
40
sgroup
Button
sreadOnly
false
sinheritDescription
false
sdescription
<p><strong><font size="4">(Added in v2.2.0)</font></strong><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>This required setting sets the ID of DOM element that will be<span class="Apple-converted-space">&nbsp;</span></span><em style="line-height: normal; widows: 2; text-transform: none; font-variant: normal; text-indent: 0px; font-family: Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); font-size: medium; font-weight: normal; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">replaced</em><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>by the Flash Button. This setting overrides the button_placeholder setting. The Flash button can be styled using the CSS class 'swfupload'.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@button_placeholder
sname
button_placeholder
sshowLabel
true
sgroup
Button
sreadOnly
false
sinheritDescription
false
sdescription
<p><strong><font size="4">(Added in v2.2.0)</font></strong><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>This required setting sets the DOM element that will be<span class="Apple-converted-space">&nbsp;</span></span><em style="line-height: normal; widows: 2; text-transform: none; font-variant: normal; text-indent: 0px; font-family: Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); font-size: medium; font-weight: normal; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">replaced</em><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>by the Flash Button. This setting is only applied if the button_placeholder_id is not set. The Flash button can be styled using the CSS class 'swfupload'.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@button_image_url
sname
button_image_url
sshowLabel
true
ssize
60
sgroup
Button
sreadOnly
false
sinheritDescription
false
Sdescription
#$@text#$@
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><strong>(Added in v2.2.0)</strong><span class="Apple-converted-space">&nbsp;</span>Fully qualified, absolute or relative URL to the image file to be used as the Flash button. Any Flash supported image file format can be used (another SWF file or gif, jpg, or png).</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">This URL is affected by the preserve_relative_urls setting and should follow the same rules as the upload_url setting.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The button image is treated as a sprite. There are 4 button states that must be represented by the button image. Each button state image should be stacked above the other in this order: normal, hover, down/click, disabled.</p>
#$@text#$@
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@button_width
sname
button_width
sshowLabel
true
ssize
60
sgroup
Button
sreadOnly
false
sinheritDescription
false
sdescription
<p><strong><font size="4">(Added in v2.2.0)</font></strong><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>A number defining the width of the Flash button.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@button_height
sname
button_height
sshowLabel
true
ssize
60
sgroup
Button
sreadOnly
false
sinheritDescription
false
sdescription
<p><strong><font size="4">(Added in v2.2.0)</font></strong><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>A number defining the height of the Flash button. This value should be 1/4th of the height or the button image.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@button_text
sname
button_text
sshowLabel
true
sgroup
Button
sreadOnly
false
sinheritDescription
false
sdescription
<p><strong><font size="4">(Added in v2.2.0)</font></strong><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Plain or HTML text that is displayed over the Flash button. HTML text can be further styled using CSS classes and the button_text_style setting. See</span><a style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#htmlText" target="_blank">Adobe's Flash documentation</a><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>for details.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@button_text_style
sname
button_text_style
sshowLabel
true
sgroup
Button
sreadOnly
false
sinheritDescription
false
sdescription
<p><strong><font size="4">(Added in v2.2.0)</font></strong><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>CSS style string that defines how the button_text is displayed. See<span class="Apple-converted-space">&nbsp;</span></span><a style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/StyleSheet.html" target="_blank">Adobe's Flash documentation</a><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>for details.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@button_text_top_padding
sname
button_text_top_padding
sshowLabel
true
sgroup
Button
sreadOnly
false
sinheritDescription
false
sdescription
<p><strong><font size="4">(Added in v2.2.0)</font></strong><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Used to vertically position the Flash button text. Negative values may be used.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@button_text_left_padding
sname
button_text_left_padding
sshowLabel
true
sgroup
Button
sreadOnly
false
sinheritDescription
false
sdescription
<p><strong><font size="4">(Added in v2.2.0)</font></strong><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Used to horizontally position the Flash button text. Negative values may be used.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@button_action
sname
button_action
sshowLabel
true
sgroup
Button
sreadOnly
false
sinheritDescription
false
sdescription
<p><strong><font size="4">(Added in v2.2.0)</font></strong><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Defines the action taken when the Flash button is clicked. Valid action values can be found in the swfupload.js file under the BUTTON_ACTION object.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@button_disabled
sname
button_disabled
sshowLabel
true
sgroup
Button
sreadOnly
false
sinheritDescription
false
sdescription
<p><strong><font size="4">(Added in v2.2.0)</font></strong><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>A boolean value that sets whether the Flash button is in the disabled state. When in the disabled state the button will not execute any actions.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@button_cursor
sname
button_cursor
sshowLabel
true
ssize
40
sgroup
Button
sreadOnly
false
sinheritDescription
false
sdescription
<p><strong><font size="4">(Added in v2.2.0)</font></strong><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Used to define what type of mouse cursor is displayed when hovering over the Flash button.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@button_window_mode
sname
button_window_mode
sshowLabel
true
ssize
40
sgroup
Button
sreadOnly
false
sinheritDescription
false
sdescription
<p><strong><font size="4">(Added in v2.2.0)</font></strong><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-converted-space">&nbsp;</span>Sets the WMODE property of the Flash Movie. Valid values are available in the SWFUpload.WINDOW_MODE constants.</span></p>
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@custom_settings
sname
custom_settings
sinputtype
textarea
sinputattrs
codeName= codeType= wrap=false fillBoth=true cols= rows=150
sreadOnly
false
Sdefault
#$@text#$@
{
}
#$@text#$@
sinheritDescription
false
Sdescription
#$@text#$@
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The custom_settings setting allows developers to safely attach additional information to a SWFUpload instance without worrying about affecting internal SWFUpload values or changes in new SWFUpload versions. This setting accepts a JavaScript object.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Once instantiated the custom settings are accessed in the 'customSettings' property of the SWFUpload instance.</p>
#$@text#$@
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@flashReady
sname
flash_ready_handler
sextends
xworker.html.base.scripts.JavaScriptFunction
sdescriptors
xworker.html.base.scripts.JavaScriptObjectType/@thing
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
sdescription
<p><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">flashReady is an internal event that should not be overwritten. It is called by the Flash Control to notify SWFUpload that the Flash movie has loaded and is ready to accept commands.</span></p>
sth_createIndex
false
sth_mark
false
@/@swfUploadLoaded
sname
swfupload_loaded_handler
sextends
xworker.html.base.scripts.JavaScriptFunction
sdescriptors
xworker.html.base.scripts.JavaScriptObjectType/@thing
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
sdescription
<p><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The swfUploadLoaded event is fired by flashReady. It is settable. swfUploadLoaded is called to let you know that it is safe to call SWFUpload methods.</span></p>
sth_createIndex
false
sth_mark
false
@/@fileDialogStart
sname
file_dialog_start_handler
sextends
xworker.html.base.scripts.JavaScriptFunction
sdescriptors
xworker.html.base.scripts.JavaScriptObjectType/@thing
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
sdescription
<p><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">fileDialogStart is fired after selectFile for selectFiles is called. This event is fired immediately before the File Selection Dialog window is displayed. However, the event may not execute until after the Dialog window is closed.</span></p>
sth_createIndex
false
sth_mark
false
@/@fileQueued
sname
file_queued_handler
sextends
xworker.html.base.scripts.JavaScriptFunction
sdescriptors
xworker.html.base.scripts.JavaScriptObjectType/@thing
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
sdescription
<p><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The fileQueued event is fired for each file that is queued after the File Selection Dialog window is closed.</span></p>
sth_createIndex
false
sth_mark
false
@/@fileQueued/@params
sname
params
ssize
60
sreadOnly
false
sdefault
file
sinheritDescription
false
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@fileQueueError
sname
file_queue_error_handler
sextends
xworker.html.base.scripts.JavaScriptFunction
sdescriptors
xworker.html.base.scripts.JavaScriptObjectType/@thing
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The fileQueueError event is fired for each file that was not queued after the File Selection Dialog window is closed. A file may not be queued for several reasons such as, the file exceeds the file size, the file is empty or a file or queue limit has been exceeded.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The reason for the queue error is specified by the error code parameter. The error code corresponds to a SWFUpload.QUEUE_ERROR constant.</p>
#$@text#$@
sth_createIndex
false
sth_mark
false
@/@fileQueueError/@params
sname
params
ssize
60
sreadOnly
false
sdefault
file,errorCode,message
sinheritDescription
false
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@fileDialogComplete
sname
file_dialog_complete_handler
sextends
xworker.html.base.scripts.JavaScriptFunction
sdescriptors
xworker.html.base.scripts.JavaScriptObjectType/@thing
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The fileDialogComplete event fires after the File Selection Dialog window has been closed and all the selected files have been processed. The 'number of files queued' argument indicates the number of files that were queued from the dialog selection (as opposed to the number of files in the queue).</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">If you want file uploading to begin automatically this is a good place to call 'this.startUpload()'</p>
#$@text#$@
sth_createIndex
false
sth_mark
false
@/@fileDialogComplete/@params
sname
params
ssize
60
sreadOnly
false
sdefault
index,file,totalNumber
sinheritDescription
false
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@uploadStart
sname
upload_start_handler
sextends
xworker.html.base.scripts.JavaScriptFunction
sdescriptors
xworker.html.base.scripts.JavaScriptObjectType/@thing
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">uploadStart is called immediately before the file is uploaded. This event provides an opportunity to perform any last minute validation, add post params or do any other work before the file is uploaded.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The upload can be cancelled by returning 'false' from uploadStart. If you return 'true' or do not return any value then the upload proceeds. Returning 'false' will cause an uploadError event to fired.</p>
#$@text#$@
sth_createIndex
false
sth_mark
false
@/@uploadStart/@params
sname
params
ssize
60
sreadOnly
false
sdefault
file
sinheritDescription
false
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@uploadProgress
sname
upload_progress_handler
sextends
xworker.html.base.scripts.JavaScriptFunction
sdescriptors
xworker.html.base.scripts.JavaScriptObjectType/@thing
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The uploadProgress event is fired periodically by the Flash Control. This event is useful for providing UI updates on the page.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><strong>Note:</strong><span class="Apple-converted-space">&nbsp;</span>The Linux Flash Player fires a single uploadProgress event after the entire file has been uploaded. This is a bug in the Linux Flash Player that we cannot work around.</p>
#$@text#$@
sth_createIndex
false
sth_mark
false
@/@uploadProgress/@params
sname
params
ssize
60
sreadOnly
false
sdefault
file,completeBytes,totalBytes
sinheritDescription
false
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@uploadError
sname
upload_error_handler
sextends
xworker.html.base.scripts.JavaScriptFunction
sdescriptors
xworker.html.base.scripts.JavaScriptObjectType/@thing
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The uploadError event is fired any time an upload is interrupted or does not complete successfully. The error code parameter indicates the type of error that occurred. The error code parameter specifies a constant in SWFUpload.UPLOAD_ERROR.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Stopping, Cancelling or returning 'false' from uploadStart will cause uploadError to fire. Upload error will not fire for files that are cancelled but still waiting in the queue.</p>
#$@text#$@
sth_createIndex
false
sth_mark
false
@/@uploadError/@params
sname
params
ssize
60
sreadOnly
false
sdefault
file,errorCode,message
sinheritDescription
false
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@uploadSuccess
sname
upload_success_handler
sextends
xworker.html.base.scripts.JavaScriptFunction
sdescriptors
xworker.html.base.scripts.JavaScriptObjectType/@thing
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">uploadSuccess is fired when the entire upload has been transmitted and the server returns a HTTP 200 status code. Any data outputted by the server is available in the server data parameter.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Due to some bugs in the Flash Player the server response may not be acknowledged and no uploadSuccess event is fired by Flash. In this case the assume_success_timeout setting is checked to see if enough time has passed to fire uploadSuccess anyway. In this case the received response parameter will be false.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The http_success setting allows uploadSuccess to be fired for HTTP status codes other than 200. In this case no server data is available from the Flash Player.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">At this point the upload is not yet complete. Another upload cannot be started from uploadSuccess.</p>
#$@text#$@
sth_createIndex
false
sth_mark
false
@/@uploadSuccess/@params
sname
params
ssize
60
sreadOnly
false
sdefault
file,data,response
sinheritDescription
false
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@uploadComplete
sname
upload_complete_handler
sextends
xworker.html.base.scripts.JavaScriptFunction
sdescriptors
xworker.html.base.scripts.JavaScriptObjectType/@thing
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">uploadComplete is always fired at the end of an upload cycle (after uploadError or uploadSuccess). At this point the upload is complete and another upload can be started.</p>
<p style="widows: 2; text-transform: none; text-indent: 0px; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); margin-left: 35px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">If you want the next upload to start automatically this is a good place to call this.uploadStart(). Use caution when calling uploadStart inside the uploadComplete event if you also have code that cancels all the uploads in a queue.</p>
#$@text#$@
sth_createIndex
false
sth_mark
false
@/@uploadComplete/@params
sname
params
ssize
60
sreadOnly
false
sdefault
file
sinheritDescription
false
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
@/@debug1
sname
debug_handler
sextends
xworker.html.base.scripts.JavaScriptFunction
sdescriptors
xworker.html.base.scripts.JavaScriptObjectType/@thing
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
sdescription
<p><span style="widows: 2; text-transform: none; text-indent: 0px; display: inline !important; font: medium Simsun; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">The debug event is called by the SWFUpload library and the Flash Control when the debug setting is set to 'true'. If the debug event is not overridden then SWFUpload writes debug messages to the SWFUpload console (a text box dynamically added to the end of the page body).</span></p>
sth_createIndex
false
sth_mark
false
@/@debug1/@params
sname
params
ssize
60
sreadOnly
false
sdefault
message
sinheritDescription
false
svalidateAllowBlank
true
LvalidateOnBlur
true
LallowDecimals
true
LallowNegative
true
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
sth_mark
false
