Standard way to run the same code on multiple instances?

Hi all, quick question from an as2 newby.

I’m creating a navigation menu, as the cursor hovers over each of the menu items I want them to behave in a certain way. They all behave the same way but obviously the text is different… So basically I was wondering what’s the best way to apply the same code to multiple instances, without repeating the code?

TIA
Cian