Hi all,
i wanna make a duplicate movie clip using txt file. And i’m using loadVariables function. And here is my code:
this.createEmptyMovieClip(“target_mc”, this.getNextHighestDepth());
target_mc.loadVariables(“number.txt”);
m = target_mc.num;
for(j=0; j<m; j++){
duplicateMovieClip(“btn”, “btn”+j, this.getNextHighestDepth());
_root[“btn”+j]._y = _root.btn._height + _root[“btn”+j]._y + 1;
}
and this code didn’t work. So what’s my problem?
number.txt file contains : &num=5
And sorry about my poor english skill.