/ Published in: ActionScript 3
You will need the as3 syndication library classes which can be found here: http://code.google.com/p/as3syndicationlib/
Expand |
Embed | Plain Text
// feed reader import com.adobe.xml.syndication.generic.FeedFactory; import com.adobe.xml.syndication.generic.IFeed; import com.adobe.xml.syndication.generic.IItem; var blog:XML; var blog_url:URLRequest = new URLRequest("http://visualadvance.com/blog/wp-rss.php"); var blogLoader:URLLoader = new URLLoader(blog_url); blogLoader.addEventListener (Event.COMPLETE, blogLoaded); function blogLoaded (e:Event):void { blog = XML(blogLoader.data); trace (blog.channel.item[0].title); }
You need to login to post a comment.
