Welcome to everflash.com Sign in | Join | Help

Horizontal scrolling Flex Tree Control possible solution

It's been a while, but finally I have the oppertunity to use Flex in a real world project. The project is going to be a CMS for kiosk applications. This is similar to a CMS for a website, but the content in this case has to be distributed across the internet to hundreds of kiosks. For this project I will do the interface in Flex / Flash, with a backend in .Net 2.0 (C# and webservices). This idea has been around now for about 6 years and I think with Flex 2 I finally have the means to create a CMS with a real WYSIWYG user interface.

Anyway, this blog entry is about the Flex Tree Control. A good CMS can't do without a couple of tree controls. But having a tree control that did not scroll horizontal properly, was a bit dissapointing. The problem with the Tree Control is that there is no measurement of the horizontal width of induvidual nodes. I tried to solve this by doing the measurement on all visible items in the tree. It worked out ok I think, although it's probably not a universal solution to the problem. Take a look here (source included).

Published Friday, November 17, 2006 9:40 AM by Richard B.
Filed Under: ,

Comments

Friday, November 17, 2006 1:39 PM by Erik Pettersson

# re: Horizontal scrolling Flex Tree Control possible solution

Hey!

Nice work. For that .Net integration you can watch http://develop.itmaskinen.se/labs/snoozenet/ and get some inspiration.

Feel free to comment!
New Comments to this post are disabled