I find solution and it s like this (thx Mayur).

First there is event called "exitState" and "enterState". I used this
for triger function that will delete content of my custom component.
What is realy strange for me that if you try example of login form on
adobe site you have same problem, take a look.
http://www.adobe.com/devnet/flex/quickstart/creating_states/
at the end of page you have flex example, enter text in text fields
(change states using link button,) and content of this text fields
stay.

greetings for all who helped me

Goran






On Dec 7, 2:07 pm, Akshar <[email protected]> wrote:
> it is like
> component A has public handleCreate method;
> component A will be part of some bigger component B. on some event in
> component B we switch the view to component A. at that moment we can
> call component A.handleCreate().
> this will call that function each time that view is shown.
>
> On Dec 7, 6:03 pm, explorer <[email protected]> wrote:
>
> > I get the same result with
>
> > navigateToURL(new URLRequest(Application.application.url), '_self');
>
> > can I refresh just my component, or let say erase from memory, so next
> > time application will load component like she do for first time. Do I
> > need something like ModelLocator or something simmilar.
>
> > thx for efforts
>
> > On 7 pro, 12:42, Sunil Thota <[email protected]> wrote:
>
> > > Hi,
>
> > >      Refresh the entire application, then pervious data will be removed 
> > > when
> > > clicking on Logout Button.Paste the below code in the logout function.
>
> > > ExternalInterface.call('window.location.reload()');
>
> > > With Regards,
> > > Sunil.T

--

You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.


Reply via email to