![MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference Download Page 1196](http://html.mh-extra.com/html/macromedia/flash-8-actionscript-2-0-language/flash-8-actionscript-2-0-language_reference_6875371196.webp)
1196
ActionScript classes
scrollDown_btn.onRelease = function() {
my_txt.+;
};
my_txt.onScroller = function() {
trace("onScroller called");
scroll_txt.text = my_txt." of "+my_txt.maxscroll;
};
The
MovieClip.getNextHighestDepth()
method used in this example requires Flash Player
7 or later. If your SWF file includes a version 2 component, use the version 2 components
DepthManager class instead of the
MovieClip.getNextHighestDepth()
method.
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 Player 6
Parameters
oldFocus
:Object
- The object to lose focus.
Example
See the example for
TextField.onKillFocus
.
See also
onKillFocus (TextField.onKillFocus handler)
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...