Function 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
A
 Activate, SearchPanel
C
 cleanupFile
 CloseResultsWindow, SearchPanel
D
 DOMPopupSearchResults, SearchPanel
 DOMPopupSearchResultsWindow, SearchPanel
 DOMSearchField, SearchPanel
 DOMSearchPanel, SearchPanel
 DOMSearchType, SearchPanel
 doUpload
F
 fadeInPanels
H
 handleHTTPFault
 headRelEvt
I
 InactivateAfterTimeout, SearchPanel
 init
O
 OnSearchFieldChange, SearchPanel
 OnSearchFieldFocus, SearchPanel
 OnSearchTypeChange, SearchPanel
 OnSearchTypeFocus, SearchPanel
P
 preInit
 progressToNextFile
R
 removeFileHandler
 removeFiles
 requestToken
 requestTokenHandler
S
 Search
 styleInit
 styleUpdatedHandler
T
 Toggle, SearchResults
U
 uploadCompleteHandler
 UploadFile, UploadFile
 uploadFiles
 uploadHTTPStatusHandler
 uploadIoErrorHandler
 uploadOpenHandler
 uploadSelectHandler
this.Activate = function(isActive,
ignoreDeactivateDelay)
Activates or deactivates the search panel, resetting things to their default values if necessary.
private function cleanupFile(file: FileReference):void
Removes the event listeners.
this.CloseResultsWindow = function()
Closes the results window.
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 function fadeInPanels():void
Fades in the main panel and its children.
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.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.
private function preInit():void
Reads in and sets the query string parameters.
private function progressToNextFile(file: FileReference):void
Triggers a cleanup on the current file, and initiates the upload of the next file.
private function removeFileHandler(event: ResultEvent):void
Handles the result of the file removal operation.
private function removeFiles():void
Sends the removal request.
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.Search = function()
Performs a search.
this.Search = function(search)
Searches for the passed string.
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.
this.Toggle = function(id)
Toggles the visibility of the passed element ID.
private function uploadCompleteHandler (event: Event):void
Called when a file upload is completed.
public function UploadFile(name: String,  
size: Number,  
status: String,  
file: FileReference = null)
Initializes the object.
private function uploadFiles():void
Displays the file selector and initiates the file upload.
private function uploadHTTPStatusHandler(event: HTTPStatusEvent):void
Displays an error alert, and sets the eventHandled variable to true.
private function uploadIoErrorHandler(event: Event):void
Displays an error message and progresses to the next file.
private function uploadOpenHandler(event: Event):void
Called when a upload is initiated.
private function uploadSelectHandler(event: Event):void
Called when a user selects files from the File Select box created in the uploadFiles function.