Hey, I’m using the all amazing V2 components :sleep: and am having trouble with rollovers. In particular combobox and number steppers.
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?