II can load data into my MC without a problem. What i cant seem to do is get this data into an array so i can duplicate my movieclip.
here is code that builds and array and duplicates my mcs
var list:Array = ["Adrastea", "Amalthea", "Ananke", "Callisto", "Carme", "Elara", "Europa", "Ganymede", "Himalia", "Io", "Leda", "Lysithea", "Metis", "Pasiphae", "Sinope", "Thebe"];
function buildList() {
var spacing:Number = 30;
for (var i = 0; i < list.length; ++i) {
var name:String = "infoBar" + i + "_mc";
var y:Number = i * spacing;
display_mc.list_mc.attachMovie("infoBar", name, i);
display_mc.list_mc[name]._y = y;
display_mc.list_mc[name].moonName_txt.text = list*;
display_mc.list_mc[name].moonNum_txt.text = i + 1;
}
}
buildList();
and here is the code that can pull my var from my external datasource
text1.htmlText = true;
unicodeData = new LoadVars();
unicodeData.source = "[http://localhost:8080/testingground/instructionslist.jsp](http://localhost:8080/testingground/instructionslist.jsp)";
unicodeData.load(unicodeData.source);
unicodeData.onLoad = function() {
_root.text1.htmlText = _root.unicodeData.myMonth;
};
how do i load the 2nd code snip into an array in the first code sample?
thanks for the help.