attachMovie and targetpath

I placed a movie clip onto the stage using the following code:

_root.attachMovie(“mc”, “h1”, 5);

I then want to access this movie clip’s properties. When I try

onEnterFrame = function () {
trace(eval(_level5.h1._x));
};

I get an ‘undefined’. Any ideas? :puzzle:

Thanks.