upload works now

已查看 18 次
跳至第一个未读帖子

Mike Chambers

未读,
2007年6月19日 21:16:142007/6/19
收件人 as3fli...@googlegroups.com
I just checked in Owen Van Dykes change to the upload method to the
source (not in SWC yet).

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

me...@adobe.com

回复全部
回复作者
转发
0 个新帖子