XML Blog using Wordpress Question

I’m trying to figure out how I can create a blog in my Flash website that uses the feed from Wordpress. I want Flash to be able to pull in every post when updated on Wordpress and be able to use images as well.

At the moment I can pull the information from the XML via the RSS feed into flash but the only thing that’s stumping me now is how to duplicate the movie clip below each one in Flash every time a new post is made. And after it’s duplicated, to make sure that the duplicated MC knows the height of the previous MC in order to create it below it and not on top. In other words, so that the dynamic text field can resize its height according to how much text is being thrown in. And the MC’s height changes with it.

All I have so far is pretty simple:

xmlData =  new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("http://www.eyecandymarketing.com/news/?feed=rss");

function loadXML(loaded) {
	titleTxt = this.firstChild.firstChild.childNodes[6].firstChild;
	_root.newsMC.newsText.htmlText = titleTxt;
};

I hope I made some sense of that… I tried to explain it as best as I could. I’m pretty new to Actionscript but I’m really excited about learning how to do this. If anyone can help me out here I would be extremely grateful.

Thank you so much.