# Multiple rollovers

**URL:** https://forum.kirupa.com/t/multiple-rollovers/233242
**Category:** Uncategorized
**Created:** [July 21, 2007, 9:15pm UTC](https://forum.kirupa.com/t/multiple-rollovers/233242 "2007-07-21T21:15:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![leadbelly](https://avatars.discourse-cdn.com/v4/letter/l/85f322/32.png) [@leadbelly](https://forum.kirupa.com/u/leadbelly)
#### Post date: [July 21, 2007, 9:15pm UTC](https://forum.kirupa.com/t/multiple-rollovers/233242/1 "2007-07-21T21:15:20Z")

</div>

Hello

I’ve got some code like this:-

buttons\_mc.blue3\_mc.onRollOver = function(){  
this.gotoAndPlay(“over”);

It’s for a drop down menu and I’ve got loads of drop down links I need to make the rollover event occur to.

I need some thing like above but with:-

buttons\_mc.(blue3\_mc, 1\_mc, 2\_mc…).onRollOver = function(){

Except I can’t make it work. Probably alarmingly simple i’ve just never needed such a thing before.

Any ideas?
