What is the AS3 command to stop your Flex 2 Application

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);'

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.

Similar Messages

  • What is the best way to distribute your swing application:

    I have developed a application that connects to data base and it containes the functionality to manage the invoices and receipts system, but i am scare to distribute it by building it to jar using the netbeans build option , it runs fine but when i extract the jar file back i m scare that any one can easily decompile it using JAD and get the database credentials , please tell me the best way to distribute the application so that reverse engineering the application will not be possible please tell me that :(

    Decompiling is unnecessary. All somebody would have to do would be to sniff the transmissions between your application and your database; the credentials are sent unencrypted.
    So the problem is not that somebody could find out the database credentials, the problem is that your database exposes itself to the internet. And if anybody does find the credentials through any method at all, then you've got a problem.
    And by the way if you distribute your application with the credentials hard-coded, then that makes it difficult for you to change the password if it does get compromised, because then nobody can use your application any more. This is a bad thing because one of the first things you should do when your system is compromised is to change the access password.
    So really the best way to distribute this application would be to write it so that it connects to an application which runs on your server. This server application would communicate with the database, which would make it unnecessary for the database to be visible from the internet. Your Swing application would communicate with the server application via some kind of web service protocol.

  • What's the terminal command to stop and start LDAP?

    I'm trying to intergate my companies AD kerberose with the services hosted on a Lion Server in a golden triangle setup.
    Here's what I've tried so far.
    1. Bind to AD host.
    2. sudo dsconfigad -enablesso
    3. Make a Opendirectory Master
    4. sudo kinit list, all listed services should point to AD KDC..
    Am I missing something?
    I've tried other way as well, but it always shuts down LDAP.
    1. Bind to AD host.
    2. Make a Opendirectory master
    4. Sudo disconfigad - enablesso
    5. sudo sso_util remove -k -a username -p password -r NAME.OF.KERBEROSREALM
    (here use the OD diradmin and PW)
    6.. reboot
    Help please..!

    Hi hello
    Tell me, you try make a magic triangle with Lion ?
    Have you solve your issue ?
    Sudo disconfigad -enablesso ? worked for you ??? for me command not found
    Thanks for your help

  • What is the key command to open Audition in Logic 8?

    The little play icon in the bin, sample editor, etc.
    The one for auditioning things.
    Doesn't work for me. The only way I can get, for example, a playback from cursor position in the sample editor--is to manually click on the little green play icon with the mouse. Same with the bin, loops, and so on.
    For many years I've had key commands to do this kind of thing, but it is broken for me since Logic 8. What is the key command for this called? I've tried disabling the space bar as a key command, and I've also tried re-enabling it for "play or stop". Although in the latter case, that should still function the way it does in the arrange window.
    Actually, I've tried a lot of things and I'm completely out of ideas.
    I posted on this subject several months ago and it remains unresolved. For the life of me I cannot get the audition button to work via any key command.
    Help?
    TIA
    Message was edited by: danseq

    Hi
    If you imported your key commands from version 7 there can be problems in version 8.
    Try using one of the key command presets from version 8.
    HTH
    CCT

  • What is the best way to stop the depreciation of an asset

    I had tried ticking the asset shutdown field, but it didn't works. I change the depreciation key , e.g. 0000-zero depreciation, it works, however i do not know what is the implication of doing this.
    What is the best option to stop depreciation of an asset?
    Thanks.
    Best Regards,
    Roberto Sayo

    Hi,
    No depreciation for a period of time
    If you have an asset which would not be used for production purposes for next six months as the plant is being closed.
    Therefore you don't want to retire the asset and neither do you want depreciation to be carried out during these six months period.
    Once the plant is opened, from then on, you want to execute the depreciation run.
    You can utilize the Asset Shutdown feature on the Time-dependent tab of the asset master record.
    Select the Asset Shutdown checkbox - create a time interval - Save.
    If you cannot find the checkbox, it could be hidden :-
    In AS02 click Environment -> Screen Layout -> Master data
    Select the Screen Layout and click Logical Field groups
    Select 3 - Time-dependent and click Field group rules
    Tick Opt, Mnno and Sbno - Save
    Optionally,
    you can set the Depreciation key in the Deprecation Area Tab.
    You can also change the depreciation key to '0000' (No depreciation and no interest) for each of your depreciation books. Just make sure you have run depreciation up through the current month before doing so. When you are ready to put the asset back into service, reset the keys to their original values. The system will calculate no depreciation during the months where you have the key set to '0000'.

  • What is the best way to maintain your Battery Life for Iphone 5 ?

    What is the best way to maintain your Battery Life for Iphone 5 ?

    hi,
    so what would you suggest to do here then. let it get to 50% then run the battery down and at say 5-%ish re-charge it fully.
    is there anything i could switch off on my phone to save battery power. ive taken off he location services apart from ym locate my iphone, stopped the fetch new data and set it to manaul . this is also the same for the icloud as well.more or less everything has been set to manual or set to off ??

  • What is the terminal command to list USB devices?

    In Ubuntu Linux the command lsusb lists all devices connected to the usb ports. What is the equivalent command in OS-X? Thanks.

    Linc:
    Thanks. The new thread, if you want to comment on it is:
    Activate/Deactivate USB connected device
    If I am able to deactivate or unattach or disable the driver that is responsible for controlling the usb web cam that I have in my Mac mini, the virtualization program (VBox) would be able to capture it (already configured with the appropriate filter) for my guest OS. Now, I only get a message saying that the camera is busy from a previous request.
    When I run your command, I get no response.

  • TS3694 What is the error 3194 while restoring your firmware ?

    What is the error 3194 while restoring your firmware ?

    Don't panic and don't worry. Your problem is basic. This error happens when your downgrade or upgrade your iDevice once apple stop signing the firmware.
    DON'T use Tinyumbrella or others jailbreak utilities.
    Steps:
    1. Goto      Windows/System32/Drivers/etc    
    2. Open "Hosts" file with Notepad.
    3. Delete   gs.apple.com (everything - all traces) then save it.
    3A. And also delete the Tinyumbrella notepad file.
    4. Plug-in your iDevice to PC, start iTunes and  Restore.
    All the best!

  • What's the best way to use your iPad instead of textbooks?

    What's the best way to use your iPad instead of textbooks? I'm about to start a BSN program and have heard of using your iPad for textbooks instead of buying and carrying around 8 different books. Is there an app for that? Or do you buy or rent the books? What's the best solution?

    Or, if you're like me and you want to do a lot of heavy reading, use the iPad because the low contrast on a Kindle is extremely fatiguing.  
    Seriously, though "screen glare will cause eye strain" is often taken as an article of faith, there's not a lot of good scientific evidence for it. "Eye strain" can be caused by concentrating on any close work for long periods of time. Looking up and focusing on something distant periodically is very helpful. Older CRT screens that flicker also can be aggravting. I'm not denying that some people find reading backlit screens uncomfortable. However, it's not dangerous. And, then, there are other people who find the higher contrast a backlit screen affords to be much less wearying over long periods of time.

  • What is the best way to migrate your Adobe software to another computer?

    What is the best way to migrate your Adobe software to another computer?

    If you know that you do not intend to use the software on the old machine (especially if you are getting rid of it), the minimum you need to do is deactivate it.  That will disable use of it and free up an extra activation for you should you ever wish to have two machines available to use it on.  To deactivate you just open an application and choose Help -> Deactivate.  If this happens to be a Creative Suite, doing that to just one of the applications will deactivate the entire Suite.
    You can also uninstall the software if you like, but be sure to deactivate it first.

  • What is the powershell command to get the user count in Active Directory

    What is the powershell command to get the user count in Active Directory

    Get-ADuser
    REF: http://blogs.technet.com/b/heyscriptingguy/archive/2012/10/30/powertip-single-line-powershell-command-to-list-all-users-in-an-ou.aspx
    This post is provided AS IS with no warranties or guarantees, and confers no rights.
    ~~~
    Questo post non fornisce garanzie e non conferisce diritti

  • What are the steps u followed in your project

    Hi....
    he asked me like this
    1...what are the steps u followed in your project?
    thanks and regards,
    k.swaminath reddy.

    Hi,
    1.Discovery of problems
    2. Expectations
    3.develop solutions...
    4.Implement Solution...
    4.1 Installation
    4.2 Testing
    4.3Training
    4.4Support
    5.Project Closedown

  • Is X-windows and GUI desktops supported on the ODA "engineered system" running a RAC database?  If it is, what is the yum command needed to install the X-windows, Gnome, and KDE package groups?

    Is X-windows and GUI desktops supported on the ODA "engineered system" running a RAC database?  If it is, what is the yum command needed to install the X-windows, Gnome, and KDE package groups?

    While I agree with the direction of the suggestions with installing packages for X-windows, we do not have a blanket 'apply any package' recommendation.
    In particular we do not support altering the kernel (although we do have exceptions which we review on a case by case basis).
    Basically, if the you want to alter functionality that would not impact core functionality you are usually fine.
    A good guideling is : The more dependencies that there are between the package / rpm you are considering using the higher the potential impact on functionality - meaning higher chance for problems
    Note: We do use VNC including Real and Tiger regularly , but we have no hard recommendation on how you may want to use X-windows. I have never seen a limitation other than comments on bugs
    or incompatibility within the X-window product itself with certain kernel levels.
    Patching may overwrite some packages that you may install, however,  _depending on packages/rpms added_ there is also the possibility that you will break existing functionality to the point
    that patching itself will fail ( we have already seen a few cases of this in which case the proper mitigation is to remove / roll-back any alterations to the ODA before patching, and then adding the packages/rpms
    back after the patching is completed.
    From what you are discussing the impact should be low without conflicts, but please consider the above, and if you have specific packages which you consider potential problems
    please create an SR so that we can review packages / rpms on an individual basis.
    Once again: the main criteria for not supporting rpms is regarding the kernel itself
    Chuck

  • What is the best way to keep your files organised

    I would like to know what is the best way to keep your file organise when I am
    Loading program's like numbers and pages from iPhone to MacBook i alway 
    Get double of the same work sheet

    I would like to know what is the best way to keep your file organise when I am
    Loading program's like numbers and pages from iPhone to MacBook i alway 
    Get double of the same work sheet

  • What is the easiest method to convert your Outlook Mail from MS Office 2011 for mac, into Apple Mail?

    What is the easiest method to convert your Outlook Mail from MS Office 2011 for Mac, into Apple Mail?

    As best I can see from googling it, there is NO easy direct way with Apple's builtin tools.  If you Google it you will find that many software companies are selling Apps specifically designed for this purpose.  Good luck.
    Hope this helps

Maybe you are looking for

  • Transparent Animated Gif in Keynote 9

    Hello, I have been trying to insert some of my transparent animated gif in Keynote 9 with zero success. I have checked that the background of the file was actually transparent - it is - and I have attempted to use the Alpha tool - not working with gi

  • Battery only lasts for about 7 hours after Update to IOS 4.2.1

    Hello folks, after I have updated my Iphone 3G to the newest firmware (4.2.1) may battery only lasts for about 7hrs in standby-mode (no tethering, umts, wifi, whatsoever), while it has been much much better before. Does anyone of you have the problem

  • The person who receives the call doesn't hear me! Please help

    When i phone a person, I talk but the person doesn't hear me..

  • OAS Dr. Watson errors

    We've been using OAS v4.0.7 on Win NT v4.0/SP3 for about two years now. We have it configured to run with the Oracle 8.0.5 database using a pl/sql cartridge and this has been extremely stable. We have a large number of procedures written to handle in

  • PXE-E51: No DHCP or Proxy DHCP offers were received

    Ok so I'm new to this and decided hey lets have a go. I got it all working great and then all of a sudden after a server reboot I got this: PXE-E51: No DHCP or Proxy DHCP offers were received My DHCP,DNS,AD and WDS are all on the same box, I spent ho