EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 304

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
304 Chapter 12: ActionScript Dictionary
Description
Event handler; invoked when a button receives keyboard focus. The oldFocus parameter is the
object that loses the focus. For example, if the user presses the Tab key to move the input focus
from a text field to a button,
oldFocus contains the text field instance.
If there is no previously focused object,
oldFocus contains a null value.
Button._parent
Availability
Flash Player 6.
Usage
my_btn._parent.property
_parent.property
Description
Property; a reference to the movie clip or object that contains the current movie clip or object.
The current object is the one containing the ActionScript code that references
_parent.
Use
_parent to specify a relative path to movie clips or objects that are above the current movie
clip or object. You can use
_parent to climb up multiple levels in the display list as in the
following:
_parent._parent._alpha = 20;
See also
MovieClip._parent
, _root, targetPath
Button._quality
Availability
Flash Player 6.
Usage
my_btn._quality
Description
Property (global); sets or retrieves the rendering quality used for a SWF file. Device fonts are
always aliased and therefore are unaffected by the _quality property.
Note: Although you can specify this property for a Button object, it is actually a global property, and
you can specify its value simply as
_quality. For more information, see _quality.

Table of Contents

Related product manuals