Hello,
sorry if this has been already asked and replied, i couldn’t find the answers i’m looking for…
I’m loading a pic using a config file like:
[AS]
onClipEvent (load) {
loadText = new LoadVars();
loadText.load(“config.txt”);
loadText.onLoad = function() {
if (this.imageurl != 0) {
_root.createEmptyMovieClip(“img”, 10);
loadMovie(this.imageurl, _root.img);
//trace(_root.img._width)
}
};
}
[/AS]
Now i’d like to check the width and height of the loaded pic by checking the height and width of the holder MC but it always returns 0… Can someone help?
TiA