I also try to get the file name on onSelect event
listener.onSelect = function (selectedFile)
{
if(selectedFile.name="") //trying to simulate cancel
{
trace(“Operation canceld”);
}
selectedFile.upload(“upload.php”);
}
In this case I only get the name of the first picture that I have already uploaded.
Sorry for my English.
Regards.