On 5/2/13 10:44 AM, "Jesse Ward-Karet" <[email protected]> wrote:

> Alex, where would you attach the scroller to the display list? As a child of
> the grid, the main app, or other?
I would first try PopUpManager to float it over the DG.  If you try to add
it to the DG or its containers it might cause other issues.

> What would you use as the viewport? Maybe an
> invisible GroupBase that is positioned over the cell?
> 
A UITextField has its own "viewport" in the sense that it clips text for
you.  All your floating scrollbar has to do is get and set the scrolling
related properties on the UITextField.

I don't know how hard it is to use VerticalScrollBar as a floater, but
fashioning your own scrollbar out of 3 or four buttons isn't a ton of work.
We've got one checked into the new FlexJS framework in the asjs repo if you
need to bake your own and need a starting point.


-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui

Reply via email to