I’ve noticed I can only get my MOUSE_WHEEL event listener to work in either ie or ff depending on the wmode set. But i cannot get it to work in both!!
aboutText_mc.addEventListener(MouseEvent.MOUSE_WHEEL, onMouseWheelEvent);
function onMouseWheelEvent(event:MouseEvent):void
{
if(aboutText_mc.y > 450)
{
aboutText_mc.y= 450
}else if(aboutText_mc.y >= 450 - aboutText_mc.height)
{
aboutText_mc.y = aboutText_mc.y + event.delta;
}else if(aboutText_mc.y >= 450.)
{
aboutText_mc.y = aboutText_mc.y - event.delta;
}else if(450 - aboutText_mc.height)
{
aboutText_mc.y = aboutText_mc.y +10;
}
}
Is there anyway around this without using javascript? I tried adding a MOUSE_OVER event which triggered a trace call but again would not call the MOUSE_WHEEL event.
ANy ideas appreciated
Sean