in a model/view architecture, you would return the model to its initial
state and the view would respond accordingly.

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of roman_dolgov
Sent: Friday, April 20, 2007 7:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Reload (reinitialize) application



What is best way to reload / reinitialize the whole flex application
from code?

I want to be able to reset state of my application on timeout event,
it seems that the easiest way is to somehow recreate the whole app or
at least main view. 

Something like:

Application.application = new MyApplication() 

but obviously Application.application is read only property.

How else it can be done?

Thanks,
rd



 

Reply via email to