Archive for September 17th, 2007

17
Sep

Building a simple tip calculator in Flex

The following example shows a very simple (and probably somewhat buggy) tip calculator which I put together in a few minutes using Flex. Nothing really new, but sometimes its fun to combine a few of the things we’ve covered over the past posts and build something a bit more interesting.

Full code after the jump.

Continue reading ‘Building a simple tip calculator in Flex’

17
Sep

Programmatically changing a Flex Accordion container’s selected child

Hot on the heels of my previous post, “Programmatically changing a Flex Accordion container’s selected index“, comes a similar example, but this time opening an accordion item by child instead of a numeric index.

Full code after the jump.

Continue reading ‘Programmatically changing a Flex Accordion container’s selected child’

17
Sep

Programmatically changing a Flex Accordion container’s selected index

The following example shows how you can change the currently selected child in an Accordion container using ActionScript by setting the accordion’s selectedIndex property.

Full code after the jump.

Continue reading ‘Programmatically changing a Flex Accordion container’s selected index’