If your application uses model-view or MVC architecture, you can reset
the model to "restart" the app.  Similarly, if the view portion uses
states, you can reset to the default state to reset the view.

 

You can use fscommand to kill the current standalone player and leave
the new window up.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Ricardo Kirkner
Sent: Thursday, March 13, 2008 1:23 PM
To: [email protected]
Subject: [flexcoders] Reloading application in stand alone player

 

Hi, I am trying to find out how I can reset my application to the
state it was in when first loaded (or even better, to reload the
application).

I know that when embedding the application in a web browser I can use
the navigateToURL method to achieve this, and it works good enough.
The problem is, I want to play my application inside the flash player
(so I can run it full screen) instead of using the browser. When
running inside the flash player, the navigateToURL method cannot use
the _self window, but can only open up a new window, so I need to
find an alternate way to do this.

Any ideas?

Thank you in advance.

 

Reply via email to