I need to know the width of a picture I load into a clip.
But I always get Zero, while I see the picture properly loaded.
What Am I doing wrong in this piece of code ?
[AS]_root.createEmptyMovieClip(“contenerMC”,10);
var imgMCL:MovieClipLoader = new MovieClipLoader;
imgMCL.loadClip(“image001.jpg”,_root.contenerMC);
imgMCL.onLoadComplete = function(targetMC) {
trace(targetMC._width);
}[/AS]
Or any other way to retrieve the picture size at runtime ?
thxx :ne: