![MACROMEDIA FLASH 8-FLASH Скачать руководство пользователя страница 225](http://html2.mh-extra.com/html/macromedia/flash-8-flash/flash-8-flash_tutorials-manual_3348958225.webp)
225
19
CHAPTER 19
ActionScript: Write
Scripts
The ActionScript language that is part of Macromedia Flash Basic 8 and
Macromedia Flash Professional 8 offers designers and developers a variety
of benefits. With ActionScript you can control document playback in
response to events such as elapsed time and loading data; add interactivity
to a document in response to user actions, such as a button click; use built-
in objects, such as a button object, with built-in associated methods,
properties, and events; create custom classes and objects; and create more
compact and efficient applications than you could create using user
interface tools, all with code that you can reuse.
ActionScript is an object-oriented scripting language that offers control
over how your Flash content plays. In subsequent lessons, you’ll see how
ActionScript has evolved into ActionScript 2.0 to comprise a core set of
language elements that make it easier to develop object-oriented programs.
You can print this tutorial by downloading a PDF version of it from the
Macromedia Flash Documentation page at
www.macromedia.com/go/
fl_documentation
.
In this tutorial, you will complete the following tasks:
Set up your workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
Create an instance of a symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
Name button instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
Initialize the document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
Apply ActionScript syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
Locate ActionScript reference documentation . . . . . . . . . . . . . . 230
Add comments to ActionScript. . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
Write a function for a button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
Copy and modify a button function . . . . . . . . . . . . . . . . . . . . . . . . 232
Check syntax and test your application. . . . . . . . . . . . . . . . . . . . . 233
Содержание FLASH 8-FLASH
Страница 1: ...Flash Tutorials...
Страница 10: ...10 Contents...
Страница 12: ...12 Introduction...
Страница 42: ...42 Basic Tasks Creating a banner Part 1...
Страница 78: ...78 Basic Tasks Creating a banner Part 3...
Страница 88: ...88 Basic Tasks Create Accessible Flash Content...
Страница 106: ...106 Basic Tasks Create an Application...
Страница 116: ...116 Basic Tasks Use Layout Tools...
Страница 124: ...124 Basic Tasks Create Symbols and Instances...
Страница 134: ...134 Basic Tasks Add Button Animation and Navigation...
Страница 144: ...144 Basic Tasks Create a Presentation with Screens Flash Professional Only...
Страница 192: ...192 Creating Graphics Applying Gradients...
Страница 198: ...198 Creating Graphics Apply Graphic Filters and Blends Flash Professional Only...
Страница 224: ...224 ActionScript Use Script Assist mode...
Страница 268: ...268 ActionScript Work with Objects and Classes...
Страница 270: ...270 Data Integration Overview Flash Professional Only...