Static methods

Variables

Methods

frameControl(frame:Int, loopType:LoopType):Int

@:value({ frame : null })getElement(index:Int, ?frame:Int):FlxElement

Gets an element through a specific index from a frame.

Parameters:

index

The element index.

frame

The keyframe the element is located. If set to null, it will take curFrame as a reference.

Returns:

an FlxElement instance.

@:value({ layer : null, frame : null })getElementByName(name:String, ?frame:Int, ?layer:EitherType<Int, String>):Null<FlxElement>

Gets an element with a name

Parameters:

name

this can be either the name of the symbol or the instance.

frame

The keyframe the element is located. If set to null, it will take curFrame as a reference.

layer

Which layer it should take as a reference. if set to null, it'll take every layer available.

Returns:

an FlxElement instance.

@:value({ frame : null })getElementIndex(element:FlxElement, ?frame:Int):Int

@:value({ layer : null })getFrameLabel(name:String, ?layer:EitherType<Int, String>):FlxKeyFrame

@:value({ layer : null })getFrameLabels(?layer:EitherType<Int, String>):Array<Null<String>>

@:value({ layer : null })getNextToFrameLabel(label:String, ?layer:EitherType<Int, String>):Null<FlxKeyFrame>

@:value({ layer : null })removeAllCallbacksFrom(label:String, ?layer:EitherType<Int, String>):Bool

@:value({ frame : null })swapElements(oldElement:FlxElement, newElement:FlxElement, ?frame:Int):Void

update(framerate:Float, reversed:Bool):Void