Upload is now working in the library.
http://code.google.com/p/as3flickrlib/issues/detail?id=2
However, make sure that you have obtained and set:
apikey
secret
token
Or otherwise you will get errors.
We need to add some more checked in the upload method to check when
these have not been set.
Right now, the flickr API does not broadcast events on the upload.
You can get these from File or FileReference specified to be upload.
In particular:
flickr.addEventListener("uploadCompleteData", onUploadData);
event is useful, as it returns the response / error from flickr:
private function onUploadData(e:Event):void
{
trace("onUploadData : \n" + e["data"]);
}
mike chambers