Resize the MovieClip

Sorry for re-posting this threat. I asked this question before and was suggested by one of the members to use the following code:

createEmptyMovieClip("container", 1);
container._x = 50;
container._y = 50;
function preloadf(clip) {
kl = clip.getBytesLoaded();
kt = clip.getBytesTotal();
if (kl>=kt && kl>0) {
clearInterval(myinterval);
container._width = container._height=40;
}
}
loadMovie("p1.jpg", "container");
myinterval = setInterval(preloadf, 50, container); 

I created a testing fla using the coce and couldn’t see the picture. Can someone tell me what’s wrong with it? Thanks.