(Flex uses the runtime environment – Adobe? Flash? Player and Adobe AIR? Runtimes are both run environments. The former is browser based and the latter is desktop based. Flex can be developed based on these two environments, but Adobe? Flash? Player has been widely used, so most of the existing Flex applications are based on Adobe? Flash? Player development. (Flex3 requests Flash Player 9 or more, and Flex4 requests Flash Player 10 or more) This series of tutorials is also only used for Adobe? Flash? Player。 Flex and Flash In our image, Flash is just a tool used by designers to make animation, but in fact, Flash can also be used to build rich networks, but it is more complex. Programmers are not used to using drawing tools, timelines and visual panels to develop rich network applications. Flex's presentation manages this problem. With Flex, programmers can use ActionScript and MXML programming languages to quickly develop rich network applications. Flex is more attractive to developers, while Flash is more attractive to designers. Flex principle When you compile a Flash program, the Flash development environment compiles all visual elements, timeline commands and business logic in ActionScript into SWF files. Similarly, MXML and ActionScript code in Flex programs are first fully converted into ActionScript and then compiled into SWF files. When you deploy SWF files to the server, users can obtain the program from the server. Although there are many ways to develop RIAs with Flex, the mainstream architecture of Flex is: Flex as the client, and Java, PHP, Asp, Ruby and other technologies as the server. The following content of this tutorial mainly introduces the integration of Flex and Java technology.
Flex instance.doc)