MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 695

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

TextField.onKillFocus
Availability
Flash Player 6.
Usage
my_txt.onKillFocus = function(newFocus){
// your statements here
}
Parameters
The object that is receiving the focus.
newFocus
Returns
Nothing.
Description
Event handler; invoked when a text field loses keyboard focus. The
one parameter,
newFocus
no object receives the focus,
TextField.onScroller
Availability
Flash Player 6.
Usage
my_txt.onScroller = function(textFieldInstance){
// your statements here
}
Parameters
textFieldInstance
Returns
Nothing.
Description
Event handler; invoked when one of the text field scroll properties changes.
A reference to the text field instance is passed as a parameter to the
capture this data by putting a parameter in the event handler method. For example, the following
code uses
as the parameter that is passed to the
txt
then used in a
trace()
myTextField.onScroller = function (txt) {
trace (txt._name + " scrolled");
};
See also
TextField.hscroll
, which is an object representing the new object receiving the focus. If
contains the value
newFocus
A reference to the TextField object whose scroll position was changed.
statement to send the instance name of the text field to the Output panel.
,
TextField.maxhscroll
onKillFocus
.
null
onScroller
event handler. The parameter is
onScroller
,
TextField.maxscroll
method receives
handler. You can
,
TextField.scroll
TextField.onScroller
695

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents