Onsetfocus (Textfield.onsetfocus Handler) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

scrollDown_btn.onRelease = function() {
my_txt.scroll++;
};
my_txt.onScroller = function() {
trace("onScroller called");
scroll_txt.text = my_txt.scroll+" of "+my_txt.maxscroll;
};
The
MovieClip.getNextHighestDepth()
7 or later. If your SWF file includes a version 2 component, use the version 2 components
DepthManager class instead of the
See also
hscroll (TextField.hscroll property)
,
property)
maxscroll (TextField.maxscroll property)
property)

onSetFocus (TextField.onSetFocus handler)

onSetFocus = function(oldFocus:Object) {}
Invoked when a text field receives keyboard focus. The
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,
contains a null value.
oldFocus
Availability: ActionScript 1.0; Flash Player 6
Parameters
- The object to lose focus.
oldFocus:Object
Example
See the example for
TextField.onKillFocus
See also
onKillFocus (TextField.onKillFocus handler)
1196
ActionScript classes
method used in this example requires Flash Player
MovieClip.getNextHighestDepth()
,
maxhscroll (TextField.maxhscroll
oldFocus
.
method.
,
scroll (TextField.scroll
parameter is the object that

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents