Flash/Flex code for the project