filereferencelist

flex - check image dimensions before upload using filereference

Hi In my Flex application, I use a FileReferenceList that the user can populate with multiple files using fileList.browse() before upload. I check each file's size and use fileList[i].upload() to upload to my server, this works fine. I have a suspicion that this is not possible, but before upload I would like to convert each FileRefer...

Flex - Dispatch custom Event on receipt of standard Event

I am processing a FileReferenceList.fileList[] of multiple files a user selects in the following code.. for (i=0;i < event.currentTarget.fileList.length; i ++){ fileByteData = new ByteArray(); fileByteData = (event.currentTarget.fileList[i].data as ByteArray); loader = new Loader(); loader.contentLoaderInfo.addEventList...

How to show Image Thumb in Flex DataGrid linked to FileReferenceList

Hello I have a Flex datagrid linked to an array collection that gets filled from a FileReferenceList for uploading images to a server. I want to show a thumbnail of the image in one of the grid columns as a preview. I have seen a lot of examples of doing this with an Item Render but those examples where using images on the server. These...

FileReferenceList: Forcing browse() dialog box to stay on top

Hello all, This is probably going to be a simple question, but I can't seem to find my answer online after searching. I am using the following simple code: var fileReferenceList:FileReferenceList = new FileReferenceList(); fileReferenceList.addEventListener(Event.SELECT, onSelect); fileReferenceList.browse(); A big flash button trig...

loading a large number of images

I have this code which works fine when selecting a small number of images. public var fileReferenceList:FileReferenceList; public function browseFiles(event:Event = null):void { fileReferenceList= new FileReferenceList(); fileReferenceList.addEventListener(Event.SELECT,onMultipleFileSelect); fileReferenceList.browse("image...