all groups > flash actionscript > august 2006 >
You're in the

flash actionscript

group:

Does anyone even use the Alert class??


Re: Does anyone even use the Alert class?? David Stiller
8/11/2006 4:41:58 PM
flash actionscript:
Jim,

[quoted text, click to view]

If you look at the inheritance tree of the Alert class, you'll see that
an Alert instance *is* a Window instance (the Alert class extends Window).
The Window class entry states that the "best way to instantiate a window is
to call PopUpManager.createPopUp()," so the recommended approach, in fact,
is the method you like.

[quoted text, click to view]

Alert provides class members in addition to Window, so if you need those
additional members, they describe the advantage. ;)


David Stiller
Adobe Community Expert
Dev blog, http://www.quip.net/blog/
"Luck is the residue of good design."

Does anyone even use the Alert class?? gurthWERM
8/11/2006 7:14:49 PM
Does anyone even use the Alert class to pop alerts when there's the
popUpManager.createPopUp ? If so, is there any advantage of the Alert class?

I'm curious, because it seems that it's so much more limited.

Jim
Re: Does anyone even use the Alert class?? gurthWERM
8/14/2006 1:44:41 PM
Thanks for confirming my belief :D

AddThis Social Bookmark Button