Sorry, we didn't really expose anything that would allow you to do
smooth scrolling like that.  We have talked about wanting to add effects
capabilities into the List classes but it doesn't really make it on the
schedule.  

If you want to dig into the source and do something undocumented and
tricky the places to look would be in ItemScrollSelectList.as in the
setHPosition function which calls scrollContent.  You'll get mad props
if you pull it off :-)

Matt

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of jgraham_us
Sent: Wednesday, February 01, 2006 8:28 AM
To: [email protected]
Subject: [flexcoders] Flex 1.5 HorizontalList scrolling question

I have some thumbnails (image and text) in a HorizontalList, I am 
scrolling these programmatically to focus in on an item is there a way 
to smooth the scrolling effect?  Right now the scrolling just jumps to 
the next item, I want to maybe apply an inertia or just smooth out the 
scrolling.

Any ideas?  I haven't seen anything provided by the horizontal list 
that would do this.

I am scrolling by calling this.  Where list is my HorizontalList 
instance.

----

list.hPosition = list.hPosition+1;







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to