Flash Lite Properties

This section describes the properties that Adobe's Macromedia Flash Lite 1.x recognizes. The entries are listed alphabetically, ignoring any leading underscores. The properties are summarized in the following table:

Property

Description

/ (Forward slash)

Specifies or returns a reference to the main movie timeline.

_alpha

Returns the alpha transparency value of a movie clip.

_currentframe

Returns the number of the frame in which the playhead is located in the timeline.

_focusrect

Specifies whether a yellow rectangle appears around the button or text field that has the current focus.

_framesloaded

Returns the number of frames that have been loaded from a dynamically loaded SWF file.

_height

Specifies the height of the movie clip, in pixels.

_highquality

Specifies the level of anti-aliasing applied to the current SWF file.

_level

Returns a reference to the root timeline of _levelN. You must use the loadMovieNum() function to load SWF files into the Flash Lite player before you use the _level property to target them. You can also use _levelN to target a loaded SWF file at the level assigned by N.

maxscroll

Indicates the line number of the first visible line of text in a scrollable text field when the last line in the field is also visible.

_name

Returns the instance name of a movie clip. It applies only to movie clips and not to the main timeline.

_rotation

Returns the rotation of the movie clip, in degrees, from its original orientation.

scroll

Controls the display of information in a text field associated with a variable. The scroll property defines where the text field begins displaying content; after you set it, Flash Lite updates it as the user scrolls through the text field.

_target

Returns the target path of the movie clip instance.

_totalframes

Returns the total number of frames in a movie clip.

_visible

Indicates whether a movie clip is visible.

_width

Returns the width of the movie clip, in pixels.

_x

Contains an integer that sets the x coordinate of a movie clip.

_xscale

Sets the horizontal scale (percentage) of the movie clip, as applied from the registration point of the movie clip.

_y

Contains an integer that sets the y coordinate of a movie clip, relative to the local coordinates of the parent movie clip.

_yscale

Sets the vertical scale (percentage) of the movie clip, as applied from the registration point of the movie clip.