Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: PopupManager, and recurring popup, design question  (Read 3355 times)
coulix
Full Member
***
Posts: 23


View Profile Email
« on: March 11, 2009, 11:22:17 »

Hi all,

I saw a topic on using a PopupManager with static methods to close and create popup given its Component CLass and MediatorClass.
In my case i have a popup that a user can call then close then call again ect.., this popup is kind of expensive to instantiate so for now i was just "hiding it" and keeping only one mediator handling the hide unhide.
But that is uncompatible with the popup manager way of doing things.

How would you handle such Popups ?

Thanks a lot

Greg
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 on: March 12, 2009, 05:44:20 »

There's nothing wrong with that at all given your situation.

-=Cliff>
Logged
Pages: [1]
Print