1.创建project
1). 点击Flex Builder 的菜单栏 File -> New -> Flex Project
2). Project name: helloWord
Appliaction type : Web appliaction
Appliaction server type : j2ee
3). Server loaction :flex
Root folder :在Tomcat下的路径 例如.....\apache-tomcat-5.5.23\webapps\flex
Root Url :
http://localhost:8080/helloWord/
Context root:/
helloWord
output folder :.....\apache-tomcat-5.5.23\webapps\helloWord
2. 修改project
1). helloWord 右键 Properties
Flex Compiler 中 Flex SDK version 选择 Use the server's SDK
2). helloWord.mxml 中添加<mx:Label text="Hello World!" fontSize="20"/>
3.启动tomact
4. 测试 右击 helloWord.mxml Run Aplication
http://localhost:8080/helloWord/helloWorld.html
中显示Hello World!
Ok ,成功!
posted on 2008-08-26 16:56
冰是没有未来的,因为它的永恒 阅读(536)
评论(0) 编辑 收藏 所属分类:
flex