Inserting buttons in MC

I’ve read about the tutorial on “Movement Using Keyboard Keys” posted in the site. It’s about the bug (which was originally an MC and later “converted” into a button to respond to keyboard keys). I pasted the script (as instructed) in the action panel. I was able to get the bug to move but couldn’t get it to rotate. I understand the “rotation command” is being issued to the MC to which the button was embedded. I know something is wrong with the way I turned the MC into a button but coulnd’t fix it. Please help.