Is there a commonly used design pattern to solve the issue of a message prompt/window which needs to act differently depending on the message it shows.
For example, the message might be "that didnt work, do you want to try again" with two buttons, "Ok" and "Cancel" or the message might be "well done, you did something right" with just "Continue" button In the first example, there may be many occasions where a yes/no question is asked, and the action will change each time, so it makes sense that the "prompt" window simply dispatches the event, either "OK" or "Cancel" etc and the listeners can deal with it as they see fit. .........how do you guys solve this problem? tia keith _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders