Archive for January 11th, 2008

11
Jan

Setting the data provider of a Flex ButtonBar control to a ViewStack container

The following example shows how you can set the data provider of a ButtonBar control in Flex to a ViewStack container.

Full code after the jump.

Continue reading ‘Setting the data provider of a Flex ButtonBar control to a ViewStack container’

11
Jan

Toggling item roll over highlighting in the Flex Tree control

The following example shows how you can toggle item roll over highlighting in the Tree control in Flex by setting the useRollOver style.

Full code after the jump.

Continue reading ‘Toggling item roll over highlighting in the Flex Tree control’

11
Jan

Displaying the number of children in each branch of a Flex Tree control

The following example shows how you can display the number of children in each branch of a Tree control in Flex by using the dataDescriptor property, labelFunction property, hasChildren() method and getChildren() method.

Full code after the jump.

Continue reading ‘Displaying the number of children in each branch of a Flex Tree control’