Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
$#!
 _fileReference, UploadFile
 _name, UploadFile
 _size, UploadFile
 _status, UploadFile
A
 Action Functions, SearchPanel
 Activate, SearchPanel
 Activation Functions, SearchPanel
 applicationToken
B
 BOOLEAN_PARAMETERS
 bytesUploaded
C
 cleanupFile
 CloseResultsWindow, SearchPanel
 Constants
 currentlyRemovingFiles
 currentUpload
D
 deactivateTimeout, SearchPanel
 deactivateTimeoutLength, SearchPanel
 DOM Elements, SearchPanel
 DOMPopupSearchResults, SearchPanel
 DOMPopupSearchResultsWindow, SearchPanel
 DOMSearchField, SearchPanel
 DOMSearchPanel, SearchPanel
 DOMSearchType, SearchPanel
 doUpload
E
 Event Handlers, SearchPanel
 eventHandled
F
 fadeInPanels
 file, UploadFile
 fileDisplay.mxml
 fileFilter
 fileNameHeader
 filesTooLargeMessageText
 filesTooLargeTitleText
 filesToRemove
 FINISHED, UploadFile
 finishedText
 flashCSS
 flashFileHelper.mxml
 Functions
H
 handleHTTPFault
 headRelEvt
I
 InactivateAfterTimeout, SearchPanel
 init
K
 keyTimeout, SearchPanel
 keyTimeoutLength, SearchPanel
L
 lastMatchCount, SearchResults
 lastResultsPage, SearchPanel
 lastSearchValue, SearchPanel
M
 main.js
 mainPanelTitleText
 maximumAllowedFilesErrorMessageText
 maximumAllowedFilesErrorTitleText
 maximumBytesOnServer
 maximumBytesOnServerErrorMessageText
 maximumBytesOnServerErrorTitleText
 maximumFileBytes
 maximumFileSizeAlert
 maximumFilesOnServer
 maximumTotalBytes
 maximumUploads
 maximumUploadsErrorMessageText
 maximumUploadsErrorTitleText
 mode
N
 name
 numUploads
O
 OnSearchFieldChange, SearchPanel
 OnSearchFieldFocus, SearchPanel
 OnSearchTypeChange, SearchPanel
 OnSearchTypeFocus, SearchPanel
P
 Parameters
 preInit
 progressBarDefaultLabelText
 progressToNextFile
 Properties, UploadFile
Q
 Query String Paramaters
 queryStringLoader.as
 queue
 QUEUED, UploadFile
 queuedText
R
 removeFileHandler
 removeFiles
 removeFilesButtonText
 removeFileScript.as
 removeFileURL
 requestToken
 requestTokenHandler
 requestTokenScript.as
 resultsPath, SearchPanel
S
 Search
 SearchPanel
 SearchResults
 size, UploadFile
 STANDARD_PARAMETERS
 status, UploadFile
 styleInit
 styleInitialization.as
 styleUpdatedHandler
