# Rollover with components

**URL:** https://forum.kirupa.com/t/rollover-with-components/195902
**Category:** flash
**Created:** [August 3, 2006, 10:11pm UTC](https://forum.kirupa.com/t/rollover-with-components/195902 "2006-08-03T22:11:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![andrewfitz](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/andrewfitz/32/765_2.png) [@andrewfitz](https://forum.kirupa.com/u/andrewfitz)
#### Post date: [August 3, 2006, 10:11pm UTC](https://forum.kirupa.com/t/rollover-with-components/195902/1 "2006-08-03T22:11:03Z")

</div>

Hey, I’m using the all amazing V2 components :sleep: and am having trouble with rollovers. In particular combobox and number steppers.

```auto
var ttlistenerover = new Object();
ttlistenerover.mouseOver = function(eventObject) {
    ctip(eventObject.target._name);
};
var ttlistenerout = new Object();
ttlistenerout.mouseOut = function(eventObject) {
    tooltip.hideTooltip();
};
for (var i in tar) {
//tar*.useHandCursor = false;
mx.events.LowLevelEvents.addMouseEvents(tar*);
tar*.addEventListener("mouseOver", ttlistenerover);
tar*.addEventListener("mouseOut", ttlistenerout);
}

```

Okay, that works great except, the combobox won’t work. You can’t click it and get the dropdown menu, and it doesn’t light up.

I tried targeting a MC inside the component, but with no avail. I can’t put them in MC’s either.

Maybe changing their rollover proto? I really don’t want to do a onmousemove and do a reaction based on the location and size of the components, seems really hackish.

Any ideas?
