Tag Archive for 'describetype()'

19
Sep

Inspecting the properties in a class using the describeType() method and E4X/XML

The following example shows how you can use the describeType() method to inspect a class’s accessor methods.

Full code after the jump.

Continue reading ‘Inspecting the properties in a class using the describeType() method and E4X/XML’

09
Jan

Creating a custom label function on a Flex ButtonBar control

The following example shows how you can use a custom label function to create button labels on a ButtonBar control in Flex by setting the labelFunction property.

Full code after the jump.

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

09
Dec

Debugging Flex applications using the describeType() method and the ObjectUtil class

The following example shows how you can debug your Flex applications using the describeType() method (in the flash.utils package), as well as the static ObjectUtil.toString() method to display information about objects in Flex.

Full code after the jump.

Continue reading ‘Debugging Flex applications using the describeType() method and the ObjectUtil class’

22
Aug

Sorting and filtering data in an XMLListCollection

The following code is a brief example of sorting a Flex XMLListCollection using the Sort and SortField classes, and the XMLListCollection.sort property. We also look at filtering the XMLCollection using a custom filter function.

Full code after the jump.

Continue reading ‘Sorting and filtering data in an XMLListCollection’