| Package | jp.nium.utils |
| Class | public final class MovieClipUtil |
| Inheritance | MovieClipUtil Object |
| Method | Defined By | ||
|---|---|---|---|
doLater(scope:*, callBack:Function, ... args):void [static]
指定された関数を 1 フレーム経過後に実行します。
Execute the specified function, 1 frame later.
| MovieClipUtil | ||
frameToLabels(movie:MovieClip, frame:int):Array [static]
MovieClip インスタンスの指定されたフレーム番号からフレームラベルを格納した配列を取得します。
Get the array which contains the frame label that specified by frame number of the MovieClip instance.
| MovieClipUtil | ||
getMarginFrames(movie:MovieClip, frame1:*, frame2:*):int [static]
指定された 2 点間のフレーム差を取得します。
Get the frame difference of specified two points.
| MovieClipUtil | ||
hasFrame(movie:MovieClip, frame:*):Boolean [static]
指定したフレームが存在しているかどうかを返します。
Returns if the specified frame exists.
| MovieClipUtil | ||
labelToFrames(movie:MovieClip, labelName:String):Array [static]
MovieClip インスタンスの指定されたフレームラベルからフレーム番号を格納した配列を取得します。
Get the array which contains the frame number that specified by frame label of the MovieClip instance.
| MovieClipUtil | ||
playheadWithinFrames(movie:MovieClip, frame1:*, frame2:*):Boolean [static]
指定されて 2 点間に再生ヘッドが存在しているかどうかを取得します。
Returns if the playback head exists between the specified two points.
| MovieClipUtil | ||
| doLater | () | method |
public static function doLater(scope:*, callBack:Function, ... args):void指定された関数を 1 フレーム経過後に実行します。 Execute the specified function, 1 frame later.
Parameters
scope:* — 関数が実行される際のスコープです。
The scope when the function executes.
| |
callBack:Function — 実行したい関数です。
The function to execute.
| |
... args — 関数の実行時の引数です。
The argument of the function when executes.
|
| frameToLabels | () | method |
public static function frameToLabels(movie:MovieClip, frame:int):ArrayMovieClip インスタンスの指定されたフレーム番号からフレームラベルを格納した配列を取得します。 Get the array which contains the frame label that specified by frame number of the MovieClip instance.
Parameters
movie:MovieClip — フレームラベルを取得したい MovieClip インスタンスです。
The MovieClip instance to get the frame number.
| |
frame:int — フレーム番号です。
The frame number.
|
Array —
フレームラベルです。
The frame label.
|
| getMarginFrames | () | method |
public static function getMarginFrames(movie:MovieClip, frame1:*, frame2:*):int指定された 2 点間のフレーム差を取得します。 Get the frame difference of specified two points.
Parameters
movie:MovieClip — 対象の MovieClip インスタンスです。
The MovieClip instance to process.
| |
frame1:* — 最初のフレーム位置です。
The position of the first frame.
| |
frame2:* — 2 番目のフレーム位置です。
The position of the second frame.
|
int —
フレーム差です。
The frame difference.
|
| hasFrame | () | method |
public static function hasFrame(movie:MovieClip, frame:*):Boolean指定したフレームが存在しているかどうかを返します。 Returns if the specified frame exists.
Parameters
movie:MovieClip — 対象の MovieClip インスタンスです。
The MovieClip instance to process.
| |
frame:* — 存在を確認するフレームです。
The frame to check if exists.
|
Boolean —
存在していれば true 、なければ false です。
Returns true if exists, otherwise return false.
|
| labelToFrames | () | method |
public static function labelToFrames(movie:MovieClip, labelName:String):ArrayMovieClip インスタンスの指定されたフレームラベルからフレーム番号を格納した配列を取得します。 Get the array which contains the frame number that specified by frame label of the MovieClip instance.
Parameters
movie:MovieClip — フレーム番号を取得したい MovieClip インスタンスです。
The MovieClip instance to get the frame number.
| |
labelName:String — フレームラベルです。
The frame label.
|
Array —
フレーム番号です。
The frame number.
|
| playheadWithinFrames | () | method |
public static function playheadWithinFrames(movie:MovieClip, frame1:*, frame2:*):Boolean指定されて 2 点間に再生ヘッドが存在しているかどうかを取得します。 Returns if the playback head exists between the specified two points.
Parameters
movie:MovieClip — 対象の MovieClip インスタンスです。
The MovieClip instance to process.
| |
frame1:* — 最初のフレーム位置です。
The position of the first frame.
| |
frame2:* — 2 番目のフレーム位置です。
The position of the second frame.
|
Boolean —
存在していれば true 、なければ false です。
Returns true if exists, otherwise return false.
|