filereference

how to detect "hidden files extension" (windows system ) from flash/as3 app?

hi, i'm working on an app (flash/As3) that lets the user upload and edit an image, and then save it to the computer, using FileReference. it's posible to know if the user computer have the option "hidden file extensions" (windows system) selected? How can i do it? thanks ...

Flex, FileReferences upload() error in firefox

hi all. swf file in https zone, upload script in http zone. File upload fine in ie, and not work on firefox, opera. this code: request.url = this.main.serverHostUpload + "/upload_web.php"; request.method = URLRequestMethod.POST; request.contentType = "multipart/form-data; boundary=" + UploadPostHelper.getBoundary(); request.data = ne...

Flex: Read bytearray

I use the following to upload a file to Flex: private var filer:FileReference; protected function button1_clickHandler(event:MouseEvent):void { var fd:String = "Files (*)"; var fe:String = "*"; var ff:FileFilter = new FileFilter(fd, fe); filer = new FileReference(...

Flash upload progress

Hi, I'm making a bandwidth test in flash, and I want to display a progress bar and the current calculated speed. For the download part this is pretty straightforward, but for the upload part it gets a bit trickier. As I've understood the only way to track upload progress is by using FileReference. But as I'm uploading a dynamically gener...

How to solve this error: Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version 2.0.50727.0'

This question to which I already found the answer is posted here in case of someone else encounters it. I decided to post the Q&A here so that SO has something about this error, since I don't know if it's been here before. This occured after an update of the .NET Framework. Before the update, everything compiled just fine! After the u...