class flixel.addons.ui.FlxUIPopup extends FlxUISubState implements IFlxUIWidget
Available on all platforms
Sub classes | ||||
![]() | FlxUILoadingScreen |
|
... * @author
Class Fields
Instance Fields
function getEvent(id:String, sender:IFlxUIWidget, data:Array<Dynamic>, ?eventParams:Array<Dynamic> = null):Void
function quickSetup(title:String, body:String, button_labels:Array<String>):Void
Assuming you use the default format, puts this information in the popup.
* This function ONLY works if you are using the default_popup.xml, OR your
* custom xml contains the following assets:
* 2 texts, ids: "title","body"
* 3 buttons, ids: "btn0","btn1","btn2"
* 3 modes, ids: "1btn","2btn","3btn"
*
title | title text * |
body | body text * |
button_labels | up to three button labels - if fewer, shows less buttons |