Skip to content

Instantly share code, notes, and snippets.

@illuzor
Created August 26, 2012 18:30
Embed
What would you like to do?
//...
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