//... | |
DialogManager.addDialog("Do you want to do it?", [ {label:"YES", func:yesFunction}, {label:"NO", func:noFunction} ] ); | |
//... | |
private function yesFunction():void { | |
trace("YES pressed"); | |
} | |
private function noFunction():void { | |
trace("NO pressed"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment