MultiPowUpload 1.7 control documentation

MultiPowUpload movie parameters 


Attention! Replace symbols " with the """ at all parameters values and symbols "&" with the "%26" at URL values or " &" at other values!

Parameter

Type

Description

showLink

Boolean

Only for commercial version! Determines whether Flash will show MultiPowUpload lable with link. Default value is true

alertAboutOldversion

Boolean

Determines whether Flash will execute javascript:alert("Flash is too old...") method if user has too old Flash player. Default value is true

useExternalInterface

Boolean

Determines whether Flash will use External Interface i.e communication between Flash and the Java Script. Default value is false

fontFamily

String

The font name for text. The default value is "_sans".

fontSize

Integer

The font size for text. The default value is 12.

listUseRollOver

Boolean

Determines whether rolling over a row activates highlighting. The default value is true.

showIOError

Boolean

Determines whether occured IO error will be shown or Flash will try upload file again. The default value is false(Tryes to upload again). For details see Known bugs and limitations

removeUploadedFilesOnCancel

Boolean

Remove or not files from list when cancel button pressed. Default value is false

cancelImmediately

Boolean

Cancel upload/download immediately or wait while file will be fully uploaded. Default value is false

numberRetry

Integer

The number of times Flash will try to upload file if IO error occures. Default value is 3

javaScriptEventsPrefix

String

Prefix for MultiPowUpload Java Script events names. Default value is MultiPowUpload

labelUploadVisible

Boolean

Determines whether label "Select files to Upload" visible or not. The default value is true.

browseButtonVisible

Boolean

Determines whether browseButton visible or not. The default value is true.

removeButtonVisible

Boolean

Determines whether removeButton visible or not. The default value is true.

clearButtonVisible

Boolean

Determines whether clearButton visible or not. The default value is true.

uploadButtonVisible

Boolean

Determines whether uploadButton visible or not. The default value is true.

progressBarVisible

Boolean

Determines whether own movie progress bar will be shown or not. Default value is true

dateFormatString

String

Pattern to show files date. Default value is d.m.Y H:i

Characters types:
  Description Example returned values
a Lowercase Ante meridiem and Post meridiem am or pm
A Uppercase Ante meridiem and Post meridiem AM or PM
d Day of the month, 2 digits with leading zeros 01 to 31
D Textual representation of a day, three letters Mon through Sun*
F Full textual representation of a month January through December*
g 12-hour format of an hour without leading zeros 1 through 12
G 24-hour format of an hour without leading zeros 0 through 23
h 12-hour format of an hour with leading zeros 01 through 12
H 24-hour format of an hour with leading zeros 00 through 23
i Minutes with leading zeros 00 to 59
j Day of the month without leading zeros 1 to 31
l Full textual representation of the day of the week (lowercase 'L') Sunday through Saturday*
L Whether it's a leap year 1 if it is a leap year, 0 otherwise
m Numeric representation of a month, with leading zeros 01 through 12
M Short textual representation of a month, three letters Jan through Dec*
n Numeric representation of a month, without leading zeros 1 through 12
O Difference to Greenwich time (GMT) in hours Example: 5 (for EST )
s Seconds, with leading zeros 00 throguh 59
t Number of days in the given month 28 through 31
U Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)  
w Numeric representation of the day of the week 0 (for Sunday) through 6 (for Saturday)
Y Full numeric representation of a year, 4 digits Examples: 1999 or 2003
y Two digit representation of a year Examples: 99 or 03
uploadUrl

URL

The URL of the server script configured to handle upload through HTTP POST calls. The URL can be HTTP only.
If you are using symbols "&" at uploadUrl value replace them with the "%26" string!
Special characters at URL must be encoded (like "~" should be "%7E")!!! Otherwise willn't work at Mac OS

redirectUploadUrl

URL

URL of the page that automatically will be loaded after upload is finished.
Component will POST to the specified URL the uploaded files details in format MultiPowUploadFileName_0=firstfilename, MultiPowUploadFileSize_0=firstfilesize, etc . Code of the script can retrive files details like for standard POST variables:
ASP code Example:

redirectTarget

String

Target to redirect redirectUploadUrl. The same like "target" parameter in <a> html tag. Default value is _self

fileTypes

String

An array of file types used to filter the files displayed in the dialog box. Example:

All files|*.*;Images|*.jpg\;*.jpeg\;*.gif\;*.png\;*.bmp
Default value is All files|*.* (All files are displayed)

maxFileSize

Integer

Maximum file size each allowed for upload in bytes. Default value is -1 (Unlimited)

maxFileCount

Integer

Maximum number of files allowed for upload. Default value is -1 (Unlimited)

maxFileSizeTotal

Integer

Maximum total files size allowed for upload in bytes. Default value is -1 (Unlimited)

downloadMode

Boolean

Determines whether Flash Movie has interface to download files. Default value is false

filesToDownload

String

List of files to show when Flash is in Download mode (downloadMode=true). Format:
URL1|FileName1|Size1;URL2|FileName2|Size2 (etc.)
Example:

landscape.jpg|landscape.jpg|48546;frog.jpg|frog.jpg|45119
Default value is Empty string

loaderMode

Boolean

Determines whether Flash Movie has interface to load image files. Default value is false

imageToLoad

URL

URL of image to load if Flash is in Image Loader mode (loaderMode=true)

backgroundColor

Color

The background color of the Flash movie. The default color is #F8F6E6

textColor

Color

The color of top lable text. The default color is #000000

buttonTextColor

Color

The color of buttons labels when button is active. The default color is #0B333C

buttonBackgroundColor

Color

The button background color when the button is up and active. The default color is #EFEBEF

