Flash and Flex applications can do only what Flash Player allows them to do. Flash Player provides an API for all the operations it can perform. Flex applications run in the same Flash Player as Flash applications. ... Flex consists of a compiler that is capable of compiling MXML and ActionScript.