public function upload(request:URLRequest, uploadDataFieldName:String = "Filedata", testUpload:Boolean = false):void
Following are things, I noticed in the latest beta.
- Custom data-field name, which was hard-coded(as FileData) in previous version of player. Now you can change it by using
uploadmethod of FileReference.
- You can now send HTTP/POST parameters with file-upload request. Previous version of player only allowed you to send HTTP/GET parameters. You can use first parameter
requestto send HTTP POST or GET parameters.
This means, I can now go ahead and complete my Flickr AS3 API. I was stuck, when I wanted to upload pictures to Flickr. Darron’s Flickr AS3 library was also missing file-upload feature because of above mentioned limitation in previous versions of Flash Player 9 beta. I am sure, Darron must have updated Flickr AS3 library.