EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE - Onsetfocus (Textfield.onsetfocus Handler); Parent (Textfield._Parent Property)

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE
780 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...
670 ActionScript classes
See also
hscroll (TextField.hscroll property), maxhscroll (TextField.maxhscroll
property)
, maxscroll (TextField.maxscroll property), scroll (TextField.scroll
property)
onSetFocus (TextField.onSetFocus handler)
onSetFocus = function(oldFocus:Object) {}
Invoked when a text field 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
button to a text field, oldFocus contains the button instance. If there is no previously focused
object,
oldFocus contains a null value.
Availability: ActionScript 1.0; Flash Lite 2.0
Parameters
oldFocus:Object - The object to lose focus.
Example
See the example for
TextField.onKillFocus.
See also
onKillFocus (TextField.onKillFocus handler)
_parent (TextField._parent property)
public _parent : MovieClip
A reference to the movie clip or object that contains the current text field 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 text
field. You can use
_parent to climb up multiple levels in the display list as in the following:
_parent._parent._alpha = 20;
Availability: ActionScript 1.0; Flash Lite 2.0

Table of Contents

Related product manuals