function init(data) { getGUIObjectByName("summaryText").caption = data.gameResult; }