New in ActionScript 2.0 and Flash 8
23
■
The Locale class (in the mx.lang package) lets you control how multilanguage text appears
in a SWF file.
■
The Matrix class (in the flash.geom package) represents a transformation matrix that
determines how to map points from one coordinate space to another.
■
The Point class (in the flash.geom package) represents a location in a two-dimensional
coordinate system (
x
represents the horizontal axis, and
y
represents the vertical axis).
■
The Rectangle class (in the flash.geom package) lets you create and modify Rectangle
objects.
■
The TextRenderer class (in the flash.text package) provides functionality for anti-aliasing
embedded fonts.
■
The Transform class (in the flash.geom package) collects data about color transformations
and coordinates manipulations that you apply to a MovieClip instance.
New language elements, methods, and functions added to existing classes in ActionScript
include:
■
The
showRedrawRegions
global function provides the ability for the debugger player to
outline the regions of the screen that are being redrawn (that is, dirty regions that are
being updated). The function has the player show what was redrawn, but does not let you
control redraw regions.
■
The
blendMode
property in the Button class, which sets the blending mode for the
button instance.
■
The
cacheAsBitmap
property in the Button class, which lets you cache the object as an
internal bitmap representation of the instance.
■
The
filters
property in the Button class, which is an indexed array that contains each
filter object associated with the button.
■
The
scale9Grid
property in the Button class, which is the rectangular region that defines
nine scaling regions for the instance.
■
The
hasIME
property in the System.capabilities class, which indicates if the system has an
IME installed.
■
The
getUTCYear
property in the Date class, which returns the year of this date, according
to universal time.
■
The
isAccessible()
method in the Key class returns a Boolean value that indicates
whether the last key pressed may be accessed by other SWF files, depending on
security restrictions.
NO
TE
Official support is added for the AsBroadcaster class in Flash 8.
Содержание 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...