Hi, I have a flex/flash download app that I use on my website, but a lot of people have trouble with it because they rename the file and accidentally remove the .zip from the end of the file name. Is there any way that i can prevent this? I have noticed that when i click to download, the "Save as Type" drop down is blank. It looks like this:
File name: myFileName.zip
Save as type:
I'm hoping that im just missing a param that i can set to .zip so that it will look more like this:
File name: myFileName
Save as type: .zip
You can restrict them to save in any other format by making the check.
Simply add listner for the Event.OPEN on the fileReference and inside this check for your allowed extension,if the extension is not what you want then
simply right a line there like:-
And addtionally you can give any alert that your file should be of that particular extension.