flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Mclean <jus...@classsoftware.com>
Subject [FlexJS] listening for scroll events
Date Tue, 28 Feb 2017 07:28:22 GMT
Hi,

I have a container with a ScrollingViewport. How do you listen to scroll events on teh content?

As far asI can see the scale event don't bubble and because of the added containers on the
JS side you need to do something ugly like this:

this["positioner"].children[0].addEventListener("scroll", contentScrolled, false);

Is there a butter way? 

Is ScrollingViewport missing a scroll handler on it that you can assign to a method?

Thanks,
Justin


Mime
View raw message