Thaks for your answers.
 
how would you force a page refresh?
 
Thanks
 
Steve


To: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Wed, 20 Feb 2008 21:32:40 
+0000Subject: [flexcoders] Re: Reset State in Flex




I am not aware of any quick way to clear all the text inputs and reset the 
application to how it was when it first loaded. The only way I know to do this 
is to programatically set everything back to how you want 
them.myTextArea.text="";myPanel.visible=false;myArray.source = ["One", "Two", 
"Three"];etc.In other words, set each component and each piece of your 
application back to the way it is when your application initially runs. You 
could also force a page refresh, but it will almost always be faster, from the 
users perspective, to create a function to reset everything.JF--- In 
flexcoders@yahoogroups.com, Mark Lapasa <[EMAIL PROTECTED]> wrote:>> set 
currentState to null. -mL> > ghus32 wrote:> >> > Is there a way to reset a 
state in Flex?> >> > Thanks> >> > steve> >> > > > > > Notice of 
confidentiality:> The information contained in this e-mail is intended only for 
the use of the individual or entity named above and may be confidential. Should 
the reader of this message not be the intended recipient, you are hereby 
notified that any unauthorized dissemination, distribution or reproduction of 
this message is strictly prohibited. If you have received this message in 
error, please advise the sender immediately and destroy the e-mail.> 






_________________________________________________________________

Reply via email to