This interface keeps me from having to use a Dynamic variable to point to a value holding a FlxUITypedButton that could be either a FlxUIButton or a FlxUISpriteButton

Variables

Methods

@:value({ frame_indeces : null, src_h : 0, src_w : 0, isToggle : false, Resize_Ratio : -1, Tile : FlxUI9SliceSprite.TILE_NONE, slice9 : null, H : 20, W : 80, assets : null })loadGraphicSlice9(?assets:Array<FlxGraphicAsset>, W:Int = 80, H:Int = 20, ?slice9:Array<Array<Int>>, Tile:Int = FlxUI9SliceSprite.TILE_NONE, Resize_Ratio:Float = -1, isToggle:Bool = false, src_w:Int = 0, src_h:Int = 0, ?frame_indeces:Array<Int>):Void

@:value({ Key : "" })loadGraphicsMultiple(assets:Array<FlxGraphicAsset>, Key:String = ""):Void

@:value({ for_toggle : false })loadGraphicsUpOverDown(asset:Dynamic, for_toggle:Bool = false, ?key:String):Void