addChild loop

Hi, I am completely new to AS3 so please excuse my ignorance…

I have been trying to add multiple instances of a movie clip using the following…

function showScores() {
var scoreID = 0;
for (var i =0; i<scoreData.length; i++){
var score_mc:MovieClip = new Score_mc();
score_mc.scoreName.text = scoreData*[0];
score_mc.scoreScore.text = scoreData*[1];
scoreBoard.addChild(score_mc);

}

}

However only one is added. I have traced scoreData.length and get 15, I have also tried replacing it with a number - same result…

I have even tried the following in a new blank document with the same result

function showScores() {
for (var i:Number =0; i<11; i++){

    var score_mc:MovieClip = new Score_mc();    
    addChild(score_mc);
   
}

}

showScores();

can anyone help :frowning: