Does anyone know if there is a way to detect scroll direction (up or down)? Like calculate velocity, but with a scroll event instead of drag?
how about this
prev = layerA.scrollXlayerA.on Events.Scroll, ->__if prev < layerA.scrollX____print "left"__else____print "right"__prev = layerA.scrollX
nice! Looks like that is working. I wasn't setting the "prev" variable again at the end in my last attempts, so it wasn't updating correctly. Thanks Seoh Char !