ExternalInterface and XML?

I am creating links in my flash movie using XML. Once I do I would like the links to send info to my HTML page using ExternalInterface. It works when I hard code the url like so:

ExternalInterface.call(“ajaxpage”, ‘hardCode.htm’, ‘rightcolumn’);

but when I try to load the content using XML i get this error:
"256 levels of recursion were exceeded in one action list.
This is probably an infinite loop.
Further execution of actions has been disabled in this movie.

What am i doing wrong???

import flash.external.*;

myXML = new XML ();
myXML.ignoreWhite = true;
myXML.onLoad = function (ok)
	if (ok)
		//process data
		allGalleryData = this.firstChild.childNodes;
		for (i = 0; i < allGalleryData.length; i++){
			newLink.btn.name = allGalleryData*.firstChild.firstChild;
			newLink.btn.title = allGalleryData*.firstChild.nextSibling.firstChild;
				 ExternalInterface.call("ajaxpage", this.title, 'rightcolumn');