About top-level and built-in classes
287
You can find the ActionScript classes installed on your hard disk. You can find the classes
folders here:
■
Windows: Hard Disk\Documents and Settings\
user
\Local Settings\Application
Data\Macromedia\Flash 8\
language
\Configuration\Classes.
■
Macintosh: Hard Disk/Users/
user
/Library/Application Support/Macromedia/Flash 8/
language
/Configuration/Classes.
Do note the Read Me document located in this directory for more information about
its structure.
To understand the distinction between core ActionScript classes and those specific to Flash,
consider the distinction between core and client-side JavaScript. The client-side JavaScript
classes provide control over the client environment (the web browser and web page content),
and the classes specific to Flash provide runtime control over the appearance and behavior of a
Flash application.
The rest of the built-in ActionScript classes are specific to Macromedia Flash and the Flash
Player object model. Examples of these classes are the Camera, MovieClip, and LoadVars
classes. Other classes are organized into packages, such as flash.display. All of these classes are
sometimes referred to as
built-in
classes (predefined classes that you can use for adding
functionality to your applications).
The following sections introduce the built-in ActionScript classes, and describe the
fundamental tasks you perform with these built-in classes. For an overview of working with
classes and objects in object-oriented programming, see
“About working with built-in classes”
on page 296
. Code examples using these classes are included throughout the entire
Learning
ActionScript 2.0 in Flash
manual.
For information on language elements (such as constants, operators, and directives), see
Chapter 5, “Syntax and Language Fundamentals,” on page 113
.
For more information on top-level and built-in classes, see the following topics:
■
“Top-level classes” on page 288
■
“The flash.display package” on page 292
■
“The flash.external package” on page 292
■
“The flash.filters package” on page 293
■
“The flash.geom package” on page 294
■
“The flash.net package” on page 294
■
“The flash.text package” on page 295
■
“The mx.lang package” on page 295
■
“The System and TextField packages” on page 295
Содержание FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH
Страница 1: ...Learning ActionScript 2 0 in Flash...
Страница 8: ...8 Contents...
Страница 18: ...18 Introduction...
Страница 30: ...30 What s New in Flash 8 ActionScript...
Страница 66: ...66 Writing and Editing ActionScript 2 0...
Страница 328: ...328 Interfaces...
Страница 350: ...350 Handling Events...
Страница 590: ...590 Creating Interaction with ActionScript...
Страница 710: ...710 Understanding Security...
Страница 730: ...730 Debugging Applications...
Страница 780: ...780 Deprecated Flash 4 operators...
Страница 830: ...830 Index...