Mac,

That's exactly the start I'm looking for, thanks big time.  So I can handle all of the results using those APIs, do I just make a regular <mx:HTTPService> call to the Yahoo! API? Is there any way to have the API help me make the call, ie:

import com.macromedia.webapis.flickr.FlickrService;
var service:FlickrService

function callAPI() : void
{
    service = new FlickrService('api_kep_here');
    service.addEventListener(.............
}

Thanks!!

-Z
service.send();
Mac Martine <[EMAIL PROTECTED]> wrote:
 
Is this the kind of thing you’re looking for?
 
 
import com.macromedia.webapis.flickr.FlickrService;
import com.macromedia.webapis.flickr.events.FlickrResultEvent;
 
public var service:FlickrService;
 
service.addEventListener( FlickrResultEvent.PHOTOS_SEARCH, handleSearchResults );
service.photos.search ( nsid, tagname );
 
private function handleSearchResults( event:FlickrResultEvent ):void
{
var dp:Array = event.data.photos.photos;
photoCollection = new ArrayCollection(dp);
}
 
 
 
 

From: [email protected] [mailto:[email protected]] On Behalf Of zane.hejduk
Sent: Thursday, April 06, 2006 4:55 PM
To: [email protected]
Subject: [flexcoders] Re: ActionScript APIs
 
Hey Jignesh, thanks for the response.  I've seen the docs, but I still
don't know what to do with the APIs.  For instance, if I want to
search for photos with a specific tag in Flickr, I can't figure out
how the functions within the API are supposed to be called.

-Z

--- In [email protected], "Jignesh Dodiya" <[EMAIL PROTECTED]> wrote:
>
> some good links::::
> http://flexapps.macromedia.com/fast/docs/apiAsDoc/index.html
>
> http://livedocs.macromedia.com/labs/1/flex/langref/index.html
>
> http://weblogs.macromedia.com/flex_samples/flex_explorer/explorer.html
>
> http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html
>
>
>
>
> --
> Regards,
>
> Jignesh Dodiya....
>







Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.


--
Flexcoders Mailing List
FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to