CallOut when back button is used

Hello,
I have a problem, i open a callOut modal, until here everything is nice. But when the user type on back button (the back button of Android device) the application back's to other view (OK) but the callOut is on the screen.
Any suggestions???

I found a solution:
1. Listener is not the component itself but systemManager.stage
2. Listen event in the capture phase like systemManager.stage.addEventListener(KeyboardEvent.KEY_DOWN, backKeyHandler,  true)
3. In the handler if(e.keyCode == Keyboard.BACK)e.preventDefault();
Ty

Similar Messages

  • Unlike IE When back button is pressed it takes too long. pleas do something for that. thnx.

    Unlike IE When back button is pressed it takes too long. pleas do something for that. I like firefox and i get to use the back button more often.
    thnx

    In order to be able to find the correct solution to your problem, we require some more non-personal information from you. Please do the following:
    *Click the Firefox button at the top left, then click the ''Help'' menu and select ''Troubleshooting Information'' from the submenu. If you don't have a Firefox button, click the Help menu at the top and select ''Troubleshooting Information'' from the menu.
    Now, a new tab containing your troubleshooting information should open.
    *At the top of the page, you should see a button that says "Copy text to clipboard". Click it.
    *Now, go back to your forum post and click inside the reply box. Press Ctrl+V to paste all the information you copied into the forum post.
    If you need further information about the Troubleshooting information page, please read the article [[Use the Troubleshooting Information page to help fix Firefox issues]].
    Thanks in advance for your help!

  • Rollovers stay highlight when back button is clicked

    Hi All,
    I am a novice Dreamweaver user so please forgive me if this
    question is basic... I have looked everywhere for the answer. I am
    designing my page and I have created rollover through Behaviors.
    They work great, but the problem that I am running in to is that
    when I hit the back button they are still highlighted and do not
    unhighlight until I mouse off them again. I have read that this is
    a IE problem, but I am testing with Firefox 3.0, Safari (newest)
    and IE (newest) and I am getting the same problem with all. Is
    there any way to fix this? I will post the code for one link.
    Thanks in advance.
    Joe
    <div id="clientsDIV"><a href="clients.html"
    onfocus="active"><img
    src="images/main_menu/buttons/clients.png" alt="clients" width="88"
    height="17" border="0" id="Image6"
    onmouseover="MM_swapImage('Image6','','images/main_menu/buttons/clients_ro.png',1)"
    onmouseout="MM_swapImgRestore()" /></a></div>
    realityplay is offline Reply With Quote

    If people are having to click the back button to use your
    site, then your
    navigation is inadequate. Why are the having to do this?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "realityplay" <[email protected]> wrote in
    message
    news:gp0tbb$ptl$[email protected]..
    > Hi All,
    >
    > I am a novice Dreamweaver user so please forgive me if
    this question is
    > basic... I have looked everywhere for the answer. I am
    designing my page
    > and I
    > have created rollover through Behaviors. They work
    great, but the problem
    > that
    > I am running in to is that when I hit the back button
    they are still
    > highlighted and do not unhighlight until I mouse off
    them again. I have
    > read
    > that this is a IE problem, but I am testing with Firefox
    3.0, Safari
    > (newest)
    > and IE (newest) and I am getting the same problem with
    all. Is there any
    > way to
    > fix this? I will post the code for one link. Thanks in
    advance.
    >
    > Joe
    >
    > <div id="clientsDIV"><a href="clients.html"
    onfocus="active"><img
    > src="images/main_menu/buttons/clients.png" alt="clients"
    width="88"
    > height="17"
    > border="0" id="Image6"
    >
    onmouseover="MM_swapImage('Image6','','images/main_menu/buttons/clients_ro.png',
    > 1)" onmouseout="MM_swapImgRestore()"
    /></a></div>
    > realityplay is offline Reply With Quote
    >

  • Display data when Back button of Browser is pressed

    Hi All,
    Thanks for Reading my query.
    I have an issue with display of data in Jsp page:
    I have 2 JSP pages, wherein i entered data in page1 and clicked submit to see page2.Now i pressed back button of browser and im able to see data which i entered.I require the feilds in page1 to be cleared when back button is pressed in page2.Could any one please tell me how to handle this issue.
    Please help me out.
    cheers,
    sharath

    you can use the HTML header set pragma - no-cache expires - 0 and cache-control - no cache property so whenever you will press back button of browser it will show the message page has been expired. You can find the proper syntax on any HTML site

  • Multiple flash files change when a button click using javascript function

    hi.. am new in flsh...
    i want to multiple flash files change when a button click using a javascript

    <script>
    var count=0;
    function mafunct(newSrc){
        alert("hi");
    var path="a"+count+".swf"; 
    flash+='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" WIDTH="100%" HEIGHT="100%">';         
        flash+='<PARAM NAME=movie VALUE="'+path+'">';         
        flash+='<PARAM NAME="PLAY" VALUE="false">'; 
        flash+='<PARAM NAME="LOOP" VALUE="false">';
        flash+='<PARAM NAME="QUALITY" VALUE="high">';
        flash+='<PARAM NAME="SCALE" VALUE="SHOWALL">';
        flash+='<EMBED NAME="testmovie" SRC="Menu.swf" WIDTH="100%" HEIGHT="100%"PLAY="false" LOOP="false" QUALITY="high" SCALE="SHOWALL"swLiveConnect="true"PLUGINSPAGE="http://www.macromedia.com/go/flashplayer/">';
        flash+='</EMBED>';
        flash+='</OBJECT>';    
    count++;
    alert(path+"aa");
    </script>
    <button onclick="mafunct()">next</button>

  • How to go to previous page in windows phone 8 when back button is pressed

    I have a home page or landing page in my windows phone c# based app where user enters login details and upon successful login user is redirected to page2 . Here the user will see a list box with few items . Upon selecting an item from this list box a new
    page called "Threadx" opens.(where x is the each page that opens upon clicking the x item in the list box)
    While user is on this Thread page "Threadx" he may receive the toast notifications and the thread gets updated with new replies or answers on that thread.
    But When user clicks on back button the "ThreadX" page doesn't get closed and instead it goes to its previous state where it has less number of messages , and so on until the app gets closed.
    protected override void OnNavigatedTo(NavigationEventArgs e)
    base.OnNavigatedTo(e);
    if (e.NavigationMode == NavigationMode.Back)
    return;
    I would like to know if this "Threadx" page can be closed upon clicking back button without affecting other "Threadx+1","Threadx+2"..."Threadx+n" pages.
    Any help would be really appreciated.

    you don't need to navigate explicitly. Just clear the back stack till your specific page and say goback. below is the  code you can use.
     protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
                        e.cancel=true;
                    RemoveBackStackTillSpecificPage("page2.xaml");
                    GoBack();
    public static void RemoveBackStackTillSpecificPage(string pageName)
    PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame;
    var previousPage = frame.BackStack.FirstOrDefault();
    if (previousPage != null && previousPage.Source != null)
                    while (!previousPage.Source.ToString().Contains(pageName))
                        frame.RemoveBackEntry();
                        previousPage = frame.BackStack.FirstOrDefault();
            public static void GoBack()
                PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame;
                LastPageUri = frame.Source;
                frame.GoBack();
    Please mark this as answer if this answers your question
    Purushothama V S

  • How to resubmit the form when back button pressed

    Hi,
    In my application, iam implementing searching,
    when i submitting the form, i got some records and i navigated all the results through next and previous buttons.
    Problem occurs when i clicked on back button, it is showing "page expires and asking for resubmit the data".
    How can i show the previous page, when user clicked on back button.
    Iam using struts 1.0 and ibatis
    Please help me out.
    Thanks in advance,
    Mohan

    Hi mohan,
    try to store your search indices in a vector and put that vector in the session scope. at page first loading you get the first index from your vector and pass it in the request scope in your action class, due to the page you have to find a way to understand the passed index in request scope and translate it to the searched word location.really I have not a code sample, but it is just an idea.
    feel free to ask me.
    Thanks.
    Ahmad Elsafty

  • Disable page display when back button is pressed after logout

    hi,
    I dont want the old pages to appear once the back button is pressed after loggin g out. That is .... when logged in, if the user presses back button then his previous pages must be shown....but once the user logs out and then if he presses back button then some message like session has been closed....like message should be displayed.
    Hope you understood the problem

    If you expire a page then back button will not take it to the previous page.
    expire is a HTTP-EQUIV meta tag in the header of the page. You can set the content to some time in the "past" when serving the page first time.
    Expires
    This tells the browser the date and time when the document will be considered "expired." If a user is using Netscape Navigator,
    a request for a document whose time has "expired" will initiate a new network request for the document.
    An illegal Expires date such as "0" is interpreted by the browser as "immediately." Dates must be in the RFC850 format, (GMT format):
    <META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT"> Hope this works for you, there are browser dependencies as well.
    vr,
    Sudhakar B.

  • Reload a WEB-Site when BACK-Button clicked

    When I click the browsers BACK-Button ...
    while programming a servlet - is it possible to make the browser reload a web-Site when the browsers BACK-Button is clicked - and not use a browser-stored version ?

    Thank you for your reply. I don't understand all the coding.
    Its a little bit over my head . Is the below anywhere near correct ?
    Thank you in advance
    //add behaviors
        ActionListener myActionListener = new ActionListener() {
          public void actionPerformed(ActionEvent e) throws Exception
            /*if (e.getSource() == myJButtonCalculator)
              new Calculator();
            else
            if (e.getSource() == myJButtonSketcher)
              new Sketcher();
            else
            if (e.getSource() == myJButtonVideo)
              new Grass();
            else*/
            if (e.getSource() == myJButtonBible)
                    String[] cmd = new String[4];
                    cmd[0] = "cmd.exe";
                    cmd[1] = "/C";
                    cmd[2] = "start";
                    cmd[3] = "http://www.nccbuscc.org/nab/index.htm";
    //          cmd[3] = "will.xls";
    //          cmd[3] = "mailto:";
    //          cmd[3] = "a.html";
    //          cmd[3] = "file:/c:/java/temp/a.html";
                    Process process = Runtime.getRuntime().exec( cmd );
    }; //end of actionPerformed() method
           

  • What has happened to the 'back' button that used to be in the upper left corner of the page?

    Suddenly yesterday I lost the ability to return to the homepage when I'm finished with a website.
    Also I no longer have a way to log onto a website with a www...

    If you do not see any menus or toolbars, Firefox might be in full screen mode. The F11 function key switches between regular and full screen modes.
    Make sure your Navigation Toolbar (main bar with URL area and back button) is turned on using either of these:
    * right-click a blank area of the tab bar > Navigation Toolbar
    * tap the Alt key > View menu > Toolbars > Navigation Toolbar
    If the Navigation Toolbar is visible but some controls are missing, try resetting your toolbars as follows:
    * right-click a blank area of the tab bar > Customize
    * tap the Alt key > View menu > Toolbars > Customize
    In the Customize dialog, click the Restore Default Set button.
    Any luck?

  • How to retain the java applet generated code when back button is pressed!!

    I've a jsp page in which i've wirtten the code which specifies the word which i write in the text box, then through the applet i'm showing the word which is written in the text box. It means my applet is running and it show the words which i've written in the text box. Now when i click on submit it goes to the next page and when i click on browser's back button then except the applet generated code everyone retains its values. Is there any way to find it out when it encounter the back button click then applet should be restarted. so in this way without writing the whole application form and in the applet generated code i can submit it again.
    My question is how do i reatin the applet generated code when a click button is being pressed (b'coz for the textbox, textareas everything retains it)
    any suggestions or guidance are most welcome.
    thanks in advance....

    you don't need to navigate explicitly. Just clear the back stack till your specific page and say goback. below is the  code you can use.
     protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
                        e.cancel=true;
                    RemoveBackStackTillSpecificPage("page2.xaml");
                    GoBack();
    public static void RemoveBackStackTillSpecificPage(string pageName)
    PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame;
    var previousPage = frame.BackStack.FirstOrDefault();
    if (previousPage != null && previousPage.Source != null)
                    while (!previousPage.Source.ToString().Contains(pageName))
                        frame.RemoveBackEntry();
                        previousPage = frame.BackStack.FirstOrDefault();
            public static void GoBack()
                PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame;
                LastPageUri = frame.Source;
                frame.GoBack();
    Please mark this as answer if this answers your question
    Purushothama V S

  • Redirect when Back Button is clicked

    I have 4 pages in my application:
    Page1.asp (form page using the POST Method)
    Page2.asp (Insert to Database script + Redirect to Page3.asp)
    Page3.asp (Page displaying the the confirmation of insertion)
    The problem I'm facing is that once on Page3.asp (confirmation page), if the user hits the Back Button, it brings him back to Page1.asp with the form already filled with data previously entered. Eventually, the data can be inserted twice.
    Is there a way to redirect the user to say Page4.asp when clicking the back button from Page3.asp?

    I tried that but when the user clicks the Bak Button from the Browser, it doesn't see the Session Variable right away, unless the page refreshes. Is there a way to refresh that page when the user clicks the Back Button?

  • What to do when 'Back' button is pressed on the browser

    Hi,
    In my APEX application, 2 of my pages have updateable reports.
    When I carry out the following sequence of steps :
    * enter data into the first updateable report page,
    * submit the page
    * branch to the second updateable report page by clicking on a 'next' button
    * click on the 'Back' button in the browser
    * this takes you back to the first updateable report page
    * click on 'next' to branch to the second updateable report page again
    the following error message is encountered :
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "906775940285549CB76B11266BA4E3FF", item checksum = "D52870AB188799BE563B8BE7E53DB2AF"., update <name of table that updeable report is based on>
    How can I prevent this error message from appearing when the user clicks 'back' and then submits the page?
    Many Thanks.

    Andy,
    Thanks for sticking with it. I read (past tense) the OP's description both ways.
    click on 'next' to branch to the second updateable report page again
    the following error message is encountered :
    Error in mru internal routine: ...Why would that error occur after a redirect from a Next button?
    So I don't know what the exact scenario really is, but it seems to me that if you submit a page and it updates the row and the page branches back to itself, the resulting page now current in the browser is "submittable" whether you submit it at once or navigate (by redirect) away from it and then go back through the browser history to retrieve it and then submit it. That the OP got the error she got makes me think the Next button is an Apply Changes and Fetch Next Row kind of button.
    In any case, I don't think clearing session state is a remedy.
    Scott

  • Close Window when Back Button is Clicked on Movie Presentation

    I have a .swf movie that is accessed through a link on a website. At the end of the movie are two buttons: one for "Back" and the other for "Replay." Thanks to the helpful people on the forum here, I have the buttons working so the Back button goes to the previous URL and the Replay button, well, replays.
    However, the Back button opens a new window. Is there a piece of Action Script 3 that I can add to the following to close the window in my .fla Action Script Window to close the window as it jumps to the URL? Here is the script.
    stop();
    var link:URLRequest = new URLRequest("urlgoeshere");
    bck_btn.addEventListener(MouseEvent.CLICK, onClick);
    function onClick(event:MouseEvent):void
    navigateToURL(link);
    play_btn.addEventListener(MouseEvent.CLICK, playMovie);
    function playMovie(event:MouseEvent)
    play();
    I don't have access to the full HTML page, so I can't use javascript. I'm working through a CMS application to add content to the website, so I need to make this window close using Action Script 3 as part of the .swf file.
    Thank you,
    Marilyn

    does it matter if you close the window?....how about just opening the page in the same page....
    use
    navigateToURL(link, "_self");
    thelegendaryghost

  • To check values in a subscreen when back button is pressed

    Hi,
    I have few fields in a subscreen and if user changes any of the values and presses 'back' button in the main screen, then I need to give a pop up asking whether to save or not.
      But the problem is, the processing wont go to the PAI of the subscreen unless and until any button is pressed.
    I have put all the fields in chain-endchain and also have written a module on chain-request. But it doesn't work.
    What do I do?
    Thanks in advance,
    Hema.

    Hi
    The PAI of subscreen is in the PAI of mainn screen:
    PROCESS PBO
    -> MODULE for main screen
    CALL SUBSCREEN SUBSCREEN INCLUDING <PROG> <SCREEN>.
    PROCESS PAI
    CALL SUBSCREEN SUBSCREEN.
    MODULE USER_COMMAND.
    So if you have a flow like that the system before trigger the PAI of subscreen and after the PAI of main screen. So now before triggering user-comand, the system run PAI of subscreen.
    If you insert the fields in the CHAIN/ENDCHAIN you could have some problem, because the fields of subscreen can't be inseterted in the chain control of fields of main screen.
    Max

Maybe you are looking for

  • Digital out not working

    Hi, I know this has been covered but I can't find an answer for my problem.  I have a mbp running OSX 10.8.3.  My problem is I can't get the digital output via toslink with mini adapter to Bose lifestyle 28 optical to work.  The toslink works fine wi

  • Why was mobile e-mail retired?

    I have no idea what type of response to expect here.  It is pretty clear that Verizon has no regard for my needs as a 13+ year loyal customer.  My loyalty has remained because Verizon provides the services that I want and need at a fair price.  Howev

  • Attachments in iCal on MBP don't show up on iPad

    Hi Guys, I have a macbook pro running 10.6.3 and I just got the iPad. I have an exchange account configured on my mail and iPad and I see that the iCal events get syncd via push to my iPad, but I see that the attachments to the event don't show up. T

  • Missing Display Data

    Recently when I transfer material from iTunes to my iPod classic, the material doesn't show up under categories like Artist, Genre or Song Title. If I spell out a search on a particular track, I can find it, but otherwise, there's nothing to indicate

  • NEGATIVE RECEIPT IN ACCOUNT RECEIVABLE

    HI ALL, We are using oracle E Business suite 11.5.9(Indian Localisation Server).We are not able to make cash receipts with negative amount in account receivable. Can anybody have solution for this,please convey Thanks Shekhar