you should look at movieClipLoader ( http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001998.html )
this allows you to add listeners to the loader (in your case, you should use onLoadInit) to fire a method/function On Tue, Jul 8, 2008 at 3:56 PM, Lehr, Theodore M (N-SGIS) < [EMAIL PROTECTED]> wrote: > I have: > > > > _root.imageMovie.loadMovie(stepImageArray[0]); > > sizeImage(); > > > > function sizeImage () { > > trace(_root.imageMovie._height); > > } > > > > But I keep getting 0 I am guessing because the trace is fired before the > image is loaded... how can I make sure this function does not fire until > the image is loaded. I tried: > > > > _root.imageMovie.onLoad = function() { > > > > } > > > > But that does not seem to fire at all.... > > > > My ultimate goal is to control the size of the image that is being > loaded to make sure it is not too big.... > > > > Thanks! > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders