Haxe/AS3: UserInterface API