-------------------------------------------------- ------------------------------ This tutorial involves software and download address: 1 JDK 1.5.0 download address: http: // Java.sun.com/j2se/1.5.0/download.jsp After entering, select Download JDK, then click Accept> Continue, then select Windows Offline Installation, Multi-Language (JDK-1_5_0_01-Windows-I586-P.exe, 49.78 MB) Download.
2 Tomcat 5.5.6 download address: http://apache.towardex.com/jakarta/tomcat-5/v5.5.6/bin/jakarta-tomcat-5.5.6.exe
3 Flex 1.5 download address: http://www.macromedia.com/cfusion/tdrc/index.cfm? Product = flex
4 flex builder 1.5 download address: http://www.macromedia.com/cfusion/thdrc/index.cfm? Product = flexbuilder ---------------------- -------------------------------------------------- ---------
1, install JDK1.5.0
1 After downloading, double-click the installation, I am installing D: /JDK1.5.0_01, automatically install JRE5.0 when installing, can be installed to other paths.
2 Then set an environment variable, right-click "My Computer"> Properties> Advanced> Environment Variables> System Variables> New (as shown below):
Variable name: java_home Variable: d: /jdk1.5.0_01
2, install Tomcat5.5.6
1 After downloading, double-click the installation, remember the "Service" (as shown below) during the installation process, so Tomcat can be started in the form of a Windows service. I will install Tomcat in the D: / Flex / Tomcat 5.5 / directory here.
2 The HTTP port number and management password are then configured, and the port will be 8080.
3 The directory of the JRE will be required during the installation process, which will automatically detect and press the default. If you don't detect, please enter your JRE installation directory manually.
4 Tomcat installation is completed, generate a small icon in the status bar, if it is a green small triangle indicates that the Tomcat server has started successfully, you can double-click this icon to enter the Tomcat service console, start and stop the service with Start and STOP.
5 Enter "http: // localhost: 8080" in the browser, if there is a page of the Apache Tomcat / 5.5.6 below, Tomcat is successful (in fact, you can already act as a JSP server, oh).
3, install Flex 1.5
1 The first step is to decompress, double-click the downloaded Flex-15-win.exe, and select a decompressed directory, such as "desktop" (as shown below).
2 Open the folder after decompressing on the desktop, name, "I1103705281", enter the Windows directory inside, double-click Flex.exe for installation.
3 The installation interface is as follows, click Next. The serial number is required during the process, and if the blackening is a 60-day trial version. I am installed here in D: / flex / app. 4 The most important step is started below, that is, install Flex into Tomcat. Enter the WebApps directory under Tomcat (I am D: / Flex / Tomcat 5.5 / WebApps), create new directories, one is flex, one is Samples (remember, the Tomcat server is case sensitive!).
5 Using Winzip to extract Flex.War under the Flex program directory (I here is D: / flex / app) into the Flex directory established by the previous step. Similarly, unzip Samples.War into the Samples directory established by the previous step. At this point, Flex1.5 is installed.
6 Open "http: // localhost: 8080 / samples /" in the browser, click on the "Flex Explorer" on the left navigation bar, if you see the following picture, congratulations, your Flex server has been installed!
4, install Flex Builder 1.5
1 Download Flex Builder 1.5, file name is flexbuilder1.5installer.exe, after installation, if there is no serial number, you can choose 60 days of trial.
2 After startup, you can see that the interface and DreamWeaver are very similar. The first step is the same as DW, but also defines a FLEX site. Select "Flex Site ..." in "Creat New", fill in the corresponding information in the pop-ups setup dialog, as shown below:
3 Then you can use Flex Builder to do your flex site, huh, huh. Here is the interface of the Flex Builder 1.5 after running:
4 Before you use, you should know what MXML is known. It is highly recommended to read the help of the software, there is a corresponding tutorial.