views:

61

answers:

2

hello i am working with FileReferenceList class to create a mutilpe image uploader i forget how to get names of files select with browse method i wante ask a question how to get a array of names selected files to ste in array for datagrid column. thanck you.

+1  A: 

FileReferenceList has a fileList array that contains FileReference objects for the selected files. You can get the file names using the name property of the FileReference class. Use the frList.fileList as the dataProvider of the DataGrid and then assign "name" to the labelField of the column.

Amarghosh
A: 

thank's my friends your answar is usefully me In this case how to get path of file selected with this class

safeDomain
You cannot get the path using actionscript. May be it's a security measure as the path might give away information about the underlying OS and sometimes the user name itself. PS: Use comments to ask for clarification/thank/discuss an answer as the user's get notification about the comments to their answers and not about new answers to the questions they've answered.
Amarghosh