TypeError: Error #1034: Type Coercion failed: cannot convert []@15238eb1 to flash.dis

Ok so iv been trying to make a bar that holds links using XML. my code reads in the XML and then adds a movie clip to the stage that has the title of the link and goes to the link on clicked but whenever i export it i get this error: TypeError: Error #1034: Type Coercion failed: cannot convert []@15238eb1 to flash.display.DisplayObject. here is my code:

var loaderLink:URLLoader = new URLLoader();
loaderLink.addEventListener(Event.COMPLETE, xmlLinkLoaded);
loaderLink.load(new URLRequest("link.xml"));

var xmlLink:XML;
var linkArrayTitle:Array = new Array();
var linkArrayUrl:Array = new Array();
var holderArray:Array = new Array();

function xmlLinkLoaded(e:Event):void
{
    var linkSpacer:Number = 0;
    xmlLink = XML(e.target.data);
    for(var i:uint=0; i<xmlLink.links.length(); i++)
    {
        var linkHolds:linkHolder = new linkHolder;
        linkArrayTitle.push(xmlLink.links*.titles);
        linkArrayUrl.push(xmlLink.links*.urls);
        linkBar.linkHide.addChild(holderArray);
        holderArray*.addChild(linkHolds);
        holderArray*.addEventListener(MouseEvent.MOUSE_UP, gotoUrl)
        holderArray*.name = linkArrayUrl*;
        linkHolds.linkText.text = linkArrayTitle*;
        linkHolds.x = 0;
        linkHolds.y = linkSpacer;
        linkSpacer += 28;
    }
}

function gotoUrl (e:MouseEvent):void
{
    var url:String = e.currentTarget.name;
    var requester:URLRequest = new URLRequest(url);
    navigateToURL(requester, '_self')
}

now after playing around with commenting and uncomment iv narrowed the error down to these 3 lines of code:

linkBar.linkHide.addChild(holderArray);
holderArray*.addChild(linkHolds);
holderArray*.addEventListener(MouseEvent.MOUSE_UP, gotoUrl)
holderArray*.name = linkArrayUrl*;

linkBar.linkHide.addChild(holderArray);

You’re trying to add an array to the display list.

addChild() uses as parameter only DisplayObjects; You are adding a WHOLE holderArray:Array

so what would be the best way to fix this by adding it to a sprite and then adding the sprite to the bar?

what is the purpose of thet array, and whay are you adding it?
I am not sure what effect u want to acheive

the purpose of the array is so that i can add a different click event for each movie clip (i want each movie clip to link to a different webpage that is specified dynamically.

linkBar.linkHide.addChild(holderArray*);