Flex is:
One description ApplicationProgramInterface XML language (mxml)
An ECMA standard scripting language (ActionScript), which is used to compile functions for handling user and system events and construct complex data models.
A Class Library
Instant service at runtimeA compiler that generates SWF files from mxml files
Mxml:
The attribute must be enclosed in quotation marks.
Most of the attributes can be subtags.
All attributes except the event attributes are processed as strings. To bind data or force the compiler to execute expressions, enclose them in curly brackets.
The xmlns attribute declares the XML namespace. Namespace allows you to use the same element name in a single document to avoid confusion.
ActionScript:
It can be embedded in mxml or imported from outside.
Class Library:
The class library contains both visible components such as control and container, as well as invisible components such as remote service objects and data models.
Runtime service:
For example, historical control and remote service connection objects. From the development perspective, these services are called to class libraries.
Compiler:
After receiving a request from a browser to access the mxml file, the corresponding SWF file is automatically compiled and generated. The SWF file will be cached until the source mxml file is modified.