In fact, each tile is merely a number, but there could theoretically be hundreds of them.
The application is for a friend, who occasionally oversees raffle events. Multiple prizes are awarded, and not every ticket drawn is a winner. The scrolling display is meant to show whether a participant's number is still "in play", and which numbers have already won something. Since there could be hundreds of raffle tickets, a scrolling display is a must, and the line-by-line scroll of TileList was very distracting, at least to me.
I have, currently, moved the TileList into a Canvas control, and this does allow smooth scrolling. However, since adding containers always slows down a program, if there was a way to avoid the extra container, I'd prefer to use it.
Not to mention the knowledge of how to instantiate a ScrollEvent in this way...
If you've turned off the scrollbars, I don't think anybody is listening for events from the scrollbars, so you may have to subclass and call scrollHandler directly. Maybe something like:
var event:ScrollEvent = new ScrollEvent(ScrollEvent.SCROLL);
event.detail = ScrollEventDetail.LINE_UP; // or ScrollEventDetail.LINE_DOWN
event.position = scrollPosition;
event.delta = scrollPosition - oldPosition;
event.direction = ScrollBarDirection.VERTICAL;
Flex SDK Developer
Adobe Systems Inc.
Okay... you've ALMOST answered my question....
Final piece of the puzzle: Where do I get scrollPostion and oldPosition from, in your example code?