Movie
提供: LWF Wiki
メソッド
メソッド | 返り値 | 説明 |
---|---|---|
addEventListener(event:string, listener:MovieEventListener) | void | |
addTween() | Tween | |
attachBitmap(bitmapName:string, depth:number) | BitmapClip | |
attachEmptyMovie(attachName:string, options:object) | Movie | |
attachLWF(attachLWF:LWF, attachName:string, options:object) | void | |
attachMovie(linkageName:LWF, attachName:string, options:object) | Movie | |
clearEventListener(event:string) | void | |
detachBitmap(depth:number) | void | |
detachFromParent() | void | |
detachLWF(lwf:LWF) | void | |
detachMovie(movie:Movie) | void | |
dispatchEvent(e:string) | void | |
getAttachedBitmap(depth:number) | BitmapClip | |
getAttachedBitmaps() | Array | |
getAttachedLWF(depth:number) | LWF | |
getAttachedMovie(depth:number) | Movie | |
getBounds() | Bounds | |
globalToLocal(point:Point) | Point | |
gotoAndPlay(frame:number) | void | |
gotoAndStop(frame:number) | void | |
gotoFrame(frame:number) | void | |
gotoLabel(label:string) | void | |
localToGlobal(point:Point) | Point | |
move(x:number, y:number) | void | |
moveTo(x:number, y:number) | void | |
nextFrame() | void | |
play() | void | |
prevFrame() | void | |
removeEventListener(event:string, listener:MovieEventListener) | void | |
removeMovieClip() | void | |
requestCalculateBounds() | void | |
rotate(degree:number) | void | |
rotateTo(degree:number) | void | |
scale(x:number, y:number) | void | |
scaleTo(x:number, y:number) | void | |
searchAttachedLWF(attachName:string, recursive:bool) | LWF | |
searchAttachedMovie(attachName:string, recursive:bool) | Movie | |
searchMovieInstance(name:string, recursive:bool) | Movie | |
setAlpha(alpha:number) | void | |
setColorTransform(colorTransform:ColorTransform) | void | |
setEventListener(event:string, listener:MovieEventListener) | void | |
setMatrix(matrix:Matrix) | void | |
setRenderingOffset(offset:number) | void | |
setVisible(visible:bool) | void | |
stop() | void | |
swapAttachedLWFDepth(depth0:number, depth1:number) | void | |
swapAttachedMovieDepth(depth0:number, depth1:number) | void | |
swapDepths(depth:number) | void |
プロパティ
プロパティ | タイプ | 説明 |
---|---|---|
alpha | number | 透明度 0(透明) ~ 1(不透明) |
blendMode | string | ブレンドモード "add":加算合成 【対応】canvas,webgl,native "normal":通常 【対応】全対応 "erase":マスク 【対応】canvas,webgl,native "mask":矩形マスク 【対応】全対応 "layer":マスク対象 【対応】全対応 |
currentFrame | number | 現在のフレーム (readOnly) |
depth | number | 深度(readOnly) |
lwf | LWF | 親lwf |
name | string | インスタンス名 |
parent | Movie | 親のMovie(readOnly) |
playing | bool | 現在の再生状況 |
rotation | number | 回転角度(0~360) |
scaleX | number | スケールX 基準値1 |
scaleY | number | スケールY 基準値1 |
totalFrames | number | 総フレーム数(readOnly) |
visible | bool | 表示の可否 |
x | number | X座標 |
y | number | Y座標 |