[flexcoders] createPopUp and addPopUp, which one to love?

2008-09-10 Thread Boon Chew
What's the process/criteria in deciding whether to use createPopUp vs addPopUp?  They seem interchangeable.  What is it that you can do with one that you can't do with the other? Which one do you use the most? [-] The doc says: You can use the addPopUp() method of the PopUpManager to create a

Re: [flexcoders] createPopUp and addPopUp, which one to love?

2008-09-10 Thread Michael Schmalle
Hi, addPopUp() actually adds it to the systemManager and thus the method call parents the popup and it appears on the screen. createPopUp() just calls addPopUp() after it has created the instance for you from the Class ref. I would say it's a convenience method for calling new(), you could even

RE: [flexcoders] createPopUp and addPopUp, which one to love?

2008-09-10 Thread Alex Harui
: [flexcoders] createPopUp and addPopUp, which one to love? Hi, addPopUp() actually adds it to the systemManager and thus the method call parents the popup and it appears on the screen. createPopUp() just calls addPopUp() after it has created the instance for you from the Class ref. I would say it's