Maxscroll Property; Parent Property - MACROMEDIA FLASHLITE2 ACTIONSCRIPT-LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

Example
The following example stops the playhead in the main timeline of the SWF file sub.swf that is
loaded into
. The sub.swf file contains animation and is in the same directory as the
_level9
document that contains the following ActionScript:
loadMovieNum("sub.swf", 9);
myBtn_btn.onRelease = function() {
_level9.stop();
};
You could replace
_level9.stop()
_level9.gotoAndStop(5);
This action sends the playhead in the main Timeline of the SWF file in
instead of stopping the playhead.
See also
loadMovie function

maxscroll property

variable_name.maxscroll
Deprecated since Flash Player 5. This property was deprecated in favor of
TextField.maxscroll
Indicates the line number of the top line of visible text in a text field when the bottom line in
the field is also visible. The
how information appears in a text field. This property can be retrieved, but not modified.
Availability: ActionScript 1.0; Flash Lite 1.1
See also
maxscroll (TextField.maxscroll property)

_parent property

_parent.property
_parent._parent.property
Specifies or returns a reference to the movie clip or object that contains the current movie clip
or object. The current object is the object containing the ActionScript code that references
. Use
_parent
_parent
current movie clip or object.
Availability: ActionScript 1.0; Flash Lite 2.0
106
ActionScript language elements
in the previous example with the following code:
,
swapDepths (MovieClip.swapDepths method)
.
property works with the
maxscroll
to specify a relative path to movie clips or objects that are above the
scroll
,
scroll (TextField.scroll property)
to Frame 5
_level9
property to control

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Flash lite 2

Table of Contents