Populating a scrollPane

For Example: I was using this code to populate a scrollpane using setScrollContent() in FlashMX. setScrollContent() does not seem to be a function in **MX2004. **Is there a substitute? Also, how can I edit the scrollpane in MX2004, for example getting rid of the border? Thanks.


createEmptyMovieClip("news", 1);
 for (i=0; i<headlinesXML.childNodes[0].childNodes[a].childNodes.length; i++) {
  clip = news.attachMovie("News Item", "newsItem"+i, i);
  currentHeadline = headlinesXML.childNodes[0].childNodes[a].childNodes*.childNodes[0].childNodes[0].nodeValue;
  clip.currentHeadline = currentHeadline;
  clip.link = headlinesXML.childNodes[0].childNodes[0].childNodes*.childNodes[2].childNodes[0].nodeValue;
  clip.item.htmlText = "• <b>"+currentHeadline+newline+"</b>";
  clip.item.autoSize = true;
  clip._y = yPos;
  yPosArray.push(clip._y);
  yPos = clip._y+clip._height+newsSpacing;
	}
newsStuff.newsBox.setScrollContent(news);