Properties


Every object on the Stage has a series of properties or characteristics that you can access. Some of the properties are read-only, meaning you can't change them. Others can be updated at any time using actions. The properties that you can access range from the transparency of an object to an object's X and Y positions and scale.

Name

Description

_alpha;

Sets the transparency from 0 (transparent) to 100 ( opaque ).

_currentframe;

Current position of the playhead (read-only).

_droptarget;

Returns the path of the movie clip that a draggable movie clip is dropped on. Path returned using slash syntax notation (read-only).

_focusrect;

Boolean; true displays a yellow rectangle around the currently focused button.

_framesloaded;

The number of frames that have been downloaded on the client's computer (read-only).

_height;

The height of the movie clip instance.

_name;

The instance name of the movie clip instance.

_quality;

Sets the rotation of the movie clip in degrees.

_rotation;

The rotation of the movie clip instance.

_soundbuftime

Sets the number of seconds before a movie starts to stream.

_target;

The target path of the movie clip instance (read-only).

_totalframes;

The number of total frames in the movie clip timeline (read-only).

_url;

The URL of the .swf loaded into the movie clip (read-only).

_visible;

Boolean; sets the visibility of the movie clip instance.

_width;

The width of the movie clip instance.

_x;

The X position of the movie clip instance.

_xscale;

The horizontal scale of the movie clip instance.

_xmouse

Returns the X coordinate of the mouse (read-only).

_y;

Sets the Y coordinate of the movie clip instance.

_yscale;

The vertical scale of the movie clip instance.

_ymouse;

Returns the Y coordinate of the mouse (read-only).



Inside Flash
Inside Flash MX (2nd Edition) (Inside (New Riders))
ISBN: 0735712549
EAN: 2147483647
Year: 2005
Pages: 257
Authors: Jody Keating

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net