Detect when an external image is loaded

my code creates a new movie clip and then uses loadMovie(“picture.jpg”); to load an external picture into it. my problem is I can’t figure out how to resize the picture after it loads. when I use onLoad = function() or onData nothing happens. how do I fix this?