Extends
- Sprite
Members
指定されたクラスの空間名を返します。
Returns the space name of the specified class.- Default Value:
- next2d.display.MovieClip
MovieClip インスタンスのタイムライン内の再生ヘッドが置かれているフレームの番号を示します。
Specifies the number of the frame in which the playhead is located
in the timeline of the MovieClip instance.- Default Value:
- 1
MovieClip インスタンスのタイムライン内の現在のフレームにあるラベルです。
The label at the current frame in the timeline of the MovieClip instance.現在のシーンの FrameLabel オブジェクトの配列を返します。
Returns an array of FrameLabel objects from the current scene.ムービークリップが現在再生されているかどうかを示すブール値です。
A Boolean value that indicates whether a movie clip is curently playing.- Default Value:
- false
MovieClipのフレームヘッダーの移動方法の設定オブジェクトを返します。
Returns a configuration object for how MovieClip's frame headers are moved.- Default Value:
- null
指定されたオブジェクトの空間名を返します。
Returns the space name of the specified object.- Default Value:
- next2d.display.MovieClip
MovieClip インスタンス内のフレーム総数です。
The total number of frames in the MovieClip instance.- Default Value:
- 1
Methods
指定されたクラスのストリングを返します。
Returns the string representation of the specified class.- Default Value:
- [class MovieClip]
Returns:
Type Description string タイムラインに対して動的にLabelを追加できます。
Labels can be added dynamically to the timeline.Name Type Description frame_label
FrameLabel Returns:
Type Description void Example
Example1 usage of addFrameLabel.
// case 1 const {MovieClip, FrameLabel} = next2d.display; const movieClip = new MovieClip(); movieClip.addFrameLabel(new FrameLabel(1, "start"));
指定のフレームのアクションを追加できます
You can add an action for a given frame.Returns:
Type Description void Examples
Example1 usage of addFrameScript.
// case 1 const {MovieClip} = next2d.display; const movieClip = new MovieClip(); movieClip.addFrameScript(1 , function () { this.stop(); });
Example3 usage of addFrameScript.
// case 2 const {MovieClip} = next2d.display; const movieClip = new MovieClip(); movieClip.addFrameScript(1, method_1, 2, method_2, 10, method_10);
指定されたフレームで SWF ファイルの再生を開始します。
Starts playing the SWF file at the specified frame.Name Type Description frame
number | string Returns:
Type Description void このムービークリップの指定されたフレームに再生ヘッドを送り、そこで停止させます。
Brings the playhead to the specified frame
of the movie clip and stops it there.Name Type Description frame
number | string Returns:
Type Description void 次のフレームに再生ヘッドを送り、停止します。
Sends the playhead to the next frame and stops it.Returns:
Type Description void ムービークリップのタイムライン内で再生ヘッドを移動します。
Moves the playhead in the timeline of the movie clip.Returns:
Type Description void 直前のフレームに再生ヘッドを戻し、停止します。
Sends the playhead to the previous frame and stops it.Returns:
Type Description void ムービークリップ内の再生ヘッドを停止します。
Stops the playhead in the movie clip.Returns:
Type Description void 指定されたオブジェクトのストリングを返します。
Returns the string representation of the specified object.- Default Value:
- [object MovieClip]
Returns:
Type Description string