Description
Property; a Boolean value that indicates whether a movie clip is enabled. The default value of
is
enabled
true
event handlers are no longer invoked, and the Over, Down, and Up frames are disabled. The
property does not affect the Timeline of the movie clip; if a movie clip is playing, it
enabled
continues to play. The movie clip continues to receive movie clip events (for example,
,
mouseUp
keyDown
The
property only governs the button-like properties of a movie clip. You can change
enabled
the
property at any time; the modified movie clip is immediately enabled or disabled.
enabled
The
property can be read out of a prototype object. If
enabled
object is not included in automatic tab ordering.
Example
The following example disables the
circle_mc.onRelease = function() {
trace("disabling the "+this._name+" movie clip.");
this.enabled = false;
};
MovieClip.endFill()
Availability
Flash Player 6.
Usage
my_mc.endFill() : Void
Parameters
None.
Returns
Nothing.
Description
Method; applies a fill to the lines and curves added since the last call to
beginGradientFill()
or
beginGradientFill()
specified in a
moveTo()
Example
The following example creates a square with red fill on the Stage.
this.createEmptyMovieClip("square_mc", this.getNextHighestDepth());
square_mc.beginFill(0xFF0000);
square_mc.moveTo(10, 10);
square_mc.lineTo(100, 10);
square_mc.lineTo(100, 100);
. If
is set to
enabled
false
, and
).
keyUp
circle_mc
. Flash uses the fill that was specified in the previous call to
. If the current drawing position does not equal the previous position
method and a fill is defined, the path is closed with a line and then filled.
, the movie clip's callback methods and
enabled
movie clip when the user clicks it.
on action
mouseDown
is set to
, the
false
or
beginFill()
beginFill()
MovieClip.endFill()
573
,
Need help?
Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?