I was afraid you'd ask that :-) It's been years since I really dealt with HTML, but something like this should work:
private function reloadPage():void{ var url:URLRequest = new URLRequest("http://www.mysite.com"); navigateToURL(url, "_parent"); } You are just pointing the browser back to your site so it will load the application again. --- In flexcoders@yahoogroups.com, steven pollard <[EMAIL PROTECTED]> wrote: > > > 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 <mlapasa@> 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.> > > > > > > > _________________________________________________________________ >