I want a MC to execute a set of actions depending on his actual name, this is to check his name and to test the actionscript. but it doesn't work. can you please tell me whats wrong?

onClipEvent (enterFrame) {

// if the name is movie...

if (this._name == movie) {

// then play
movie.play();

// if not...

} else {
hello.gotoAndPlay(10);
}
}