Dan,

Like Tracy, I haven't had a chance to use the navigateToUrl either, but
what I have implemented before successfully in my apps is to use the
ExternalInterface to call a JavaScript function after the execution of
any of my Flex logout code.  Example:

                 ExternalInterface.call('window.location.reload()');

This works well for me.

-Jun

--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> While some might judge it a "hack", others are successfully using
> navigateToUrl, with the url pointing to the flex app url itself, and
the
> target _self.  I've not used it myself, but there was just a thread
> about it here.  Search the archives for more detail.
>
>
>
> Tracy
>
>
>
> ________________________________
>
> From: [email protected] [mailto:[EMAIL PROTECTED]
On
> Behalf Of D O
> Sent: Friday, February 02, 2007 6:11 PM
> To: [email protected]
> Subject: [flexcoders] Flex 2 code to reload the entire application?
>
>
>
> Hi everyone, is there any actionscript code I can use to reload the
> entire swf? I have a computer based training module that a user can
> reset at the end and erase all of their use data. Right now the data
> is being removed, but I'm not sure how to refresh the swf to reset the
> UI. Something similar to a reload button for web browsers. Maybe
> something like Application.reload??
>
> any help is appreciated.
> thanks!
> dan
>


Reply via email to