Class: Character

Character

スクリーンに配置されたDisplayObjectクラス
DisplayObject class placed on the screen

new instance.Character (object)

NameTypeDefaultDescription
objectobjectnulloptional

Members

endFrame

endFrame

height number

表示オブジェクトの高さを示します(ピクセル単位)。
Indicates the height of the display object, in pixels.

id number readonly

DisplayObjectのid、ワークスペース内ではユニークの値
DisplayObject id, unique value in the workspace

libraryId number

コントローラーに読み込まれたアイテムID
Item ID loaded in controller

name string

MovieClip内で有効なアクセス名
Valid access name in MovieClip

offsetX number readonly

フィルター適用で移動したx座標の値
Value of x-coordinate moved by applying filter

offsetY number readonly

フィルター適用で移動したy座標の値
Value of y-coordinate moved by applying filter

places

places

referencePoint object

中心点の座標
Coordinates of the center point

rotation number

DisplayObject インスタンスの元の位置からの回転角を度単位で示します。
Indicates the rotation of the DisplayObject instance,
in degrees, from its original orientation.

scaleX number

基準点から適用されるオブジェクトの水平スケール(パーセンテージ)を示します。
Indicates the horizontal scale (percentage)
of the object as applied from the registration point.

scaleY number

基準点から適用されるオブジェクトの垂直スケール(パーセンテージ)を示します。
IIndicates the vertical scale (percentage)
of an object as applied from the registration point.

screenX number

インスタンス内で移動したx座標の値
Value of x-coordinate moved within the instance

screenY number

インスタンス内で移動したy座標の値
Value of x-coordinate moved within the instance

startFrame

startFrame

tween

tween

width number

表示オブジェクトの幅を示します(ピクセル単位)。
Indicates the width of the display object, in pixels.

x number

親 DisplayObjectContainer のローカル座標を基準にした
DisplayObject インスタンスの x 座標を示します。
Indicates the x coordinate
of the DisplayObject instance relative to the local coordinates
of the parent DisplayObjectContainer.

y number

親 DisplayObjectContainer のローカル座標を基準にした
DisplayObject インスタンスの y 座標を示します。
Indicates the y coordinate
of the DisplayObject instance relative to the local coordinates
of the parent DisplayObjectContainer.

Methods

clone ()Character

Characterクラスを複製
Duplicate Character class

Returns:
TypeDescription
Character

deletePlace (frame)void

NameTypeDescription
framenumber
Returns:
TypeDescription
void

deleteTween (frame)boolean

指定のキーフレームのtweenの設定objectを削除
Delete tween setting object for specified keyframe

NameTypeDescription
framenumber
Returns:
TypeDescription
boolean

getBounds ()object

表示領域(バウンディングボックス)のObjectを返す
Returns the Object of the display area (bounding box)

Returns:
TypeDescription
object

getClonePlace (frame)object

NameTypeDescription
framenumber
Returns:
TypeDescription
object

getCloneTween (frame)object

tweenオブジェクトを複製
Duplicate tween object

NameTypeDescription
framenumber
Returns:
TypeDescription
object

getImage ()HTMLImageElement

表示用のHTMLImageElementクラスを生成
Generate HTMLImageElement class for display

Returns:
TypeDescription
HTMLImageElement

getNearPlaceFrame (frame)number

指定したフレームより若く一番近いキーフレーム番号を返す

NameTypeDescription
framenumber
Returns:
TypeDescription
number

getPlace (frame)object

NameTypeDescription
framenumber
Returns:
TypeDescription
object

getRange (frame)object

指定したフレームをキーフレームの開始・終了のフレームを返す
Returns the specified frame as the start and end frame of the keyframe

NameTypeDescription
framenumber
Returns:
TypeDescription
object

getTween (frame)object

キーフレームに設定したtweenの設定objectを返す
Returns the tween setting object set to the keyframe

NameTypeDescription
framenumber
Returns:
TypeDescription
object

hasPlace (frame)boolean

NameTypeDescription
framenumber
Returns:
TypeDescription
boolean

hasTween (frame)boolean

指定のキーフレームにtweenの設定objectが設定されているかを判定
Determines if a tween setting object is set for a given keyframe

NameTypeDescription
framenumber
Returns:
TypeDescription
boolean

move (frame)void

指定フレームに移動

NameTypeDescription
framenumber
Returns:
TypeDescription
void

relocationTween (frame)

tweenの座標を再計算してポインターを再配置
Recalculate tween coordinates and reposition pointer

NameTypeDescription
framenumber

remove (layer)void

タイムラインからDisplayObjectを削除
Remove DisplayObject from Timeline

NameTypeDescription
layerLayer
Returns:
TypeDescription
void

setPlace (frame, place)void

NameTypeDescription
framenumber
placeobject
Returns:
TypeDescription
void

setTween (frame, object)void

指定のキーフレームにtweenの設定objectを設定する
Set tween setting object to specified keyframe

NameTypeDescription
framenumber
objectobject
Returns:
TypeDescription
void

showController ()void

選択したDisplayObjectの情報をコントローラーに表示する
Display information on the selected DisplayObject in the controller

Returns:
TypeDescription
void

showShapeColor (event)void

選択時にコントローラーの不要な値は非表示に、変更可能な値は表示する
Hides unwanted values of the controller when selected and shows values that can be changed

NameTypeDescription
eventMouseEvent
Returns:
TypeDescription
void

split (layer, start_frame, end_frame)Character

DisplayObjectを指定フレームで分割

NameTypeDescription
layerLayer
start_framenumber
end_framenumber
Returns:
TypeDescription
Character

toObject ()object

Returns:
TypeDescription
object

updateTweenBlend (frame)void

ブレンドモード追加時にレンジ内のplace objectを更新

NameTypeDescription
framenumber
Returns:
TypeDescription
void

updateTweenFilter (frame)void

filter追加時にレンジ内のplace objectにfilterを追加

NameTypeDescription
framenumber
Returns:
TypeDescription
void

updateTweenPlace (start_frame, end_frame)void

tweenのplace objectを構築

NameTypeDescription
start_framenumber
end_framenumber
Returns:
TypeDescription
void