Stop flex application to load after clicking of stop button on browser

Hi,
I am running in a problem where i have the flex application, while loading the application in the middle of the application page i want to stop loading the application on clicking of browsers stop button.
Please help me....
thanks in advance...

One technique woudl be to create a new button that the user would interpret as the submit button (I will call this a pseudo submit button). You would make the real submit button invisible (so the user cannot see it or click on it, but it can still be used programmatically). Now on the pseudo submit button put your code to validate your information. If this validation passes then click the real submit button. To do this run this code:
submitbuttonname.execEvent("click");
If the validation fails then put a message up. In this technique the real submit cannot be pushed until the validate succeeds.
Hope this helps.

Similar Messages

  • I purchased the Adobe Creative Complete Plan for Annual Prepaid, and the Check Out just wouldn't proceed. It is still loading after click the confirm button. Dear adobe staff, please assist urgently.

    I purchased the Adobe Creative Complete Plan for Annual Prepaid, and the Check Out just wouldn't proceed. It is still loading after click the confirm button. Dear adobe staff, please assist urgently.

    I am having a similar problem. I am using Chrome and tried on Mac and on PC but the same. Its not completing my order and on PC saying:
    We were unable to process your payment please contact our customer support.......... etc
    But strangely its giving a confirmation button again. It gave me this error upon reconfirmation:
    PMT_000011 : adbehme, en_IE, There is money to authorize, But no Aurthorize delegated were applicable, 12834289525

  • After upgrading to Mavericks on my MacBook, I'm not able to download third party applications like Dropbox and MyCleanMac 2.  After clicking the download button, the screen just turns dark and is frozen.  Any idea what is happening?

    After upgrading to Mavericks on my MacBook, I'm not able to download third party applications like Dropbox and MyCleanMac 2.  After clicking the download button, the screen just turns dark and is frozen.  Any idea what is happening?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • My firefox crashes directly after clicking the firefox-button

    '''1'''. firefox suspended directly after invoke the program
    '''2.''' I changed the "compatibility-mode" to "Windows 98/Windows Me"
    '''3'''. firefox crashes directly after clicking the firefox-button
    -> it opens "Morzilla Crash-Detector"

    -> '''Is my Firefox problem a result of MALWARE ??'''
    * Popups Not Blocked - http://kb.mozillazine.org/Popups_not_blocked
    -> Do a MALWARE check with these Malware Scanning programs. You need to scan with all programs because each program detects different malware. Make sure that you UPDATE each program to get the latest version of their Databases before doing a Scan. Also, Close All other Applications (softwares) before Starting to Run Scans.
    * Malwarebytes' Anti-Malware - http://www.malwarebytes.org/mbam.php
    * SuperAntispyware - http://www.superantispyware.com/
    * Spybot Search & Destroy - http://www.safer-networking.org/en/index.html
    * Ad-Aware Free Internet Security - http://www.lavasoft.com/products/ad_aware_free.php
    Check and tell if its working.

  • HT4483 After clicking the download button, I received the message, 'The item you've requested is not currently available in the U.S. store.

    After clicking the download button, I received the message, 'The item you've requested is not currently available in the U.S. store.

    This is not uncommon.   Not all apps are available in all stores, just as not all OSx apps are available in IOS.    The reasons are many, commercial, legal, copyright, whatever but it won't change your position.   If it says not available, then that is the situation.

  • Erec - When an External window opens after click of a button

    We are using an Standard Webdynpro Erec Appln.
    When an External window opens after click of a button the smart form embedded in that windows view is not appearing instead and small X mark (in Red)  is appearing with fully plain background
    It is happening only for my system, others are able to view it properly...
    I have cleared the cache, restarted the system and also re-installed the Adobe Reader too..
    But still the problem persists.. Let me know what can be done in this case...
    Thanks & regards,
    Rashmi

    The service that you are trying to use requires integration of adobe with in browser(IE). Check the option [Display PDF in browser |http://lh4.ggpht.com/_E1SpYl0ZbfE/SlI0rfQAxeI/AAAAAAAAAh4/fC9alkf1M78/Adobe_Setting.gif]in Adobe Reader preferences.
    If it still doesn't show the PDF, try to reset the browser setting to Medium and re-open.
    Regards,
    Trikanth Basetty

  • Why does itunes get locked with last update after clicking on search button ?

    Why does itunes get locked with last update after clicking on search button ?

    Why does itunes get locked with last update after clicking on search button ?

  • How to ensure that latest version of Flex application is loaded

    Hello experts
    I have a bit of dilemma here. I am working on application which is going to be used at various locations (globally).
    Level of technical knowledge of users varies quite a lot so do operating systems authorizations of the PCs they are working on (various companies with different level of security).
    At the moment I am facing issue where some users are still using older release of the Flex application even after refresh and deletion of temporary internet files.
    Is there any way to ensure (using some AS code or Flex project settings) that only latest versions of SWF files are loaded (not the one from buffer/cache)?
    Regards
    Michael

    BTW, I have added following line to the HTML template/wrapper:
    <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
    but it is still picking up older version of SWF file on certain PCs. It does read latest HTML (wrapper) file though. Seems that caching is only enabled for either certain file types or files exceeding certain size.
    I have decided to do something a bit daft (or cheeky, depends how you look at it) as temporary solution and rename 2 main files (main SWF and HTML) to something like:
    Application_name_ver_XYZ.*
    It can be done in couple of minutes after release build has been exported (no need to update project itself). That way I can fool browser so it will pick up latest version (since its different file with different name).
    Main application consists of 10+ modules and some of them are compiled into separate SWF files. I am loading them inside application using ModuleLoader component. I have set parameter cachePolicy to "off" as I am not going to rename all these modules each time I am releasing new version of application.
    The end result is that main application is refreshed but all modules that are being loaded are picked up from cache (old versions).
    So as a last resort I have decided to change folder name of my application. That way all the files (main app and modules) are considered as new files since location of all of them has changed. It is just a workaround, it does work but it carries certain risks. If user will use old link application will still load (older version) and then consequences can be catastrophic (even corruption of data).
    Has anyone experienced same issues?
    I know these are more browser/network issues but how do I deal with them. Some of these people cant ask IT for support (for various reasons). Is there anything else I can do to ensure that users across the board will use latest version of application?
    Regards
    Michael

  • Application import halts on clicking at "Next" Button after selecting file

    Hi,
    I'm trying to import an application to another server but import hangs after clicking at the "Next" button after I have selected the file to be uploaded.
    I do can import the application on apex.oracle.com and in the same server
    version for toolkit is 10.1.2.0.6
    database version 9.2.0.7
    The javascript error showing on the page complains on a function( x_Show ).
    Any ideas about what's wrong?
    / Jannis

    Thanks for letting us know what fixed it for you. You just made me realise why my install of Apex 3.0 on XE didn't work - I had the same symptoms as you. I hadn't set up the image folders, which I've read about elsewhere since then, but I hadn't connected the two before.
    Cheers
    Richard

  • Flex Application Not loading in case of using RSL.

    If anyone can help, I release my Flex Application using RSL but now this appication is not loading on some system. I upload application.swf and framework_3.0.0.477.swz and also crossdomain.xml but application not uploading and getting error  #2032.

    Search the internet for solutions for that error.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Reduce Flex application initial loading time

    Comparing to HTML, Flex's initial load time is very long. How
    to reduce the initial loading time to the level that is
    comparable to HTML's loading time for the page content? Any
    best practice or rules to follow?

    Ok, OK! What's the specs?
    How long is the load time? Please don't say "very long".
    Let's see the spec. Oh, and can you give me a load time for the
    mythologocal HTML page in question, just so I can compare?
    I gotta tell ya, I sometimes take a nap when I'm loading half
    the ASP pages I stumble across nowadays.
    Here's a page from the Los Angeles times--html--- coming in @
    6-7 seconds.
    http://latimesblogs.latimes.com/lanow/2009/02/los-angeles-pay.html
    Another example: from CNN.com, coming in at about 10-11
    seconds. Unbelievable.
    http://www.cnn.com/video/#/video/showbiz/2009/02/03/wynter.simpson.scientology.cnn
    I've got a 350Kb Flex app using RSLs which loads in about 5
    seconds. I'm kicking @ss compared to a lot of professional web
    sites out there. Think that's too slow? Compared to what???

  • Report is Blank after Click on Save button

    Hi All,
    I am having a Real Time Infocube, which is been used by Monthly and Yearly report separately using different Aggregation Levels.
    During Monthly report testing, I made changes in Yearly Report (common for monthly as well) and clicked on SAVE button.
    As a result, a new request generated into the Cube, whereas my old request (yellow one) was still there and was containing only 700 records.
    Step1:
    Now,  after that when I activated aggregation level. The output of the report was blank.
    Same thing happened with monthly report also.
    Step2:
    So, I deleted that new request from Cube after changing its behaviour from Planned mode --> Load mode.
    Now, when I tried to get it back. It was asking me to green the existing request (old request).
    Step3:
    when the cube was containing only old yellow request (before changing the behaviour) monthly report was showing me correct data. But, Yearly report was blank.
    So, I manually green the request and changed the behaviour to Planned mode.
    Whereas, Now (after changing behavior to Planned mode) both reports are blank.
    Please help!!
    Best Regards,
    Jatin

    Hi,
    first you the correct settings in transaction RSDIPROP for your InfoCube:
    On tab 'Roll Up' you should set the flag Set Quality Status to OK Automatically.
    Second delete the cache for the planbuffer query; the name of the plan buffer queries are as follows
    - if your aggregation level is defined on InfoCube CUBE the name is CUBE/!!1CUBE
    - if your aggregation level is defined on MultiProvider IPROV the name is IPROV/!!1IPROV
    - if you are using a query on a MultiProvider containing aggregatiion levels delete also the cache of the query.
    Now check the values of your query again.
    Note 1136163 contains the recommended cache settings in RSRT.
    Regards,
    Gregor

  • How can I stop a JFrame from closing when clicking the close button.

    I need to display a dialog when a user attempts to close my app, giving them the option to close, minimize or cancel. How can I stop the form from closing after the user makes his selection? I have the folllowing code, but my form still closes after selecting an option:
    private void formWindowClosing(java.awt.event.WindowEvent evt) {                                  
            //An array of Strings to be used a buttons in a JOptionDialog
            String[] options = {"Close", "Minimize", "Cancel"};
            //Determines what the user wants to do
            int result = JOptionPane.showOptionDialog(null, "What to you want to do?  Close the application, minimize or cancel?", "Please select an option...", 0, JOptionPane.QUESTION_MESSAGE, null, options, options[0]);
           //Determines what to do, depending on the user's choice
            if (result == 0) {
                //Close the application
                System.exit(0);
            } else if (result == 1) {
                //Minimize the application
                this.setState(Frame.ICONIFIED);
        }Any help would be much appreciated!

    import java.awt.event.*;
    import javax.swing.*;
    public class test extends JFrame {
         public static void main( String[] args ) {
              new test();
         public test() {
              setSize( 200, 200 );
              //the next line makes the JFrame not close
              setDefaultCloseOperation( JFrame.DO_NOTHING_ON_CLOSE );
              //now add a listener that does the trick
              addWindowListener( new WindowAdapter() {
                        public void windowClosing( WindowEvent e ) {
                             //ask the user and do whatever you wish
              setVisible( true );
    }

  • How do you stop game center from loading, How do you stop game center from loading

    iPhone 4 _ iOS7
    I have never used Game Center. However, most times when I open a solitaire game that I purchased on iTunes having 0 to do with Game Center, Game Center (obnoxiously) loads and asks that I join or login or whatever. Altough I hit cancel, that is not sufficient. I have found no means in Tools to disable Game Center.
    Is there no way to stop Game Center from loading??? (behavior same in both OS 6 & 7)
    Mark

    The me.com website is not designed for or intended to be accessed by iOS devices. Apple provides support in iOS or seperate Apps for accessing all aspects of MobileMe except for the Accounts section.
    Use MobielMe as intended and you'll have no problems.
    See: http://support.apple.com/kb/ts1673
    Even if you use a different browser to get access to me.com on iOS, you'll find most of it is unusable.
    Other websites that present you with the mobile version have been programmed to do so by their developers. They specifically look for users accessing from 'mobile' devices and switch to the mobile site. Many such sites provide a link to go back to the 'full' site, if not, there's not a lot you can do except use a browser that can pretend not to be a mobile browser.

  • User exit triggered after clicking on PGI button in vl02n

    What is the user exit which gets triggered after clicking PGI booton in vl02n.
    i used 'MV50AFZ1' which interrupts the process of creating material document.
    so pls tell me any User exit which can be used before the process of creating material doc gets started

    Hey,
    Have you tried with this?
    MV45AFZZ
    MV45AIZZ
    MV45AOZZ
    MV45ATZZ
    or...
    VMDE0004
    VMDE0003
    VMDE0002
    VMDE0001
    V53W0001
    V53C0002
    V53C0001
    V50S0001
    V50R0004
    V50R0002
    V50R0001
    V50Q0001
    V50PSTAT
    V02V0004
    V02V0003
    V02V0002
    V02V0001
    Not sure if possible...buy maybe
    Bye,

Maybe you are looking for