Hello, I need to set the position of a loaded image based on it’s width.
The problem is that after I load the picture, the width property is still 0.
For example, the following traces 0.
var targetClip:MovieClip = someClip_mc.createEmptyMovieClip("myTargetClip",someClip_mc.getNextHighestDepth());
picLoader.loadClip('somePicture.jpg',targetClip);
trace(targetClip._width);
Does anyone know how I can get the width of the picture I load.
Thanks, -I