Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Highlighted
Contributor
Posts: 16
Registered: ‎01-04-2011
My Device: Not Specified
My Carrier: Java Developer
Accepted Solution

Catch Initial and Final position on a scrolling event

[ Edited ]

Hi everyone,

 

First of all thanks for the help i will receive,i have a littele question.

I have a ScrollPane and i want to know the position of the Scroll Pane where i start the ScrollEvent.Begin,and also the position where i release(Scrollevent.Scroll_END).

 

 

 

Thanks everyone for the support

 

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Catch Initial and Final position on a scrolling event

Isn't that what the scrollX and scrollY values are for?  See the docs.


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Catch Initial and Final position on a scrolling event

Those are not attributes of the List class.  Great if it was.

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Catch Initial and Final position on a scrolling event

Sorry John, but did you think I was replying to your question in another thread?  The OP for this thread was asking about the ScrollPane class, not List.  I believe my answer is valid, but if it's not could you please can clarify?


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Contributor
Posts: 16
Registered: ‎01-04-2011
My Device: Not Specified
My Carrier: Java Developer

Re: Catch Initial and Final position on a scrolling event

Thanks peter,and sorry all for the stupid question,maybe if i was more concentrate.I 'm starting to feel the weight of the working day.


Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Catch Initial and Final position on a scrolling event

Sorry Peter, thougt the response had to do with my recent post.  Got my wires crossed.