We used Flex to build the web app below. It lets the user build an interactive activity and click “Publish as Flash” to save a SWF file on their local computer.
http://217.156.73.72/showcase/SimBuilder/
Problem:
When saving the file, the “Save As Filetype” drop down is empty and end users can accidentally delete the swf file extension in the filename.
How can we lock down the extension so it will always have SWF in the extension?
Technique 1? Set “Save As Filetype” to SWF by default.
Technique 2? Click “Publish as Flash”. User specifies the filename. File is saved on the server. User presented with prompt to download file. File is downloaded from the server using the traditional browser windows explorer dialog box (the same dialog box if I downloaded a program from cnet’s downloads.com).
Thanks in advance for you feedback.
Micky