
MovieClip.nextFrame() Method
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Alphabetical Language Reference
|
675
See Also
MovieClip.beginFill(), MovieClip.beginGradientFill(), MovieClip.clear(), MovieClip.curveTo(),
MovieClip.endFill(), MovieClip.lineStyle(), MovieClip.lineTo()
MovieClip._name Property
the identifier of a clip instance, as a string
Flash 4
read/write
mc._name
Description
The _name property specifies the instance name of a movie clip instance as a string.
Because it initially reflects the instance name set in the Property inspector during
authoring, the
_name property doesn’t apply to main movies (the main movie is most easily
referred to by the global property
_root).
Example
We can use _name to determine whether or not to perform some manipulation of a given
clip, as shown in the Example for MovieClip.onLoad(). The
_name property can also be used
to reassign the identifier of a clip. For example:
// Change ball to circle
ball._name = "circle";
// Now control the former ball as circle
circle._x = 500;
See Also
MovieClip._target, targetPath(); “Movie Clip Instance Names” in Chapter 13
MovieClip.nextFrame() Method
advance a clip or movie’s playhead one frame and stop it
Flash 5
mc.nextFrame()
Description
The MovieClip.nextFrame() method is an alternative to the global nextFrame() function.
Use the MovieClip method form to control remote ...