wiln / flexlib

Automatically exported from code.google.com/p/flexlib
0 stars 0 forks source link

ScheduleViewer does not dispatch ScrollEvents #233

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Listen to a ScheduleViewer for ScrollEvent.SCROLL events.

var scheduleViewer:ScheduleViewer = new ScheduleViewer();
scheduleViewer.addEventListener(ScrollEvent.SCROLL, handler);

2. Move the scroll bar.

3. The event listener does not get called. 

I attached a diff with proposed fix for ScheduleViewer.as r159.

Original issue reported on code.google.com by dthomp...@gmail.com on 7 Jul 2009 at 12:28

Attachments:

GoogleCodeExporter commented 8 years ago
That diff looks like it isn't working properly, here is another that looks good.

Original comment by dthomp...@gmail.com on 7 Jul 2009 at 4:19

Attachments:

GoogleCodeExporter commented 8 years ago
I also got the same scrolling problem to show horizontal scroll bar below 
schedule
viewer. I have tried to use [pixelScroll] event from ScheduleViewer and set
[pixelScrollEnabled] to true, but still cannot get the scrolling event fire. 
Now, I
can get a work around is to put a dummy timeline bar below it and hide the 
rendering
text to have it scroll the ScheduleViewer.

Original comment by hann...@gmail.com on 10 Dec 2009 at 7:02