Ok, I attached listener on Mouse and it doesn’t work in Firefox… works fine in IE and standalone…
it goes something like this:
var mouseListener:Object = new Object();
mouseListener.onMouseWheel = function(delta) {
var delta;
if (delta>3) {
delta = 3;
}
if (delta<-3) {
delta = -3;
}
_root.speed += delta/2.5;
if (_root.speed>7) {
_root.speed = 7;
}
if (_root.speed<-7) {
_root.speed = -7;
}
};
//
Mouse.addListener(mouseListener);
I can’t find anything on the net nor Kirupa forum… why it doesn’t work in FF?
please help…