You could use commands to create the window, and a view helper on the window
to close it :)

Dustin Mercer

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of charged2885
Sent: Monday, December 05, 2005 2:09 PM
To: [email protected]
Subject: [flexcoders] my applicationViewHelper smells.

I have several windows in my applicaiton: PreferencesWindow, LoginWindow,
ConsoleWindow, 
etc... Since I can't seem to create these windows using their view helpers,
I've been adding 
methods to my applicationViewHelper like:

createLoginWIndow()
destroyLoginWindow()
showPreferencesWindow()
hidePreferencesWindow()
showConsoleWindow()
hideConsoleWindow()

I think this is starting to "smell" which tells me i might be doing
something wrong. What is 
the cairngorm way of dealing with PopupWindows?






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to