Code done in Adobe Flash and Flex