MovieClip
493
Example
The following example draws a triangle with a 5-pixel, solid magenta line and a partially
transparent blue fill:
this.createEmptyMovieClip("triangle_mc", 1);
triangle_mc.beginFill(0x0000FF, 30);
triangle_mc.lineStyle(5, 0xFF00FF, 100);
triangle_mc.moveTo(200, 200);
triangle_mc.lineTo(300, 300);
triangle_mc.lineTo(100, 300);
triangle_mc.lineTo(200, 200);
triangle_mc.endFill();
See also
createEmptyMovieClip (MovieClip.createEmptyMovieClip method)
,
lineStyle
(MovieClip.lineStyle method)
,
lineTo (MovieClip.lineTo method)
_name (MovieClip._name property)
public _name :
String
The instance name of the movie clip.
Availability:
ActionScript 1.0; Flash Lite 2.0
See also
_name (Button._name property)
nextFrame (MovieClip.nextFrame method)
public nextFrame() : Void
Sends the playhead to the next frame and stops it.
You can extend the methods and event handlers of the MovieClip class by creating a subclass.
Availability:
ActionScript 1.0; Flash Lite 2.0
Содержание Flash Lite 2
Страница 1: ...Flash Lite 2 x ActionScript Language Reference...
Страница 22: ...22 Contents...
Страница 244: ...244 ActionScript language elements...
Страница 760: ...760 ActionScript classes...