flixel-ui
flixel-ui copied to clipboard
RPG Interface: saveslot handlers doesn't work
trafficstars
https://github.com/HaxeFlixel/flixel-demos/blob/master/User%20Interface/RPG%20Interface/source/SaveSlot.hx#L42

If I click on play nothing happens(should be some console output)
flixel-ui: 1.0.2
The workaround for this issue I found is to set button.onUp.callback manually after xml gets loaded,
switch(id)
{
case "id":
var button = getAsset("button"); //Cast to FlxUIButton
button.onUp.callback = function ()
{
}
}
Should work fine
Anyway SaveSlot(FlxUI) events should get called too, if you use it in DQ, it should work somehow...