I need an actionscript/flash file to do the following while using ONLY [url removed, login to view]() for the user-interface. There is to absolutely no flash buttons or display. This application is merely a backend similiar to SWFUpload or FancyUpload, but without their restrictive license. This script must have the following:
A Browse function to select multiple files. (FileReferenceList) -
An Upload Button to upload the files selected by the original browse function.
A Cancel Button to cancel uploads in progress.
Again, this also must not use any flash for the UI. Everything should be handled by externalinterface calls, only!.
I would write this myself, but I have limited knowledge as to the workings of FileReference & FileReference. I'm not exactly sure how the two function and how to call an upload following an onSelect where it traces out the data for each file. Nor am I sure, exactly, how one takes the FileReferenceList array and iterates through each file for a respective upload call. Below is the workflow I envision.
Click Browse: Multiple-File-Image box pops up where people click on the files they want uploaded.
Following that browse, the onSelect handler is fired which then calls an [url removed, login to view]() function that lists the ID's and names of each file (so that they can be removed)
Click: Upload - The files selected are then uploaded with an [url removed, login to view]() for each one.
I have attached an example actionscript file that I want followed for this script.