horizontalScrollPosition is in pixels, so set it to the x value of the item.
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Hess Sent: Tuesday, September 09, 2008 4:21 PM To: [email protected] Subject: [flexcoders] How to determine Tree horizontalScrollPosition for clipped item Hi All, I have a tree representing a file system and I need to make sure the item is visible(icon, label ect..) when I set the selection. I have made alterations to my tree to support 'auto' horizontal scrollbars but now need to set the horizontalScrollPosition so that the item is fully visible. The item renderer can give me the x y for the item, how can I figure out what the horizontal scroll position should be? Any help is much appreciated! Thanks, Greg

