I've been looking thru the documentation and I can't find the
AS 3 command (or mxml command) that stops the Flex 2 application. I
have a 'Log Out' button that will do some general clean up, then it
should also cause the Flex application to cease operations.
What are some commands to cause Flex applications to cease
operations?
In Java, the equivalent would be something like
'System.exit(0);'What is the AS3 command to stop your...
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?
TracyWhat is the AS3 command to stop your...
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.
ATTA
Subscribe to:
Post Comments
(Atom)
No comments:
Post a Comment