LWF

提供: LWF Wiki
移動: 案内検索

メソッド

メソッド 返り値 説明
useCanvasRenderer void
useWebGLRenderer void
useWebkitCSSRenderer void
addAllowButton(buttonName:string) bool
addButtonEventListener(instanceName:string, listeners:object) void
addDenyButton(buttonName:string) void
addEventListener(event:string, listener:EventListener) void
addMovieEventListener(instanceName:string, listeners:object) void
clearAllowButton() void
clearButtonEventListener(instanceName:string, type:string) void
clearDenyButton() void
clearEventListener(event:string) void
clearMovieEventListener(instanceName:string, type:string) void
denyAllButtons() void
destroy() void
dispatchEvent(event:string, movie:Movie, button:Button) void
exec(tick:number, matrix:Matrix, colorTransform:ColorTransform) void
fitForHeight(stageWidth:number, stageHeight:number) void
fitForWidth(stageWidth:number, stageHeight:number) void
forceExec(matrix:Matrix, colorTransform:ColorTransform) void
forceExecWithoutProgress(matrix:Matrix, colorTransform:ColorTransform) void
getStageSize() StageSize
getstringId(str:string) number
init() void
inputKeyPress(code:number) void
inputPoint(x:number, y:number) Button
inputPress() void
inputRelease() void
inspect(inspector:Movie) void
removeAllowButton(buttonName:string) bool
removeButtonEventListener(instanceName:string, listeners:object) void
removeDenyButton(buttonName:string) bool
removeEventListener(event:string, listener:EventListener) void
removeMovieEventListener(instanceName:string, listeners:object) void
render() void
scaleForHeight(stageWidth:number, stageHeight:number) void
scaleForWidth(stageWidth:number, stageHeight:number) void
searchAttachedLWF(attachName:string) LWF
searchAttachedMovie(attachName:string) Movie
searchEventId(event:string) number
searchFrame(movie:Movie, label:string) number
searchProgramObjectId(name:string) number
setButtonEventListener(instanceName:string, listeners:object) void
setEventListener(event:string, listener:EventListener) void
setFastForward(fastForward:bool) void
setFastForwardTimeout(fastForwardTimeout:number) void
setFrameRate(frameRate:number) void

Lwfクラス#フレームレートを変更する

setFrameSkip(frameSkip:bool) void
setMovieCommand(instanceNames:Array, cmd:Movie) void
setMovieEventListener(instanceName:string, listeners:object) void
setPreferredFrameRate(preferredFrameRate:number, execLimit:number) void
setProgramObjectConstructor(name:string, ctor:object) Renderer
setTextScale(textScale:number) void
stopTweens() void



プロパティ

プロパティ タイプ 説明
data Data
depth number 深度(重なり順)
fastForward bool
fastForwardTimeout number
frameRate number フレームレート
frameSkip bool 動作が重い場合にフレームスキップをするかどうか
height number LWFの高さ
interactive bool
name string 名前
pointX number LWF内のマウスのX座標
pointY number LWF内のマウスのY座標
pressing bool
privateData object
property Property
rendererFactory object
resourceCache object
rootMovie Movie
stage object
tick number 1フレームの秒数
time number
width number LWFの幅