I want to develop a class that displays a popup window to the user, the popup could be any given width or height and could possibly have subclasses that display either a text message or load another SWF.
I want this popup to be modal, meaning that the user needs to respond to the window before they can continue. So I guess, how do you disable user input with anything in the background.
How do I go about developing such a class. Aside from the actionscript file I imagine you would need to have an object in your library so if you want to call up a new TextPanel you could do so? This is the area where I am not sure is the best practice to develop it.
Any suggestions would be great.