So I’m trying to get cute again by building stacks of buttons dynamically, then labeling them from an external text file.
The code I have so far is as follows:
loadVariablesNum(“patentNumbersVar.txt”, 0);
loadVariables(“patentNumbersVar.txt”, _root);
loadText = new loadVariables();
loadText.load(“patent01NumbersText.txt”);
onLoad = function(){
movie_mc._x = 75, _y = 50;
};
for (i=0;i<10;i++){
duplicateMovieClip(“movie_mc”, “movie”+i+"_mc", i);
this[“movie”+i+"_mc"]._y = this[“movie”+i+"_mc"]._y * i;
this[“movie”+i+"_mc"]._x = 75;
this[“movie”+i+"_mc"].btnLabel_mc.btnLabel_txt = this[“patentButton0”+i];
};
But I keep getting the error message: Target not found: Target=“undefined” Base="_level0"
I’m not sure what this means. Any suggestions are welcome!