buttonBorderColor

Color

The button border color when the button is active. The default color is #919999

buttonDisabledTextColor

Color

The color of buttons labels when button is disabled. The default color is #848384

buttonDisabledBackgroundColor

Color

The button background color when the button is disabled. The default color is #f2f2f2

buttonDisabledBorderColor

Color

The button border color when the button is disabled. The default color is buttonBorderColor

buttonRollOverBorderColor

Color

The button border color when the pointer rolls over it. The default color is buttonBorderColor

listTextColor

Color

The text color of items in list. The default color is #000000

listTextSelectedColor

Color

The text color of of items in list in the selected row. The default color is #005F33

listTextRollOverColor

Color

The text color of of items in list when the pointer rolls over it. The default color is #005F33

listBackgroundColor

Color

The background color of the list. The default color is backgroundColor

listSelectionColor

Color

The background color of a selected row. The default color is #CDFFC1

listRollOverColor

Color

The background color of a row when the pointer rolls over it. The default color is #E3FFD6

listUploadedColor

Color

The background color of item in list when it was uploaded or downloaded. The default color is #F0ECC8

progressBarColor

Color

The foreground color in denoting the percent complete. The default color is #00ff00

labelUploadText

String

Default value: "Select Files to upload"

uploadButtonText

String

Default value: "Upload"

browseButtonText

String

Default value: "Browse..."

removeButtonText

String

Default value: "Remove item"

clearListButtonText

String

Default value: "Clear list"

cancelButtonText

String

Default value: "Cancel"

totalSizeText

String

Default value: "Total files size <SIZE>"

progressUploadCompleteText

String

Default value: "Upload complete"

progressUploadingText

String

Default value: "Uploading..."

progressUploadCanceledText

String

Default value: "Next files upload canceled. Wait..."

progressUploadStoppedText

String

Default value: "Upload stopped"

progressMainText

String

Default value: "<PERCENT>% Uploaded (<FILESNUM> files)<PART2DIV><BR>Transfer rate: <RATEVALUE>/sec<BR>Time left: <LEFTMIN> min <LEFTSEC> sec"

Also can be used following patterns:
<FAILCOUNT> - Count of unuploaded files.
<SUCCESSCOUNT> - Count of successfully uploaded files.
<FILESTOUPLOADCOUNT> - Total files count.

retryDialogYesLabel

String

Default value: "Yes"

retryDialogNoLabel

String

Default value: "No"

retryDialogCaption

String

Default value: "Retry upload?"

retryDialogMessage

String

Default value: "Some files was not uploaded. Do you want to try upload again?"

labelDownloadText

String

Default value: "Select Files to download"

downloadButtonText

String

Default value: "Download"

progressDownloadCompleteText

String

Default value: "Download complete"

progressDownloadingText

String

Default value: "Downloading..."

progressDownloadCanceledText

String

Default value: "Next files download canceled. Wait..."

progressDownloadStoppedText

String

Default value: "Download stopped"

fileSizeExceedMessage

String

Default value: "Only files less than <MAXFILESIZE> Kb are allowed. <COUNTINVALIDFILES> files were ignored!"

fileSizeTotalExceedMessage

String

Default value: "Total files size should be less than <MAXFILESIZETOTAL> Kb. <COUNTINVALIDFILES> files were ignored!"

filesCountExceedMessage

String

Default value: "Only <MAXFILECOUNT> files allowed to upload! <COUNTINVALIDFILES> files were ignored!"

zeroSizeMessage

String

Default value: "<COUNTINVALIDFILES> files with zero size were ignored!"

fileTypeWrongMessage

String

Default value: "Only files with following type: <FILETYPES> allowed to upload! <COUNTINVALIDFILES> files were ignored!"

sortAscLabel

String

Default value: "Sort ASC"

sortDescLabel

String

Default value: "Sort DESC"

sortByNameLabel

String

Default value: "Sort by name"

sortBySizeLabel

String

Default value: "Sort by size"

sortByDateLabel

String

Default value: "Sort by date"

fileListPattern

String

Gives way to change file list representation. Possible patterns: <FILENAME>, <SIZE>, <DATE> Default value: <FILENAME> (<SIZE>)

labelUploadWidth

Integer

Default value: 400

labelUploadHeight

Integer

Default value: 22

labelUploadX

Integer

Default value: 10

labelUploadY

Integer

Default value: 7

browseButtonWidth

Integer

Default value: 94

browseButtonHeight

Integer

Default value: 22

browseButtonX

Integer

Default value: 4

browseButtonY

Integer

Default value: 28

removeButtonWidth

Integer

Default value: 100

removeButtonHeight

Integer

Default value: 22

removeButtonX

Integer

Default value: 117

removeButtonY

Integer

Default value: 28

clearListButtonWidth

Integer

Default value: 94

clearListButtonHeight

Integer

Default value: 22

clearListButtonX

Integer

Default value: 338

clearListButtonY

Integer

Default value: 28

filesListWidth

Integer

Default value: 440

filesListHeight

Integer

Default value: 230

filesListX

Integer

Default value: 4

filesListY

Integer

Default value: 61

uploadButtonWidth

Integer

Default value: 94

uploadButtonHeight

Integer

Default value: 22

uploadButtonX

Integer

Default value: 4

uploadButtonY

Integer

Default value: 305

labelInfoWidth

Integer

Default value: 330

labelInfoHeight

Integer

Default value: 60

labelInfoX

Integer

Default value: 110

labelInfoY

Integer

Default value: 300

progressBarWidth

Integer

Default value: 328

progressBarX

Integer

Default value: 110

progressBarY

Integer

Default value: 295