Just out of curiosity, I took this from the manual and pasted on my code.
local textInputDialog = TextInputDialog.new("my title", "my message", "some text", "Cancel", "OK")
local function onCompleteDialog(event)
print(event.text, event.buttonIndex, event.buttonText)
end
textInputDialog:addEventListener(Event.COMPLETE, onCompleteDialog)
textInputDialog:show()
Then I noticed that even commenting out the line that adds the event listener, and the event listener definition, as soon as I click "OK" on the dialog box on OSX, Gideros Player crashes. clicking "cancel" is fine though.
Comments
Do you have Maverick OSX version?