for Flex SDK