Flash Builder 4 and Flex 4 Bible- P3
Số trang: 50
Loại file: pdf
Dung lượng: 1.07 MB
Lượt xem: 20
Lượt tải: 0
Xem trước 5 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
Flash Builder 4 and Flex 4 Bible- P3: When Macromedia first released Flash MX in 2002, the product was branded as the newway to build Rich Internet Applications (known by the acronym RIA). The term wasinvented at Macromedia to describe a new class of applications that would offer thebenefits of being connected to the Internet, including access to various types of Web-based services,but would solve many of the nagging issues that had been inherent in browser-based applicationssince the mid-1990s....
Nội dung trích xuất từ tài liệu:
Flash Builder 4 and Flex 4 Bible- P3 Chapter 2: Using Flash Builder 4Once you’ve created a simple document class successfully, you can then add as many ActionScriptclasses as your presentation requires. And when you set the linkage properties of a movieclip sym-bol in Flash Professional to a new ActionScript class, you can then jump to Flash Builder to createand edit the class just as you did with the document class.SummaryIn this chapter, I described the nature and behavior of Flash Builder 4. You learned the following: l Flash Builder 4 is a plug-in designed for use with Eclipse. l Flash Builder 4 is available for the Windows and Mac OS X operating systems. l Flash Builder’s stand-alone configuration includes everything you need to build Flex applications, including Eclipse 3.5.1. l Flash Builder’s plug-in installation option enables you to install Flash Builder on top of an existing Eclipse installation. l The Flash Builder plug-in installation requires Eclipse 3.4. l Flash Builder can be used by both Flex and Flash developers to edit their ActionScript files. l Flash Builder adds many tools in the form of Views and Editors to Eclipse to make coding faster and more productive. l Flash Builder includes many valuable code generation, searching, and refactoring tools to make your coding experience more productive. l Flash Builder 4 and Flash Professional CS5 are designed to work together to create a seamless ActionScript editing experience. l Many tools that are a part of the Eclipse workbench are critical to effective use of Flash Builder. 71 CHAPTERBuilding a Basic FlexApplicationI n this chapter, I describe how to create and deploy a basic “Hello World” Flex application for the Web. After the application is built, I IN THIS CHAPTER describe the fundamental nature of a Flex application, including the Creating a “Hello World”relationship between the application SWF file and the supporting HTML application(Hypertext Markup Language) files. I describe the contents of the HTML“wrapper” file that’s generated for you in Flash Builder and its associated Switching workspacesJavaScript library file. Creating a Flex projectFinally, I describe how to deploy the Flex application into a Web site in Understanding HTMLthese ways: templates l As a distinct application that opens in its own window Exporting a release build l As an applet that’s displayed as part of an existing Web page Deploying a Flex application l As a desktop application deployed on Adobe AIR on the WebBy the end of this chapter, you should have a good sense of what a Flex Integrating Flex applications with Web pages inapplication is and how it’s delivered to the user. Dreamweaver CS4NoteThe code samples and screen shots in this chapter assume that you’re usingFlash Builder 4 to build the application. If you’re using the Flex 4 SDK andyour own text editor, the steps will be similar, but you won’t have access tosome of the code completion and other productivity tools I describe. n 73Part I: Flex Fundamentals Creating a “Hello World” Application In all programming languages, your first task is to write a “Hello World” application. The most simple of applications, it typically contains no more than a single line of text output.NoteThroughout these instructions, I assume that you’re using the stand-alone version of Flash Builder. Where thesteps are different in the plug-in version, I provide alternative steps in a Tip. n Switching workspaces As described in Chapter 2, your first step is to create a Flex project. The project hosts the applica- tion’s source code and other assets. Follow these steps to switch to a new workspace: 1. Open Flash Builder 4. 2. From the menu, choose File ➪ Switch Workspace. 3. Select a new folder named flex4bible anywhere on your hard disk and then click OK. If you’re working on Windows, the folder might be C:flex4bible. On Mac OS ...
Nội dung trích xuất từ tài liệu:
Flash Builder 4 and Flex 4 Bible- P3 Chapter 2: Using Flash Builder 4Once you’ve created a simple document class successfully, you can then add as many ActionScriptclasses as your presentation requires. And when you set the linkage properties of a movieclip sym-bol in Flash Professional to a new ActionScript class, you can then jump to Flash Builder to createand edit the class just as you did with the document class.SummaryIn this chapter, I described the nature and behavior of Flash Builder 4. You learned the following: l Flash Builder 4 is a plug-in designed for use with Eclipse. l Flash Builder 4 is available for the Windows and Mac OS X operating systems. l Flash Builder’s stand-alone configuration includes everything you need to build Flex applications, including Eclipse 3.5.1. l Flash Builder’s plug-in installation option enables you to install Flash Builder on top of an existing Eclipse installation. l The Flash Builder plug-in installation requires Eclipse 3.4. l Flash Builder can be used by both Flex and Flash developers to edit their ActionScript files. l Flash Builder adds many tools in the form of Views and Editors to Eclipse to make coding faster and more productive. l Flash Builder includes many valuable code generation, searching, and refactoring tools to make your coding experience more productive. l Flash Builder 4 and Flash Professional CS5 are designed to work together to create a seamless ActionScript editing experience. l Many tools that are a part of the Eclipse workbench are critical to effective use of Flash Builder. 71 CHAPTERBuilding a Basic FlexApplicationI n this chapter, I describe how to create and deploy a basic “Hello World” Flex application for the Web. After the application is built, I IN THIS CHAPTER describe the fundamental nature of a Flex application, including the Creating a “Hello World”relationship between the application SWF file and the supporting HTML application(Hypertext Markup Language) files. I describe the contents of the HTML“wrapper” file that’s generated for you in Flash Builder and its associated Switching workspacesJavaScript library file. Creating a Flex projectFinally, I describe how to deploy the Flex application into a Web site in Understanding HTMLthese ways: templates l As a distinct application that opens in its own window Exporting a release build l As an applet that’s displayed as part of an existing Web page Deploying a Flex application l As a desktop application deployed on Adobe AIR on the WebBy the end of this chapter, you should have a good sense of what a Flex Integrating Flex applications with Web pages inapplication is and how it’s delivered to the user. Dreamweaver CS4NoteThe code samples and screen shots in this chapter assume that you’re usingFlash Builder 4 to build the application. If you’re using the Flex 4 SDK andyour own text editor, the steps will be similar, but you won’t have access tosome of the code completion and other productivity tools I describe. n 73Part I: Flex Fundamentals Creating a “Hello World” Application In all programming languages, your first task is to write a “Hello World” application. The most simple of applications, it typically contains no more than a single line of text output.NoteThroughout these instructions, I assume that you’re using the stand-alone version of Flash Builder. Where thesteps are different in the plug-in version, I provide alternative steps in a Tip. n Switching workspaces As described in Chapter 2, your first step is to create a Flex project. The project hosts the applica- tion’s source code and other assets. Follow these steps to switch to a new workspace: 1. Open Flash Builder 4. 2. From the menu, choose File ➪ Switch Workspace. 3. Select a new folder named flex4bible anywhere on your hard disk and then click OK. If you’re working on Windows, the folder might be C:flex4bible. On Mac OS ...
Tìm kiếm theo từ khóa liên quan:
thiết kế web giáo trình flash cơ bản kỹ năng cắt html photoshop căn bản giáo trình CS3Gợi ý tài liệu liên quan:
-
Báo cáo thực tập: Đề tài thiết kế Web
77 trang 568 2 0 -
Đề thi thực hành môn Thiết kế Web - Trường Cao đẳng nghề Vĩnh Phúc
3 trang 267 2 0 -
MỘT SỐ ĐIỂM CẦN CHÚ Ý KHI THIẾT KẾ WEB
5 trang 113 0 0 -
GIÁO TRÌNH LẬP TRÌNH WEB_PHẦN 2_BÀI 3
3 trang 103 0 0 -
Giáo trình Nhập môn thiết kế website
58 trang 83 0 0 -
Tài liệu giảng dạy Thiết kế giao diện Web - Trường CĐ Kinh tế - Kỹ thuật Vinatex TP. HCM
88 trang 72 0 0 -
81 trang 68 0 0
-
112 trang 64 0 0
-
Hướng dân sử dụng Navicat để Create , Backup , Restore Database
7 trang 63 0 0 -
Giáo trình môn Kỹ thuật vi điều khiển: Thiết kế web và vi điều khiển - Chương 2
39 trang 59 0 0