Roll-Off animation

Flash 5 Roll-off?
I can make a MC button in MX roll-off but what about Flash 5? is the code different than this?

Flash Roll-Over/Roll-off button script:

on (rollOver) {gotoAndPlay(“over”);
}
on (rollOut, releaseOutside)
{
gotoAndPlay(“out”);
}