Urgent! need help! [movement on rollover]

Pls help me… I’ve this mc with instance name, doors, with actionscript :

[COLOR=navy]onClipEvent(enterFrame){
this.gotoAndStop(_currentframe + rate01);
}[/COLOR]

And left arrow button, actionscript:

[COLOR=navy]on(rollOver){
doors.rate01=-1;
}
on(rollOut){
doors.rate01=0;
}[/COLOR]

And right arrow button, actionscript:

[COLOR=navy]on(rollOver){
doors.rate01=1;
}
on(rollOut){
doors.rate01=0;
}[/COLOR]

[COLOR=black]On rollover the arrow buttons, my doors mc should be moving but it’s not working. Did I missed out something. Pls help me! Thanks!! :glasses: [/COLOR]