I've been fighting with that for a while now, I've red all I could find but nothing seems to work...
I'm sure there's something I'm missing here.
my problem :
I'm loading pics (jpg) with loadMovie into movie clips that had just been created (createEmptyMovieClip). I want to set the size of the pics after they've bee loaded.
here's the code:
name = "holder" + i;
//create a empty movie clip for holding the Jpg pics
eval(name).loadMovie("../../images/prods/thumb/" + eval("myData.pic" + i));
eval(name)._x = 80*i;
eval(name)._y = 120*i;
eval(name).onEnterFrame = function()
if (eval(name)._width > 0)
I know you should wait for the pic to be loaded before you can acces the _width property, but I think that tha's what I'm doing ...
any help would be greatly apreciated.
Thanks in advance,