Hello all

How do I center (on stage) a loaded image inside a createEmptyMovieClip ?

I've read so many threads...can't seem to make it work.


here's my script:


button1.onPress = function(){

_root.createEmptyMovieClip("imagecontainer", _root.imagecontainer.getNextHighestDepth());
_root.imagecontainer.loadMovie("image18.jpg");
}


ps: I have tried to center everything on stage, even tried to center it by the registration point.

please help
Sandra