Static methods
Variables
Methods
getCallbackFrom(label:String, callback:EitherType<Function, Int>, ?layer:EitherType<Int, String>):Null<Function>
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 |
Returns:
an FlxElement
instance.
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 |
layer | Which layer it should take as a reference. if set to |
Returns:
an FlxElement
instance.