Skip to content

Instantly share code, notes, and snippets.

@illuzor
Created August 26, 2012 18:30
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save illuzor/3482377 to your computer and use it in GitHub Desktop.
//...
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