Event Listeners?

1 view
Skip to first unread message

Rich Tretola

unread,
Jul 22, 2007, 6:23:29 PM7/22/07
to ActionScript 3 Flickr Library
I was interested in using this library and my 1st experience using the
Login sample code in the Wiki at http://code.google.com/p/as3flickrlib/wiki/LoginProcess
and I am getting an error trying to addEventListeners to a
FlickrService instance. Is there a sample that is up to date? I am
using the .87 build.

Rich Tretola

unread,
Jul 22, 2007, 7:15:37 PM7/22/07
to ActionScript 3 Flickr Library
Upon further inspection, I find that the source files work file, but
the SWC seems to be missing some files.

Now, I am receiving an error when attempting the login sample:
getFrobResponse: success = false
error code: 96
error message: Invalid signature


--
Rich Tretola
<mx:EverythingFlex/>
http://www.EverythingFlex.com

Rich Tretola

unread,
Jul 22, 2007, 7:24:42 PM7/22/07
to ActionScript 3 Flickr Library
OK, sorry, I just added my secret key and now I was redirected to
Flickr, however on return to the app, I am now getting:

TypeError: Error #1034: Type Coercion failed: cannot convert
Object@12e20741 to com.adobe.webapis.flickr.AuthResult.
at FlickR2/::getTokenResponse()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.adobe.webapis.flickr.methodgroups::MethodGroupHelper$/com.adobe.webapis.flickr.methodgroups::processAndDispatch()
at com.adobe.webapis.flickr.methodgroups::Auth/::getToken_result()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()

Rich

Mike Chambers

unread,
Jul 30, 2007, 4:38:42 PM7/30/07
to as3fli...@googlegroups.com
Rich,

You can see a recent example of the code in action at:

http://onairbustour.googlecode.com/svn/trunk/projects/AIRSnapshot/

I am not sure what the particular issue you are running into is. This
was one of the first APIs we wrote, and is getting a little old. It
needs some updating, but given the scale of the API, that might take
a while.

But, if you do find a bug, let me know and I can look into it. I just
updated the source over the weekend to add some new response property
support.

mike chambers

me...@adobe.com

Rich Tretola

unread,
Jul 30, 2007, 6:44:31 PM7/30/07
to as3fli...@googlegroups.com
I have it working now, the SWC on the google code server is out dated,
so I had to use the source files in place of it. I created a very
cool app that I am going to submit to the AIR derby once it's done.

Rich

Reply all
Reply to author
Forward
0 new messages