1 person found this helpful
You can achieve this by storing var fileRef:FileReference instances in one arrayCollection, while uploading upload one-by one files.
see following code:
var fileRef:FileReference = new FileReference();
var xlsTypes:FileFilter = new FileFilter("All Excel Files","*.xls;");
var allTypes:Array = new Array(xlsTypes);
var success:Boolean = fileRef.browse();
mx.controls.Alert.show("error is "+ error);
in the selectEvent function you can add this reference to an arrayCollection().
Hope this will help you.
Hi Prashant. Your answer was very helpful.
I'm using Flex in a web application. So I can't get the hole path without uploading the file into the server, right? I mean... I can't test that withou creating a .extensionOfTheBackEndProgrammingLanguageThatIllUse that store that image, can I?