upload works now

18 views
Skip to first unread message

Mike Chambers

unread,
Jun 19, 2007, 9:16:14 PM6/19/07
to 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

Reply all
Reply to author
Forward
0 new messages