tailieunhanh - Using the Actions Panel/ActionScript Editor
Sử dụng Panel Actions / ActionScript Editor Rõ ràng, các tiền đề của cuốn sách này đòi hỏi bạn phải tập trung vào viết kịch bản. Đó là một ý tưởng tốt để làm quen với các công cụ bạn sẽ sử dụng trong Flash để làm như vậy. Trong đó, tập thể dục đầu tiên của bạn, bạn sẽ học một số các vấn đề cơ bản của việc tạo ra các kịch bản với trình soạn thảo ActionScript. | Using the Actions Panel ActionScript Editor Obviously the premise of this book requires you to concentrate on writing scripts. It s a good idea to get familiar with the tools you ll use in Flash to do so. In this your first exercise you ll learn some of the basics of creating scripts with the ActionScript editor. NOTE The purpose of this book is to teach ActionScript not so much how to use the Flash interface. This discussion will be concise providing enough information to help you progress through the book. For a more extensive look at the many features of the Actions panel pick up the Macromedia Flash Visual QuickStart Guide. 1. With Flash open choose File New and choose Flash Document from the list of choices. Press OK. This step creates a new Flash document. It s usually a good idea to give your document a name and save it so we ll do that next. 2. From the File menu choose Save As. In the dialog box that appears navigate to any folder on your hard drive where you would like to save this file it s not important where really name it and press the Save button. After you press Save the tab at the top of the document window will reflect the name of your new file. 3. Open the Actions panel by choosing Window Development Panels Actions. Let s look at the various sections of the Actions panel. The Script pane is where you add ActionScript. You type into this window just as you would a word processor. The script that appears in this window changes depending on the currently selected element in the Flash authoring environment. For example selecting a keyframe on Frame 10 allows you to place a script on that frame if one doesn t already exist if that frame already contains a script it will be displayed for editing. The Actions toolbox contains a categorical list of ActionScript elements. Doubleclicking an icon a book with an arrow opens or closes a category in the list. The toolbox is designed to provide a quick way of adding script elements to your .
đang nạp các trang xem trước