[flexcoders] Need help with Logout and then Logging back into Flex App

2008-09-05 Thread scottyale2008
After each of the different forms have been opened (via the button
toolbar), the forms have been initialized and created.   I recently
added a logout button which just takes you back to the login form.  If
you login as a different user, some of the charts and forms don't
update because they were created via  creationComplete() 

At the main section of the Flex app (where the login page is), is
there a way to reset all creationComplete's so the app will recreate
the pages when they are re-selected?
I tried invalidating all the properties and displaylists.

If there isn't a quick and easy way I could do one of the following:

-   The logout page takes them to a screen that says Press the Browser
Refresh Button to log back in.
-   The logout link does the Browser Refresh automatically.   Is this
an option, and if so what is the command to reload the flex app within
flex?

What's is best practices and/or best approach?




Re: [flexcoders] Need help with Logout and then Logging back into Flex App

2008-09-05 Thread Douglas Knudsen
You could just reload your app, 'tis the short sweet easy way...go ahead
mash that Easy Button!
Flex can load a new URL in the browser, so just load itself.

DK

On Fri, Sep 5, 2008 at 2:06 PM, scottyale2008 [EMAIL PROTECTED]wrote:

   After each of the different forms have been opened (via the button
 toolbar), the forms have been initialized and created. I recently
 added a logout button which just takes you back to the login form. If
 you login as a different user, some of the charts and forms don't
 update because they were created via creationComplete()

 At the main section of the Flex app (where the login page is), is
 there a way to reset all creationComplete's so the app will recreate
 the pages when they are re-selected?
 I tried invalidating all the properties and displaylists.

 If there isn't a quick and easy way I could do one of the following:

 - The logout page takes them to a screen that says Press the Browser
 Refresh Button to log back in.
 - The logout link does the Browser Refresh automatically. Is this
 an option, and if so what is the command to reload the flex app within
 flex?

 What's is best practices and/or best approach?

  




-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?