Hi Tracy,

This may work, I'd have to try it, and may be my best option. I was 
hoping to be able to reset the scrollBar so that it appears to the 
user that they are seeing everything.

JF
--- In [email protected], "Tracy Spratt" <tspr...@...> wrote:
>
> Just thinking aloud, but supposed you intercepted the scroll events 
and
> calculated whether the user was allowed to move that way and apply
> preventDefault if not?
> 
> Tracy
> 
>  
> 
> ________________________________
> 
> From: [email protected] 
[mailto:[email protected]] On
> Behalf Of jmfillman
> Sent: Tuesday, December 23, 2008 4:07 PM
> To: [email protected]
> Subject: [flexcoders] Re: Display only part of a canvas??
> 
>  
> 
> I appreciate the responses, but I do not believe this will 
accomplish 
> what I need. Masking is the closest so far, but the scroll bars 
> create a problem.
> 
> Simply making items hidden, does hide viewable items, but leaves 
the 
> container with a lot of blank space.
> 
> Essentially, I want to override the index or whatever values the 
> scrollbar uses to determine the top and bottom of the container, 
and 
> set my own values.
> 
> --- In [email protected] <mailto:flexcoders%
40yahoogroups.com>
> , "Manish Jethani" 
> <manish.jethani@> wrote:
> >
> > On Tue, Dec 23, 2008 at 5:41 AM, jmfillman <jmfillman@> wrote:
> > 
> > > I have a Canvas that with a height of 3000. For some users, I 
> only want
> > > them to be able to view and scroll a portion of the height of 
the
> > > canvas, say 1200-2200. It can vary from user to user, and some 
> will
> > > need to see the entire height. I'm at a loss as to whether or 
not 
> this
> > > is even possible, and if so, how.
> > 
> > Suppose you have a canvas with 5 items.
> > 
> > <Canvas>
> > <Item />
> > <Item />
> > <Item />
> > <Item />
> > <Item />
> > </Canvas>
> > 
> > You want some users to see only the first 3, is that correct? If 
> yes,
> > you can just set 'visible' to false and 'includeInLayout' to 
false 
> on
> > the items that you want to hide, and that should take care of it.
> > 
> > -- 
> > manishjethani.com
> >
>


Reply via email to