0 Replies Latest reply on Apr 8, 2010 11:59 PM by avdave

    Image Loading problem from Flickr API!

    avdave Level 1


        I am Akshay and am beginner in this forum. I am trying to load images using flickr API and having problem.


      I am doing it in following fashion:




      1) I am calling the Httpservice to get the xml through flickr API as


      <s:HTTPService id="photoService" url="http://api.flickr.com/services/feeds/....FullAPI" resultFormat="e4x" result="photoResultHandler(event);" fault="photoFaultHandler(event);"/>


      2) In photoResultHandler I am retrieving the XML


      private function photoResultHandler(re:ResultEvent):void


      photoXml= re.result as XML;




      The XML structure is as below:

      <?xml version="1.0" encoding="utf-8" standalone="yes"?>

      <feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:flickr="urn:flickr:" xmlns:media="http://search.yahoo.com/mrss/">


      <link rel="self" href="...."/>

      <link rel="alternate" type="text/html" href=".."/>





      <generator uri="http://www.flickr.com/">Flickr</generator>


           <title> </title>

           <link rel="alternate" type="text/html" href="http://www.flickr.com/.../"/>





           <content type="html"></content>







      <link rel="enclosure" type="image/jpeg" href="http://farm5.static.flickr.com/....."/>