Loading a RSS feed into Flash
Posted by Helmut | Filed under Flash Bits
- // create a new XML object
- var sports:XML = new XML();
- // set the ignoreWhite property to true (default value is false)
- sports.ignoreWhite = true;
- // After loading is complete, trace the XML object
- sports.onLoad = function(success) {
- trace(sports);
- };
- // load the XML into the sports object
- sports.load("http://rss.news.yahoo.com/rss/sports");
3 Responses to “Loading a RSS feed into Flash”
-
Martin Dimitrov Says:
July 26th, 2007 at 1:48 pmHelmut, pardon my ignorance, I tried to solve it myself but with no success…
I want to use your “Loading RSS feed into Flash” script and it works fine, but I do not know how to capture the output and save it as an xml file. My ultimate objective is to have just the entries from the xml displayed in a list component.
Best regards,
Martin -
Flash_lover Says:
January 16th, 2008 at 4:24 pmThis is cool but I can’t see the info, I can see it in the output box
only. -
N2KC Says:
April 6th, 2008 at 9:30 pmYesssss. Finally. Just the base code of loading the RSS, not some super long and advanced script.
