AS2 Code conversion to AS3

Hi geeks

I request for help in conversion of just a few lines of AS2 code into AS3 code. Please help.


_root.menu1.hit.onRollOver = function() 
{
 _root.menu1.gotoAndPlay(2);
 _root.menu2.gotoAndStop(1);
 _root.menu3.gotoAndStop(1);
 _root.menu4.gotoAndStop(1);
 _root.menu5.gotoAndStop(1);
 _root.submenu1.gotoAndPlay(2);
 
 _root.submenu2.gotoAndStop(1);
 _root.submenu3.gotoAndStop(1);
 _root.submenu4.gotoAndStop(1);
 _root.submenu5.gotoAndStop(1);
};


Thanks in anticipation.

Regards,

Raabi