Dealing with multiple actions in a popup window

Simple example: I have a popup window that includes two options on that window…a “yes” and a “no” for simplicity sake.

Therefore the action that gets done on the completion of closePopUp() is different depending on what the user selected. I’m completely stumped as to how to notify the onComplete function of which choice the user made.

Thanks,
Todd [import]uid: 93674 topic_id: 15723 reply_id: 315723[/import]

How are you getting the popup? Is that using an Alert or a WebPopUp or your own method?

cheers,

?:slight_smile: [import]uid: 3826 topic_id: 15723 reply_id: 58088[/import]

Sorry I didn’t specify. I’m using the Director class popup class.

Thanks,
Todd [import]uid: 93674 topic_id: 15723 reply_id: 58187[/import]