Flex4.0 Learning (1)

Source: Internet
Author: User

I wanted to learn flex4.0, but there were very few 4.0 pieces of information on the Internet, most of which were 3.0 yuan. So I had to learn 3.0 yuan of space first.

After two days of basic learning, I finally integrated the flex project and Java today. However, it is only the first step. I hope to share it with my classmates, if there is something wrong, please help.

 

1. Preparation (set up the environment)

Myeclispe6.0 + adobeflexbuilder3.0.1professionalpolicseplug + LCDs + tomcat5.0

 

:

 

(1)flex_sdk_4.0.0.10485.zip

Http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4/flex_sdk_4.0.0.10485.zip

 

(2) Eclipse plug-in: AdobeFlexBuilder3.0.1ProfessionalEclipsePlug-in.exe,

Http://trials.adobe.com/Applications/Flex/FlexBuilder/3/FB3_WWEJ_Plugin.exe

 

(3) LCDs

Http://trials.adobe.com/Applications/LiveCycle_Data_Services/Win/lcds3-win.exe

 

Install

 

(1) After installing the Eclipse plug-in, start eclipse, help-> soft updates-> Manager Configuration-> Add-> extension location

Configuration path plug-in installation directory/flex builder 3 plug-in/eclipse. After configuration, restart eclipse.

(2) install LCDs, which is relatively simple. Simply follow the steps.

(3) When installing the SDK, pay attention to this. When selecting eclipse, select the eclipse directory under myeclipse.

 

2. Start creating a flex Project

The functions of the above software are not described in detail. They are more professional on the Internet.

(1) create a flex Project

 

File-> New-> flex Project (prjflextest)

 

Note: Select J2EE for application server type.

 

Next

 

Note: select the configured Tomcat for target runtime and the LCDs installation directory for flex war file (for example, D:/LCDs. War)

 

The final step is complete.

 

(2) convert a flex project into a web J2EE Project

 

Right-click the project prjflextest you just created and choose myeclipse> Add web project capabilities. On the displayed page, select J2EE 1.4. Note: Don't hurry up. Click Create web here. XML cancellation, so that the Web created by LCDs will not be overwritten. XML file

 

Now our flex project has become a J2EE WEB Project. The first step of integration of flex and Java is to release and deploy the project according to the original Java project.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.