One of the guys at AS.org helped me out with this one.
[color=black]myLV = new LoadVars();
myLV.onLoad = function(success)
{
if (success)
{
trace(unescape(this));
_level0.num_txt.text = this.numberOfFiles;
for (i = 1 ; i <= parseInt(this.numberOfFiles) ; i++)
{
_level0.box.duplicateMovieClip("box" + i, i + 1000);
_level0["box" + i]._x = _level0.box._x + _level0.box._width * i * 2;
}
}
}
myLV.load("thumbcounter.php");
[/color]
[color=black]It works fine now. Just have to do some reading up on why it wasn’t working in the first place. Thanks for your help guys. I appreciate it.[/color]