Get Movie Clip Problem

Hello,

I have a MC on my stage and I am trying to get it using the following:
var r: MovieClip = getChildByName(‘MyMovie’);

I get an error:
1118: Implicit coercion of a value with static type flash.display:DisplayObject to a possibly unrelated type flash.display:MovieClip.

What am I doing wrong?

Thank You,
Miguek