Giles Roadnight created FLEX-33916:
--------------------------------------
Summary: Dispatch Scroll Events either from Scroller or (better)
from viewport
Key: FLEX-33916
URL: https://issues.apache.org/jira/browse/FLEX-33916
Project: Apache Flex
Issue Type: Improvement
Components: Spark: Scroller
Reporter: Giles Roadnight
I am trying to implement some custom scrolling behaviour (specifically a pull
to refresh implementation similar to
http://www.riagora.com/2011/05/pull-down-to-refresh/ ) and I am very surprised
to find out that the only way I can get information on the scroll position of
the view port is to add a property change event listener to the dataGroup of
the list, check the property for the magic string of "verticalScrollPosition"
and then get the actual position. Dispatching a ScrollEvent of some sort will
allow me to write much neater and resilient code.
--
This message was sent by Atlassian JIRA
(v6.1#6144)