private var _fileReference: FileReference
File reference to the file to be uploaded.
private var _name: String
Name of the file
private var _size: Number
Size of the file in bytes.
private var _status: String
Status of the file upload.
this.Activate = function(isActive,
ignoreDeactivateDelay)
Activates or deactivates the search panel, resetting things to their default values if necessary.
Functions that handle whether the entire panel is active or not.
A token that can be sent with the upload request to further identify the application.
Parameters that are true or false values represented by strings.
private var bytesUploaded: Number
Number of bytes that have been uploaded.
private function cleanupFile(file: FileReference):void
Removes the event listeners.
this.CloseResultsWindow = function()
Closes the results window.
private var currentlyRemovingFiles: Boolean
Used to determine if files are currently in the process of being removed.
private var currentUpload: compu.UploadFile
File that is currently being uploaded.
The timeout used between when a control is deactivated and when the entire panel is deactivated.
this.deactivateTimeoutLength
The length of deactivateTimeout in thousandths of a second.
this.DOMPopupSearchResults = function()
this.DOMPopupSearchResultsWindow = function()
this.DOMSearchField = function()
this.DOMSearchPanel = function()
this.DOMSearchType = function()
private function doUpload(data: compu.UploadFile):void
Adds event listeners to the local file, formats the variables to be passed to the upload, and initiates the file upload.
private var eventHandled: Boolean
Used to determine if the event has been handled in the event that multiple events will be thrown from one error.
private function fadeInPanels():void
Fades in the main panel and its children.
public function get file():FileReference
Returns the reference to the file on the local file system.
private var fileFilter: FileFilter
Filters files user is able to select for upload, comprised of fileLabel and fileExtensions query string parameters.
The default header of the file name column.
public var filesTooLargeMessageText: String
public var filesTooLargeTitleText: String
private var filesToRemove: ArrayCollection
An ArrayCollection of files that are queueud to be removed.
File is uploaded
Text that displays in the list when a file is finished.
External compiled CSS file to load.
private function handleHTTPFault(error: FaultEvent):void
Handle faults in the event of HTTP Service failure.
private function headRelEvt(event: DataGridEvent):void
Handles a click on the header of the file list.
this.InactivateAfterTimeout = function()
Called by inactivateTimeout, which is set by Activate().
private function init():void
Called on initialize and on data change to update the data display of the item.
this.keyTimeout
The timeout used between a keystroke and when a search is performed.
this.keyTimeoutLength
The length of keyTimeout in thousandths of a second.
this.lastMatchCount
The number of matches from the last run of Search().
this.lastResultsPage
The last results page.
this.lastSearchValue
The last search string executed, or an empty string if none.
User definable text of the Title of the main panel.
Maximum number of files that are allowed to exist on the server exceeded error message text.
Maximum number of files that are allowed to exist on the server exceeded error title text.
Maximum bytes on server.
Maximum number of bytes that are allowed to exist on the server exceeded error message text.
Maximum number of bytes that are allowed to exist on the server exceeded error title text.
Maximum file size of each individual file.
User definable text of maximum file size error message.
Maximum number of files on server.
Maximum total bytes that can be uploaded in a single session.
Maximum number of uploads in one session.
Maximum uploads exceeded error message.
Maximum uploads exceeded error title.
this.mode
The mode the search is going to work in, such as “HTML” or “FramedHTML”.
this.mode
The mode the search is going to work in, such as “HTML” or “FramedHTML”.
this.name
The name of the global variable that will be storing this instance of the class.
public function get name():String
Returns the file name.
private var numUploads: Number
Number of uploads in this session.
this.OnSearchFieldChange = function()
Called when the content of the search field is changed.
this.OnSearchFieldFocus = function(isActive)
Called when focus is added or removed from the search field.
this.OnSearchTypeChange = function()
Called when the search type is changed.
this.OnSearchTypeFocus = function(isActive)
Called when focus is added or removed from the search type.
Contains the items to read and initialize from the query string.
private function preInit():void
Reads in and sets the query string parameters.
User definable default text of the progress bar.
private function progressToNextFile(file: FileReference):void
Triggers a cleanup on the current file, and initiates the upload of the next file.
User defined variables passed to the application from the query string.
private var queue: ArrayCollection
Queue containing the files to upload.
File is queued for upload
Text that displays when a file is queueud.
private function removeFileHandler(event: ResultEvent):void
Handles the result of the file removal operation.
private function removeFiles():void
Sends the removal request.
User definable text of the remove files button.
URL to request removal of file on the server.
private function requestToken() : void
Requests a token from the server to assist in identifying the upload since session information isn’t communicated on file upload.
private function requestTokenHandler() : void
Handles the return of the HTTPService request for the token, setting the token variable.
this.resultsPath
The relative path from the current HTML page to the results page directory.
this.Search = function()
Performs a search.
this.Search = function(search)
Searches for the passed string.
A class handling everything associated with the search panel.
The class that handles everything on the search results page.
public function get size():Number
Returns the size of the file in bytes.
Parameters that require no special manipulation for assignment.
public function get status():String
Returns the status of the transfer.
private function styleInit():void
Loads the flash css style if it is available.
private function styleUpdatedHandler(event: StyleEvent):void
When the style is added, makes the panel visible.