Code samples from the O'Reilly book Learning Flex 3