Tag Archive for 'dataprovider'

26
Mar

Converting an array of String objects to an array of Object objects in Flex

The following example shows how you can convert an array of strings to an array of objects so it can be used as a data provider in Flex.

Full code after the jump.

Continue reading ‘Converting an array of String objects to an array of Object objects in Flex’

21
Feb

Creating a custom label function on a Flex PopUpMenuButton control

The following example shows how you can use an XML data provider on a PopUpMenuButton in Flex and create a custom label function using the labelFunction property.

Full code after the jump.

Continue reading ‘Creating a custom label function on a Flex PopUpMenuButton control’

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’

03
Dec

Using an Array as a data provider in a Flex Tree control

The following code shows you how you can use an Array as a data provider for a Tree control in Flex.

Full code after the jump.

Continue reading ‘Using an Array as a data provider in a Flex Tree control’