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
冰是沒有未來的,因為它的永恒 閱讀(543)
評論(0) 編輯 收藏 所屬分類:
flex