This content has been marked as final. Show 3 replies
Well, exactly what do you mean by "cease operations"?
The app runs in the Flash Player, and there is no code blocking available. Code runs until it stops.
Do you want to close the application and navigate elsewhere?
Do you want to stop user interactions?
I want to terminate operations - The user will be done with the appication at this point (when the click the logout button). I
guess, It could invoke a web page that says its finished. I could force it back to the login screen if thats the only option.
I notice that the AIR environment supports this.
You *could* use System.exit() method to shut down your flash player. But that's only "technical" answer to your question.
Generally, though, in a web applications it's better to redirect the user to the login page and leave it at that. The player would be closed when user closes the browser window.