How to dynamically create groups of radio buttons

I have been working on some code that will create input boxes dynamically set up to look like table. The code looks like this:

//attach header movieclip for NA
naHolder_mc.attachMovie("naHeader", "naHeads",getNextHighestDepth(), {_x:95, _y:8.4});
//code to create multi array through for loop
var row:Number = 15;
var col:Number = 15;
var depth:Number = 0;
var rowArr:Array = new Array(row);
var i:Number;
var j:Number;
for (i=0; i<row; i++) {
 rowArr* = new Array(col);
 for (j=0; j<col; j++) {
  rowArr*[j] = "["+i+"]["+j+"]";
 }
 //trace(rowArr*);
}
//code to iterate through multi array elements
var outerArrayLength:Number = rowArr.length;
for (i=0; i<outerArrayLength; i++) {
 var innerArrayLength:Number = rowArr*.length;
 for (j=0; j<innerArrayLength; j++) {
  var tableFormat:TextFormat = new TextFormat();
  tableFormat.font = "Arial";
  tableFormat.bold = true;
  tableFormat.size = 11;
  tableFormat.align = "center";
  _root.createTextField("NAr"+i+"_c"+j, depth,95+(33.5*j), 30+(i*20.7), 28.1, 16.2);
  var _box:TextField = _root["NAr"+i+"_c"+j];
  _box.type = "input";
  _box.selectable = true;
  _box.restrict = "DdEeNnXx";
  _box.border = true;
  _box.multiline = false;
  _box.maxChars = 1;
  _box.textColor = 0xff0000;
  _box.setNewTextFormat(tableFormat);
  depth++;
  trace(_box);
  //trace(rowArr.length);
}

For a couple of days now I have been trying to create radio buttons along with the input boxes that will sit on the left side of the text boxes 3 on each row that have the labels D, E, and N. So far I have come up with nothing. I also need to have the row headers placed in the first column of the input boxes saying NA 1, NA2, NA 3, inside the input box. Does anyone have an idea on how to do this or where I should start?

I have been able to create radio buttons by using the import mx.control.radiobutton code and then createClassObjects class but don’t know what type of loop to use to align the 3 radio button on the yaxis of each of the rows.