import com.cybozuLab.rssParser.*; // Create a new rssObj and initialize with the URL to the feed var rssObj = new FetchingRss( "http://www.allflashwebsite.com/demo2/rss" ); // define the function when loading is completed rssObj.onLoad = function( successFL, errMsg ) { if( successFL ) { // Do something with rssObj.getRssObject() } else { trace( errMsg ); } } // start loading rssObj.load();