I've started the inklings of a script in GS2 to allow you to start from an XML base, and markup GUI windows and controls, and allow you to define sensible objects for which to use with your events.
Is this something people would use, if I made it available? Or is it going to be something like my Motion tweening script :P
This was the sort of syntax I was planning on:
PHP Code:
<?xml version="1.0" encoding="utf-8"?>
<gui:Window name="myWindow" width="400" height="320">
<gui:Button bottom="2" right="2" width="100" height="24" name="myButton">Apply</gui:Button>
</gui:Window>