dimanche 12 février 2017

Horizontal scrolling in Adobe Animate AS3

Is there a way to catch horizontal scrolling in Adobe Animate AS3? So far I have:

addEventListener(MouseEvent.MOUSE_WHEEL, function(e:MouseEvent){
    trace(e.delta);
});

...but that only fires on vertical scrolling and only gives me the horizontal delta.

Aucun commentaire:

Enregistrer un commentaire