5 Replies Latest reply on Mar 16, 2010 12:51 PM by Ned Murphy

    How do you choose different values from an RSS feed?

    dilbie

      Hi all...first post here - I'm not sure where to post this as I don't know what version of AS to use for this, but here goes...

       

      I've just started experimenting with RSS in Flash - so far I am able to pull a feed in, but what I want to try now is to actually separate values from within a feed to go to different movie clips.

       

      So let's say my feed looks like this:

       

      <rss version="2.0">
          <channel>
      
              <title>title goes here</title>
              <link>http://www.linkgoeshere.com</link>
              <description>description</description>
              
              
                      <item>                  
                          <title>title goes here</title>
                          <link>http://www.linkgoeshere.com</link>
                       <description>description here</description>
                          <pubDate>15/03/2010</pubDate>
                      </item>
                                 
                      <item>                  
                          <title>title goes here</title>
                          <link>http://www.linkgoeshere.com</link>
                       <description>description here</description>
                          <pubDate>15/03/2010</pubDate>
                      </item>         
                 
          </channel>
      </rss>
      
      

       

       

      What I'm trying to do is have a few bubbles of boxes etc floating everywhere where you can click one and it shows a different (or random) <item> from the feed (with the relevant item child values inside)

       

      I've looked at creating nodes etc but it seems to only create to pulling the first one with that specific name, instead of choosing from the whole array.

       

      I'm using Flash CS3, and again I don't mind what version of AS i use, I just need some pointers or an example - I couldn't find any examples on the net. I'm no actionscript genius (as you can probably tell) but with a bit of hints and tips I could hopefully find my feet!

       

      Thanks so much!