On 7/27/13 10:13 AM, "[email protected]" <[email protected]> wrote:
>I found maxVerticalPosition on Scroller but it is marked private. there is >probably a good reason for it. Well, that wasn't very nice of us, was it? I guess it is private because we constantly muck with it during touch scrolling effects. Try verticalScrollBar.contentMaximum. -Alex > >On Saturday, July 27, 2013, mark goldin wrote: > >> Will give it a try. >> >> >> On Fri, Jul 26, 2013 at 11:04 PM, jude <[email protected]> wrote: >> >> > What are you using for development? Flash Builder or Intellijent? I >>ask >> > because it allows you to type a class and then autocomplete will help >> find >> > the properties on that class. Although, I didn't find >> > maxSomethingScrollPosition in any of the places I looked either. I >> remember >> > this information changed from Flex 3 to Flex 4. >> > >> > How about something like this, >> > >> > scroller.viewport.verticalScrollPosition = >> > scroller.viewport.contentHeight; // or 100000 >> > >> > >> > >> > On Thu, Jul 25, 2013 at 3:45 PM, mark goldin <[email protected]> >> > wrote: >> > >> > > Well, even that does not help because my question was how to set a >> > scroller >> > > to its bottom position. But the scroller does not have >> > > maxHorizontalScrollPosition >> > > property that would have a value to set its verticalScrollPosition >>to. >> My >> > > screen is pretty complex. All I want as what a user is doing - >> scrolling >> > it >> > > all a way to the bottom. That's what I want to do in my code. >> > > >> > > >> > > On Thu, Jul 25, 2013 at 3:20 PM, Jesse Ward-Karet <[email protected]> >> > wrote: >> > > >> > > > >>http://lmgtfy.com/?q=maxVerticalScrollPosition+site%3Ahelp.adobe.com >> > > > >> > > > On Jul 25, 2013, at 1:11 PM, mark goldin <[email protected]> >> > wrote: >> > > > >> > > > > I did, a scroller does not not have it, but scroller is what >>seems >> to >> > > be >> > > > > the correct target to play with. >> > > > > >> > > > > >> > > > > On Thu, Jul 25, 2013 at 3:08 PM, Alex Harui <[email protected]> >> > wrote: >> > > > > >> > > > >> Apparently nobody has this answer memorized so you'll have to >>look >> > it >> > > up >> > > > >> in the documentation. >> > > > >> >> > > > >> On 7/25/13 10:37 AM, "mark goldin" <[email protected]> >>wrote: >> > > > >> >> > > > >>> Which control maxVerticalScrollPosition property is of? A >> scroller? >> > > > >>> >> > > > >>> >> > > > >>> On Thu, Jul 25, 2013 at 12:27 PM, Alex Harui >><[email protected]> >> > > wrote: >> > > > >>> >> > > > >>>> maxVerticalScrollPosition >> > > > >>>> >> > > > >>>> On 7/25/13 9:55 AM, "mark goldin" <[email protected]> >> wrote: >> > > > >>>> >> > > > >>>>> Is there a way to position a scroller to its bottom without >> > > figuring >> > > > >>>> out >> > > > >>>>> what a verticalScrollPosition value could have been? >> > > > >>>>> >> > > > >>>>> >> > > > >>>>> On Thu, Jul 25, 2013 at 11:52 AM, Alex Harui >><[email protected] >> > >> > > > wrote: >> > > > >>>>> >> > > > >>>>>> If that "screen" is in a scroller, in theory you just set >> > > > >>>>>> verticalScrollPosition of the scroller to the DataGrid's y >> value >> > > to >> > > > >>>> snap >> > > > >>>>>> the DG to the top of the viewport. >> > > > >>>>>> >> > > > >>>>>> On 7/25/13 9:47 AM, "mark goldin" <[email protected]> >> > wrote: >> > > > >>>>>> >> > > > >>
