thanks this works with file upload as this will open a browse window for upload....
but what to do with dopwnload --- In [email protected], "Cato Paus" <[EMAIL PROTECTED]> wrote: > > Hi If I understand you rigth, you want to set the filefilter to > default ?! Here is a sample > > var imageTypes:FileFilter = new FileFilter("Images (*.jpg, *.jpeg, > *.gif, *.png)", "*.jpg; *.jpeg; *.gif; *.png"); > var textTypes:FileFilter = new FileFilter("Text Files (*.txt, > *.rtf)", "*.txt; *.rtf"); > var allTypes:Array = new Array(imageTypes, textTypes); > var fileRef:FileReference = new FileReference(); > fileRef.browse(allTypes); > > if you want to remove the types you just use fileRef.browse(); > > Cato Paus > www.umbrellacorp.no > > --- In [email protected], "shekharsinbox" > <shekharsinbox@> wrote: > > > > Hi , > > > > I am using filerefrence.download() to download a file. > > > > > > filereference.browse allows to filter the filetype by usinf > > filefilter. > > > > > > This is used with file upload to filter the file type. > > > > > > * How can i filter the saveas file type in filerefrence.download. > > > > > > BY default it is AllFiles(*.*). > > I tried every futile chase says we dont have this functionality in > > flex. > > ANy light on this appriciated > > Does any one knows ..... > > >

