For Flex viewer 3.2