Basic foundation for Flex and AIR apps